@everymatrix/general-player-login-form-nd 1.86.2 → 1.86.4
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/{GeneralPlayerLoginFormNd-CRhH59_Q.js → GeneralPlayerLoginFormNd-CIFY-TEP.js} +764 -785
- package/components/GeneralPlayerLoginFormNd-CqDYJZQ_.cjs +18 -0
- package/components/{GeneralPlayerLoginFormNd-2zAEC5xl.js → GeneralPlayerLoginFormNd-CwjcsknB.js} +743 -764
- package/components/{GeneralPlayerSmsVerificationForm-E8wW2iv1.js → GeneralPlayerSmsVerificationForm-CfwXVDVq.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-twswR9Vh.js → GeneralPlayerSmsVerificationForm-DX_5tHlq.js} +21 -21
- package/components/{GeneralPlayerSmsVerificationForm-458aJWpZ.cjs → GeneralPlayerSmsVerificationForm-eWh4GS2q.cjs} +1 -1
- package/es2015/general-player-login-form-nd.cjs +1 -1
- package/es2015/general-player-login-form-nd.js +1 -1
- package/esnext/general-player-login-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginFormNd-CvfNpsrG.cjs +0 -18
package/components/{GeneralPlayerLoginFormNd-CRhH59_Q.js → GeneralPlayerLoginFormNd-CIFY-TEP.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var mn = Object.defineProperty, pn = Object.defineProperties;
|
|
2
|
+
var gn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Jt = Object.getOwnPropertySymbols;
|
|
4
|
+
var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var vt = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
bn.call(t, r) && vt(e, r, t[r]);
|
|
8
|
+
if (Jt)
|
|
9
|
+
for (var r of Jt(t))
|
|
10
|
+
vn.call(t, r) && vt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var K = (e, t, r) => (
|
|
12
|
+
}, Yt = (e, t) => pn(e, gn(t));
|
|
13
|
+
var K = (e, t, r) => (vt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ar(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Kt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function Ne(e) {
|
|
39
|
+
e.forEach(Ar);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ir(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let tt;
|
|
48
|
-
function
|
|
48
|
+
function er(e, t) {
|
|
49
49
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function yn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Cr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Lr(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function _n(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Cr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function m(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function wn(e, t, r) {
|
|
70
|
+
const n = En(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = x("style");
|
|
73
|
+
i.id = t, i.textContent = r, xn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function En(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function xn(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function xn(e, t) {
|
|
87
87
|
return m(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -96,10 +96,10 @@ function L(e, t, r) {
|
|
|
96
96
|
function I(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function x(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function O(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
105
|
function N(e) {
|
|
@@ -108,10 +108,10 @@ function N(e) {
|
|
|
108
108
|
function j() {
|
|
109
109
|
return N(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Sn() {
|
|
112
112
|
return N("");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function se(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
116
116
|
}
|
|
117
117
|
function h(e, t, r) {
|
|
@@ -121,7 +121,7 @@ function W(e, t, r) {
|
|
|
121
121
|
const n = t.toLowerCase();
|
|
122
122
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Pn(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
127
|
function re(e, t) {
|
|
@@ -131,7 +131,7 @@ function re(e, t) {
|
|
|
131
131
|
function rt(e, t) {
|
|
132
132
|
e.value = t == null ? "" : t;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Tn(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -140,87 +140,87 @@ function Hn(e) {
|
|
|
140
140
|
}
|
|
141
141
|
), t;
|
|
142
142
|
}
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
143
|
+
let Xe;
|
|
144
|
+
function ze(e) {
|
|
145
|
+
Xe = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
if (!
|
|
147
|
+
function Hn() {
|
|
148
|
+
if (!Xe)
|
|
149
149
|
throw new Error("Function called outside component initialization");
|
|
150
|
-
return
|
|
150
|
+
return Xe;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
|
|
152
|
+
function Bn(e) {
|
|
153
|
+
Hn().$$.on_mount.push(e);
|
|
154
154
|
}
|
|
155
155
|
const Be = [], ut = [];
|
|
156
156
|
let Ae = [];
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
157
|
+
const tr = [], An = /* @__PURE__ */ Promise.resolve();
|
|
158
|
+
let Ht = !1;
|
|
159
|
+
function In() {
|
|
160
|
+
Ht || (Ht = !0, An.then(ee));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Bt(e) {
|
|
163
163
|
Ae.push(e);
|
|
164
164
|
}
|
|
165
|
-
const
|
|
165
|
+
const yt = /* @__PURE__ */ new Set();
|
|
166
166
|
let Te = 0;
|
|
167
167
|
function ee() {
|
|
168
168
|
if (Te !== 0)
|
|
169
169
|
return;
|
|
170
|
-
const e =
|
|
170
|
+
const e = Xe;
|
|
171
171
|
do {
|
|
172
172
|
try {
|
|
173
173
|
for (; Te < Be.length; ) {
|
|
174
174
|
const t = Be[Te];
|
|
175
|
-
Te++,
|
|
175
|
+
Te++, ze(t), Cn(t.$$);
|
|
176
176
|
}
|
|
177
177
|
} catch (t) {
|
|
178
178
|
throw Be.length = 0, Te = 0, t;
|
|
179
179
|
}
|
|
180
|
-
for (
|
|
180
|
+
for (ze(null), Be.length = 0, Te = 0; ut.length; )
|
|
181
181
|
ut.pop()();
|
|
182
182
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
183
183
|
const r = Ae[t];
|
|
184
|
-
|
|
184
|
+
yt.has(r) || (yt.add(r), r());
|
|
185
185
|
}
|
|
186
186
|
Ae.length = 0;
|
|
187
187
|
} while (Be.length);
|
|
188
|
-
for (;
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
for (; tr.length; )
|
|
189
|
+
tr.pop()();
|
|
190
|
+
Ht = !1, yt.clear(), ze(e);
|
|
191
191
|
}
|
|
192
192
|
function Cn(e) {
|
|
193
193
|
if (e.fragment !== null) {
|
|
194
|
-
e.update(),
|
|
194
|
+
e.update(), Ne(e.before_update);
|
|
195
195
|
const t = e.dirty;
|
|
196
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function On(e) {
|
|
200
200
|
const t = [], r = [];
|
|
201
201
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
202
202
|
}
|
|
203
|
-
const
|
|
204
|
-
function
|
|
205
|
-
e && e.i && (
|
|
203
|
+
const Ln = /* @__PURE__ */ new Set();
|
|
204
|
+
function Mn(e, t) {
|
|
205
|
+
e && e.i && (Ln.delete(e), e.i(t));
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Nn(e, t, r) {
|
|
208
208
|
const { fragment: n, after_update: i } = e.$$;
|
|
209
|
-
n && n.m(t, r),
|
|
210
|
-
const o = e.$$.on_mount.map(
|
|
211
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
212
|
-
}), i.forEach(
|
|
209
|
+
n && n.m(t, r), Bt(() => {
|
|
210
|
+
const o = e.$$.on_mount.map(Ar).filter($t);
|
|
211
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
|
|
212
|
+
}), i.forEach(Bt);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Rn(e, t) {
|
|
215
215
|
const r = e.$$;
|
|
216
|
-
r.fragment !== null && (
|
|
216
|
+
r.fragment !== null && (On(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
218
|
+
function Un(e, t) {
|
|
219
|
+
e.$$.dirty[0] === -1 && (Be.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
const u =
|
|
223
|
-
|
|
221
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
222
|
+
const u = Xe;
|
|
223
|
+
ze(e);
|
|
224
224
|
const l = e.$$ = {
|
|
225
225
|
fragment: null,
|
|
226
226
|
ctx: [],
|
|
@@ -228,7 +228,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
228
|
props: o,
|
|
229
229
|
update: Z,
|
|
230
230
|
not_equal: i,
|
|
231
|
-
bound:
|
|
231
|
+
bound: Kt(),
|
|
232
232
|
// lifecycle
|
|
233
233
|
on_mount: [],
|
|
234
234
|
on_destroy: [],
|
|
@@ -237,7 +237,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
237
237
|
after_update: [],
|
|
238
238
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
239
239
|
// everything else
|
|
240
|
-
callbacks:
|
|
240
|
+
callbacks: Kt(),
|
|
241
241
|
dirty: a,
|
|
242
242
|
skip_bound: !1,
|
|
243
243
|
root: t.target || u.$$.root
|
|
@@ -246,19 +246,19 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
246
246
|
let c = !1;
|
|
247
247
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
248
248
|
const y = b.length ? b[0] : d;
|
|
249
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c &&
|
|
250
|
-
}) : [], l.update(), c = !0,
|
|
249
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Un(e, f)), d;
|
|
250
|
+
}) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
251
251
|
if (t.hydrate) {
|
|
252
|
-
const f =
|
|
252
|
+
const f = Pn(t.target);
|
|
253
253
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
254
254
|
} else
|
|
255
255
|
l.fragment && l.fragment.c();
|
|
256
|
-
t.intro &&
|
|
256
|
+
t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
ze(u);
|
|
259
259
|
}
|
|
260
|
-
let
|
|
261
|
-
typeof HTMLElement == "function" && (
|
|
260
|
+
let Or;
|
|
261
|
+
typeof HTMLElement == "function" && (Or = class extends HTMLElement {
|
|
262
262
|
constructor(t, r, n) {
|
|
263
263
|
super();
|
|
264
264
|
/** The Svelte component constructor */
|
|
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
302
302
|
let s;
|
|
303
303
|
return {
|
|
304
304
|
c: function() {
|
|
305
|
-
s =
|
|
305
|
+
s = x("slot"), o !== "default" && h(s, "name", o);
|
|
306
306
|
},
|
|
307
307
|
/**
|
|
308
308
|
* @param {HTMLElement} target
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
319
319
|
};
|
|
320
320
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
321
321
|
return;
|
|
322
|
-
const r = {}, n =
|
|
322
|
+
const r = {}, n = Tn(this);
|
|
323
323
|
for (const o of this.$$s)
|
|
324
324
|
o in n && (r[o] = [t(o)]);
|
|
325
325
|
for (const o of this.attributes) {
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
330
330
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
331
331
|
this.$$c = new this.$$ctor({
|
|
332
332
|
target: this.shadowRoot || this,
|
|
333
|
-
props:
|
|
333
|
+
props: Yt(Qt({}, this.$$d), {
|
|
334
334
|
$$slots: r,
|
|
335
335
|
$$scope: {
|
|
336
336
|
ctx: []
|
|
@@ -408,8 +408,8 @@ function ot(e, t, r, n) {
|
|
|
408
408
|
return t;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
412
|
-
let s = class extends
|
|
411
|
+
function Dn(e, t, r, n, i, o) {
|
|
412
|
+
let s = class extends Or {
|
|
413
413
|
constructor() {
|
|
414
414
|
super(e, r, i), this.$$p_d = t;
|
|
415
415
|
}
|
|
@@ -439,7 +439,7 @@ function kn(e, t, r, n, i, o) {
|
|
|
439
439
|
}), e.element = /** @type {any} */
|
|
440
440
|
s, s;
|
|
441
441
|
}
|
|
442
|
-
class
|
|
442
|
+
class kn {
|
|
443
443
|
constructor() {
|
|
444
444
|
/**
|
|
445
445
|
* ### PRIVATE API
|
|
@@ -460,7 +460,7 @@ class $n {
|
|
|
460
460
|
}
|
|
461
461
|
/** @returns {void} */
|
|
462
462
|
$destroy() {
|
|
463
|
-
|
|
463
|
+
Rn(this, 1), this.$destroy = Z;
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -469,7 +469,7 @@ class $n {
|
|
|
469
469
|
* @returns {() => void}
|
|
470
470
|
*/
|
|
471
471
|
$on(t, r) {
|
|
472
|
-
if (
|
|
472
|
+
if (!$t(r))
|
|
473
473
|
return Z;
|
|
474
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
475
475
|
return n.push(r), () => {
|
|
@@ -482,7 +482,7 @@ class $n {
|
|
|
482
482
|
* @returns {void}
|
|
483
483
|
*/
|
|
484
484
|
$set(t) {
|
|
485
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
const Gn = "4";
|
|
@@ -501,24 +501,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
501
501
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
502
|
PERFORMANCE OF THIS SOFTWARE.
|
|
503
503
|
***************************************************************************** */
|
|
504
|
-
var
|
|
505
|
-
return
|
|
504
|
+
var At = function(e, t) {
|
|
505
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
506
506
|
r.__proto__ = n;
|
|
507
507
|
} || function(r, n) {
|
|
508
508
|
for (var i in n)
|
|
509
509
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
-
},
|
|
510
|
+
}, At(e, t);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function le(e, t) {
|
|
513
513
|
if (typeof t != "function" && t !== null)
|
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
515
|
+
At(e, t);
|
|
516
516
|
function r() {
|
|
517
517
|
this.constructor = e;
|
|
518
518
|
}
|
|
519
519
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
var E = function() {
|
|
522
|
+
return E = Object.assign || function(t) {
|
|
523
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
524
|
+
r = arguments[n];
|
|
525
|
+
for (var o in r)
|
|
526
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
527
|
+
}
|
|
528
|
+
return t;
|
|
529
|
+
}, E.apply(this, arguments);
|
|
530
|
+
};
|
|
531
|
+
function $n(e, t) {
|
|
532
|
+
var r = {};
|
|
533
|
+
for (var n in e)
|
|
534
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
535
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
536
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
537
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
538
|
+
return r;
|
|
539
|
+
}
|
|
540
|
+
function It(e) {
|
|
522
541
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
523
542
|
if (r)
|
|
524
543
|
return r.call(e);
|
|
@@ -530,7 +549,7 @@ function Ct(e) {
|
|
|
530
549
|
};
|
|
531
550
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
532
551
|
}
|
|
533
|
-
function
|
|
552
|
+
function Ct(e, t) {
|
|
534
553
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
535
554
|
if (!r)
|
|
536
555
|
return e;
|
|
@@ -550,22 +569,22 @@ function Lt(e, t) {
|
|
|
550
569
|
}
|
|
551
570
|
return o;
|
|
552
571
|
}
|
|
553
|
-
function
|
|
554
|
-
if (arguments.length === 2)
|
|
572
|
+
function Ie(e, t, r) {
|
|
573
|
+
if (r || arguments.length === 2)
|
|
555
574
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
556
575
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
557
576
|
return e.concat(o || t);
|
|
558
577
|
}
|
|
559
|
-
function
|
|
578
|
+
function ae(e) {
|
|
560
579
|
return typeof e == "function";
|
|
561
580
|
}
|
|
562
|
-
function
|
|
581
|
+
function Lr(e) {
|
|
563
582
|
var t = function(n) {
|
|
564
583
|
Error.call(n), n.stack = new Error().stack;
|
|
565
584
|
}, r = e(t);
|
|
566
585
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
567
586
|
}
|
|
568
|
-
var
|
|
587
|
+
var _t = Lr(function(e) {
|
|
569
588
|
return function(r) {
|
|
570
589
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
571
590
|
` + r.map(function(n, i) {
|
|
@@ -574,13 +593,13 @@ var Et = Nr(function(e) {
|
|
|
574
593
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
575
594
|
};
|
|
576
595
|
});
|
|
577
|
-
function
|
|
596
|
+
function Ot(e, t) {
|
|
578
597
|
if (e) {
|
|
579
598
|
var r = e.indexOf(t);
|
|
580
599
|
0 <= r && e.splice(r, 1);
|
|
581
600
|
}
|
|
582
601
|
}
|
|
583
|
-
var
|
|
602
|
+
var ft = function() {
|
|
584
603
|
function e(t) {
|
|
585
604
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
586
605
|
}
|
|
@@ -592,7 +611,7 @@ var dt = function() {
|
|
|
592
611
|
if (s)
|
|
593
612
|
if (this._parentage = null, Array.isArray(s))
|
|
594
613
|
try {
|
|
595
|
-
for (var a =
|
|
614
|
+
for (var a = It(s), u = a.next(); !u.done; u = a.next()) {
|
|
596
615
|
var l = u.value;
|
|
597
616
|
l.remove(this);
|
|
598
617
|
}
|
|
@@ -609,22 +628,22 @@ var dt = function() {
|
|
|
609
628
|
else
|
|
610
629
|
s.remove(this);
|
|
611
630
|
var c = this.initialTeardown;
|
|
612
|
-
if (
|
|
631
|
+
if (ae(c))
|
|
613
632
|
try {
|
|
614
633
|
c();
|
|
615
634
|
} catch (g) {
|
|
616
|
-
o = g instanceof
|
|
635
|
+
o = g instanceof _t ? g.errors : [g];
|
|
617
636
|
}
|
|
618
637
|
var f = this._finalizers;
|
|
619
638
|
if (f) {
|
|
620
639
|
this._finalizers = null;
|
|
621
640
|
try {
|
|
622
|
-
for (var d =
|
|
641
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
623
642
|
var y = b.value;
|
|
624
643
|
try {
|
|
625
|
-
|
|
644
|
+
rr(y);
|
|
626
645
|
} catch (g) {
|
|
627
|
-
o = o != null ? o : [], g instanceof
|
|
646
|
+
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
628
647
|
}
|
|
629
648
|
}
|
|
630
649
|
} catch (g) {
|
|
@@ -639,13 +658,13 @@ var dt = function() {
|
|
|
639
658
|
}
|
|
640
659
|
}
|
|
641
660
|
if (o)
|
|
642
|
-
throw new
|
|
661
|
+
throw new _t(o);
|
|
643
662
|
}
|
|
644
663
|
}, e.prototype.add = function(t) {
|
|
645
664
|
var r;
|
|
646
665
|
if (t && t !== this)
|
|
647
666
|
if (this.closed)
|
|
648
|
-
|
|
667
|
+
rr(t);
|
|
649
668
|
else {
|
|
650
669
|
if (t instanceof e) {
|
|
651
670
|
if (t.closed || t._hasParent(this))
|
|
@@ -662,52 +681,56 @@ var dt = function() {
|
|
|
662
681
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
663
682
|
}, e.prototype._removeParent = function(t) {
|
|
664
683
|
var r = this._parentage;
|
|
665
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
684
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
|
|
666
685
|
}, e.prototype.remove = function(t) {
|
|
667
686
|
var r = this._finalizers;
|
|
668
|
-
r &&
|
|
687
|
+
r && Ot(r, t), t instanceof e && t._removeParent(this);
|
|
669
688
|
}, e.EMPTY = function() {
|
|
670
689
|
var t = new e();
|
|
671
690
|
return t.closed = !0, t;
|
|
672
691
|
}(), e;
|
|
673
|
-
}(),
|
|
674
|
-
function
|
|
675
|
-
return e instanceof
|
|
676
|
-
}
|
|
677
|
-
function
|
|
678
|
-
|
|
679
|
-
}
|
|
680
|
-
var
|
|
681
|
-
|
|
682
|
-
|
|
692
|
+
}(), Mr = ft.EMPTY;
|
|
693
|
+
function Nr(e) {
|
|
694
|
+
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
695
|
+
}
|
|
696
|
+
function rr(e) {
|
|
697
|
+
ae(e) ? e() : e.unsubscribe();
|
|
698
|
+
}
|
|
699
|
+
var Rr = {
|
|
700
|
+
onUnhandledError: null,
|
|
701
|
+
onStoppedNotification: null,
|
|
702
|
+
Promise: void 0,
|
|
703
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
704
|
+
useDeprecatedNextContext: !1
|
|
705
|
+
}, jn = {
|
|
683
706
|
setTimeout: function(e, t) {
|
|
684
707
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
685
708
|
r[n - 2] = arguments[n];
|
|
686
|
-
return setTimeout.apply(void 0,
|
|
709
|
+
return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
|
|
687
710
|
},
|
|
688
711
|
clearTimeout: function(e) {
|
|
689
712
|
return clearTimeout(e);
|
|
690
713
|
},
|
|
691
714
|
delegate: void 0
|
|
692
715
|
};
|
|
693
|
-
function
|
|
694
|
-
|
|
716
|
+
function Vn(e) {
|
|
717
|
+
jn.setTimeout(function() {
|
|
695
718
|
throw e;
|
|
696
719
|
});
|
|
697
720
|
}
|
|
698
|
-
function
|
|
721
|
+
function nr() {
|
|
699
722
|
}
|
|
700
723
|
function st(e) {
|
|
701
724
|
e();
|
|
702
725
|
}
|
|
703
|
-
var
|
|
704
|
-
|
|
726
|
+
var Ur = function(e) {
|
|
727
|
+
le(t, e);
|
|
705
728
|
function t(r) {
|
|
706
729
|
var n = e.call(this) || this;
|
|
707
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
730
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Zn, n;
|
|
708
731
|
}
|
|
709
732
|
return t.create = function(r, n, i) {
|
|
710
|
-
return new
|
|
733
|
+
return new Lt(r, n, i);
|
|
711
734
|
}, t.prototype.next = function(r) {
|
|
712
735
|
this.isStopped || this._next(r);
|
|
713
736
|
}, t.prototype.error = function(r) {
|
|
@@ -731,7 +754,11 @@ var Fr = function(e) {
|
|
|
731
754
|
this.unsubscribe();
|
|
732
755
|
}
|
|
733
756
|
}, t;
|
|
734
|
-
}(
|
|
757
|
+
}(ft), zn = Function.prototype.bind;
|
|
758
|
+
function wt(e, t) {
|
|
759
|
+
return zn.call(e, t);
|
|
760
|
+
}
|
|
761
|
+
var Xn = function() {
|
|
735
762
|
function e(t) {
|
|
736
763
|
this.partialObserver = t;
|
|
737
764
|
}
|
|
@@ -762,29 +789,41 @@ var Fr = function(e) {
|
|
|
762
789
|
nt(r);
|
|
763
790
|
}
|
|
764
791
|
}, e;
|
|
765
|
-
}(),
|
|
766
|
-
|
|
792
|
+
}(), Lt = function(e) {
|
|
793
|
+
le(t, e);
|
|
767
794
|
function t(r, n, i) {
|
|
768
795
|
var o = e.call(this) || this, s;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
796
|
+
if (ae(r) || !r)
|
|
797
|
+
s = {
|
|
798
|
+
next: r != null ? r : void 0,
|
|
799
|
+
error: n != null ? n : void 0,
|
|
800
|
+
complete: i != null ? i : void 0
|
|
801
|
+
};
|
|
802
|
+
else {
|
|
803
|
+
var a;
|
|
804
|
+
o && Rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
805
|
+
return o.unsubscribe();
|
|
806
|
+
}, s = {
|
|
807
|
+
next: r.next && wt(r.next, a),
|
|
808
|
+
error: r.error && wt(r.error, a),
|
|
809
|
+
complete: r.complete && wt(r.complete, a)
|
|
810
|
+
}) : s = r;
|
|
811
|
+
}
|
|
812
|
+
return o.destination = new Xn(s), o;
|
|
774
813
|
}
|
|
775
814
|
return t;
|
|
776
|
-
}(
|
|
815
|
+
}(Ur);
|
|
777
816
|
function nt(e) {
|
|
778
|
-
|
|
817
|
+
Vn(e);
|
|
779
818
|
}
|
|
780
819
|
function Wn(e) {
|
|
781
820
|
throw e;
|
|
782
821
|
}
|
|
783
822
|
var Zn = {
|
|
784
823
|
closed: !0,
|
|
785
|
-
next:
|
|
824
|
+
next: nr,
|
|
786
825
|
error: Wn,
|
|
787
|
-
complete:
|
|
826
|
+
complete: nr
|
|
788
827
|
}, qn = function() {
|
|
789
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
790
829
|
}();
|
|
@@ -798,7 +837,7 @@ function Qn(e) {
|
|
|
798
837
|
}, r);
|
|
799
838
|
};
|
|
800
839
|
}
|
|
801
|
-
var
|
|
840
|
+
var ir = function() {
|
|
802
841
|
function e(t) {
|
|
803
842
|
t && (this._subscribe = t);
|
|
804
843
|
}
|
|
@@ -806,7 +845,7 @@ var sr = function() {
|
|
|
806
845
|
var r = new e();
|
|
807
846
|
return r.source = this, r.operator = t, r;
|
|
808
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
809
|
-
var i = this, o = Kn(t) ? t : new
|
|
848
|
+
var i = this, o = Kn(t) ? t : new Lt(t, r, n);
|
|
810
849
|
return st(function() {
|
|
811
850
|
var s = i, a = s.operator, u = s.source;
|
|
812
851
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -819,8 +858,8 @@ var sr = function() {
|
|
|
819
858
|
}
|
|
820
859
|
}, e.prototype.forEach = function(t, r) {
|
|
821
860
|
var n = this;
|
|
822
|
-
return r =
|
|
823
|
-
var s = new
|
|
861
|
+
return r = or(r), new r(function(i, o) {
|
|
862
|
+
var s = new Lt({
|
|
824
863
|
next: function(a) {
|
|
825
864
|
try {
|
|
826
865
|
t(a);
|
|
@@ -844,7 +883,7 @@ var sr = function() {
|
|
|
844
883
|
return Qn(t)(this);
|
|
845
884
|
}, e.prototype.toPromise = function(t) {
|
|
846
885
|
var r = this;
|
|
847
|
-
return t =
|
|
886
|
+
return t = or(t), new t(function(n, i) {
|
|
848
887
|
var o;
|
|
849
888
|
r.subscribe(function(s) {
|
|
850
889
|
return o = s;
|
|
@@ -858,28 +897,28 @@ var sr = function() {
|
|
|
858
897
|
return new e(t);
|
|
859
898
|
}, e;
|
|
860
899
|
}();
|
|
861
|
-
function
|
|
900
|
+
function or(e) {
|
|
862
901
|
var t;
|
|
863
|
-
return (t = e != null ? e :
|
|
902
|
+
return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
864
903
|
}
|
|
865
904
|
function Yn(e) {
|
|
866
|
-
return e &&
|
|
905
|
+
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
867
906
|
}
|
|
868
907
|
function Kn(e) {
|
|
869
|
-
return e && e instanceof
|
|
908
|
+
return e && e instanceof Ur || Yn(e) && Nr(e);
|
|
870
909
|
}
|
|
871
|
-
var ei =
|
|
910
|
+
var ei = Lr(function(e) {
|
|
872
911
|
return function() {
|
|
873
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
874
913
|
};
|
|
875
|
-
}),
|
|
876
|
-
|
|
914
|
+
}), Fr = function(e) {
|
|
915
|
+
le(t, e);
|
|
877
916
|
function t() {
|
|
878
917
|
var r = e.call(this) || this;
|
|
879
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
880
919
|
}
|
|
881
920
|
return t.prototype.lift = function(r) {
|
|
882
|
-
var n = new
|
|
921
|
+
var n = new sr(this, this);
|
|
883
922
|
return n.operator = r, n;
|
|
884
923
|
}, t.prototype._throwIfClosed = function() {
|
|
885
924
|
if (this.closed)
|
|
@@ -891,7 +930,7 @@ var ei = Nr(function(e) {
|
|
|
891
930
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
892
931
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
893
932
|
try {
|
|
894
|
-
for (var s =
|
|
933
|
+
for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
895
934
|
var u = a.value;
|
|
896
935
|
u.next(r);
|
|
897
936
|
}
|
|
@@ -940,20 +979,20 @@ var ei = Nr(function(e) {
|
|
|
940
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
941
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
942
981
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
943
|
-
return o || s ?
|
|
944
|
-
n.currentObservers = null,
|
|
982
|
+
return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
983
|
+
n.currentObservers = null, Ot(a, r);
|
|
945
984
|
}));
|
|
946
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
947
986
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
948
987
|
i ? r.error(o) : s && r.complete();
|
|
949
988
|
}, t.prototype.asObservable = function() {
|
|
950
|
-
var r = new
|
|
989
|
+
var r = new ir();
|
|
951
990
|
return r.source = this, r;
|
|
952
991
|
}, t.create = function(r, n) {
|
|
953
|
-
return new
|
|
992
|
+
return new sr(r, n);
|
|
954
993
|
}, t;
|
|
955
|
-
}(
|
|
956
|
-
|
|
994
|
+
}(ir), sr = function(e) {
|
|
995
|
+
le(t, e);
|
|
957
996
|
function t(r, n) {
|
|
958
997
|
var i = e.call(this) || this;
|
|
959
998
|
return i.destination = r, i.source = n, i;
|
|
@@ -969,17 +1008,17 @@ var ei = Nr(function(e) {
|
|
|
969
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
970
1009
|
}, t.prototype._subscribe = function(r) {
|
|
971
1010
|
var n, i;
|
|
972
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
|
|
973
1012
|
}, t;
|
|
974
|
-
}(
|
|
1013
|
+
}(Fr), Dr = {
|
|
975
1014
|
now: function() {
|
|
976
|
-
return (
|
|
1015
|
+
return (Dr.delegate || Date).now();
|
|
977
1016
|
},
|
|
978
1017
|
delegate: void 0
|
|
979
1018
|
}, ti = function(e) {
|
|
980
|
-
|
|
1019
|
+
le(t, e);
|
|
981
1020
|
function t(r, n, i) {
|
|
982
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
983
1022
|
var o = e.call(this) || this;
|
|
984
1023
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
985
1024
|
}
|
|
@@ -999,24 +1038,24 @@ var ei = Nr(function(e) {
|
|
|
999
1038
|
l && o.splice(0, l + 1);
|
|
1000
1039
|
}
|
|
1001
1040
|
}, t;
|
|
1002
|
-
}(
|
|
1003
|
-
const
|
|
1004
|
-
if (
|
|
1041
|
+
}(Fr);
|
|
1042
|
+
const ar = [], lr = {}, ri = (e, t = 0) => {
|
|
1043
|
+
if (ar.indexOf(e) == -1) {
|
|
1005
1044
|
const r = new ti(t);
|
|
1006
|
-
|
|
1045
|
+
lr[e] = r, ar.push(e);
|
|
1007
1046
|
}
|
|
1008
|
-
return
|
|
1047
|
+
return lr[e];
|
|
1009
1048
|
}, He = [];
|
|
1010
1049
|
function ni(e, t) {
|
|
1011
1050
|
return {
|
|
1012
|
-
subscribe:
|
|
1051
|
+
subscribe: dt(e, t).subscribe
|
|
1013
1052
|
};
|
|
1014
1053
|
}
|
|
1015
|
-
function
|
|
1054
|
+
function dt(e, t = Z) {
|
|
1016
1055
|
let r;
|
|
1017
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1018
1057
|
function i(a) {
|
|
1019
|
-
if (
|
|
1058
|
+
if (Ir(e, a) && (e = a, r)) {
|
|
1020
1059
|
const u = !He.length;
|
|
1021
1060
|
for (const l of n)
|
|
1022
1061
|
l[1](), He.push(l, e);
|
|
@@ -1038,7 +1077,7 @@ function mt(e, t = Z) {
|
|
|
1038
1077
|
}
|
|
1039
1078
|
return { set: i, update: o, subscribe: s };
|
|
1040
1079
|
}
|
|
1041
|
-
function
|
|
1080
|
+
function Re(e, t, r) {
|
|
1042
1081
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1043
1082
|
if (!i.every(Boolean))
|
|
1044
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1052,12 +1091,12 @@ function Ne(e, t, r) {
|
|
|
1052
1091
|
return;
|
|
1053
1092
|
f();
|
|
1054
1093
|
const y = t(n ? l[0] : l, s, a);
|
|
1055
|
-
o ? s(y) : f =
|
|
1094
|
+
o ? s(y) : f = $t(y) ? y : Z;
|
|
1056
1095
|
}, b = i.map(
|
|
1057
|
-
(y, g) =>
|
|
1096
|
+
(y, g) => Cr(
|
|
1058
1097
|
y,
|
|
1059
|
-
(
|
|
1060
|
-
l[g] =
|
|
1098
|
+
(S) => {
|
|
1099
|
+
l[g] = S, c &= ~(1 << g), u && d();
|
|
1061
1100
|
},
|
|
1062
1101
|
() => {
|
|
1063
1102
|
c |= 1 << g;
|
|
@@ -1065,7 +1104,7 @@ function Ne(e, t, r) {
|
|
|
1065
1104
|
)
|
|
1066
1105
|
);
|
|
1067
1106
|
return u = !0, d(), function() {
|
|
1068
|
-
|
|
1107
|
+
Ne(b), f(), u = !1;
|
|
1069
1108
|
};
|
|
1070
1109
|
});
|
|
1071
1110
|
}
|
|
@@ -1089,29 +1128,29 @@ function ci(e) {
|
|
|
1089
1128
|
function hi(e) {
|
|
1090
1129
|
return Array.isArray(e) ? [] : {};
|
|
1091
1130
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1131
|
+
function We(e, t) {
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(hi(e), e, t) : e;
|
|
1094
1133
|
}
|
|
1095
1134
|
function fi(e, t, r) {
|
|
1096
1135
|
return e.concat(t).map(function(n) {
|
|
1097
|
-
return
|
|
1136
|
+
return We(n, r);
|
|
1098
1137
|
});
|
|
1099
1138
|
}
|
|
1100
1139
|
function di(e, t) {
|
|
1101
1140
|
if (!t.customMerge)
|
|
1102
|
-
return
|
|
1141
|
+
return Ce;
|
|
1103
1142
|
var r = t.customMerge(e);
|
|
1104
|
-
return typeof r == "function" ? r :
|
|
1143
|
+
return typeof r == "function" ? r : Ce;
|
|
1105
1144
|
}
|
|
1106
1145
|
function mi(e) {
|
|
1107
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1108
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1109
1148
|
}) : [];
|
|
1110
1149
|
}
|
|
1111
|
-
function
|
|
1150
|
+
function ur(e) {
|
|
1112
1151
|
return Object.keys(e).concat(mi(e));
|
|
1113
1152
|
}
|
|
1114
|
-
function
|
|
1153
|
+
function kr(e, t) {
|
|
1115
1154
|
try {
|
|
1116
1155
|
return t in e;
|
|
1117
1156
|
} catch (r) {
|
|
@@ -1119,179 +1158,129 @@ function $r(e, t) {
|
|
|
1119
1158
|
}
|
|
1120
1159
|
}
|
|
1121
1160
|
function pi(e, t) {
|
|
1122
|
-
return
|
|
1161
|
+
return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1123
1162
|
}
|
|
1124
1163
|
function gi(e, t, r) {
|
|
1125
1164
|
var n = {};
|
|
1126
|
-
return r.isMergeableObject(e) &&
|
|
1127
|
-
n[i] =
|
|
1128
|
-
}),
|
|
1129
|
-
pi(e, i) || (
|
|
1165
|
+
return r.isMergeableObject(e) && ur(e).forEach(function(i) {
|
|
1166
|
+
n[i] = We(e[i], r);
|
|
1167
|
+
}), ur(t).forEach(function(i) {
|
|
1168
|
+
pi(e, i) || (kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1130
1169
|
}), n;
|
|
1131
1170
|
}
|
|
1132
|
-
function
|
|
1133
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified =
|
|
1171
|
+
function Ce(e, t, r) {
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = We;
|
|
1134
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1135
|
-
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : We(t, r);
|
|
1136
1175
|
}
|
|
1137
|
-
|
|
1176
|
+
Ce.all = function(t, r) {
|
|
1138
1177
|
if (!Array.isArray(t))
|
|
1139
1178
|
throw new Error("first argument should be an array");
|
|
1140
1179
|
return t.reduce(function(n, i) {
|
|
1141
|
-
return
|
|
1180
|
+
return Ce(n, i, r);
|
|
1142
1181
|
}, {});
|
|
1143
1182
|
};
|
|
1144
|
-
var bi =
|
|
1183
|
+
var bi = Ce, vi = bi;
|
|
1145
1184
|
const yi = /* @__PURE__ */ ii(vi);
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
r.__proto__ = n;
|
|
1149
|
-
} || function(r, n) {
|
|
1150
|
-
for (var i in n)
|
|
1151
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1152
|
-
}, Ut(e, t);
|
|
1153
|
-
};
|
|
1154
|
-
function pt(e, t) {
|
|
1155
|
-
if (typeof t != "function" && t !== null)
|
|
1156
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1157
|
-
Ut(e, t);
|
|
1158
|
-
function r() {
|
|
1159
|
-
this.constructor = e;
|
|
1160
|
-
}
|
|
1161
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1162
|
-
}
|
|
1163
|
-
var oe = function() {
|
|
1164
|
-
return oe = Object.assign || function(t) {
|
|
1165
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1166
|
-
r = arguments[n];
|
|
1167
|
-
for (var o in r)
|
|
1168
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1169
|
-
}
|
|
1170
|
-
return t;
|
|
1171
|
-
}, oe.apply(this, arguments);
|
|
1172
|
-
};
|
|
1173
|
-
function _i(e, t) {
|
|
1174
|
-
var r = {};
|
|
1175
|
-
for (var n in e)
|
|
1176
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1177
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1178
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1179
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1180
|
-
return r;
|
|
1181
|
-
}
|
|
1182
|
-
function xt(e, t, r) {
|
|
1183
|
-
if (r || arguments.length === 2)
|
|
1184
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1185
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1186
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1187
|
-
}
|
|
1188
|
-
function St(e, t) {
|
|
1189
|
-
var r = t && t.cache ? t.cache : Hi, n = t && t.serializer ? t.serializer : Pi, i = t && t.strategy ? t.strategy : xi;
|
|
1185
|
+
function Et(e, t) {
|
|
1186
|
+
var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : wi;
|
|
1190
1187
|
return i(e, {
|
|
1191
1188
|
cache: r,
|
|
1192
1189
|
serializer: n
|
|
1193
1190
|
});
|
|
1194
1191
|
}
|
|
1195
|
-
function
|
|
1192
|
+
function _i(e) {
|
|
1196
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1197
1194
|
}
|
|
1198
|
-
function
|
|
1199
|
-
var i =
|
|
1195
|
+
function Gr(e, t, r, n) {
|
|
1196
|
+
var i = _i(n) ? n : r(n), o = t.get(i);
|
|
1200
1197
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1201
1198
|
}
|
|
1202
|
-
function
|
|
1199
|
+
function $r(e, t, r) {
|
|
1203
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1204
1201
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1205
1202
|
}
|
|
1206
|
-
function
|
|
1203
|
+
function jt(e, t, r, n, i) {
|
|
1207
1204
|
return r.bind(t, e, n, i);
|
|
1208
1205
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var r = e.length === 1 ?
|
|
1211
|
-
return
|
|
1206
|
+
function wi(e, t) {
|
|
1207
|
+
var r = e.length === 1 ? Gr : $r;
|
|
1208
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1209
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return
|
|
1210
|
+
function Ei(e, t) {
|
|
1211
|
+
return jt(e, this, $r, t.cache.create(), t.serializer);
|
|
1212
|
+
}
|
|
1213
|
+
function xi(e, t) {
|
|
1214
|
+
return jt(e, this, Gr, t.cache.create(), t.serializer);
|
|
1215
1215
|
}
|
|
1216
|
-
var
|
|
1216
|
+
var Si = function() {
|
|
1217
1217
|
return JSON.stringify(arguments);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
}()
|
|
1230
|
-
), Hi = {
|
|
1218
|
+
};
|
|
1219
|
+
function Vt() {
|
|
1220
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1221
|
+
}
|
|
1222
|
+
Vt.prototype.get = function(e) {
|
|
1223
|
+
return this.cache[e];
|
|
1224
|
+
};
|
|
1225
|
+
Vt.prototype.set = function(e, t) {
|
|
1226
|
+
this.cache[e] = t;
|
|
1227
|
+
};
|
|
1228
|
+
var Pi = {
|
|
1231
1229
|
create: function() {
|
|
1232
|
-
return new
|
|
1230
|
+
return new Vt();
|
|
1233
1231
|
}
|
|
1234
|
-
},
|
|
1235
|
-
variadic:
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1239
|
-
r = arguments[n];
|
|
1240
|
-
for (var o in r)
|
|
1241
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1242
|
-
}
|
|
1243
|
-
return t;
|
|
1244
|
-
}, ct.apply(this, arguments);
|
|
1245
|
-
};
|
|
1246
|
-
var _;
|
|
1232
|
+
}, xt = {
|
|
1233
|
+
variadic: Ei,
|
|
1234
|
+
monadic: xi
|
|
1235
|
+
}, _;
|
|
1247
1236
|
(function(e) {
|
|
1248
1237
|
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";
|
|
1249
1238
|
})(_ || (_ = {}));
|
|
1250
|
-
var
|
|
1239
|
+
var T;
|
|
1251
1240
|
(function(e) {
|
|
1252
1241
|
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";
|
|
1253
|
-
})(
|
|
1242
|
+
})(T || (T = {}));
|
|
1254
1243
|
var Oe;
|
|
1255
1244
|
(function(e) {
|
|
1256
1245
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1257
1246
|
})(Oe || (Oe = {}));
|
|
1258
|
-
function
|
|
1259
|
-
return e.type ===
|
|
1247
|
+
function cr(e) {
|
|
1248
|
+
return e.type === T.literal;
|
|
1260
1249
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return e.type ===
|
|
1250
|
+
function Ti(e) {
|
|
1251
|
+
return e.type === T.argument;
|
|
1252
|
+
}
|
|
1253
|
+
function jr(e) {
|
|
1254
|
+
return e.type === T.number;
|
|
1263
1255
|
}
|
|
1264
1256
|
function Vr(e) {
|
|
1265
|
-
return e.type ===
|
|
1257
|
+
return e.type === T.date;
|
|
1266
1258
|
}
|
|
1267
1259
|
function zr(e) {
|
|
1268
|
-
return e.type ===
|
|
1260
|
+
return e.type === T.time;
|
|
1269
1261
|
}
|
|
1270
1262
|
function Xr(e) {
|
|
1271
|
-
return e.type ===
|
|
1263
|
+
return e.type === T.select;
|
|
1272
1264
|
}
|
|
1273
1265
|
function Wr(e) {
|
|
1274
|
-
return e.type ===
|
|
1266
|
+
return e.type === T.plural;
|
|
1275
1267
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return e.type ===
|
|
1268
|
+
function Hi(e) {
|
|
1269
|
+
return e.type === T.pound;
|
|
1278
1270
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return e.type ===
|
|
1271
|
+
function Zr(e) {
|
|
1272
|
+
return e.type === T.tag;
|
|
1281
1273
|
}
|
|
1282
1274
|
function qr(e) {
|
|
1283
|
-
return e.type === P.tag;
|
|
1284
|
-
}
|
|
1285
|
-
function Jr(e) {
|
|
1286
1275
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1287
1276
|
}
|
|
1288
|
-
function
|
|
1277
|
+
function Mt(e) {
|
|
1289
1278
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1290
1279
|
}
|
|
1291
|
-
var
|
|
1292
|
-
function
|
|
1280
|
+
var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
|
|
1281
|
+
function Ai(e) {
|
|
1293
1282
|
var t = {};
|
|
1294
|
-
return e.replace(
|
|
1283
|
+
return e.replace(Bi, function(r) {
|
|
1295
1284
|
var n = r.length;
|
|
1296
1285
|
switch (r[0]) {
|
|
1297
1286
|
case "G":
|
|
@@ -1380,21 +1369,11 @@ function Oi(e) {
|
|
|
1380
1369
|
return "";
|
|
1381
1370
|
}), t;
|
|
1382
1371
|
}
|
|
1383
|
-
var
|
|
1384
|
-
|
|
1385
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1386
|
-
r = arguments[n];
|
|
1387
|
-
for (var o in r)
|
|
1388
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1389
|
-
}
|
|
1390
|
-
return t;
|
|
1391
|
-
}, T.apply(this, arguments);
|
|
1392
|
-
};
|
|
1393
|
-
var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
-
function Li(e) {
|
|
1372
|
+
var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1373
|
+
function Ci(e) {
|
|
1395
1374
|
if (e.length === 0)
|
|
1396
1375
|
throw new Error("Number skeleton cannot be empty");
|
|
1397
|
-
for (var t = e.split(
|
|
1376
|
+
for (var t = e.split(Ii).filter(function(d) {
|
|
1398
1377
|
return d.length > 0;
|
|
1399
1378
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1400
1379
|
var o = i[n], s = o.split("/");
|
|
@@ -1409,17 +1388,17 @@ function Li(e) {
|
|
|
1409
1388
|
}
|
|
1410
1389
|
return r;
|
|
1411
1390
|
}
|
|
1412
|
-
function
|
|
1391
|
+
function Oi(e) {
|
|
1413
1392
|
return e.replace(/^(.*?)-/, "");
|
|
1414
1393
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1394
|
+
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1395
|
+
function fr(e) {
|
|
1417
1396
|
var t = {};
|
|
1418
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1397
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1419
1398
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1420
1399
|
}), t;
|
|
1421
1400
|
}
|
|
1422
|
-
function
|
|
1401
|
+
function Kr(e) {
|
|
1423
1402
|
switch (e) {
|
|
1424
1403
|
case "sign-auto":
|
|
1425
1404
|
return {
|
|
@@ -1459,7 +1438,7 @@ function en(e) {
|
|
|
1459
1438
|
};
|
|
1460
1439
|
}
|
|
1461
1440
|
}
|
|
1462
|
-
function
|
|
1441
|
+
function Mi(e) {
|
|
1463
1442
|
var t;
|
|
1464
1443
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1465
1444
|
notation: "engineering"
|
|
@@ -1467,17 +1446,17 @@ function Ri(e) {
|
|
|
1467
1446
|
notation: "scientific"
|
|
1468
1447
|
}, e = e.slice(1)), t) {
|
|
1469
1448
|
var r = e.slice(0, 2);
|
|
1470
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1449
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1471
1450
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1472
1451
|
t.minimumIntegerDigits = e.length;
|
|
1473
1452
|
}
|
|
1474
1453
|
return t;
|
|
1475
1454
|
}
|
|
1476
|
-
function
|
|
1477
|
-
var t = {}, r =
|
|
1455
|
+
function dr(e) {
|
|
1456
|
+
var t = {}, r = Kr(e);
|
|
1478
1457
|
return r || t;
|
|
1479
1458
|
}
|
|
1480
|
-
function
|
|
1459
|
+
function Ni(e) {
|
|
1481
1460
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1482
1461
|
var i = n[r];
|
|
1483
1462
|
switch (i.stem) {
|
|
@@ -1501,7 +1480,7 @@ function Ui(e) {
|
|
|
1501
1480
|
continue;
|
|
1502
1481
|
case "measure-unit":
|
|
1503
1482
|
case "unit":
|
|
1504
|
-
t.style = "unit", t.unit =
|
|
1483
|
+
t.style = "unit", t.unit = Oi(i.options[0]);
|
|
1505
1484
|
continue;
|
|
1506
1485
|
case "compact-short":
|
|
1507
1486
|
case "K":
|
|
@@ -1512,13 +1491,13 @@ function Ui(e) {
|
|
|
1512
1491
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1513
1492
|
continue;
|
|
1514
1493
|
case "scientific":
|
|
1515
|
-
t =
|
|
1516
|
-
return
|
|
1494
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1495
|
+
return E(E({}, u), dr(l));
|
|
1517
1496
|
}, {}));
|
|
1518
1497
|
continue;
|
|
1519
1498
|
case "engineering":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1499
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1500
|
+
return E(E({}, u), dr(l));
|
|
1522
1501
|
}, {}));
|
|
1523
1502
|
continue;
|
|
1524
1503
|
case "notation-simple":
|
|
@@ -1563,7 +1542,7 @@ function Ui(e) {
|
|
|
1563
1542
|
case "integer-width":
|
|
1564
1543
|
if (i.options.length > 1)
|
|
1565
1544
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1566
|
-
i.options[0].replace(
|
|
1545
|
+
i.options[0].replace(Li, function(u, l, c, f, d, b) {
|
|
1567
1546
|
if (l)
|
|
1568
1547
|
t.minimumIntegerDigits = c.length;
|
|
1569
1548
|
else {
|
|
@@ -1576,28 +1555,28 @@ function Ui(e) {
|
|
|
1576
1555
|
});
|
|
1577
1556
|
continue;
|
|
1578
1557
|
}
|
|
1579
|
-
if (
|
|
1558
|
+
if (Yr.test(i.stem)) {
|
|
1580
1559
|
t.minimumIntegerDigits = i.stem.length;
|
|
1581
1560
|
continue;
|
|
1582
1561
|
}
|
|
1583
|
-
if (
|
|
1562
|
+
if (hr.test(i.stem)) {
|
|
1584
1563
|
if (i.options.length > 1)
|
|
1585
1564
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1586
|
-
i.stem.replace(
|
|
1565
|
+
i.stem.replace(hr, function(u, l, c, f, d, b) {
|
|
1587
1566
|
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1588
1567
|
});
|
|
1589
1568
|
var o = i.options[0];
|
|
1590
|
-
o === "w" ? t =
|
|
1569
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), fr(o)));
|
|
1591
1570
|
continue;
|
|
1592
1571
|
}
|
|
1593
|
-
if (
|
|
1594
|
-
t =
|
|
1572
|
+
if (Qr.test(i.stem)) {
|
|
1573
|
+
t = E(E({}, t), fr(i.stem));
|
|
1595
1574
|
continue;
|
|
1596
1575
|
}
|
|
1597
|
-
var s =
|
|
1598
|
-
s && (t =
|
|
1599
|
-
var a =
|
|
1600
|
-
a && (t =
|
|
1576
|
+
var s = Kr(i.stem);
|
|
1577
|
+
s && (t = E(E({}, t), s));
|
|
1578
|
+
var a = Mi(i.stem);
|
|
1579
|
+
a && (t = E(E({}, t), a));
|
|
1601
1580
|
}
|
|
1602
1581
|
return t;
|
|
1603
1582
|
}
|
|
@@ -3016,13 +2995,13 @@ var it = {
|
|
|
3016
2995
|
"h"
|
|
3017
2996
|
]
|
|
3018
2997
|
};
|
|
3019
|
-
function
|
|
2998
|
+
function Ri(e, t) {
|
|
3020
2999
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3021
3000
|
var i = e.charAt(n);
|
|
3022
3001
|
if (i === "j") {
|
|
3023
3002
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3024
3003
|
o++, n++;
|
|
3025
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3004
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
|
|
3026
3005
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3027
3006
|
r += u;
|
|
3028
3007
|
for (; s-- > 0; )
|
|
@@ -3032,7 +3011,7 @@ function Fi(e, t) {
|
|
|
3032
3011
|
}
|
|
3033
3012
|
return r;
|
|
3034
3013
|
}
|
|
3035
|
-
function
|
|
3014
|
+
function Ui(e) {
|
|
3036
3015
|
var t = e.hourCycle;
|
|
3037
3016
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3038
3017
|
e.hourCycles && // @ts-ignore
|
|
@@ -3054,20 +3033,20 @@ function Di(e) {
|
|
|
3054
3033
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3055
3034
|
return i[0];
|
|
3056
3035
|
}
|
|
3057
|
-
var
|
|
3036
|
+
var St, Fi = new RegExp("^".concat(Jr.source, "*")), Di = new RegExp("".concat(Jr.source, "*$"));
|
|
3058
3037
|
function w(e, t) {
|
|
3059
3038
|
return { start: e, end: t };
|
|
3060
3039
|
}
|
|
3061
|
-
var
|
|
3040
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
|
|
3062
3041
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3063
|
-
},
|
|
3042
|
+
}, Nt = !0;
|
|
3064
3043
|
try {
|
|
3065
|
-
var
|
|
3066
|
-
|
|
3044
|
+
var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3045
|
+
Nt = ((St = Zi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
|
|
3067
3046
|
} catch (e) {
|
|
3068
|
-
|
|
3047
|
+
Nt = !1;
|
|
3069
3048
|
}
|
|
3070
|
-
var
|
|
3049
|
+
var mr = ki ? (
|
|
3071
3050
|
// Native
|
|
3072
3051
|
function(t, r, n) {
|
|
3073
3052
|
return t.startsWith(r, n);
|
|
@@ -3077,7 +3056,7 @@ var gr = Gi ? (
|
|
|
3077
3056
|
function(t, r, n) {
|
|
3078
3057
|
return t.slice(n, n + r.length) === r;
|
|
3079
3058
|
}
|
|
3080
|
-
),
|
|
3059
|
+
), Rt = Gi ? String.fromCodePoint : (
|
|
3081
3060
|
// IE11
|
|
3082
3061
|
function() {
|
|
3083
3062
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3089,9 +3068,9 @@ var gr = Gi ? (
|
|
|
3089
3068
|
}
|
|
3090
3069
|
return n;
|
|
3091
3070
|
}
|
|
3092
|
-
),
|
|
3071
|
+
), pr = (
|
|
3093
3072
|
// native
|
|
3094
|
-
|
|
3073
|
+
$i ? Object.fromEntries : (
|
|
3095
3074
|
// Ponyfill
|
|
3096
3075
|
function(t) {
|
|
3097
3076
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3101,7 +3080,7 @@ var gr = Gi ? (
|
|
|
3101
3080
|
return r;
|
|
3102
3081
|
}
|
|
3103
3082
|
)
|
|
3104
|
-
),
|
|
3083
|
+
), en = ji ? (
|
|
3105
3084
|
// Native
|
|
3106
3085
|
function(t, r) {
|
|
3107
3086
|
return t.codePointAt(r);
|
|
@@ -3115,7 +3094,7 @@ var gr = Gi ? (
|
|
|
3115
3094
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3116
3095
|
}
|
|
3117
3096
|
}
|
|
3118
|
-
),
|
|
3097
|
+
), qi = Vi ? (
|
|
3119
3098
|
// Native
|
|
3120
3099
|
function(t) {
|
|
3121
3100
|
return t.trimStart();
|
|
@@ -3123,9 +3102,9 @@ var gr = Gi ? (
|
|
|
3123
3102
|
) : (
|
|
3124
3103
|
// Ponyfill
|
|
3125
3104
|
function(t) {
|
|
3126
|
-
return t.replace(
|
|
3105
|
+
return t.replace(Fi, "");
|
|
3127
3106
|
}
|
|
3128
|
-
),
|
|
3107
|
+
), Ji = zi ? (
|
|
3129
3108
|
// Native
|
|
3130
3109
|
function(t) {
|
|
3131
3110
|
return t.trimEnd();
|
|
@@ -3133,32 +3112,32 @@ var gr = Gi ? (
|
|
|
3133
3112
|
) : (
|
|
3134
3113
|
// Ponyfill
|
|
3135
3114
|
function(t) {
|
|
3136
|
-
return t.replace(
|
|
3115
|
+
return t.replace(Di, "");
|
|
3137
3116
|
}
|
|
3138
3117
|
);
|
|
3139
|
-
function
|
|
3118
|
+
function tn(e, t) {
|
|
3140
3119
|
return new RegExp(e, t);
|
|
3141
3120
|
}
|
|
3142
|
-
var
|
|
3143
|
-
if (
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3121
|
+
var Ut;
|
|
3122
|
+
if (Nt) {
|
|
3123
|
+
var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3124
|
+
Ut = function(t, r) {
|
|
3146
3125
|
var n;
|
|
3147
|
-
|
|
3148
|
-
var i =
|
|
3126
|
+
gr.lastIndex = r;
|
|
3127
|
+
var i = gr.exec(t);
|
|
3149
3128
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3150
3129
|
};
|
|
3151
3130
|
} else
|
|
3152
|
-
|
|
3131
|
+
Ut = function(t, r) {
|
|
3153
3132
|
for (var n = []; ; ) {
|
|
3154
|
-
var i =
|
|
3155
|
-
if (i === void 0 ||
|
|
3133
|
+
var i = en(t, r);
|
|
3134
|
+
if (i === void 0 || rn(i) || eo(i))
|
|
3156
3135
|
break;
|
|
3157
3136
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3158
3137
|
}
|
|
3159
|
-
return
|
|
3138
|
+
return Rt.apply(void 0, n);
|
|
3160
3139
|
};
|
|
3161
|
-
var
|
|
3140
|
+
var Qi = (
|
|
3162
3141
|
/** @class */
|
|
3163
3142
|
function() {
|
|
3164
3143
|
function e(t, r) {
|
|
@@ -3182,14 +3161,14 @@ var Ki = (
|
|
|
3182
3161
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3183
3162
|
var a = this.clonePosition();
|
|
3184
3163
|
this.bump(), i.push({
|
|
3185
|
-
type:
|
|
3164
|
+
type: T.pound,
|
|
3186
3165
|
location: w(a, this.clonePosition())
|
|
3187
3166
|
});
|
|
3188
3167
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3189
3168
|
if (n)
|
|
3190
3169
|
break;
|
|
3191
3170
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3192
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3171
|
+
} else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3193
3172
|
var s = this.parseTag(t, r);
|
|
3194
3173
|
if (s.err)
|
|
3195
3174
|
return s;
|
|
@@ -3210,7 +3189,7 @@ var Ki = (
|
|
|
3210
3189
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3211
3190
|
return {
|
|
3212
3191
|
val: {
|
|
3213
|
-
type:
|
|
3192
|
+
type: T.literal,
|
|
3214
3193
|
value: "<".concat(i, "/>"),
|
|
3215
3194
|
location: w(n, this.clonePosition())
|
|
3216
3195
|
},
|
|
@@ -3222,12 +3201,12 @@ var Ki = (
|
|
|
3222
3201
|
return o;
|
|
3223
3202
|
var s = o.val, a = this.clonePosition();
|
|
3224
3203
|
if (this.bumpIf("</")) {
|
|
3225
|
-
if (this.isEOF() || !
|
|
3204
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3226
3205
|
return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
|
|
3227
3206
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3228
3207
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3229
3208
|
val: {
|
|
3230
|
-
type:
|
|
3209
|
+
type: T.tag,
|
|
3231
3210
|
value: i,
|
|
3232
3211
|
children: s,
|
|
3233
3212
|
location: w(n, this.clonePosition())
|
|
@@ -3240,7 +3219,7 @@ var Ki = (
|
|
|
3240
3219
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3241
3220
|
}, e.prototype.parseTagName = function() {
|
|
3242
3221
|
var t = this.offset();
|
|
3243
|
-
for (this.bump(); !this.isEOF() &&
|
|
3222
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3244
3223
|
this.bump();
|
|
3245
3224
|
return this.message.slice(t, this.offset());
|
|
3246
3225
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3264,12 +3243,12 @@ var Ki = (
|
|
|
3264
3243
|
}
|
|
3265
3244
|
var u = w(n, this.clonePosition());
|
|
3266
3245
|
return {
|
|
3267
|
-
val: { type:
|
|
3246
|
+
val: { type: T.literal, value: i, location: u },
|
|
3268
3247
|
err: null
|
|
3269
3248
|
};
|
|
3270
3249
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3271
3250
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3272
|
-
!
|
|
3251
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3273
3252
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3274
3253
|
if (this.isEOF() || this.char() !== 39)
|
|
3275
3254
|
return null;
|
|
@@ -3303,12 +3282,12 @@ var Ki = (
|
|
|
3303
3282
|
r.push(n);
|
|
3304
3283
|
this.bump();
|
|
3305
3284
|
}
|
|
3306
|
-
return
|
|
3285
|
+
return Rt.apply(void 0, r);
|
|
3307
3286
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3308
3287
|
if (this.isEOF())
|
|
3309
3288
|
return null;
|
|
3310
3289
|
var n = this.char();
|
|
3311
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3290
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3312
3291
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3313
3292
|
var n = this.clonePosition();
|
|
3314
3293
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3324,7 +3303,7 @@ var Ki = (
|
|
|
3324
3303
|
case 125:
|
|
3325
3304
|
return this.bump(), {
|
|
3326
3305
|
val: {
|
|
3327
|
-
type:
|
|
3306
|
+
type: T.argument,
|
|
3328
3307
|
// value does not include the opening and closing braces.
|
|
3329
3308
|
value: i,
|
|
3330
3309
|
location: w(n, this.clonePosition())
|
|
@@ -3337,7 +3316,7 @@ var Ki = (
|
|
|
3337
3316
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3338
3317
|
}
|
|
3339
3318
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3340
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3319
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3341
3320
|
this.bumpTo(i);
|
|
3342
3321
|
var o = this.clonePosition(), s = w(t, o);
|
|
3343
3322
|
return { value: n, location: s };
|
|
@@ -3356,7 +3335,7 @@ var Ki = (
|
|
|
3356
3335
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3357
3336
|
if (f.err)
|
|
3358
3337
|
return f;
|
|
3359
|
-
var d =
|
|
3338
|
+
var d = Ji(f.val);
|
|
3360
3339
|
if (d.length === 0)
|
|
3361
3340
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3362
3341
|
var b = w(c, this.clonePosition());
|
|
@@ -3366,25 +3345,25 @@ var Ki = (
|
|
|
3366
3345
|
if (y.err)
|
|
3367
3346
|
return y;
|
|
3368
3347
|
var g = w(i, this.clonePosition());
|
|
3369
|
-
if (l &&
|
|
3370
|
-
var
|
|
3348
|
+
if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3349
|
+
var S = qi(l.style.slice(2));
|
|
3371
3350
|
if (a === "number") {
|
|
3372
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3351
|
+
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3373
3352
|
return f.err ? f : {
|
|
3374
|
-
val: { type:
|
|
3353
|
+
val: { type: T.number, value: n, location: g, style: f.val },
|
|
3375
3354
|
err: null
|
|
3376
3355
|
};
|
|
3377
3356
|
} else {
|
|
3378
|
-
if (
|
|
3357
|
+
if (S.length === 0)
|
|
3379
3358
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3380
|
-
var
|
|
3381
|
-
this.locale && (
|
|
3359
|
+
var C = S;
|
|
3360
|
+
this.locale && (C = Ri(S, this.locale));
|
|
3382
3361
|
var d = {
|
|
3383
3362
|
type: Oe.dateTime,
|
|
3384
|
-
pattern:
|
|
3363
|
+
pattern: C,
|
|
3385
3364
|
location: l.styleLocation,
|
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3387
|
-
}, z = a === "date" ?
|
|
3365
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(C) : {}
|
|
3366
|
+
}, z = a === "date" ? T.date : T.time;
|
|
3388
3367
|
return {
|
|
3389
3368
|
val: { type: z, value: n, location: g, style: d },
|
|
3390
3369
|
err: null
|
|
@@ -3393,7 +3372,7 @@ var Ki = (
|
|
|
3393
3372
|
}
|
|
3394
3373
|
return {
|
|
3395
3374
|
val: {
|
|
3396
|
-
type: a === "number" ?
|
|
3375
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3397
3376
|
value: n,
|
|
3398
3377
|
location: g,
|
|
3399
3378
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
@@ -3406,7 +3385,7 @@ var Ki = (
|
|
|
3406
3385
|
case "select": {
|
|
3407
3386
|
var R = this.clonePosition();
|
|
3408
3387
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R,
|
|
3388
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, E({}, R)));
|
|
3410
3389
|
this.bumpSpace();
|
|
3411
3390
|
var U = this.parseIdentifierIfPossible(), A = 0;
|
|
3412
3391
|
if (a !== "select" && U.value === "offset") {
|
|
@@ -3427,17 +3406,17 @@ var Ki = (
|
|
|
3427
3406
|
var H = w(i, this.clonePosition());
|
|
3428
3407
|
return a === "select" ? {
|
|
3429
3408
|
val: {
|
|
3430
|
-
type:
|
|
3409
|
+
type: T.select,
|
|
3431
3410
|
value: n,
|
|
3432
|
-
options:
|
|
3411
|
+
options: pr(ne.val),
|
|
3433
3412
|
location: H
|
|
3434
3413
|
},
|
|
3435
3414
|
err: null
|
|
3436
3415
|
} : {
|
|
3437
3416
|
val: {
|
|
3438
|
-
type:
|
|
3417
|
+
type: T.plural,
|
|
3439
3418
|
value: n,
|
|
3440
|
-
options:
|
|
3419
|
+
options: pr(ne.val),
|
|
3441
3420
|
offset: A,
|
|
3442
3421
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3443
3422
|
location: H
|
|
@@ -3488,7 +3467,7 @@ var Ki = (
|
|
|
3488
3467
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3489
3468
|
var n = [];
|
|
3490
3469
|
try {
|
|
3491
|
-
n =
|
|
3470
|
+
n = Ci(t);
|
|
3492
3471
|
} catch (i) {
|
|
3493
3472
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3494
3473
|
}
|
|
@@ -3497,7 +3476,7 @@ var Ki = (
|
|
|
3497
3476
|
type: Oe.number,
|
|
3498
3477
|
tokens: n,
|
|
3499
3478
|
location: r,
|
|
3500
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3479
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
|
|
3501
3480
|
},
|
|
3502
3481
|
err: null
|
|
3503
3482
|
};
|
|
@@ -3545,7 +3524,7 @@ var Ki = (
|
|
|
3545
3524
|
break;
|
|
3546
3525
|
}
|
|
3547
3526
|
var u = w(i, this.clonePosition());
|
|
3548
|
-
return o ? (s *= n,
|
|
3527
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3549
3528
|
}, e.prototype.offset = function() {
|
|
3550
3529
|
return this.position.offset;
|
|
3551
3530
|
}, e.prototype.isEOF = function() {
|
|
@@ -3560,7 +3539,7 @@ var Ki = (
|
|
|
3560
3539
|
var t = this.position.offset;
|
|
3561
3540
|
if (t >= this.message.length)
|
|
3562
3541
|
throw Error("out of bound");
|
|
3563
|
-
var r =
|
|
3542
|
+
var r = en(this.message, t);
|
|
3564
3543
|
if (r === void 0)
|
|
3565
3544
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3566
3545
|
return r;
|
|
@@ -3579,7 +3558,7 @@ var Ki = (
|
|
|
3579
3558
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3580
3559
|
}
|
|
3581
3560
|
}, e.prototype.bumpIf = function(t) {
|
|
3582
|
-
if (
|
|
3561
|
+
if (mr(this.message, t, this.offset())) {
|
|
3583
3562
|
for (var r = 0; r < t.length; r++)
|
|
3584
3563
|
this.bump();
|
|
3585
3564
|
return !0;
|
|
@@ -3601,7 +3580,7 @@ var Ki = (
|
|
|
3601
3580
|
break;
|
|
3602
3581
|
}
|
|
3603
3582
|
}, e.prototype.bumpSpace = function() {
|
|
3604
|
-
for (; !this.isEOF() &&
|
|
3583
|
+
for (; !this.isEOF() && rn(this.char()); )
|
|
3605
3584
|
this.bump();
|
|
3606
3585
|
}, e.prototype.peek = function() {
|
|
3607
3586
|
if (this.isEOF())
|
|
@@ -3611,47 +3590,47 @@ var Ki = (
|
|
|
3611
3590
|
}, e;
|
|
3612
3591
|
}()
|
|
3613
3592
|
);
|
|
3614
|
-
function
|
|
3593
|
+
function Ft(e) {
|
|
3615
3594
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3616
3595
|
}
|
|
3617
|
-
function
|
|
3618
|
-
return
|
|
3596
|
+
function Yi(e) {
|
|
3597
|
+
return Ft(e) || e === 47;
|
|
3619
3598
|
}
|
|
3620
|
-
function
|
|
3599
|
+
function Ki(e) {
|
|
3621
3600
|
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;
|
|
3622
3601
|
}
|
|
3623
|
-
function
|
|
3602
|
+
function rn(e) {
|
|
3624
3603
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3625
3604
|
}
|
|
3626
|
-
function
|
|
3605
|
+
function eo(e) {
|
|
3627
3606
|
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;
|
|
3628
3607
|
}
|
|
3629
|
-
function
|
|
3608
|
+
function Dt(e) {
|
|
3630
3609
|
e.forEach(function(t) {
|
|
3631
|
-
if (delete t.location,
|
|
3610
|
+
if (delete t.location, Xr(t) || Wr(t))
|
|
3632
3611
|
for (var r in t.options)
|
|
3633
|
-
delete t.options[r].location,
|
|
3612
|
+
delete t.options[r].location, Dt(t.options[r].value);
|
|
3634
3613
|
else
|
|
3635
|
-
|
|
3614
|
+
jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
|
|
3636
3615
|
});
|
|
3637
3616
|
}
|
|
3638
|
-
function
|
|
3639
|
-
t === void 0 && (t = {}), t =
|
|
3640
|
-
var r = new
|
|
3617
|
+
function to(e, t) {
|
|
3618
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3619
|
+
var r = new Qi(e, t).parse();
|
|
3641
3620
|
if (r.err) {
|
|
3642
3621
|
var n = SyntaxError(_[r.err.kind]);
|
|
3643
3622
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3644
3623
|
}
|
|
3645
|
-
return t != null && t.captureLocation ||
|
|
3624
|
+
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3646
3625
|
}
|
|
3647
|
-
var
|
|
3626
|
+
var Le;
|
|
3648
3627
|
(function(e) {
|
|
3649
3628
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3650
|
-
})(
|
|
3651
|
-
var
|
|
3629
|
+
})(Le || (Le = {}));
|
|
3630
|
+
var mt = (
|
|
3652
3631
|
/** @class */
|
|
3653
3632
|
function(e) {
|
|
3654
|
-
|
|
3633
|
+
le(t, e);
|
|
3655
3634
|
function t(r, n, i) {
|
|
3656
3635
|
var o = e.call(this, r) || this;
|
|
3657
3636
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3660,48 +3639,48 @@ var gt = (
|
|
|
3660
3639
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3661
3640
|
}, t;
|
|
3662
3641
|
}(Error)
|
|
3663
|
-
),
|
|
3642
|
+
), br = (
|
|
3664
3643
|
/** @class */
|
|
3665
3644
|
function(e) {
|
|
3666
|
-
|
|
3645
|
+
le(t, e);
|
|
3667
3646
|
function t(r, n, i, o) {
|
|
3668
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3647
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3669
3648
|
}
|
|
3670
3649
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3650
|
+
}(mt)
|
|
3651
|
+
), ro = (
|
|
3673
3652
|
/** @class */
|
|
3674
3653
|
function(e) {
|
|
3675
|
-
|
|
3654
|
+
le(t, e);
|
|
3676
3655
|
function t(r, n, i) {
|
|
3677
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3656
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3678
3657
|
}
|
|
3679
3658
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3659
|
+
}(mt)
|
|
3660
|
+
), no = (
|
|
3682
3661
|
/** @class */
|
|
3683
3662
|
function(e) {
|
|
3684
|
-
|
|
3663
|
+
le(t, e);
|
|
3685
3664
|
function t(r, n) {
|
|
3686
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3665
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3687
3666
|
}
|
|
3688
3667
|
return t;
|
|
3689
|
-
}(
|
|
3668
|
+
}(mt)
|
|
3690
3669
|
), V;
|
|
3691
3670
|
(function(e) {
|
|
3692
3671
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3693
3672
|
})(V || (V = {}));
|
|
3694
|
-
function
|
|
3673
|
+
function io(e) {
|
|
3695
3674
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3696
3675
|
var n = t[t.length - 1];
|
|
3697
3676
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3698
3677
|
}, []);
|
|
3699
3678
|
}
|
|
3700
|
-
function
|
|
3679
|
+
function oo(e) {
|
|
3701
3680
|
return typeof e == "function";
|
|
3702
3681
|
}
|
|
3703
3682
|
function at(e, t, r, n, i, o, s) {
|
|
3704
|
-
if (e.length === 1 &&
|
|
3683
|
+
if (e.length === 1 && cr(e[0]))
|
|
3705
3684
|
return [
|
|
3706
3685
|
{
|
|
3707
3686
|
type: V.literal,
|
|
@@ -3710,14 +3689,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3710
3689
|
];
|
|
3711
3690
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3712
3691
|
var c = l[u];
|
|
3713
|
-
if (
|
|
3692
|
+
if (cr(c)) {
|
|
3714
3693
|
a.push({
|
|
3715
3694
|
type: V.literal,
|
|
3716
3695
|
value: c.value
|
|
3717
3696
|
});
|
|
3718
3697
|
continue;
|
|
3719
3698
|
}
|
|
3720
|
-
if (
|
|
3699
|
+
if (Hi(c)) {
|
|
3721
3700
|
typeof o == "number" && a.push({
|
|
3722
3701
|
type: V.literal,
|
|
3723
3702
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3726,44 +3705,44 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3726
3705
|
}
|
|
3727
3706
|
var f = c.value;
|
|
3728
3707
|
if (!(i && f in i))
|
|
3729
|
-
throw new
|
|
3708
|
+
throw new no(f, s);
|
|
3730
3709
|
var d = i[f];
|
|
3731
|
-
if (
|
|
3710
|
+
if (Ti(c)) {
|
|
3732
3711
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3733
3712
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3734
3713
|
value: d
|
|
3735
3714
|
});
|
|
3736
3715
|
continue;
|
|
3737
3716
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3717
|
+
if (Vr(c)) {
|
|
3718
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3740
3719
|
a.push({
|
|
3741
3720
|
type: V.literal,
|
|
3742
3721
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3743
3722
|
});
|
|
3744
3723
|
continue;
|
|
3745
3724
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3725
|
+
if (zr(c)) {
|
|
3726
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3748
3727
|
a.push({
|
|
3749
3728
|
type: V.literal,
|
|
3750
3729
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3751
3730
|
});
|
|
3752
3731
|
continue;
|
|
3753
3732
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3733
|
+
if (jr(c)) {
|
|
3734
|
+
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3756
3735
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3757
3736
|
type: V.literal,
|
|
3758
3737
|
value: r.getNumberFormat(t, b).format(d)
|
|
3759
3738
|
});
|
|
3760
3739
|
continue;
|
|
3761
3740
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
var y = c.children, g = c.value,
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3766
|
-
var
|
|
3741
|
+
if (Zr(c)) {
|
|
3742
|
+
var y = c.children, g = c.value, S = i[g];
|
|
3743
|
+
if (!oo(S))
|
|
3744
|
+
throw new ro(g, "function", s);
|
|
3745
|
+
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3767
3746
|
return A.value;
|
|
3768
3747
|
}));
|
|
3769
3748
|
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
@@ -3773,42 +3752,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3773
3752
|
};
|
|
3774
3753
|
}));
|
|
3775
3754
|
}
|
|
3776
|
-
if (
|
|
3755
|
+
if (Xr(c)) {
|
|
3777
3756
|
var R = c.options[d] || c.options.other;
|
|
3778
3757
|
if (!R)
|
|
3779
|
-
throw new
|
|
3758
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3780
3759
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3781
3760
|
continue;
|
|
3782
3761
|
}
|
|
3783
|
-
if (
|
|
3762
|
+
if (Wr(c)) {
|
|
3784
3763
|
var R = c.options["=".concat(d)];
|
|
3785
3764
|
if (!R) {
|
|
3786
3765
|
if (!Intl.PluralRules)
|
|
3787
|
-
throw new
|
|
3766
|
+
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3788
3767
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3789
|
-
`,
|
|
3768
|
+
`, Le.MISSING_INTL_API, s);
|
|
3790
3769
|
var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3791
3770
|
R = c.options[U] || c.options.other;
|
|
3792
3771
|
}
|
|
3793
3772
|
if (!R)
|
|
3794
|
-
throw new
|
|
3773
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3795
3774
|
a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
|
|
3796
3775
|
continue;
|
|
3797
3776
|
}
|
|
3798
3777
|
}
|
|
3799
|
-
return
|
|
3778
|
+
return io(a);
|
|
3800
3779
|
}
|
|
3801
|
-
function
|
|
3802
|
-
return t ?
|
|
3803
|
-
return r[n] =
|
|
3780
|
+
function so(e, t) {
|
|
3781
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3782
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3804
3783
|
}, {})) : e;
|
|
3805
3784
|
}
|
|
3806
|
-
function
|
|
3785
|
+
function ao(e, t) {
|
|
3807
3786
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3808
|
-
return r[n] =
|
|
3809
|
-
},
|
|
3787
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3788
|
+
}, E({}, e)) : e;
|
|
3810
3789
|
}
|
|
3811
|
-
function
|
|
3790
|
+
function Pt(e) {
|
|
3812
3791
|
return {
|
|
3813
3792
|
create: function() {
|
|
3814
3793
|
return {
|
|
@@ -3822,39 +3801,39 @@ function Ht(e) {
|
|
|
3822
3801
|
}
|
|
3823
3802
|
};
|
|
3824
3803
|
}
|
|
3825
|
-
function
|
|
3804
|
+
function lo(e) {
|
|
3826
3805
|
return e === void 0 && (e = {
|
|
3827
3806
|
number: {},
|
|
3828
3807
|
dateTime: {},
|
|
3829
3808
|
pluralRules: {}
|
|
3830
3809
|
}), {
|
|
3831
|
-
getNumberFormat:
|
|
3810
|
+
getNumberFormat: Et(function() {
|
|
3832
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3812
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3813
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3835
3814
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3815
|
+
cache: Pt(e.number),
|
|
3816
|
+
strategy: xt.variadic
|
|
3838
3817
|
}),
|
|
3839
|
-
getDateTimeFormat:
|
|
3818
|
+
getDateTimeFormat: Et(function() {
|
|
3840
3819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3820
|
r[n] = arguments[n];
|
|
3842
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3821
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3843
3822
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3823
|
+
cache: Pt(e.dateTime),
|
|
3824
|
+
strategy: xt.variadic
|
|
3846
3825
|
}),
|
|
3847
|
-
getPluralRules:
|
|
3826
|
+
getPluralRules: Et(function() {
|
|
3848
3827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3849
3828
|
r[n] = arguments[n];
|
|
3850
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3829
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3851
3830
|
}, {
|
|
3852
|
-
cache:
|
|
3853
|
-
strategy:
|
|
3831
|
+
cache: Pt(e.pluralRules),
|
|
3832
|
+
strategy: xt.variadic
|
|
3854
3833
|
})
|
|
3855
3834
|
};
|
|
3856
3835
|
}
|
|
3857
|
-
var
|
|
3836
|
+
var uo = (
|
|
3858
3837
|
/** @class */
|
|
3859
3838
|
function() {
|
|
3860
3839
|
function e(t, r, n, i) {
|
|
@@ -3886,13 +3865,13 @@ var ho = (
|
|
|
3886
3865
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3887
3866
|
var s = i || {};
|
|
3888
3867
|
s.formatters;
|
|
3889
|
-
var a =
|
|
3890
|
-
this.ast = e.__parse(t,
|
|
3868
|
+
var a = $n(s, ["formatters"]);
|
|
3869
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3891
3870
|
} else
|
|
3892
3871
|
this.ast = t;
|
|
3893
3872
|
if (!Array.isArray(this.ast))
|
|
3894
3873
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3895
|
-
this.formats =
|
|
3874
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
|
|
3896
3875
|
}
|
|
3897
3876
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3898
3877
|
get: function() {
|
|
@@ -3905,7 +3884,7 @@ var ho = (
|
|
|
3905
3884
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3906
3885
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3907
3886
|
}
|
|
3908
|
-
}, e.__parse =
|
|
3887
|
+
}, e.__parse = to, e.formats = {
|
|
3909
3888
|
number: {
|
|
3910
3889
|
integer: {
|
|
3911
3890
|
maximumFractionDigits: 0
|
|
@@ -3966,7 +3945,7 @@ var ho = (
|
|
|
3966
3945
|
}, e;
|
|
3967
3946
|
}()
|
|
3968
3947
|
);
|
|
3969
|
-
function
|
|
3948
|
+
function co(e, t) {
|
|
3970
3949
|
if (t == null)
|
|
3971
3950
|
return;
|
|
3972
3951
|
if (t in e)
|
|
@@ -3987,92 +3966,92 @@ function fo(e, t) {
|
|
|
3987
3966
|
n = void 0;
|
|
3988
3967
|
return n;
|
|
3989
3968
|
}
|
|
3990
|
-
const ce = {},
|
|
3969
|
+
const ce = {}, ho = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), nn = (e, t) => {
|
|
3991
3970
|
if (t == null)
|
|
3992
3971
|
return;
|
|
3993
3972
|
if (t in ce && e in ce[t])
|
|
3994
3973
|
return ce[t][e];
|
|
3995
|
-
const r =
|
|
3974
|
+
const r = pt(t);
|
|
3996
3975
|
for (let n = 0; n < r.length; n++) {
|
|
3997
|
-
const i = r[n], o =
|
|
3976
|
+
const i = r[n], o = mo(i, e);
|
|
3998
3977
|
if (o)
|
|
3999
|
-
return
|
|
3978
|
+
return ho(e, t, o);
|
|
4000
3979
|
}
|
|
4001
3980
|
};
|
|
4002
|
-
let
|
|
4003
|
-
const
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
3981
|
+
let zt;
|
|
3982
|
+
const Ue = dt({});
|
|
3983
|
+
function fo(e) {
|
|
3984
|
+
return zt[e] || null;
|
|
4006
3985
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return e in
|
|
3986
|
+
function on(e) {
|
|
3987
|
+
return e in zt;
|
|
4009
3988
|
}
|
|
4010
|
-
function
|
|
4011
|
-
if (!
|
|
3989
|
+
function mo(e, t) {
|
|
3990
|
+
if (!on(e))
|
|
4012
3991
|
return null;
|
|
4013
|
-
const r =
|
|
4014
|
-
return
|
|
3992
|
+
const r = fo(e);
|
|
3993
|
+
return co(r, t);
|
|
4015
3994
|
}
|
|
4016
|
-
function
|
|
3995
|
+
function po(e) {
|
|
4017
3996
|
if (e == null)
|
|
4018
3997
|
return;
|
|
4019
|
-
const t =
|
|
3998
|
+
const t = pt(e);
|
|
4020
3999
|
for (let r = 0; r < t.length; r++) {
|
|
4021
4000
|
const n = t[r];
|
|
4022
|
-
if (
|
|
4001
|
+
if (on(n))
|
|
4023
4002
|
return n;
|
|
4024
4003
|
}
|
|
4025
4004
|
}
|
|
4026
|
-
function
|
|
4027
|
-
delete ce[e],
|
|
4005
|
+
function sn(e, ...t) {
|
|
4006
|
+
delete ce[e], Ue.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
|
|
4028
4007
|
}
|
|
4029
|
-
|
|
4030
|
-
[
|
|
4008
|
+
Re(
|
|
4009
|
+
[Ue],
|
|
4031
4010
|
([e]) => Object.keys(e)
|
|
4032
4011
|
);
|
|
4033
|
-
|
|
4012
|
+
Ue.subscribe((e) => zt = e);
|
|
4034
4013
|
const lt = {};
|
|
4035
|
-
function
|
|
4014
|
+
function go(e, t) {
|
|
4036
4015
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
4037
4016
|
}
|
|
4038
|
-
function
|
|
4017
|
+
function an(e) {
|
|
4039
4018
|
return lt[e];
|
|
4040
4019
|
}
|
|
4041
|
-
function
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4020
|
+
function bo(e) {
|
|
4021
|
+
return pt(e).map((t) => {
|
|
4022
|
+
const r = an(t);
|
|
4044
4023
|
return [t, r ? [...r] : []];
|
|
4045
4024
|
}).filter(([, t]) => t.length > 0);
|
|
4046
4025
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return e == null ? !1 :
|
|
4026
|
+
function kt(e) {
|
|
4027
|
+
return e == null ? !1 : pt(e).some(
|
|
4049
4028
|
(t) => {
|
|
4050
4029
|
var r;
|
|
4051
|
-
return (r =
|
|
4030
|
+
return (r = an(t)) == null ? void 0 : r.size;
|
|
4052
4031
|
}
|
|
4053
4032
|
);
|
|
4054
4033
|
}
|
|
4055
|
-
function
|
|
4034
|
+
function vo(e, t) {
|
|
4056
4035
|
return Promise.all(
|
|
4057
|
-
t.map((n) => (
|
|
4058
|
-
).then((n) =>
|
|
4059
|
-
}
|
|
4060
|
-
const
|
|
4061
|
-
function
|
|
4062
|
-
if (!
|
|
4063
|
-
return e in
|
|
4064
|
-
const t =
|
|
4065
|
-
return
|
|
4036
|
+
t.map((n) => (go(e, n), n().then((i) => i.default || i)))
|
|
4037
|
+
).then((n) => sn(e, ...n));
|
|
4038
|
+
}
|
|
4039
|
+
const Ve = {};
|
|
4040
|
+
function ln(e) {
|
|
4041
|
+
if (!kt(e))
|
|
4042
|
+
return e in Ve ? Ve[e] : Promise.resolve();
|
|
4043
|
+
const t = bo(e);
|
|
4044
|
+
return Ve[e] = Promise.all(
|
|
4066
4045
|
t.map(
|
|
4067
|
-
([r, n]) =>
|
|
4046
|
+
([r, n]) => vo(r, n)
|
|
4068
4047
|
)
|
|
4069
4048
|
).then(() => {
|
|
4070
|
-
if (
|
|
4071
|
-
return
|
|
4072
|
-
delete
|
|
4073
|
-
}),
|
|
4049
|
+
if (kt(e))
|
|
4050
|
+
return ln(e);
|
|
4051
|
+
delete Ve[e];
|
|
4052
|
+
}), Ve[e];
|
|
4074
4053
|
}
|
|
4075
|
-
const
|
|
4054
|
+
const yo = {
|
|
4076
4055
|
number: {
|
|
4077
4056
|
scientific: { notation: "scientific" },
|
|
4078
4057
|
engineering: { notation: "engineering" },
|
|
@@ -4101,135 +4080,135 @@ const wo = {
|
|
|
4101
4080
|
timeZoneName: "short"
|
|
4102
4081
|
}
|
|
4103
4082
|
}
|
|
4104
|
-
},
|
|
4083
|
+
}, _o = {
|
|
4105
4084
|
fallbackLocale: null,
|
|
4106
4085
|
loadingDelay: 200,
|
|
4107
|
-
formats:
|
|
4086
|
+
formats: yo,
|
|
4108
4087
|
warnOnMissingMessages: !0,
|
|
4109
4088
|
handleMissingMessage: void 0,
|
|
4110
4089
|
ignoreTag: !0
|
|
4111
|
-
},
|
|
4112
|
-
function
|
|
4113
|
-
return
|
|
4090
|
+
}, wo = _o;
|
|
4091
|
+
function Me() {
|
|
4092
|
+
return wo;
|
|
4114
4093
|
}
|
|
4115
|
-
const
|
|
4116
|
-
var
|
|
4094
|
+
const Tt = dt(!1);
|
|
4095
|
+
var Eo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
|
|
4117
4096
|
for (var r in t || (t = {}))
|
|
4118
|
-
|
|
4119
|
-
if (
|
|
4120
|
-
for (var r of
|
|
4121
|
-
|
|
4097
|
+
Po.call(t, r) && yr(e, r, t[r]);
|
|
4098
|
+
if (vr)
|
|
4099
|
+
for (var r of vr(t))
|
|
4100
|
+
To.call(t, r) && yr(e, r, t[r]);
|
|
4122
4101
|
return e;
|
|
4123
|
-
},
|
|
4124
|
-
let
|
|
4125
|
-
const
|
|
4126
|
-
function
|
|
4102
|
+
}, Bo = (e, t) => xo(e, So(t));
|
|
4103
|
+
let Gt;
|
|
4104
|
+
const ct = dt(null);
|
|
4105
|
+
function _r(e) {
|
|
4127
4106
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4128
4107
|
}
|
|
4129
|
-
function
|
|
4130
|
-
const r =
|
|
4131
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4108
|
+
function pt(e, t = Me().fallbackLocale) {
|
|
4109
|
+
const r = _r(e);
|
|
4110
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
|
|
4132
4111
|
}
|
|
4133
4112
|
function ye() {
|
|
4134
|
-
return
|
|
4113
|
+
return Gt != null ? Gt : void 0;
|
|
4135
4114
|
}
|
|
4136
|
-
|
|
4137
|
-
|
|
4115
|
+
ct.subscribe((e) => {
|
|
4116
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4138
4117
|
});
|
|
4139
|
-
const
|
|
4140
|
-
if (e &&
|
|
4141
|
-
const { loadingDelay: t } =
|
|
4118
|
+
const Ao = (e) => {
|
|
4119
|
+
if (e && po(e) && kt(e)) {
|
|
4120
|
+
const { loadingDelay: t } = Me();
|
|
4142
4121
|
let r;
|
|
4143
4122
|
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4144
|
-
() =>
|
|
4123
|
+
() => Tt.set(!0),
|
|
4145
4124
|
t
|
|
4146
|
-
) :
|
|
4147
|
-
|
|
4125
|
+
) : Tt.set(!0), ln(e).then(() => {
|
|
4126
|
+
ct.set(e);
|
|
4148
4127
|
}).finally(() => {
|
|
4149
|
-
clearTimeout(r),
|
|
4128
|
+
clearTimeout(r), Tt.set(!1);
|
|
4150
4129
|
});
|
|
4151
4130
|
}
|
|
4152
|
-
return
|
|
4153
|
-
}, he =
|
|
4154
|
-
set:
|
|
4155
|
-
}),
|
|
4131
|
+
return ct.set(e);
|
|
4132
|
+
}, he = Bo(Ho({}, ct), {
|
|
4133
|
+
set: Ao
|
|
4134
|
+
}), gt = (e) => {
|
|
4156
4135
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4157
4136
|
return (n) => {
|
|
4158
4137
|
const i = JSON.stringify(n);
|
|
4159
4138
|
return i in t ? t[i] : t[i] = e(n);
|
|
4160
4139
|
};
|
|
4161
4140
|
};
|
|
4162
|
-
var
|
|
4141
|
+
var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
|
|
4163
4142
|
for (var r in t || (t = {}))
|
|
4164
|
-
|
|
4165
|
-
if (
|
|
4166
|
-
for (var r of
|
|
4167
|
-
|
|
4143
|
+
un.call(t, r) && wr(e, r, t[r]);
|
|
4144
|
+
if (ht)
|
|
4145
|
+
for (var r of ht(t))
|
|
4146
|
+
cn.call(t, r) && wr(e, r, t[r]);
|
|
4168
4147
|
return e;
|
|
4169
|
-
},
|
|
4148
|
+
}, Fe = (e, t) => {
|
|
4170
4149
|
var r = {};
|
|
4171
4150
|
for (var n in e)
|
|
4172
|
-
|
|
4173
|
-
if (e != null &&
|
|
4174
|
-
for (var n of
|
|
4175
|
-
t.indexOf(n) < 0 &&
|
|
4151
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4152
|
+
if (e != null && ht)
|
|
4153
|
+
for (var n of ht(e))
|
|
4154
|
+
t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
|
|
4176
4155
|
return r;
|
|
4177
4156
|
};
|
|
4178
|
-
const
|
|
4179
|
-
const { formats: r } =
|
|
4157
|
+
const Ze = (e, t) => {
|
|
4158
|
+
const { formats: r } = Me();
|
|
4180
4159
|
if (e in r && t in r[e])
|
|
4181
4160
|
return r[e][t];
|
|
4182
4161
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4183
|
-
},
|
|
4162
|
+
}, Co = gt(
|
|
4184
4163
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4164
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4186
4165
|
if (r == null)
|
|
4187
4166
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4188
|
-
return n && (i =
|
|
4167
|
+
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4189
4168
|
}
|
|
4190
|
-
),
|
|
4169
|
+
), Oo = gt(
|
|
4191
4170
|
(e) => {
|
|
4192
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4171
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4193
4172
|
if (r == null)
|
|
4194
4173
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4195
|
-
return n ? i =
|
|
4174
|
+
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4175
|
}
|
|
4197
|
-
),
|
|
4176
|
+
), Lo = gt(
|
|
4198
4177
|
(e) => {
|
|
4199
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4178
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4200
4179
|
if (r == null)
|
|
4201
4180
|
throw new Error(
|
|
4202
4181
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4203
4182
|
);
|
|
4204
|
-
return n ? i =
|
|
4183
|
+
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4205
4184
|
}
|
|
4206
|
-
),
|
|
4185
|
+
), Mo = (e = {}) => {
|
|
4207
4186
|
var t = e, {
|
|
4208
4187
|
locale: r = ye()
|
|
4209
|
-
} = t, n =
|
|
4188
|
+
} = t, n = Fe(t, [
|
|
4210
4189
|
"locale"
|
|
4211
4190
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4191
|
+
return Co(Xt({ locale: r }, n));
|
|
4192
|
+
}, No = (e = {}) => {
|
|
4214
4193
|
var t = e, {
|
|
4215
4194
|
locale: r = ye()
|
|
4216
|
-
} = t, n =
|
|
4195
|
+
} = t, n = Fe(t, [
|
|
4217
4196
|
"locale"
|
|
4218
4197
|
]);
|
|
4219
|
-
return
|
|
4220
|
-
},
|
|
4198
|
+
return Oo(Xt({ locale: r }, n));
|
|
4199
|
+
}, Ro = (e = {}) => {
|
|
4221
4200
|
var t = e, {
|
|
4222
4201
|
locale: r = ye()
|
|
4223
|
-
} = t, n =
|
|
4202
|
+
} = t, n = Fe(t, [
|
|
4224
4203
|
"locale"
|
|
4225
4204
|
]);
|
|
4226
|
-
return
|
|
4227
|
-
},
|
|
4205
|
+
return Lo(Xt({ locale: r }, n));
|
|
4206
|
+
}, Uo = gt(
|
|
4228
4207
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4229
|
-
(e, t = ye()) => new
|
|
4230
|
-
ignoreTag:
|
|
4208
|
+
(e, t = ye()) => new uo(e, t, Me().formats, {
|
|
4209
|
+
ignoreTag: Me().ignoreTag
|
|
4231
4210
|
})
|
|
4232
|
-
),
|
|
4211
|
+
), Fo = (e, t = {}) => {
|
|
4233
4212
|
var r, n, i, o;
|
|
4234
4213
|
let s = t;
|
|
4235
4214
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4242,9 +4221,9 @@ const We = (e, t) => {
|
|
|
4242
4221
|
throw new Error(
|
|
4243
4222
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4244
4223
|
);
|
|
4245
|
-
let c =
|
|
4224
|
+
let c = nn(e, u);
|
|
4246
4225
|
if (!c)
|
|
4247
|
-
c = (o = (i = (n = (r =
|
|
4226
|
+
c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4248
4227
|
else if (typeof c != "string")
|
|
4249
4228
|
return console.warn(
|
|
4250
4229
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4253,7 +4232,7 @@ const We = (e, t) => {
|
|
|
4253
4232
|
return c;
|
|
4254
4233
|
let f = c;
|
|
4255
4234
|
try {
|
|
4256
|
-
f =
|
|
4235
|
+
f = Uo(c, u).format(a);
|
|
4257
4236
|
} catch (d) {
|
|
4258
4237
|
d instanceof Error && console.warn(
|
|
4259
4238
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4261,26 +4240,26 @@ const We = (e, t) => {
|
|
|
4261
4240
|
);
|
|
4262
4241
|
}
|
|
4263
4242
|
return f;
|
|
4264
|
-
},
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4243
|
+
}, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Go = (e, t) => Mo(t).format(e), $o = (e, t = ye()) => nn(e, t), jo = Re([he, Ue], () => Fo);
|
|
4244
|
+
Re([he], () => Do);
|
|
4245
|
+
Re([he], () => ko);
|
|
4246
|
+
Re([he], () => Go);
|
|
4247
|
+
Re([he, Ue], () => $o);
|
|
4269
4248
|
window.emWidgets = { topic: ri };
|
|
4270
|
-
const
|
|
4249
|
+
const Vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4271
4250
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4272
|
-
function
|
|
4251
|
+
function zo({ withLocale: e, translations: t }) {
|
|
4273
4252
|
he.subscribe((r) => {
|
|
4274
|
-
r == null && (
|
|
4253
|
+
r == null && (Ue.set(t), he.set(e));
|
|
4275
4254
|
});
|
|
4276
4255
|
}
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4256
|
+
function Er(e, t) {
|
|
4257
|
+
sn(e, t);
|
|
4279
4258
|
}
|
|
4280
|
-
function
|
|
4259
|
+
function Xo(e) {
|
|
4281
4260
|
he.set(e);
|
|
4282
4261
|
}
|
|
4283
|
-
const
|
|
4262
|
+
const xr = {
|
|
4284
4263
|
en: {
|
|
4285
4264
|
loginTitle: "Welcome",
|
|
4286
4265
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4425,13 +4404,13 @@ const Pr = {
|
|
|
4425
4404
|
successMessage: "Login successful"
|
|
4426
4405
|
}
|
|
4427
4406
|
};
|
|
4428
|
-
function
|
|
4407
|
+
function Wo(e, t) {
|
|
4429
4408
|
if (e) {
|
|
4430
4409
|
const r = document.createElement("style");
|
|
4431
4410
|
r.innerHTML = t, e.appendChild(r);
|
|
4432
4411
|
}
|
|
4433
4412
|
}
|
|
4434
|
-
function
|
|
4413
|
+
function Zo(e, t) {
|
|
4435
4414
|
if (!e || !t)
|
|
4436
4415
|
return;
|
|
4437
4416
|
const r = new URL(t);
|
|
@@ -4442,7 +4421,7 @@ function Jo(e, t) {
|
|
|
4442
4421
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4443
4422
|
});
|
|
4444
4423
|
}
|
|
4445
|
-
function
|
|
4424
|
+
function qo(e, t, r) {
|
|
4446
4425
|
if (window.emMessageBus) {
|
|
4447
4426
|
const n = document.createElement("style");
|
|
4448
4427
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4462,18 +4441,18 @@ if (typeof window != "undefined") {
|
|
|
4462
4441
|
}
|
|
4463
4442
|
};
|
|
4464
4443
|
};
|
|
4465
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4444
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CfwXVDVq.js").then(({ default: t }) => {
|
|
4466
4445
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4467
4446
|
});
|
|
4468
4447
|
}
|
|
4469
|
-
function
|
|
4470
|
-
|
|
4448
|
+
function Jo(e) {
|
|
4449
|
+
wn(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4471
4450
|
}
|
|
4472
|
-
function
|
|
4451
|
+
function Sr(e) {
|
|
4473
4452
|
let t, r;
|
|
4474
4453
|
return {
|
|
4475
4454
|
c() {
|
|
4476
|
-
t =
|
|
4455
|
+
t = x("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4477
4456
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4478
4457
|
},
|
|
4479
4458
|
m(n, i) {
|
|
@@ -4481,7 +4460,7 @@ function Tr(e) {
|
|
|
4481
4460
|
},
|
|
4482
4461
|
p(n, i) {
|
|
4483
4462
|
i[0] & /*captchakey*/
|
|
4484
|
-
2 && !
|
|
4463
|
+
2 && !er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4485
4464
|
n[1]) && h(t, "src", r);
|
|
4486
4465
|
},
|
|
4487
4466
|
d(n) {
|
|
@@ -4489,18 +4468,18 @@ function Tr(e) {
|
|
|
4489
4468
|
}
|
|
4490
4469
|
};
|
|
4491
4470
|
}
|
|
4492
|
-
function
|
|
4471
|
+
function Qo(e) {
|
|
4493
4472
|
let t, r, n;
|
|
4494
4473
|
function i(a, u) {
|
|
4495
4474
|
return (
|
|
4496
4475
|
/*startSmsValidation*/
|
|
4497
|
-
a[21] ?
|
|
4476
|
+
a[21] ? es : Ko
|
|
4498
4477
|
);
|
|
4499
4478
|
}
|
|
4500
4479
|
let o = i(e), s = o(e);
|
|
4501
4480
|
return {
|
|
4502
4481
|
c() {
|
|
4503
|
-
t =
|
|
4482
|
+
t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4504
4483
|
(e[11] ? "FormMobileContainer" : ""));
|
|
4505
4484
|
},
|
|
4506
4485
|
m(a, u) {
|
|
@@ -4516,11 +4495,11 @@ function Ko(e) {
|
|
|
4516
4495
|
}
|
|
4517
4496
|
};
|
|
4518
4497
|
}
|
|
4519
|
-
function
|
|
4498
|
+
function Yo(e) {
|
|
4520
4499
|
let t;
|
|
4521
4500
|
return {
|
|
4522
4501
|
c() {
|
|
4523
|
-
t =
|
|
4502
|
+
t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
|
|
4524
4503
|
},
|
|
4525
4504
|
m(r, n) {
|
|
4526
4505
|
L(r, t, n);
|
|
@@ -4531,7 +4510,7 @@ function es(e) {
|
|
|
4531
4510
|
}
|
|
4532
4511
|
};
|
|
4533
4512
|
}
|
|
4534
|
-
function
|
|
4513
|
+
function Ko(e) {
|
|
4535
4514
|
let t, r, n = (
|
|
4536
4515
|
/*$_*/
|
|
4537
4516
|
e[22]("loginTitle") + ""
|
|
@@ -4541,96 +4520,96 @@ function ts(e) {
|
|
|
4541
4520
|
), u, l, c, f = (
|
|
4542
4521
|
/*$_*/
|
|
4543
4522
|
e[22]("loginSubtitleRegister") + ""
|
|
4544
|
-
), d, b, y, g,
|
|
4523
|
+
), d, b, y, g, S, C, z = (
|
|
4545
4524
|
/*$_*/
|
|
4546
4525
|
e[22]("loginUsername") + ""
|
|
4547
|
-
), R, U, A, ne, H,
|
|
4526
|
+
), R, U, A, ne, H, oe, fe, J, ue, B, ie, X = (
|
|
4548
4527
|
/*$_*/
|
|
4549
4528
|
e[22]("loginPassword") + ""
|
|
4550
|
-
),
|
|
4529
|
+
), De, qe, de, me, M, _e, Je, we, Ee, pe, ke, xe, Q, ge = (
|
|
4551
4530
|
/*$_*/
|
|
4552
4531
|
e[22]("loginButton") + ""
|
|
4553
4532
|
), Se, Qe, be, ve = (
|
|
4554
4533
|
/*$_*/
|
|
4555
4534
|
e[22]("loginForgotPassword") + ""
|
|
4556
|
-
),
|
|
4535
|
+
), Ge, $e, Ye, F = (
|
|
4557
4536
|
/*invalidName*/
|
|
4558
|
-
e[14] &&
|
|
4537
|
+
e[14] && Pr(e)
|
|
4559
4538
|
);
|
|
4560
|
-
function Ke(v,
|
|
4539
|
+
function Ke(v, P) {
|
|
4561
4540
|
return (
|
|
4562
4541
|
/*isPasswordVisible*/
|
|
4563
|
-
v[19] ?
|
|
4542
|
+
v[19] ? rs : ts
|
|
4564
4543
|
);
|
|
4565
4544
|
}
|
|
4566
4545
|
let Pe = Ke(e), Y = Pe(e), D = (
|
|
4567
4546
|
/*invalidPassword*/
|
|
4568
4547
|
e[15] && /*simplepasswordvalidation*/
|
|
4569
|
-
e[2] !== "true" &&
|
|
4548
|
+
e[2] !== "true" && Tr(e)
|
|
4570
4549
|
), k = (
|
|
4571
4550
|
/*invalidPassword*/
|
|
4572
4551
|
e[15] && /*simplepasswordvalidation*/
|
|
4573
|
-
e[2] === "true" &&
|
|
4574
|
-
),
|
|
4552
|
+
e[2] === "true" && Hr(e)
|
|
4553
|
+
), G = (
|
|
4575
4554
|
/*errorMessage*/
|
|
4576
|
-
e[16] &&
|
|
4555
|
+
e[16] && Br(e)
|
|
4577
4556
|
);
|
|
4578
4557
|
return {
|
|
4579
4558
|
c() {
|
|
4580
|
-
t =
|
|
4581
|
-
e[6] ? "username email" : "off"), H.required = !0, h(
|
|
4559
|
+
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", ne = j(), H = x("input"), fe = j(), F && F.c(), ue = j(), B = x("div"), ie = x("label"), De = N(X), qe = N(":"), de = x("span"), de.textContent = "*", me = j(), M = x("input"), Je = j(), Y.c(), we = j(), D && D.c(), Ee = j(), k && k.c(), ke = j(), G && G.c(), xe = j(), Q = x("button"), Se = N(ge), Qe = j(), be = x("button"), Ge = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", oe = /*savecredentials*/
|
|
4560
|
+
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
4582
4561
|
(e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", _e = /*savecredentials*/
|
|
4583
4562
|
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", pe = "PasswordContainer " + /*invalidPassword*/
|
|
4584
4563
|
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4585
4564
|
e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4586
4565
|
},
|
|
4587
|
-
m(v,
|
|
4588
|
-
L(v, t,
|
|
4566
|
+
m(v, P) {
|
|
4567
|
+
L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, d), L(v, b, P), L(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, ne), m(S, H), rt(
|
|
4589
4568
|
H,
|
|
4590
4569
|
/*userValue*/
|
|
4591
4570
|
e[12]
|
|
4592
|
-
), m(
|
|
4571
|
+
), m(S, fe), F && F.m(S, null), m(g, ue), m(g, B), m(B, ie), m(ie, De), m(ie, qe), m(ie, de), m(B, me), m(B, M), rt(
|
|
4593
4572
|
M,
|
|
4594
4573
|
/*userPassword*/
|
|
4595
4574
|
e[13]
|
|
4596
|
-
), e[36](M), m(B, Je), Y.m(B, null), m(B, we), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g,
|
|
4597
|
-
|
|
4575
|
+
), e[36](M), m(B, Je), Y.m(B, null), m(B, we), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g, ke), G && G.m(g, null), m(g, xe), m(g, Q), m(Q, Se), m(g, Qe), m(g, be), m(be, Ge), $e || (Ye = [
|
|
4576
|
+
se(
|
|
4598
4577
|
c,
|
|
4599
4578
|
"click",
|
|
4600
4579
|
/*click_handler*/
|
|
4601
4580
|
e[33]
|
|
4602
4581
|
),
|
|
4603
|
-
|
|
4582
|
+
se(
|
|
4604
4583
|
H,
|
|
4605
4584
|
"input",
|
|
4606
4585
|
/*input0_input_handler*/
|
|
4607
4586
|
e[34]
|
|
4608
4587
|
),
|
|
4609
|
-
|
|
4588
|
+
se(
|
|
4610
4589
|
H,
|
|
4611
4590
|
"input",
|
|
4612
4591
|
/*validateUserName*/
|
|
4613
4592
|
e[28]
|
|
4614
4593
|
),
|
|
4615
|
-
|
|
4594
|
+
se(
|
|
4616
4595
|
M,
|
|
4617
4596
|
"input",
|
|
4618
4597
|
/*input1_input_handler*/
|
|
4619
4598
|
e[35]
|
|
4620
4599
|
),
|
|
4621
|
-
|
|
4600
|
+
se(
|
|
4622
4601
|
M,
|
|
4623
4602
|
"input",
|
|
4624
4603
|
/*validatePassword*/
|
|
4625
4604
|
e[29]
|
|
4626
4605
|
),
|
|
4627
|
-
|
|
4606
|
+
se(
|
|
4628
4607
|
Q,
|
|
4629
4608
|
"click",
|
|
4630
4609
|
/*click_handler_3*/
|
|
4631
4610
|
e[39]
|
|
4632
4611
|
),
|
|
4633
|
-
|
|
4612
|
+
se(
|
|
4634
4613
|
be,
|
|
4635
4614
|
"click",
|
|
4636
4615
|
/*click_handler_4*/
|
|
@@ -4638,61 +4617,61 @@ function ts(e) {
|
|
|
4638
4617
|
)
|
|
4639
4618
|
], $e = !0);
|
|
4640
4619
|
},
|
|
4641
|
-
p(v,
|
|
4642
|
-
|
|
4620
|
+
p(v, P) {
|
|
4621
|
+
P[0] & /*$_*/
|
|
4643
4622
|
4194304 && n !== (n = /*$_*/
|
|
4644
|
-
v[22]("loginTitle") + "") && re(i, n),
|
|
4623
|
+
v[22]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
|
|
4645
4624
|
4194304 && a !== (a = /*$_*/
|
|
4646
|
-
v[22]("loginSubtitle") + "") && re(u, a),
|
|
4625
|
+
v[22]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
|
|
4647
4626
|
4194304 && f !== (f = /*$_*/
|
|
4648
|
-
v[22]("loginSubtitleRegister") + "") && re(d, f),
|
|
4627
|
+
v[22]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4649
4628
|
4194304 && z !== (z = /*$_*/
|
|
4650
|
-
v[22]("loginUsername") + "") && re(R, z),
|
|
4651
|
-
64 &&
|
|
4652
|
-
v[6] ? "username email" : "off") && h(H, "autocomplete",
|
|
4629
|
+
v[22]("loginUsername") + "") && re(R, z), P[0] & /*savecredentials*/
|
|
4630
|
+
64 && oe !== (oe = /*savecredentials*/
|
|
4631
|
+
v[6] ? "username email" : "off") && h(H, "autocomplete", oe), P[0] & /*userValue*/
|
|
4653
4632
|
4096 && H.value !== /*userValue*/
|
|
4654
4633
|
v[12] && rt(
|
|
4655
4634
|
H,
|
|
4656
4635
|
/*userValue*/
|
|
4657
4636
|
v[12]
|
|
4658
4637
|
), /*invalidName*/
|
|
4659
|
-
v[14] ? F ? F.p(v,
|
|
4638
|
+
v[14] ? F ? F.p(v, P) : (F = Pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4660
4639
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4661
|
-
(v[14] ? "InvalidField" : "")) && h(
|
|
4640
|
+
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4662
4641
|
4194304 && X !== (X = /*$_*/
|
|
4663
|
-
v[22]("loginPassword") + "") && re(
|
|
4642
|
+
v[22]("loginPassword") + "") && re(De, X), P[0] & /*savecredentials*/
|
|
4664
4643
|
64 && _e !== (_e = /*savecredentials*/
|
|
4665
|
-
v[6] ? "current-password" : "off") && h(M, "autocomplete", _e),
|
|
4644
|
+
v[6] ? "current-password" : "off") && h(M, "autocomplete", _e), P[0] & /*userPassword*/
|
|
4666
4645
|
8192 && M.value !== /*userPassword*/
|
|
4667
4646
|
v[13] && rt(
|
|
4668
4647
|
M,
|
|
4669
4648
|
/*userPassword*/
|
|
4670
4649
|
v[13]
|
|
4671
|
-
), Pe === (Pe = Ke(v)) && Y ? Y.p(v,
|
|
4650
|
+
), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, we))), /*invalidPassword*/
|
|
4672
4651
|
v[15] && /*simplepasswordvalidation*/
|
|
4673
|
-
v[2] !== "true" ? D ? D.p(v,
|
|
4652
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = Tr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4674
4653
|
v[15] && /*simplepasswordvalidation*/
|
|
4675
|
-
v[2] === "true" ? k ? k.p(v,
|
|
4654
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = Hr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4676
4655
|
32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
|
|
4677
4656
|
(v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
|
|
4678
|
-
v[16] ?
|
|
4657
|
+
v[16] ? G ? G.p(v, P) : (G = Br(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4679
4658
|
4194304 && ge !== (ge = /*$_*/
|
|
4680
|
-
v[22]("loginButton") + "") && re(Se, ge),
|
|
4659
|
+
v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
|
|
4681
4660
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4682
|
-
v[20]),
|
|
4661
|
+
v[20]), P[0] & /*$_*/
|
|
4683
4662
|
4194304 && ve !== (ve = /*$_*/
|
|
4684
|
-
v[22]("loginForgotPassword") + "") && re(
|
|
4663
|
+
v[22]("loginForgotPassword") + "") && re(Ge, ve);
|
|
4685
4664
|
},
|
|
4686
4665
|
d(v) {
|
|
4687
|
-
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(),
|
|
4666
|
+
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), $e = !1, Ne(Ye);
|
|
4688
4667
|
}
|
|
4689
4668
|
};
|
|
4690
4669
|
}
|
|
4691
|
-
function
|
|
4670
|
+
function es(e) {
|
|
4692
4671
|
let t;
|
|
4693
4672
|
return {
|
|
4694
4673
|
c() {
|
|
4695
|
-
t =
|
|
4674
|
+
t = x("general-player-sms-verification-form"), W(
|
|
4696
4675
|
t,
|
|
4697
4676
|
"endpoint",
|
|
4698
4677
|
/*endpoint*/
|
|
@@ -4782,14 +4761,14 @@ function rs(e) {
|
|
|
4782
4761
|
}
|
|
4783
4762
|
};
|
|
4784
4763
|
}
|
|
4785
|
-
function
|
|
4764
|
+
function Pr(e) {
|
|
4786
4765
|
let t, r = (
|
|
4787
4766
|
/*$_*/
|
|
4788
4767
|
e[22]("loginUsernameError") + ""
|
|
4789
4768
|
), n;
|
|
4790
4769
|
return {
|
|
4791
4770
|
c() {
|
|
4792
|
-
t =
|
|
4771
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4793
4772
|
},
|
|
4794
4773
|
m(i, o) {
|
|
4795
4774
|
L(i, t, o), m(t, n);
|
|
@@ -4804,14 +4783,14 @@ function Hr(e) {
|
|
|
4804
4783
|
}
|
|
4805
4784
|
};
|
|
4806
4785
|
}
|
|
4807
|
-
function
|
|
4786
|
+
function ts(e) {
|
|
4808
4787
|
let t, r, n, i, o, s, a, u, l;
|
|
4809
4788
|
return {
|
|
4810
4789
|
c() {
|
|
4811
|
-
t =
|
|
4790
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "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"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
|
|
4812
4791
|
},
|
|
4813
4792
|
m(c, f) {
|
|
4814
|
-
L(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l =
|
|
4793
|
+
L(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l = se(
|
|
4815
4794
|
t,
|
|
4816
4795
|
"click",
|
|
4817
4796
|
/*click_handler_2*/
|
|
@@ -4824,14 +4803,14 @@ function ns(e) {
|
|
|
4824
4803
|
}
|
|
4825
4804
|
};
|
|
4826
4805
|
}
|
|
4827
|
-
function
|
|
4806
|
+
function rs(e) {
|
|
4828
4807
|
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4829
4808
|
return {
|
|
4830
4809
|
c() {
|
|
4831
|
-
t =
|
|
4810
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), u = O("path"), l = O("path"), c = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "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"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "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"), h(d, "transform", "translate(-130.743 -29.617)"), h(c, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4832
4811
|
},
|
|
4833
|
-
m(
|
|
4834
|
-
L(
|
|
4812
|
+
m(S, C) {
|
|
4813
|
+
L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = se(
|
|
4835
4814
|
t,
|
|
4836
4815
|
"click",
|
|
4837
4816
|
/*click_handler_1*/
|
|
@@ -4839,19 +4818,19 @@ function is(e) {
|
|
|
4839
4818
|
), y = !0);
|
|
4840
4819
|
},
|
|
4841
4820
|
p: Z,
|
|
4842
|
-
d(
|
|
4843
|
-
|
|
4821
|
+
d(S) {
|
|
4822
|
+
S && I(t), y = !1, g();
|
|
4844
4823
|
}
|
|
4845
4824
|
};
|
|
4846
4825
|
}
|
|
4847
|
-
function
|
|
4826
|
+
function Tr(e) {
|
|
4848
4827
|
let t, r = (
|
|
4849
4828
|
/*$_*/
|
|
4850
4829
|
e[22]("loginPasswordError") + ""
|
|
4851
4830
|
), n;
|
|
4852
4831
|
return {
|
|
4853
4832
|
c() {
|
|
4854
|
-
t =
|
|
4833
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4855
4834
|
},
|
|
4856
4835
|
m(i, o) {
|
|
4857
4836
|
L(i, t, o), m(t, n);
|
|
@@ -4866,14 +4845,14 @@ function Br(e) {
|
|
|
4866
4845
|
}
|
|
4867
4846
|
};
|
|
4868
4847
|
}
|
|
4869
|
-
function
|
|
4848
|
+
function Hr(e) {
|
|
4870
4849
|
let t, r = (
|
|
4871
4850
|
/*$_*/
|
|
4872
4851
|
e[22]("loginSimplePasswordError") + ""
|
|
4873
4852
|
), n;
|
|
4874
4853
|
return {
|
|
4875
4854
|
c() {
|
|
4876
|
-
t =
|
|
4855
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4877
4856
|
},
|
|
4878
4857
|
m(i, o) {
|
|
4879
4858
|
L(i, t, o), m(t, n);
|
|
@@ -4888,11 +4867,11 @@ function Ar(e) {
|
|
|
4888
4867
|
}
|
|
4889
4868
|
};
|
|
4890
4869
|
}
|
|
4891
|
-
function
|
|
4870
|
+
function Br(e) {
|
|
4892
4871
|
let t, r;
|
|
4893
4872
|
return {
|
|
4894
4873
|
c() {
|
|
4895
|
-
t =
|
|
4874
|
+
t = x("p"), r = N(
|
|
4896
4875
|
/*errorMessage*/
|
|
4897
4876
|
e[16]
|
|
4898
4877
|
), h(t, "class", "ErrorMessage");
|
|
@@ -4913,21 +4892,21 @@ function Ir(e) {
|
|
|
4913
4892
|
}
|
|
4914
4893
|
};
|
|
4915
4894
|
}
|
|
4916
|
-
function
|
|
4895
|
+
function ns(e) {
|
|
4917
4896
|
let t, r, n, i, o, s = (
|
|
4918
4897
|
/*captchakey*/
|
|
4919
|
-
e[1] &&
|
|
4898
|
+
e[1] && Sr(e)
|
|
4920
4899
|
);
|
|
4921
4900
|
function a(c, f) {
|
|
4922
4901
|
return (
|
|
4923
4902
|
/*isLoading*/
|
|
4924
|
-
c[17] ?
|
|
4903
|
+
c[17] ? Yo : Qo
|
|
4925
4904
|
);
|
|
4926
4905
|
}
|
|
4927
4906
|
let u = a(e), l = u(e);
|
|
4928
4907
|
return {
|
|
4929
4908
|
c() {
|
|
4930
|
-
s && s.c(), t =
|
|
4909
|
+
s && s.c(), t = Sn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4931
4910
|
n,
|
|
4932
4911
|
"data-sitekey",
|
|
4933
4912
|
/*captchakey*/
|
|
@@ -4939,7 +4918,7 @@ function os(e) {
|
|
|
4939
4918
|
},
|
|
4940
4919
|
p(c, f) {
|
|
4941
4920
|
/*captchakey*/
|
|
4942
|
-
c[1] ? s ? s.p(c, f) : (s =
|
|
4921
|
+
c[1] ? s ? s.p(c, f) : (s = Sr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4943
4922
|
2 && h(
|
|
4944
4923
|
n,
|
|
4945
4924
|
"data-sitekey",
|
|
@@ -4954,27 +4933,27 @@ function os(e) {
|
|
|
4954
4933
|
}
|
|
4955
4934
|
};
|
|
4956
4935
|
}
|
|
4957
|
-
let
|
|
4958
|
-
function
|
|
4936
|
+
let is = "Please use this code {0} to activate your account";
|
|
4937
|
+
function os(e, t, r) {
|
|
4959
4938
|
let n;
|
|
4960
|
-
|
|
4961
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g,
|
|
4939
|
+
_n(e, jo, (p) => r(22, n = p));
|
|
4940
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
|
|
4962
4941
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4963
4942
|
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,
|
|
4964
4943
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4965
4944
|
};
|
|
4966
|
-
|
|
4945
|
+
zo({ withLocale: "en", translations: {} });
|
|
4967
4946
|
const M = () => {
|
|
4968
4947
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4969
4948
|
Object.keys(q).forEach((te) => {
|
|
4970
|
-
|
|
4949
|
+
Er(te, q[te]);
|
|
4971
4950
|
});
|
|
4972
4951
|
}).catch((q) => {
|
|
4973
4952
|
console.log(q);
|
|
4974
4953
|
});
|
|
4975
4954
|
};
|
|
4976
|
-
Object.keys(
|
|
4977
|
-
|
|
4955
|
+
Object.keys(xr).forEach((p) => {
|
|
4956
|
+
Er(p, xr[p]);
|
|
4978
4957
|
});
|
|
4979
4958
|
const _e = () => new Promise((p, q) => {
|
|
4980
4959
|
grecaptcha.ready(() => {
|
|
@@ -4990,7 +4969,7 @@ function as(e, t, r) {
|
|
|
4990
4969
|
r(19, B = !1), pe();
|
|
4991
4970
|
}, pe = () => {
|
|
4992
4971
|
r(18, ue.type = B ? "text" : "password", ue);
|
|
4993
|
-
},
|
|
4972
|
+
}, ke = () => {
|
|
4994
4973
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4995
4974
|
}, xe = (p) => {
|
|
4996
4975
|
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
@@ -5003,9 +4982,9 @@ function as(e, t, r) {
|
|
|
5003
4982
|
}, r(17, J = !0), $e(ne));
|
|
5004
4983
|
});
|
|
5005
4984
|
}, ge = (p) => !!((me.user.test(p) || me.email.test(p)) && p.length <= 100), Se = (p) => !!me.password.test(p), Qe = () => {
|
|
5006
|
-
r(14, H = !ge(U)), r(20, ie = !(!H && !
|
|
4985
|
+
r(14, H = !ge(U)), r(20, ie = !(!H && !oe && A));
|
|
5007
4986
|
}, be = () => {
|
|
5008
|
-
r(15,
|
|
4987
|
+
r(15, oe = !Se(A)), r(20, ie = !(!H && !oe && U));
|
|
5009
4988
|
}, ve = (p) => {
|
|
5010
4989
|
if (p.data)
|
|
5011
4990
|
switch (p.data.type) {
|
|
@@ -5019,20 +4998,20 @@ function as(e, t, r) {
|
|
|
5019
4998
|
Q();
|
|
5020
4999
|
break;
|
|
5021
5000
|
}
|
|
5022
|
-
},
|
|
5001
|
+
}, Ge = (p) => {
|
|
5023
5002
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
5024
5003
|
context: "GeneralPlayerLoginRegisterPage"
|
|
5025
5004
|
});
|
|
5026
|
-
}, $e = (
|
|
5027
|
-
let
|
|
5005
|
+
}, $e = (Wt) => et(this, [Wt], function* ({ username: p, password: q, token: te }) {
|
|
5006
|
+
let Zt = {
|
|
5028
5007
|
"Content-Type": "application/json",
|
|
5029
5008
|
"g-recaptcha-response": te
|
|
5030
|
-
},
|
|
5009
|
+
}, bt = { username: p, password: q }, dn = {
|
|
5031
5010
|
method: "POST",
|
|
5032
|
-
headers:
|
|
5033
|
-
body: JSON.stringify(
|
|
5011
|
+
headers: Zt,
|
|
5012
|
+
body: JSON.stringify(bt)
|
|
5034
5013
|
};
|
|
5035
|
-
fetch(`${i}/v1/player/login/player`,
|
|
5014
|
+
fetch(`${i}/v1/player/login/player`, dn).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
5036
5015
|
{
|
|
5037
5016
|
type: "WidgetNotification",
|
|
5038
5017
|
data: {
|
|
@@ -5041,13 +5020,13 @@ function as(e, t, r) {
|
|
|
5041
5020
|
}
|
|
5042
5021
|
},
|
|
5043
5022
|
window.location.href
|
|
5044
|
-
)),
|
|
5045
|
-
if (
|
|
5023
|
+
)), $.json())).then(($) => {
|
|
5024
|
+
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, de = !0), Ye(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
|
|
5046
5025
|
if (window.postMessage(
|
|
5047
5026
|
{
|
|
5048
5027
|
type: "UserSessionID",
|
|
5049
|
-
session:
|
|
5050
|
-
userid:
|
|
5028
|
+
session: $.sessionID,
|
|
5029
|
+
userid: $.universalID
|
|
5051
5030
|
},
|
|
5052
5031
|
window.location.href
|
|
5053
5032
|
), window.postMessage(
|
|
@@ -5060,29 +5039,29 @@ function as(e, t, r) {
|
|
|
5060
5039
|
},
|
|
5061
5040
|
window.location.href
|
|
5062
5041
|
), window.PasswordCredential && b == "true") {
|
|
5063
|
-
const
|
|
5064
|
-
password:
|
|
5065
|
-
id:
|
|
5042
|
+
const je = new PasswordCredential({
|
|
5043
|
+
password: bt.password,
|
|
5044
|
+
id: bt.username
|
|
5066
5045
|
});
|
|
5067
|
-
navigator.credentials.store(
|
|
5046
|
+
navigator.credentials.store(je);
|
|
5068
5047
|
}
|
|
5069
|
-
|
|
5048
|
+
Ge();
|
|
5070
5049
|
} else
|
|
5071
5050
|
try {
|
|
5072
|
-
let
|
|
5073
|
-
r(16, fe =
|
|
5051
|
+
let je = $.error;
|
|
5052
|
+
r(16, fe = je), r(17, J = !1), window.postMessage(
|
|
5074
5053
|
{
|
|
5075
5054
|
type: "WidgetNotification",
|
|
5076
|
-
data: { type: "error", message:
|
|
5055
|
+
data: { type: "error", message: je }
|
|
5077
5056
|
},
|
|
5078
5057
|
window.location.href
|
|
5079
5058
|
);
|
|
5080
|
-
} catch (
|
|
5081
|
-
let
|
|
5082
|
-
r(16, fe =
|
|
5059
|
+
} catch (je) {
|
|
5060
|
+
let qt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5061
|
+
r(16, fe = qt), r(17, J = !1), window.postMessage(
|
|
5083
5062
|
{
|
|
5084
5063
|
type: "WidgetNotification",
|
|
5085
|
-
data: { type: "error", message:
|
|
5064
|
+
data: { type: "error", message: qt }
|
|
5086
5065
|
},
|
|
5087
5066
|
window.location.href
|
|
5088
5067
|
);
|
|
@@ -5099,26 +5078,26 @@ function as(e, t, r) {
|
|
|
5099
5078
|
},
|
|
5100
5079
|
body: JSON.stringify({
|
|
5101
5080
|
userId: q,
|
|
5102
|
-
messageTemplate:
|
|
5081
|
+
messageTemplate: is,
|
|
5103
5082
|
destination: p
|
|
5104
5083
|
})
|
|
5105
|
-
}),
|
|
5084
|
+
}), Wt = yield te.json();
|
|
5106
5085
|
if (te.ok) {
|
|
5107
|
-
r(9, g =
|
|
5108
|
-
let
|
|
5109
|
-
|
|
5086
|
+
r(9, g = Wt.id);
|
|
5087
|
+
let Zt = Wt.maxValidationAttempts;
|
|
5088
|
+
S = !1;
|
|
5110
5089
|
} else
|
|
5111
|
-
throw
|
|
5090
|
+
throw S = !0, new Error("Failed to fetch");
|
|
5112
5091
|
} catch (te) {
|
|
5113
|
-
|
|
5092
|
+
S = !0, console.error(te);
|
|
5114
5093
|
}
|
|
5115
5094
|
}), F = () => {
|
|
5116
|
-
|
|
5095
|
+
Xo(s);
|
|
5117
5096
|
};
|
|
5118
|
-
|
|
5097
|
+
Bn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Vo(R)), () => {
|
|
5119
5098
|
window.removeEventListener("message", ve);
|
|
5120
5099
|
}));
|
|
5121
|
-
const Ke = () =>
|
|
5100
|
+
const Ke = () => ke();
|
|
5122
5101
|
function Pe() {
|
|
5123
5102
|
U = this.value, r(12, U);
|
|
5124
5103
|
}
|
|
@@ -5130,8 +5109,8 @@ function as(e, t, r) {
|
|
|
5130
5109
|
ue = p, r(18, ue);
|
|
5131
5110
|
});
|
|
5132
5111
|
}
|
|
5133
|
-
const k = () => Ee(),
|
|
5134
|
-
function
|
|
5112
|
+
const k = () => Ee(), G = () => we(), v = (p) => Q(p), P = (p) => xe(p);
|
|
5113
|
+
function fn(p) {
|
|
5135
5114
|
ut[p ? "unshift" : "push"](() => {
|
|
5136
5115
|
X = p, r(7, X);
|
|
5137
5116
|
});
|
|
@@ -5142,9 +5121,9 @@ function as(e, t, r) {
|
|
|
5142
5121
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5143
5122
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5144
5123
|
4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5145
|
-
144 && c && X &&
|
|
5146
|
-
160 && f && X &&
|
|
5147
|
-
136 && l && X &&
|
|
5124
|
+
144 && c && X && Wo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5125
|
+
160 && f && X && Zo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5126
|
+
136 && l && X && qo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5148
5127
|
2 && d && M();
|
|
5149
5128
|
}, [
|
|
5150
5129
|
i,
|
|
@@ -5157,12 +5136,12 @@ function as(e, t, r) {
|
|
|
5157
5136
|
X,
|
|
5158
5137
|
y,
|
|
5159
5138
|
g,
|
|
5160
|
-
|
|
5139
|
+
C,
|
|
5161
5140
|
z,
|
|
5162
5141
|
U,
|
|
5163
5142
|
A,
|
|
5164
5143
|
H,
|
|
5165
|
-
|
|
5144
|
+
oe,
|
|
5166
5145
|
fe,
|
|
5167
5146
|
J,
|
|
5168
5147
|
ue,
|
|
@@ -5172,7 +5151,7 @@ function as(e, t, r) {
|
|
|
5172
5151
|
n,
|
|
5173
5152
|
we,
|
|
5174
5153
|
Ee,
|
|
5175
|
-
|
|
5154
|
+
ke,
|
|
5176
5155
|
xe,
|
|
5177
5156
|
Q,
|
|
5178
5157
|
Qe,
|
|
@@ -5185,20 +5164,20 @@ function as(e, t, r) {
|
|
|
5185
5164
|
Y,
|
|
5186
5165
|
D,
|
|
5187
5166
|
k,
|
|
5188
|
-
|
|
5167
|
+
G,
|
|
5189
5168
|
v,
|
|
5190
|
-
|
|
5191
|
-
|
|
5169
|
+
P,
|
|
5170
|
+
fn
|
|
5192
5171
|
];
|
|
5193
5172
|
}
|
|
5194
|
-
class
|
|
5173
|
+
class hn extends kn {
|
|
5195
5174
|
constructor(t) {
|
|
5196
|
-
super(),
|
|
5175
|
+
super(), Fn(
|
|
5197
5176
|
this,
|
|
5198
5177
|
t,
|
|
5199
|
-
as,
|
|
5200
5178
|
os,
|
|
5201
|
-
|
|
5179
|
+
ns,
|
|
5180
|
+
Ir,
|
|
5202
5181
|
{
|
|
5203
5182
|
endpoint: 0,
|
|
5204
5183
|
captchakey: 1,
|
|
@@ -5211,7 +5190,7 @@ class fn extends $n {
|
|
|
5211
5190
|
translationurl: 32,
|
|
5212
5191
|
savecredentials: 6
|
|
5213
5192
|
},
|
|
5214
|
-
|
|
5193
|
+
Jo,
|
|
5215
5194
|
[-1, -1]
|
|
5216
5195
|
);
|
|
5217
5196
|
}
|
|
@@ -5276,39 +5255,39 @@ class fn extends $n {
|
|
|
5276
5255
|
this.$$set({ savecredentials: t }), ee();
|
|
5277
5256
|
}
|
|
5278
5257
|
}
|
|
5279
|
-
|
|
5280
|
-
const
|
|
5258
|
+
Dn(hn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5259
|
+
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5281
5260
|
__proto__: null,
|
|
5282
|
-
default:
|
|
5261
|
+
default: hn
|
|
5283
5262
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5284
5263
|
export {
|
|
5285
5264
|
he as $,
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5265
|
+
as as G,
|
|
5266
|
+
kn as S,
|
|
5267
|
+
Ue as a,
|
|
5268
|
+
sn as b,
|
|
5269
|
+
Dn as c,
|
|
5270
|
+
wn as d,
|
|
5271
|
+
x as e,
|
|
5293
5272
|
ee as f,
|
|
5294
|
-
|
|
5273
|
+
j as g,
|
|
5295
5274
|
h,
|
|
5296
|
-
|
|
5275
|
+
Fn as i,
|
|
5297
5276
|
L as j,
|
|
5298
5277
|
m as k,
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5278
|
+
rt as l,
|
|
5279
|
+
se as m,
|
|
5280
|
+
re as n,
|
|
5281
|
+
Z as o,
|
|
5282
|
+
I as p,
|
|
5283
|
+
_n as q,
|
|
5284
|
+
Ne as r,
|
|
5285
|
+
Ir as s,
|
|
5307
5286
|
N as t,
|
|
5308
|
-
|
|
5287
|
+
Bn as u,
|
|
5309
5288
|
qo as v,
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5289
|
+
ut as w,
|
|
5290
|
+
Wo as x,
|
|
5291
|
+
Zo as y,
|
|
5292
|
+
jo as z
|
|
5314
5293
|
};
|