@everymatrix/general-player-login-form 1.53.12 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralPlayerLoginForm-BeNMMtcU.cjs +5 -0
- package/components/{GeneralPlayerLoginForm-MMmgBHKW.js → GeneralPlayerLoginForm-DUIEbQRl.js} +1046 -1005
- package/components/GeneralPlayerSmsVerificationForm-BLyLGeI8.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-COg-pr9r.js → GeneralPlayerSmsVerificationForm-YNd10ORF.js} +149 -133
- package/es2015/general-player-login-form.cjs +1 -0
- package/es2015/general-player-login-form.js +16 -0
- package/package.json +11 -12
- package/esnext/general-player-login-form.js +0 -14
package/components/{GeneralPlayerLoginForm-MMmgBHKW.js → GeneralPlayerLoginForm-DUIEbQRl.js}
RENAMED
|
@@ -1,28 +1,57 @@
|
|
|
1
|
+
var dn = Object.defineProperty, mn = Object.defineProperties;
|
|
2
|
+
var pn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Zt = Object.getOwnPropertySymbols;
|
|
4
|
+
var gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var yt = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
gn.call(t, r) && yt(e, r, t[r]);
|
|
8
|
+
if (Zt)
|
|
9
|
+
for (var r of Zt(t))
|
|
10
|
+
bn.call(t, r) && yt(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, Jt = (e, t) => mn(e, pn(t));
|
|
13
|
+
var Y = (e, t, r) => yt(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (u) => {
|
|
16
|
+
try {
|
|
17
|
+
a(r.next(u));
|
|
18
|
+
} catch (l) {
|
|
19
|
+
i(l);
|
|
20
|
+
}
|
|
21
|
+
}, s = (u) => {
|
|
22
|
+
try {
|
|
23
|
+
a(r.throw(u));
|
|
24
|
+
} catch (l) {
|
|
25
|
+
i(l);
|
|
26
|
+
}
|
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
|
+
});
|
|
1
30
|
function Z() {
|
|
2
31
|
}
|
|
3
|
-
function
|
|
32
|
+
function Br(e) {
|
|
4
33
|
return e();
|
|
5
34
|
}
|
|
6
|
-
function
|
|
35
|
+
function Qt() {
|
|
7
36
|
return /* @__PURE__ */ Object.create(null);
|
|
8
37
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
38
|
+
function Le(e) {
|
|
39
|
+
e.forEach(Br);
|
|
11
40
|
}
|
|
12
|
-
function
|
|
41
|
+
function $t(e) {
|
|
13
42
|
return typeof e == "function";
|
|
14
43
|
}
|
|
15
|
-
function
|
|
44
|
+
function Ar(e, t) {
|
|
16
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
46
|
}
|
|
18
47
|
let tt;
|
|
19
|
-
function
|
|
48
|
+
function Yt(e, t) {
|
|
20
49
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
21
50
|
}
|
|
22
|
-
function
|
|
51
|
+
function yn(e) {
|
|
23
52
|
return Object.keys(e).length === 0;
|
|
24
53
|
}
|
|
25
|
-
function
|
|
54
|
+
function Ir(e, ...t) {
|
|
26
55
|
if (e == null) {
|
|
27
56
|
for (const n of t)
|
|
28
57
|
n(void 0);
|
|
@@ -31,24 +60,24 @@ function xr(e, ...t) {
|
|
|
31
60
|
const r = e.subscribe(...t);
|
|
32
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
62
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function vn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Ir(t, r));
|
|
36
65
|
}
|
|
37
|
-
const
|
|
66
|
+
const _n = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
38
67
|
// @ts-ignore Node typings have this
|
|
39
68
|
global
|
|
40
69
|
);
|
|
41
|
-
function
|
|
70
|
+
function p(e, t) {
|
|
42
71
|
e.appendChild(t);
|
|
43
72
|
}
|
|
44
|
-
function
|
|
45
|
-
const n =
|
|
73
|
+
function En(e, t, r) {
|
|
74
|
+
const n = wn(e);
|
|
46
75
|
if (!n.getElementById(t)) {
|
|
47
76
|
const i = S("style");
|
|
48
|
-
i.id = t, i.textContent = r,
|
|
77
|
+
i.id = t, i.textContent = r, xn(n, i);
|
|
49
78
|
}
|
|
50
79
|
}
|
|
51
|
-
function
|
|
80
|
+
function wn(e) {
|
|
52
81
|
if (!e) return document;
|
|
53
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
54
83
|
return t && /** @type {ShadowRoot} */
|
|
@@ -57,8 +86,8 @@ function un(e) {
|
|
|
57
86
|
t
|
|
58
87
|
) : e.ownerDocument;
|
|
59
88
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
89
|
+
function xn(e, t) {
|
|
90
|
+
return p(
|
|
62
91
|
/** @type {Document} */
|
|
63
92
|
e.head || e,
|
|
64
93
|
t
|
|
@@ -82,30 +111,30 @@ function N(e) {
|
|
|
82
111
|
function z() {
|
|
83
112
|
return N(" ");
|
|
84
113
|
}
|
|
85
|
-
function
|
|
114
|
+
function Sn() {
|
|
86
115
|
return N("");
|
|
87
116
|
}
|
|
88
|
-
function
|
|
117
|
+
function ae(e, t, r, n) {
|
|
89
118
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
119
|
}
|
|
91
120
|
function h(e, t, r) {
|
|
92
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
93
122
|
}
|
|
94
|
-
function
|
|
123
|
+
function K(e, t, r) {
|
|
95
124
|
const n = t.toLowerCase();
|
|
96
125
|
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);
|
|
97
126
|
}
|
|
98
|
-
function
|
|
127
|
+
function Pn(e) {
|
|
99
128
|
return Array.from(e.childNodes);
|
|
100
129
|
}
|
|
101
|
-
function
|
|
130
|
+
function re(e, t) {
|
|
102
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
132
|
t);
|
|
104
133
|
}
|
|
105
134
|
function rt(e, t) {
|
|
106
|
-
e.value = t
|
|
135
|
+
e.value = t == null ? "" : t;
|
|
107
136
|
}
|
|
108
|
-
function
|
|
137
|
+
function Tn(e) {
|
|
109
138
|
const t = {};
|
|
110
139
|
return e.childNodes.forEach(
|
|
111
140
|
/** @param {Element} node */
|
|
@@ -114,85 +143,85 @@ function dn(e) {
|
|
|
114
143
|
}
|
|
115
144
|
), t;
|
|
116
145
|
}
|
|
117
|
-
let
|
|
118
|
-
function
|
|
119
|
-
|
|
146
|
+
let We;
|
|
147
|
+
function Xe(e) {
|
|
148
|
+
We = e;
|
|
120
149
|
}
|
|
121
|
-
function
|
|
122
|
-
if (!
|
|
123
|
-
return
|
|
150
|
+
function Hn() {
|
|
151
|
+
if (!We) throw new Error("Function called outside component initialization");
|
|
152
|
+
return We;
|
|
124
153
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
154
|
+
function Bn(e) {
|
|
155
|
+
Hn().$$.on_mount.push(e);
|
|
127
156
|
}
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
157
|
+
const Te = [], ut = [];
|
|
158
|
+
let He = [];
|
|
159
|
+
const Kt = [], An = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let Tt = !1;
|
|
161
|
+
function In() {
|
|
162
|
+
Tt || (Tt = !0, An.then(te));
|
|
134
163
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
164
|
+
function Ht(e) {
|
|
165
|
+
He.push(e);
|
|
137
166
|
}
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
167
|
+
const vt = /* @__PURE__ */ new Set();
|
|
168
|
+
let Se = 0;
|
|
169
|
+
function te() {
|
|
170
|
+
if (Se !== 0)
|
|
142
171
|
return;
|
|
143
|
-
const e =
|
|
172
|
+
const e = We;
|
|
144
173
|
do {
|
|
145
174
|
try {
|
|
146
|
-
for (;
|
|
147
|
-
const t =
|
|
148
|
-
|
|
175
|
+
for (; Se < Te.length; ) {
|
|
176
|
+
const t = Te[Se];
|
|
177
|
+
Se++, Xe(t), Cn(t.$$);
|
|
149
178
|
}
|
|
150
179
|
} catch (t) {
|
|
151
|
-
throw
|
|
180
|
+
throw Te.length = 0, Se = 0, t;
|
|
152
181
|
}
|
|
153
|
-
for (
|
|
154
|
-
for (let t = 0; t <
|
|
155
|
-
const r =
|
|
156
|
-
|
|
182
|
+
for (Xe(null), Te.length = 0, Se = 0; ut.length; ) ut.pop()();
|
|
183
|
+
for (let t = 0; t < He.length; t += 1) {
|
|
184
|
+
const r = He[t];
|
|
185
|
+
vt.has(r) || (vt.add(r), r());
|
|
157
186
|
}
|
|
158
|
-
|
|
159
|
-
} while (
|
|
160
|
-
for (;
|
|
161
|
-
|
|
162
|
-
|
|
187
|
+
He.length = 0;
|
|
188
|
+
} while (Te.length);
|
|
189
|
+
for (; Kt.length; )
|
|
190
|
+
Kt.pop()();
|
|
191
|
+
Tt = !1, vt.clear(), Xe(e);
|
|
163
192
|
}
|
|
164
|
-
function
|
|
193
|
+
function Cn(e) {
|
|
165
194
|
if (e.fragment !== null) {
|
|
166
|
-
e.update(),
|
|
195
|
+
e.update(), Le(e.before_update);
|
|
167
196
|
const t = e.dirty;
|
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
197
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
169
198
|
}
|
|
170
199
|
}
|
|
171
|
-
function
|
|
200
|
+
function On(e) {
|
|
172
201
|
const t = [], r = [];
|
|
173
|
-
|
|
202
|
+
He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
|
|
174
203
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
e && e.i && (
|
|
204
|
+
const Ln = /* @__PURE__ */ new Set();
|
|
205
|
+
function Mn(e, t) {
|
|
206
|
+
e && e.i && (Ln.delete(e), e.i(t));
|
|
178
207
|
}
|
|
179
|
-
function
|
|
208
|
+
function Nn(e, t, r) {
|
|
180
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
|
-
n && n.m(t, r),
|
|
182
|
-
const o = e.$$.on_mount.map(
|
|
183
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
184
|
-
}), i.forEach(
|
|
210
|
+
n && n.m(t, r), Ht(() => {
|
|
211
|
+
const o = e.$$.on_mount.map(Br).filter($t);
|
|
212
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
|
|
213
|
+
}), i.forEach(Ht);
|
|
185
214
|
}
|
|
186
|
-
function
|
|
215
|
+
function Rn(e, t) {
|
|
187
216
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (On(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
218
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (
|
|
219
|
+
function Un(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (Te.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
221
|
}
|
|
193
|
-
function
|
|
194
|
-
const
|
|
195
|
-
|
|
222
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
223
|
+
const u = We;
|
|
224
|
+
Xe(e);
|
|
196
225
|
const l = e.$$ = {
|
|
197
226
|
fragment: null,
|
|
198
227
|
ctx: [],
|
|
@@ -200,155 +229,159 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
200
229
|
props: o,
|
|
201
230
|
update: Z,
|
|
202
231
|
not_equal: i,
|
|
203
|
-
bound:
|
|
232
|
+
bound: Qt(),
|
|
204
233
|
// lifecycle
|
|
205
234
|
on_mount: [],
|
|
206
235
|
on_destroy: [],
|
|
207
236
|
on_disconnect: [],
|
|
208
237
|
before_update: [],
|
|
209
238
|
after_update: [],
|
|
210
|
-
context: new Map(t.context || (
|
|
239
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
211
240
|
// everything else
|
|
212
|
-
callbacks:
|
|
241
|
+
callbacks: Qt(),
|
|
213
242
|
dirty: a,
|
|
214
243
|
skip_bound: !1,
|
|
215
|
-
root: t.target ||
|
|
244
|
+
root: t.target || u.$$.root
|
|
216
245
|
};
|
|
217
246
|
s && s(l.root);
|
|
218
|
-
let
|
|
247
|
+
let c = !1;
|
|
219
248
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
220
249
|
const v = b.length ? b[0] : d;
|
|
221
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v),
|
|
222
|
-
}) : [], l.update(),
|
|
250
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), c && Un(e, f)), d;
|
|
251
|
+
}) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
223
252
|
if (t.hydrate) {
|
|
224
|
-
const f =
|
|
253
|
+
const f = Pn(t.target);
|
|
225
254
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
226
255
|
} else
|
|
227
256
|
l.fragment && l.fragment.c();
|
|
228
|
-
t.intro &&
|
|
257
|
+
t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), te();
|
|
229
258
|
}
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
259
|
+
Xe(u);
|
|
260
|
+
}
|
|
261
|
+
let Cr;
|
|
262
|
+
typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
|
|
263
|
+
constructor(t, r, n) {
|
|
264
|
+
super();
|
|
265
|
+
/** The Svelte component constructor */
|
|
266
|
+
Y(this, "$$ctor");
|
|
267
|
+
/** Slots */
|
|
268
|
+
Y(this, "$$s");
|
|
269
|
+
/** The Svelte component instance */
|
|
270
|
+
Y(this, "$$c");
|
|
271
|
+
/** Whether or not the custom element is connected */
|
|
272
|
+
Y(this, "$$cn", !1);
|
|
273
|
+
/** Component props data */
|
|
274
|
+
Y(this, "$$d", {});
|
|
275
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
276
|
+
Y(this, "$$r", !1);
|
|
277
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
278
|
+
Y(this, "$$p_d", {});
|
|
279
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
280
|
+
Y(this, "$$l", {});
|
|
281
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
282
|
+
Y(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
283
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
254
284
|
}
|
|
255
|
-
addEventListener(
|
|
256
|
-
if (this.$$l[
|
|
257
|
-
const
|
|
258
|
-
this.$$l_u.set(
|
|
285
|
+
addEventListener(t, r, n) {
|
|
286
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
287
|
+
const i = this.$$c.$on(t, r);
|
|
288
|
+
this.$$l_u.set(r, i);
|
|
259
289
|
}
|
|
260
|
-
super.addEventListener(
|
|
290
|
+
super.addEventListener(t, r, n);
|
|
261
291
|
}
|
|
262
|
-
removeEventListener(
|
|
263
|
-
if (super.removeEventListener(
|
|
264
|
-
const
|
|
265
|
-
|
|
292
|
+
removeEventListener(t, r, n) {
|
|
293
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
294
|
+
const i = this.$$l_u.get(r);
|
|
295
|
+
i && (i(), this.$$l_u.delete(r));
|
|
266
296
|
}
|
|
267
297
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
298
|
+
connectedCallback() {
|
|
299
|
+
return et(this, null, function* () {
|
|
300
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
301
|
+
let t = function(o) {
|
|
302
|
+
return () => {
|
|
303
|
+
let s;
|
|
304
|
+
return {
|
|
305
|
+
c: function() {
|
|
306
|
+
s = S("slot"), o !== "default" && h(s, "name", o);
|
|
307
|
+
},
|
|
308
|
+
/**
|
|
309
|
+
* @param {HTMLElement} target
|
|
310
|
+
* @param {HTMLElement} [anchor]
|
|
311
|
+
*/
|
|
312
|
+
m: function(l, c) {
|
|
313
|
+
L(l, s, c);
|
|
314
|
+
},
|
|
315
|
+
d: function(l) {
|
|
316
|
+
l && I(s);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
287
319
|
};
|
|
288
320
|
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
o in this.$$d || (this.$$d[o] = ot(o, i.value, this.$$p_d, "toProp"));
|
|
298
|
-
}
|
|
299
|
-
for (const i in this.$$p_d)
|
|
300
|
-
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
301
|
-
this.$$c = new this.$$ctor({
|
|
302
|
-
target: this.shadowRoot || this,
|
|
303
|
-
props: {
|
|
304
|
-
...this.$$d,
|
|
305
|
-
$$slots: t,
|
|
306
|
-
$$scope: {
|
|
307
|
-
ctx: []
|
|
308
|
-
}
|
|
321
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
|
+
return;
|
|
323
|
+
const r = {}, n = Tn(this);
|
|
324
|
+
for (const o of this.$$s)
|
|
325
|
+
o in n && (r[o] = [t(o)]);
|
|
326
|
+
for (const o of this.attributes) {
|
|
327
|
+
const s = this.$$g_p(o.name);
|
|
328
|
+
s in this.$$d || (this.$$d[s] = ot(s, o.value, this.$$p_d, "toProp"));
|
|
309
329
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
this.$$
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
330
|
+
for (const o in this.$$p_d)
|
|
331
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
332
|
+
this.$$c = new this.$$ctor({
|
|
333
|
+
target: this.shadowRoot || this,
|
|
334
|
+
props: Jt(qt({}, this.$$d), {
|
|
335
|
+
$$slots: r,
|
|
336
|
+
$$scope: {
|
|
337
|
+
ctx: []
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
});
|
|
341
|
+
const i = () => {
|
|
342
|
+
this.$$r = !0;
|
|
343
|
+
for (const o in this.$$p_d)
|
|
344
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
345
|
+
const s = ot(
|
|
346
|
+
o,
|
|
347
|
+
this.$$d[o],
|
|
348
|
+
this.$$p_d,
|
|
349
|
+
"toAttribute"
|
|
350
|
+
);
|
|
351
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
352
|
+
}
|
|
353
|
+
this.$$r = !1;
|
|
354
|
+
};
|
|
355
|
+
this.$$c.$$.after_update.push(i), i();
|
|
356
|
+
for (const o in this.$$l)
|
|
357
|
+
for (const s of this.$$l[o]) {
|
|
358
|
+
const a = this.$$c.$on(o, s);
|
|
359
|
+
this.$$l_u.set(s, a);
|
|
322
360
|
}
|
|
323
|
-
this.$$
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
for (const i in this.$$l)
|
|
327
|
-
for (const o of this.$$l[i]) {
|
|
328
|
-
const s = this.$$c.$on(i, o);
|
|
329
|
-
this.$$l_u.set(o, s);
|
|
330
|
-
}
|
|
331
|
-
this.$$l = {};
|
|
332
|
-
}
|
|
361
|
+
this.$$l = {};
|
|
362
|
+
}
|
|
363
|
+
});
|
|
333
364
|
}
|
|
334
365
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
335
366
|
// and setting attributes through setAttribute etc, this is helpful
|
|
336
|
-
attributeChangedCallback(
|
|
337
|
-
|
|
367
|
+
attributeChangedCallback(t, r, n) {
|
|
368
|
+
var i;
|
|
369
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ot(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
338
370
|
}
|
|
339
371
|
disconnectedCallback() {
|
|
340
372
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
341
373
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
342
374
|
});
|
|
343
375
|
}
|
|
344
|
-
$$g_p(
|
|
376
|
+
$$g_p(t) {
|
|
345
377
|
return Object.keys(this.$$p_d).find(
|
|
346
|
-
(
|
|
347
|
-
) ||
|
|
378
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
379
|
+
) || t;
|
|
348
380
|
}
|
|
349
381
|
});
|
|
350
382
|
function ot(e, t, r, n) {
|
|
351
|
-
|
|
383
|
+
var o;
|
|
384
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
352
385
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
353
386
|
return t;
|
|
354
387
|
if (n === "toAttribute")
|
|
@@ -359,7 +392,7 @@ function ot(e, t, r, n) {
|
|
|
359
392
|
case "Boolean":
|
|
360
393
|
return t ? "" : null;
|
|
361
394
|
case "Number":
|
|
362
|
-
return t
|
|
395
|
+
return t == null ? null : t;
|
|
363
396
|
default:
|
|
364
397
|
return t;
|
|
365
398
|
}
|
|
@@ -376,8 +409,8 @@ function ot(e, t, r, n) {
|
|
|
376
409
|
return t;
|
|
377
410
|
}
|
|
378
411
|
}
|
|
379
|
-
function
|
|
380
|
-
let s = class extends
|
|
412
|
+
function Dn(e, t, r, n, i, o) {
|
|
413
|
+
let s = class extends Cr {
|
|
381
414
|
constructor() {
|
|
382
415
|
super(e, r, i), this.$$p_d = t;
|
|
383
416
|
}
|
|
@@ -392,39 +425,43 @@ function Tn(e, t, r, n, i, o) {
|
|
|
392
425
|
get() {
|
|
393
426
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
394
427
|
},
|
|
395
|
-
set(
|
|
396
|
-
|
|
428
|
+
set(u) {
|
|
429
|
+
var l;
|
|
430
|
+
u = ot(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
|
397
431
|
}
|
|
398
432
|
});
|
|
399
433
|
}), n.forEach((a) => {
|
|
400
434
|
Object.defineProperty(s.prototype, a, {
|
|
401
435
|
get() {
|
|
402
|
-
|
|
436
|
+
var u;
|
|
437
|
+
return (u = this.$$c) == null ? void 0 : u[a];
|
|
403
438
|
}
|
|
404
439
|
});
|
|
405
440
|
}), e.element = /** @type {any} */
|
|
406
441
|
s, s;
|
|
407
442
|
}
|
|
408
|
-
class
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
443
|
+
class kn {
|
|
444
|
+
constructor() {
|
|
445
|
+
/**
|
|
446
|
+
* ### PRIVATE API
|
|
447
|
+
*
|
|
448
|
+
* Do not use, may change at any time
|
|
449
|
+
*
|
|
450
|
+
* @type {any}
|
|
451
|
+
*/
|
|
452
|
+
Y(this, "$$");
|
|
453
|
+
/**
|
|
454
|
+
* ### PRIVATE API
|
|
455
|
+
*
|
|
456
|
+
* Do not use, may change at any time
|
|
457
|
+
*
|
|
458
|
+
* @type {any}
|
|
459
|
+
*/
|
|
460
|
+
Y(this, "$$set");
|
|
461
|
+
}
|
|
425
462
|
/** @returns {void} */
|
|
426
463
|
$destroy() {
|
|
427
|
-
|
|
464
|
+
Rn(this, 1), this.$destroy = Z;
|
|
428
465
|
}
|
|
429
466
|
/**
|
|
430
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -433,7 +470,7 @@ class Hn {
|
|
|
433
470
|
* @returns {() => void}
|
|
434
471
|
*/
|
|
435
472
|
$on(t, r) {
|
|
436
|
-
if (
|
|
473
|
+
if (!$t(r))
|
|
437
474
|
return Z;
|
|
438
475
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
439
476
|
return n.push(r), () => {
|
|
@@ -446,22 +483,22 @@ class Hn {
|
|
|
446
483
|
* @returns {void}
|
|
447
484
|
*/
|
|
448
485
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
486
|
+
this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
487
|
}
|
|
451
488
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window
|
|
454
|
-
var
|
|
455
|
-
return
|
|
489
|
+
const $n = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($n);
|
|
491
|
+
var Bt = function(e, t) {
|
|
492
|
+
return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
456
493
|
r.__proto__ = n;
|
|
457
494
|
} || function(r, n) {
|
|
458
495
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
-
},
|
|
496
|
+
}, Bt(e, t);
|
|
460
497
|
};
|
|
461
|
-
function
|
|
498
|
+
function ue(e, t) {
|
|
462
499
|
if (typeof t != "function" && t !== null)
|
|
463
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
464
|
-
|
|
501
|
+
Bt(e, t);
|
|
465
502
|
function r() {
|
|
466
503
|
this.constructor = e;
|
|
467
504
|
}
|
|
@@ -476,7 +513,7 @@ var w = function() {
|
|
|
476
513
|
return t;
|
|
477
514
|
}, w.apply(this, arguments);
|
|
478
515
|
};
|
|
479
|
-
function
|
|
516
|
+
function Gn(e, t) {
|
|
480
517
|
var r = {};
|
|
481
518
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
482
519
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -484,7 +521,7 @@ function An(e, t) {
|
|
|
484
521
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
485
522
|
return r;
|
|
486
523
|
}
|
|
487
|
-
function
|
|
524
|
+
function At(e) {
|
|
488
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
489
526
|
if (r) return r.call(e);
|
|
490
527
|
if (e && typeof e.length == "number") return {
|
|
@@ -494,7 +531,7 @@ function Ht(e) {
|
|
|
494
531
|
};
|
|
495
532
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
496
533
|
}
|
|
497
|
-
function
|
|
534
|
+
function It(e, t) {
|
|
498
535
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
499
536
|
if (!r) return e;
|
|
500
537
|
var n = r.call(e), i, o = [], s;
|
|
@@ -511,21 +548,21 @@ function Bt(e, t) {
|
|
|
511
548
|
}
|
|
512
549
|
return o;
|
|
513
550
|
}
|
|
514
|
-
function
|
|
551
|
+
function Be(e, t, r) {
|
|
515
552
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
516
553
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
517
554
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
518
555
|
}
|
|
519
|
-
function
|
|
556
|
+
function le(e) {
|
|
520
557
|
return typeof e == "function";
|
|
521
558
|
}
|
|
522
|
-
function
|
|
559
|
+
function Or(e) {
|
|
523
560
|
var t = function(n) {
|
|
524
561
|
Error.call(n), n.stack = new Error().stack;
|
|
525
562
|
}, r = e(t);
|
|
526
563
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
564
|
}
|
|
528
|
-
var
|
|
565
|
+
var _t = Or(function(e) {
|
|
529
566
|
return function(r) {
|
|
530
567
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
568
|
` + r.map(function(n, i) {
|
|
@@ -534,7 +571,7 @@ var yt = Pr(function(e) {
|
|
|
534
571
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
535
572
|
};
|
|
536
573
|
});
|
|
537
|
-
function
|
|
574
|
+
function Ct(e, t) {
|
|
538
575
|
if (e) {
|
|
539
576
|
var r = e.indexOf(t);
|
|
540
577
|
0 <= r && e.splice(r, 1);
|
|
@@ -552,38 +589,38 @@ var ft = function() {
|
|
|
552
589
|
if (s)
|
|
553
590
|
if (this._parentage = null, Array.isArray(s))
|
|
554
591
|
try {
|
|
555
|
-
for (var a =
|
|
556
|
-
var l =
|
|
592
|
+
for (var a = At(s), u = a.next(); !u.done; u = a.next()) {
|
|
593
|
+
var l = u.value;
|
|
557
594
|
l.remove(this);
|
|
558
595
|
}
|
|
559
596
|
} catch (g) {
|
|
560
597
|
t = { error: g };
|
|
561
598
|
} finally {
|
|
562
599
|
try {
|
|
563
|
-
|
|
600
|
+
u && !u.done && (r = a.return) && r.call(a);
|
|
564
601
|
} finally {
|
|
565
602
|
if (t) throw t.error;
|
|
566
603
|
}
|
|
567
604
|
}
|
|
568
605
|
else
|
|
569
606
|
s.remove(this);
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
607
|
+
var c = this.initialTeardown;
|
|
608
|
+
if (le(c))
|
|
572
609
|
try {
|
|
573
|
-
|
|
610
|
+
c();
|
|
574
611
|
} catch (g) {
|
|
575
|
-
o = g instanceof
|
|
612
|
+
o = g instanceof _t ? g.errors : [g];
|
|
576
613
|
}
|
|
577
614
|
var f = this._finalizers;
|
|
578
615
|
if (f) {
|
|
579
616
|
this._finalizers = null;
|
|
580
617
|
try {
|
|
581
|
-
for (var d =
|
|
618
|
+
for (var d = At(f), b = d.next(); !b.done; b = d.next()) {
|
|
582
619
|
var v = b.value;
|
|
583
620
|
try {
|
|
584
|
-
|
|
621
|
+
er(v);
|
|
585
622
|
} catch (g) {
|
|
586
|
-
o = o
|
|
623
|
+
o = o != null ? o : [], g instanceof _t ? o = Be(Be([], It(o)), It(g.errors)) : o.push(g);
|
|
587
624
|
}
|
|
588
625
|
}
|
|
589
626
|
} catch (g) {
|
|
@@ -597,13 +634,13 @@ var ft = function() {
|
|
|
597
634
|
}
|
|
598
635
|
}
|
|
599
636
|
if (o)
|
|
600
|
-
throw new
|
|
637
|
+
throw new _t(o);
|
|
601
638
|
}
|
|
602
639
|
}, e.prototype.add = function(t) {
|
|
603
640
|
var r;
|
|
604
641
|
if (t && t !== this)
|
|
605
642
|
if (this.closed)
|
|
606
|
-
|
|
643
|
+
er(t);
|
|
607
644
|
else {
|
|
608
645
|
if (t instanceof e) {
|
|
609
646
|
if (t.closed || t._hasParent(this))
|
|
@@ -620,56 +657,56 @@ var ft = function() {
|
|
|
620
657
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
621
658
|
}, e.prototype._removeParent = function(t) {
|
|
622
659
|
var r = this._parentage;
|
|
623
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
660
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
|
|
624
661
|
}, e.prototype.remove = function(t) {
|
|
625
662
|
var r = this._finalizers;
|
|
626
|
-
r &&
|
|
663
|
+
r && Ct(r, t), t instanceof e && t._removeParent(this);
|
|
627
664
|
}, e.EMPTY = function() {
|
|
628
665
|
var t = new e();
|
|
629
666
|
return t.closed = !0, t;
|
|
630
667
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
633
|
-
return e instanceof ft || e && "closed" in e &&
|
|
668
|
+
}(), Lr = ft.EMPTY;
|
|
669
|
+
function Mr(e) {
|
|
670
|
+
return e instanceof ft || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
634
671
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
672
|
+
function er(e) {
|
|
673
|
+
le(e) ? e() : e.unsubscribe();
|
|
637
674
|
}
|
|
638
|
-
var
|
|
675
|
+
var jn = {
|
|
639
676
|
onUnhandledError: null,
|
|
640
677
|
onStoppedNotification: null,
|
|
641
678
|
Promise: void 0,
|
|
642
679
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
643
680
|
useDeprecatedNextContext: !1
|
|
644
|
-
},
|
|
681
|
+
}, Vn = {
|
|
645
682
|
setTimeout: function(e, t) {
|
|
646
683
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
647
684
|
r[n - 2] = arguments[n];
|
|
648
|
-
return setTimeout.apply(void 0,
|
|
685
|
+
return setTimeout.apply(void 0, Be([e, t], It(r)));
|
|
649
686
|
},
|
|
650
687
|
clearTimeout: function(e) {
|
|
651
688
|
return clearTimeout(e);
|
|
652
689
|
},
|
|
653
690
|
delegate: void 0
|
|
654
691
|
};
|
|
655
|
-
function
|
|
656
|
-
|
|
692
|
+
function zn(e) {
|
|
693
|
+
Vn.setTimeout(function() {
|
|
657
694
|
throw e;
|
|
658
695
|
});
|
|
659
696
|
}
|
|
660
|
-
function
|
|
697
|
+
function tr() {
|
|
661
698
|
}
|
|
662
699
|
function st(e) {
|
|
663
700
|
e();
|
|
664
701
|
}
|
|
665
|
-
var
|
|
666
|
-
|
|
702
|
+
var Nr = function(e) {
|
|
703
|
+
ue(t, e);
|
|
667
704
|
function t(r) {
|
|
668
705
|
var n = e.call(this) || this;
|
|
669
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
706
|
+
return n.isStopped = !1, r ? (n.destination = r, Mr(r) && r.add(n)) : n.destination = Zn, n;
|
|
670
707
|
}
|
|
671
708
|
return t.create = function(r, n, i) {
|
|
672
|
-
return new
|
|
709
|
+
return new Ot(r, n, i);
|
|
673
710
|
}, t.prototype.next = function(r) {
|
|
674
711
|
this.isStopped || this._next(r);
|
|
675
712
|
}, t.prototype.error = function(r) {
|
|
@@ -693,7 +730,7 @@ var Br = function(e) {
|
|
|
693
730
|
this.unsubscribe();
|
|
694
731
|
}
|
|
695
732
|
}, t;
|
|
696
|
-
}(ft),
|
|
733
|
+
}(ft), Xn = function() {
|
|
697
734
|
function e(t) {
|
|
698
735
|
this.partialObserver = t;
|
|
699
736
|
}
|
|
@@ -724,43 +761,43 @@ var Br = function(e) {
|
|
|
724
761
|
nt(r);
|
|
725
762
|
}
|
|
726
763
|
}, e;
|
|
727
|
-
}(),
|
|
728
|
-
|
|
764
|
+
}(), Ot = function(e) {
|
|
765
|
+
ue(t, e);
|
|
729
766
|
function t(r, n, i) {
|
|
730
767
|
var o = e.call(this) || this, s;
|
|
731
|
-
return
|
|
732
|
-
next: r
|
|
733
|
-
error: n
|
|
734
|
-
complete: i
|
|
735
|
-
} : s = r, o.destination = new
|
|
768
|
+
return le(r) || !r ? s = {
|
|
769
|
+
next: r != null ? r : void 0,
|
|
770
|
+
error: n != null ? n : void 0,
|
|
771
|
+
complete: i != null ? i : void 0
|
|
772
|
+
} : s = r, o.destination = new Xn(s), o;
|
|
736
773
|
}
|
|
737
774
|
return t;
|
|
738
|
-
}(
|
|
775
|
+
}(Nr);
|
|
739
776
|
function nt(e) {
|
|
740
|
-
|
|
777
|
+
zn(e);
|
|
741
778
|
}
|
|
742
|
-
function
|
|
779
|
+
function Wn(e) {
|
|
743
780
|
throw e;
|
|
744
781
|
}
|
|
745
|
-
var
|
|
782
|
+
var Zn = {
|
|
746
783
|
closed: !0,
|
|
747
|
-
next:
|
|
748
|
-
error:
|
|
749
|
-
complete:
|
|
750
|
-
},
|
|
784
|
+
next: tr,
|
|
785
|
+
error: Wn,
|
|
786
|
+
complete: tr
|
|
787
|
+
}, qn = function() {
|
|
751
788
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
752
789
|
}();
|
|
753
|
-
function
|
|
790
|
+
function Jn(e) {
|
|
754
791
|
return e;
|
|
755
792
|
}
|
|
756
|
-
function
|
|
757
|
-
return e.length === 0 ?
|
|
793
|
+
function Qn(e) {
|
|
794
|
+
return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
|
|
758
795
|
return e.reduce(function(n, i) {
|
|
759
796
|
return i(n);
|
|
760
797
|
}, r);
|
|
761
798
|
};
|
|
762
799
|
}
|
|
763
|
-
var
|
|
800
|
+
var rr = function() {
|
|
764
801
|
function e(t) {
|
|
765
802
|
t && (this._subscribe = t);
|
|
766
803
|
}
|
|
@@ -768,10 +805,10 @@ var qt = function() {
|
|
|
768
805
|
var r = new e();
|
|
769
806
|
return r.source = this, r.operator = t, r;
|
|
770
807
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
771
|
-
var i = this, o =
|
|
808
|
+
var i = this, o = Kn(t) ? t : new Ot(t, r, n);
|
|
772
809
|
return st(function() {
|
|
773
|
-
var s = i, a = s.operator,
|
|
774
|
-
o.add(a ? a.call(o,
|
|
810
|
+
var s = i, a = s.operator, u = s.source;
|
|
811
|
+
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
775
812
|
}), o;
|
|
776
813
|
}, e.prototype._trySubscribe = function(t) {
|
|
777
814
|
try {
|
|
@@ -781,13 +818,13 @@ var qt = function() {
|
|
|
781
818
|
}
|
|
782
819
|
}, e.prototype.forEach = function(t, r) {
|
|
783
820
|
var n = this;
|
|
784
|
-
return r =
|
|
785
|
-
var s = new
|
|
821
|
+
return r = nr(r), new r(function(i, o) {
|
|
822
|
+
var s = new Ot({
|
|
786
823
|
next: function(a) {
|
|
787
824
|
try {
|
|
788
825
|
t(a);
|
|
789
|
-
} catch (
|
|
790
|
-
o(
|
|
826
|
+
} catch (u) {
|
|
827
|
+
o(u), s.unsubscribe();
|
|
791
828
|
}
|
|
792
829
|
},
|
|
793
830
|
error: o,
|
|
@@ -798,15 +835,15 @@ var qt = function() {
|
|
|
798
835
|
}, e.prototype._subscribe = function(t) {
|
|
799
836
|
var r;
|
|
800
837
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
801
|
-
}, e.prototype[
|
|
838
|
+
}, e.prototype[qn] = function() {
|
|
802
839
|
return this;
|
|
803
840
|
}, e.prototype.pipe = function() {
|
|
804
841
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
805
842
|
t[r] = arguments[r];
|
|
806
|
-
return
|
|
843
|
+
return Qn(t)(this);
|
|
807
844
|
}, e.prototype.toPromise = function(t) {
|
|
808
845
|
var r = this;
|
|
809
|
-
return t =
|
|
846
|
+
return t = nr(t), new t(function(n, i) {
|
|
810
847
|
var o;
|
|
811
848
|
r.subscribe(function(s) {
|
|
812
849
|
return o = s;
|
|
@@ -820,32 +857,32 @@ var qt = function() {
|
|
|
820
857
|
return new e(t);
|
|
821
858
|
}, e;
|
|
822
859
|
}();
|
|
823
|
-
function
|
|
860
|
+
function nr(e) {
|
|
824
861
|
var t;
|
|
825
|
-
return (t = e
|
|
862
|
+
return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
826
863
|
}
|
|
827
|
-
function
|
|
828
|
-
return e &&
|
|
864
|
+
function Yn(e) {
|
|
865
|
+
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
829
866
|
}
|
|
830
|
-
function
|
|
831
|
-
return e && e instanceof
|
|
867
|
+
function Kn(e) {
|
|
868
|
+
return e && e instanceof Nr || Yn(e) && Mr(e);
|
|
832
869
|
}
|
|
833
|
-
var
|
|
870
|
+
var ei = Or(function(e) {
|
|
834
871
|
return function() {
|
|
835
872
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
836
873
|
};
|
|
837
|
-
}),
|
|
838
|
-
|
|
874
|
+
}), Rr = function(e) {
|
|
875
|
+
ue(t, e);
|
|
839
876
|
function t() {
|
|
840
877
|
var r = e.call(this) || this;
|
|
841
878
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
842
879
|
}
|
|
843
880
|
return t.prototype.lift = function(r) {
|
|
844
|
-
var n = new
|
|
881
|
+
var n = new ir(this, this);
|
|
845
882
|
return n.operator = r, n;
|
|
846
883
|
}, t.prototype._throwIfClosed = function() {
|
|
847
884
|
if (this.closed)
|
|
848
|
-
throw new
|
|
885
|
+
throw new ei();
|
|
849
886
|
}, t.prototype.next = function(r) {
|
|
850
887
|
var n = this;
|
|
851
888
|
st(function() {
|
|
@@ -853,9 +890,9 @@ var $n = Pr(function(e) {
|
|
|
853
890
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
854
891
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
855
892
|
try {
|
|
856
|
-
for (var s =
|
|
857
|
-
var
|
|
858
|
-
|
|
893
|
+
for (var s = At(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
894
|
+
var u = a.value;
|
|
895
|
+
u.next(r);
|
|
859
896
|
}
|
|
860
897
|
} catch (l) {
|
|
861
898
|
i = { error: l };
|
|
@@ -901,20 +938,20 @@ var $n = Pr(function(e) {
|
|
|
901
938
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
902
939
|
}, t.prototype._innerSubscribe = function(r) {
|
|
903
940
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
904
|
-
return o || s ?
|
|
905
|
-
n.currentObservers = null,
|
|
941
|
+
return o || s ? Lr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
942
|
+
n.currentObservers = null, Ct(a, r);
|
|
906
943
|
}));
|
|
907
944
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
908
945
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
909
946
|
i ? r.error(o) : s && r.complete();
|
|
910
947
|
}, t.prototype.asObservable = function() {
|
|
911
|
-
var r = new
|
|
948
|
+
var r = new rr();
|
|
912
949
|
return r.source = this, r;
|
|
913
950
|
}, t.create = function(r, n) {
|
|
914
|
-
return new
|
|
951
|
+
return new ir(r, n);
|
|
915
952
|
}, t;
|
|
916
|
-
}(
|
|
917
|
-
|
|
953
|
+
}(rr), ir = function(e) {
|
|
954
|
+
ue(t, e);
|
|
918
955
|
function t(r, n) {
|
|
919
956
|
var i = e.call(this) || this;
|
|
920
957
|
return i.destination = r, i.source = n, i;
|
|
@@ -930,45 +967,45 @@ var $n = Pr(function(e) {
|
|
|
930
967
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
931
968
|
}, t.prototype._subscribe = function(r) {
|
|
932
969
|
var n, i;
|
|
933
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
970
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lr;
|
|
934
971
|
}, t;
|
|
935
|
-
}(
|
|
972
|
+
}(Rr), Ur = {
|
|
936
973
|
now: function() {
|
|
937
|
-
return (
|
|
974
|
+
return (Ur.delegate || Date).now();
|
|
938
975
|
},
|
|
939
976
|
delegate: void 0
|
|
940
|
-
},
|
|
941
|
-
|
|
977
|
+
}, ti = function(e) {
|
|
978
|
+
ue(t, e);
|
|
942
979
|
function t(r, n, i) {
|
|
943
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
980
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ur);
|
|
944
981
|
var o = e.call(this) || this;
|
|
945
982
|
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;
|
|
946
983
|
}
|
|
947
984
|
return t.prototype.next = function(r) {
|
|
948
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
|
949
|
-
i || (o.push(r), !s && o.push(a.now() +
|
|
985
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
|
|
986
|
+
i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
950
987
|
}, t.prototype._subscribe = function(r) {
|
|
951
988
|
this._throwIfClosed(), this._trimBuffer();
|
|
952
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
|
953
|
-
r.next(a[
|
|
989
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
|
|
990
|
+
r.next(a[u]);
|
|
954
991
|
return this._checkFinalizedStatuses(r), n;
|
|
955
992
|
}, t.prototype._trimBuffer = function() {
|
|
956
993
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
957
994
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
958
|
-
for (var
|
|
959
|
-
l =
|
|
995
|
+
for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
|
|
996
|
+
l = c;
|
|
960
997
|
l && o.splice(0, l + 1);
|
|
961
998
|
}
|
|
962
999
|
}, t;
|
|
963
|
-
}(
|
|
964
|
-
const
|
|
965
|
-
if (
|
|
966
|
-
const r = new
|
|
967
|
-
|
|
1000
|
+
}(Rr);
|
|
1001
|
+
const or = [], sr = {}, ri = (e, t = 0) => {
|
|
1002
|
+
if (or.indexOf(e) == -1) {
|
|
1003
|
+
const r = new ti(t);
|
|
1004
|
+
sr[e] = r, or.push(e);
|
|
968
1005
|
}
|
|
969
|
-
return
|
|
970
|
-
},
|
|
971
|
-
function
|
|
1006
|
+
return sr[e];
|
|
1007
|
+
}, Pe = [];
|
|
1008
|
+
function ni(e, t) {
|
|
972
1009
|
return {
|
|
973
1010
|
subscribe: dt(e, t).subscribe
|
|
974
1011
|
};
|
|
@@ -977,167 +1014,167 @@ function dt(e, t = Z) {
|
|
|
977
1014
|
let r;
|
|
978
1015
|
const n = /* @__PURE__ */ new Set();
|
|
979
1016
|
function i(a) {
|
|
980
|
-
if (
|
|
981
|
-
const
|
|
1017
|
+
if (Ar(e, a) && (e = a, r)) {
|
|
1018
|
+
const u = !Pe.length;
|
|
982
1019
|
for (const l of n)
|
|
983
|
-
l[1](),
|
|
984
|
-
if (
|
|
985
|
-
for (let l = 0; l <
|
|
986
|
-
|
|
987
|
-
|
|
1020
|
+
l[1](), Pe.push(l, e);
|
|
1021
|
+
if (u) {
|
|
1022
|
+
for (let l = 0; l < Pe.length; l += 2)
|
|
1023
|
+
Pe[l][0](Pe[l + 1]);
|
|
1024
|
+
Pe.length = 0;
|
|
988
1025
|
}
|
|
989
1026
|
}
|
|
990
1027
|
}
|
|
991
1028
|
function o(a) {
|
|
992
1029
|
i(a(e));
|
|
993
1030
|
}
|
|
994
|
-
function s(a,
|
|
995
|
-
const l = [a,
|
|
1031
|
+
function s(a, u = Z) {
|
|
1032
|
+
const l = [a, u];
|
|
996
1033
|
return n.add(l), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
|
|
997
1034
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
998
1035
|
};
|
|
999
1036
|
}
|
|
1000
1037
|
return { set: i, update: o, subscribe: s };
|
|
1001
1038
|
}
|
|
1002
|
-
function
|
|
1039
|
+
function Me(e, t, r) {
|
|
1003
1040
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1004
1041
|
if (!i.every(Boolean))
|
|
1005
1042
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1006
1043
|
const o = t.length < 2;
|
|
1007
|
-
return
|
|
1008
|
-
let
|
|
1044
|
+
return ni(r, (s, a) => {
|
|
1045
|
+
let u = !1;
|
|
1009
1046
|
const l = [];
|
|
1010
|
-
let
|
|
1047
|
+
let c = 0, f = Z;
|
|
1011
1048
|
const d = () => {
|
|
1012
|
-
if (
|
|
1049
|
+
if (c)
|
|
1013
1050
|
return;
|
|
1014
1051
|
f();
|
|
1015
1052
|
const v = t(n ? l[0] : l, s, a);
|
|
1016
|
-
o ? s(v) : f =
|
|
1053
|
+
o ? s(v) : f = $t(v) ? v : Z;
|
|
1017
1054
|
}, b = i.map(
|
|
1018
|
-
(v, g) =>
|
|
1055
|
+
(v, g) => Ir(
|
|
1019
1056
|
v,
|
|
1020
1057
|
(x) => {
|
|
1021
|
-
l[g] = x,
|
|
1058
|
+
l[g] = x, c &= ~(1 << g), u && d();
|
|
1022
1059
|
},
|
|
1023
1060
|
() => {
|
|
1024
|
-
|
|
1061
|
+
c |= 1 << g;
|
|
1025
1062
|
}
|
|
1026
1063
|
)
|
|
1027
1064
|
);
|
|
1028
|
-
return
|
|
1029
|
-
|
|
1065
|
+
return u = !0, d(), function() {
|
|
1066
|
+
Le(b), f(), u = !1;
|
|
1030
1067
|
};
|
|
1031
1068
|
});
|
|
1032
1069
|
}
|
|
1033
|
-
function
|
|
1070
|
+
function ii(e) {
|
|
1034
1071
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1035
1072
|
}
|
|
1036
|
-
var
|
|
1037
|
-
return
|
|
1073
|
+
var oi = function(t) {
|
|
1074
|
+
return si(t) && !ai(t);
|
|
1038
1075
|
};
|
|
1039
|
-
function
|
|
1076
|
+
function si(e) {
|
|
1040
1077
|
return !!e && typeof e == "object";
|
|
1041
1078
|
}
|
|
1042
|
-
function
|
|
1079
|
+
function ai(e) {
|
|
1043
1080
|
var t = Object.prototype.toString.call(e);
|
|
1044
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1081
|
+
return t === "[object RegExp]" || t === "[object Date]" || ci(e);
|
|
1045
1082
|
}
|
|
1046
|
-
var
|
|
1047
|
-
function
|
|
1048
|
-
return e.$$typeof ===
|
|
1083
|
+
var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
|
|
1084
|
+
function ci(e) {
|
|
1085
|
+
return e.$$typeof === ui;
|
|
1049
1086
|
}
|
|
1050
|
-
function
|
|
1087
|
+
function hi(e) {
|
|
1051
1088
|
return Array.isArray(e) ? [] : {};
|
|
1052
1089
|
}
|
|
1053
|
-
function
|
|
1054
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1090
|
+
function Ze(e, t) {
|
|
1091
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(hi(e), e, t) : e;
|
|
1055
1092
|
}
|
|
1056
|
-
function
|
|
1093
|
+
function fi(e, t, r) {
|
|
1057
1094
|
return e.concat(t).map(function(n) {
|
|
1058
|
-
return
|
|
1095
|
+
return Ze(n, r);
|
|
1059
1096
|
});
|
|
1060
1097
|
}
|
|
1061
|
-
function
|
|
1098
|
+
function di(e, t) {
|
|
1062
1099
|
if (!t.customMerge)
|
|
1063
|
-
return
|
|
1100
|
+
return Ae;
|
|
1064
1101
|
var r = t.customMerge(e);
|
|
1065
|
-
return typeof r == "function" ? r :
|
|
1102
|
+
return typeof r == "function" ? r : Ae;
|
|
1066
1103
|
}
|
|
1067
|
-
function
|
|
1104
|
+
function mi(e) {
|
|
1068
1105
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1069
1106
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1070
1107
|
}) : [];
|
|
1071
1108
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return Object.keys(e).concat(
|
|
1109
|
+
function ar(e) {
|
|
1110
|
+
return Object.keys(e).concat(mi(e));
|
|
1074
1111
|
}
|
|
1075
|
-
function
|
|
1112
|
+
function Fr(e, t) {
|
|
1076
1113
|
try {
|
|
1077
1114
|
return t in e;
|
|
1078
|
-
} catch {
|
|
1115
|
+
} catch (r) {
|
|
1079
1116
|
return !1;
|
|
1080
1117
|
}
|
|
1081
1118
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return
|
|
1119
|
+
function pi(e, t) {
|
|
1120
|
+
return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1084
1121
|
}
|
|
1085
|
-
function
|
|
1122
|
+
function gi(e, t, r) {
|
|
1086
1123
|
var n = {};
|
|
1087
|
-
return r.isMergeableObject(e) &&
|
|
1088
|
-
n[i] =
|
|
1089
|
-
}),
|
|
1090
|
-
|
|
1124
|
+
return r.isMergeableObject(e) && ar(e).forEach(function(i) {
|
|
1125
|
+
n[i] = Ze(e[i], r);
|
|
1126
|
+
}), ar(t).forEach(function(i) {
|
|
1127
|
+
pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
|
|
1091
1128
|
}), n;
|
|
1092
1129
|
}
|
|
1093
|
-
function
|
|
1094
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1130
|
+
function Ae(e, t, r) {
|
|
1131
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = Ze;
|
|
1095
1132
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1096
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1133
|
+
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : Ze(t, r);
|
|
1097
1134
|
}
|
|
1098
|
-
|
|
1135
|
+
Ae.all = function(t, r) {
|
|
1099
1136
|
if (!Array.isArray(t))
|
|
1100
1137
|
throw new Error("first argument should be an array");
|
|
1101
1138
|
return t.reduce(function(n, i) {
|
|
1102
|
-
return
|
|
1139
|
+
return Ae(n, i, r);
|
|
1103
1140
|
}, {});
|
|
1104
1141
|
};
|
|
1105
|
-
var
|
|
1106
|
-
const
|
|
1107
|
-
function
|
|
1108
|
-
var r = t && t.cache ? t.cache :
|
|
1142
|
+
var bi = Ae, yi = bi;
|
|
1143
|
+
const vi = /* @__PURE__ */ ii(yi);
|
|
1144
|
+
function Et(e, t) {
|
|
1145
|
+
var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1109
1146
|
return i(e, {
|
|
1110
1147
|
cache: r,
|
|
1111
1148
|
serializer: n
|
|
1112
1149
|
});
|
|
1113
1150
|
}
|
|
1114
|
-
function
|
|
1151
|
+
function _i(e) {
|
|
1115
1152
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1116
1153
|
}
|
|
1117
|
-
function
|
|
1118
|
-
var i =
|
|
1119
|
-
return typeof o
|
|
1154
|
+
function Dr(e, t, r, n) {
|
|
1155
|
+
var i = _i(n) ? n : r(n), o = t.get(i);
|
|
1156
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1120
1157
|
}
|
|
1121
|
-
function
|
|
1158
|
+
function kr(e, t, r) {
|
|
1122
1159
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1123
|
-
return typeof o
|
|
1160
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1124
1161
|
}
|
|
1125
|
-
function
|
|
1162
|
+
function Gt(e, t, r, n, i) {
|
|
1126
1163
|
return r.bind(t, e, n, i);
|
|
1127
1164
|
}
|
|
1128
|
-
function
|
|
1129
|
-
var r = e.length === 1 ?
|
|
1130
|
-
return
|
|
1165
|
+
function Ei(e, t) {
|
|
1166
|
+
var r = e.length === 1 ? Dr : kr;
|
|
1167
|
+
return Gt(e, this, r, t.cache.create(), t.serializer);
|
|
1131
1168
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return
|
|
1169
|
+
function wi(e, t) {
|
|
1170
|
+
return Gt(e, this, kr, t.cache.create(), t.serializer);
|
|
1134
1171
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return
|
|
1172
|
+
function xi(e, t) {
|
|
1173
|
+
return Gt(e, this, Dr, t.cache.create(), t.serializer);
|
|
1137
1174
|
}
|
|
1138
|
-
var
|
|
1175
|
+
var Si = function() {
|
|
1139
1176
|
return JSON.stringify(arguments);
|
|
1140
|
-
},
|
|
1177
|
+
}, Pi = (
|
|
1141
1178
|
/** @class */
|
|
1142
1179
|
function() {
|
|
1143
1180
|
function e() {
|
|
@@ -1149,13 +1186,13 @@ var hi = function() {
|
|
|
1149
1186
|
this.cache[t] = r;
|
|
1150
1187
|
}, e;
|
|
1151
1188
|
}()
|
|
1152
|
-
),
|
|
1189
|
+
), Ti = {
|
|
1153
1190
|
create: function() {
|
|
1154
|
-
return new
|
|
1191
|
+
return new Pi();
|
|
1155
1192
|
}
|
|
1156
|
-
},
|
|
1157
|
-
variadic:
|
|
1158
|
-
monadic:
|
|
1193
|
+
}, wt = {
|
|
1194
|
+
variadic: wi,
|
|
1195
|
+
monadic: xi
|
|
1159
1196
|
}, _;
|
|
1160
1197
|
(function(e) {
|
|
1161
1198
|
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";
|
|
@@ -1164,47 +1201,47 @@ var T;
|
|
|
1164
1201
|
(function(e) {
|
|
1165
1202
|
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";
|
|
1166
1203
|
})(T || (T = {}));
|
|
1167
|
-
var
|
|
1204
|
+
var Ie;
|
|
1168
1205
|
(function(e) {
|
|
1169
1206
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1170
|
-
})(
|
|
1171
|
-
function
|
|
1207
|
+
})(Ie || (Ie = {}));
|
|
1208
|
+
function lr(e) {
|
|
1172
1209
|
return e.type === T.literal;
|
|
1173
1210
|
}
|
|
1174
|
-
function
|
|
1211
|
+
function Hi(e) {
|
|
1175
1212
|
return e.type === T.argument;
|
|
1176
1213
|
}
|
|
1177
|
-
function
|
|
1214
|
+
function $r(e) {
|
|
1178
1215
|
return e.type === T.number;
|
|
1179
1216
|
}
|
|
1180
|
-
function
|
|
1217
|
+
function Gr(e) {
|
|
1181
1218
|
return e.type === T.date;
|
|
1182
1219
|
}
|
|
1183
|
-
function
|
|
1220
|
+
function jr(e) {
|
|
1184
1221
|
return e.type === T.time;
|
|
1185
1222
|
}
|
|
1186
|
-
function
|
|
1223
|
+
function Vr(e) {
|
|
1187
1224
|
return e.type === T.select;
|
|
1188
1225
|
}
|
|
1189
|
-
function
|
|
1226
|
+
function zr(e) {
|
|
1190
1227
|
return e.type === T.plural;
|
|
1191
1228
|
}
|
|
1192
|
-
function
|
|
1229
|
+
function Bi(e) {
|
|
1193
1230
|
return e.type === T.pound;
|
|
1194
1231
|
}
|
|
1195
|
-
function
|
|
1232
|
+
function Xr(e) {
|
|
1196
1233
|
return e.type === T.tag;
|
|
1197
1234
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1235
|
+
function Wr(e) {
|
|
1236
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1200
1237
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1238
|
+
function Lt(e) {
|
|
1239
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1203
1240
|
}
|
|
1204
|
-
var
|
|
1205
|
-
function
|
|
1241
|
+
var Zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ai = /(?:[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;
|
|
1242
|
+
function Ii(e) {
|
|
1206
1243
|
var t = {};
|
|
1207
|
-
return e.replace(
|
|
1244
|
+
return e.replace(Ai, function(r) {
|
|
1208
1245
|
var n = r.length;
|
|
1209
1246
|
switch (r[0]) {
|
|
1210
1247
|
case "G":
|
|
@@ -1293,36 +1330,36 @@ function bi(e) {
|
|
|
1293
1330
|
return "";
|
|
1294
1331
|
}), t;
|
|
1295
1332
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1333
|
+
var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1334
|
+
function Oi(e) {
|
|
1298
1335
|
if (e.length === 0)
|
|
1299
1336
|
throw new Error("Number skeleton cannot be empty");
|
|
1300
|
-
for (var t = e.split(
|
|
1337
|
+
for (var t = e.split(Ci).filter(function(d) {
|
|
1301
1338
|
return d.length > 0;
|
|
1302
1339
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1303
1340
|
var o = i[n], s = o.split("/");
|
|
1304
1341
|
if (s.length === 0)
|
|
1305
1342
|
throw new Error("Invalid number skeleton");
|
|
1306
|
-
for (var a = s[0],
|
|
1307
|
-
var f =
|
|
1343
|
+
for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
1344
|
+
var f = c[l];
|
|
1308
1345
|
if (f.length === 0)
|
|
1309
1346
|
throw new Error("Invalid number skeleton");
|
|
1310
1347
|
}
|
|
1311
|
-
r.push({ stem: a, options:
|
|
1348
|
+
r.push({ stem: a, options: u });
|
|
1312
1349
|
}
|
|
1313
1350
|
return r;
|
|
1314
1351
|
}
|
|
1315
|
-
function
|
|
1352
|
+
function Li(e) {
|
|
1316
1353
|
return e.replace(/^(.*?)-/, "");
|
|
1317
1354
|
}
|
|
1318
|
-
var
|
|
1319
|
-
function
|
|
1355
|
+
var ur = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Jr = /^(0+)$/;
|
|
1356
|
+
function cr(e) {
|
|
1320
1357
|
var t = {};
|
|
1321
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1358
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
|
|
1322
1359
|
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)), "";
|
|
1323
1360
|
}), t;
|
|
1324
1361
|
}
|
|
1325
|
-
function
|
|
1362
|
+
function Qr(e) {
|
|
1326
1363
|
switch (e) {
|
|
1327
1364
|
case "sign-auto":
|
|
1328
1365
|
return {
|
|
@@ -1362,7 +1399,7 @@ function Vr(e) {
|
|
|
1362
1399
|
};
|
|
1363
1400
|
}
|
|
1364
1401
|
}
|
|
1365
|
-
function
|
|
1402
|
+
function Ni(e) {
|
|
1366
1403
|
var t;
|
|
1367
1404
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1368
1405
|
notation: "engineering"
|
|
@@ -1370,17 +1407,17 @@ function wi(e) {
|
|
|
1370
1407
|
notation: "scientific"
|
|
1371
1408
|
}, e = e.slice(1)), t) {
|
|
1372
1409
|
var r = e.slice(0, 2);
|
|
1373
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1410
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jr.test(e))
|
|
1374
1411
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1375
1412
|
t.minimumIntegerDigits = e.length;
|
|
1376
1413
|
}
|
|
1377
1414
|
return t;
|
|
1378
1415
|
}
|
|
1379
|
-
function
|
|
1380
|
-
var t = {}, r =
|
|
1416
|
+
function hr(e) {
|
|
1417
|
+
var t = {}, r = Qr(e);
|
|
1381
1418
|
return r || t;
|
|
1382
1419
|
}
|
|
1383
|
-
function
|
|
1420
|
+
function Ri(e) {
|
|
1384
1421
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1385
1422
|
var i = n[r];
|
|
1386
1423
|
switch (i.stem) {
|
|
@@ -1404,7 +1441,7 @@ function xi(e) {
|
|
|
1404
1441
|
continue;
|
|
1405
1442
|
case "measure-unit":
|
|
1406
1443
|
case "unit":
|
|
1407
|
-
t.style = "unit", t.unit =
|
|
1444
|
+
t.style = "unit", t.unit = Li(i.options[0]);
|
|
1408
1445
|
continue;
|
|
1409
1446
|
case "compact-short":
|
|
1410
1447
|
case "K":
|
|
@@ -1415,13 +1452,13 @@ function xi(e) {
|
|
|
1415
1452
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1416
1453
|
continue;
|
|
1417
1454
|
case "scientific":
|
|
1418
|
-
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1419
|
-
return w(w({},
|
|
1455
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1456
|
+
return w(w({}, u), hr(l));
|
|
1420
1457
|
}, {}));
|
|
1421
1458
|
continue;
|
|
1422
1459
|
case "engineering":
|
|
1423
|
-
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1424
|
-
return w(w({},
|
|
1460
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1461
|
+
return w(w({}, u), hr(l));
|
|
1425
1462
|
}, {}));
|
|
1426
1463
|
continue;
|
|
1427
1464
|
case "notation-simple":
|
|
@@ -1466,9 +1503,9 @@ function xi(e) {
|
|
|
1466
1503
|
case "integer-width":
|
|
1467
1504
|
if (i.options.length > 1)
|
|
1468
1505
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1469
|
-
i.options[0].replace(
|
|
1506
|
+
i.options[0].replace(Mi, function(u, l, c, f, d, b) {
|
|
1470
1507
|
if (l)
|
|
1471
|
-
t.minimumIntegerDigits =
|
|
1508
|
+
t.minimumIntegerDigits = c.length;
|
|
1472
1509
|
else {
|
|
1473
1510
|
if (f && d)
|
|
1474
1511
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1479,27 +1516,27 @@ function xi(e) {
|
|
|
1479
1516
|
});
|
|
1480
1517
|
continue;
|
|
1481
1518
|
}
|
|
1482
|
-
if (
|
|
1519
|
+
if (Jr.test(i.stem)) {
|
|
1483
1520
|
t.minimumIntegerDigits = i.stem.length;
|
|
1484
1521
|
continue;
|
|
1485
1522
|
}
|
|
1486
|
-
if (
|
|
1523
|
+
if (ur.test(i.stem)) {
|
|
1487
1524
|
if (i.options.length > 1)
|
|
1488
1525
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1489
|
-
i.stem.replace(
|
|
1490
|
-
return
|
|
1526
|
+
i.stem.replace(ur, function(u, l, c, f, d, b) {
|
|
1527
|
+
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), "";
|
|
1491
1528
|
});
|
|
1492
1529
|
var o = i.options[0];
|
|
1493
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1530
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), cr(o)));
|
|
1494
1531
|
continue;
|
|
1495
1532
|
}
|
|
1496
|
-
if (
|
|
1497
|
-
t = w(w({}, t),
|
|
1533
|
+
if (qr.test(i.stem)) {
|
|
1534
|
+
t = w(w({}, t), cr(i.stem));
|
|
1498
1535
|
continue;
|
|
1499
1536
|
}
|
|
1500
|
-
var s =
|
|
1537
|
+
var s = Qr(i.stem);
|
|
1501
1538
|
s && (t = w(w({}, t), s));
|
|
1502
|
-
var a =
|
|
1539
|
+
var a = Ni(i.stem);
|
|
1503
1540
|
a && (t = w(w({}, t), a));
|
|
1504
1541
|
}
|
|
1505
1542
|
return t;
|
|
@@ -2919,22 +2956,22 @@ var it = {
|
|
|
2919
2956
|
"h"
|
|
2920
2957
|
]
|
|
2921
2958
|
};
|
|
2922
|
-
function
|
|
2959
|
+
function Ui(e, t) {
|
|
2923
2960
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2924
2961
|
var i = e.charAt(n);
|
|
2925
2962
|
if (i === "j") {
|
|
2926
2963
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2927
2964
|
o++, n++;
|
|
2928
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
|
2965
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Fi(t);
|
|
2929
2966
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2930
|
-
r +=
|
|
2967
|
+
r += u;
|
|
2931
2968
|
for (; s-- > 0; )
|
|
2932
2969
|
r = l + r;
|
|
2933
2970
|
} else i === "J" ? r += "H" : r += i;
|
|
2934
2971
|
}
|
|
2935
2972
|
return r;
|
|
2936
2973
|
}
|
|
2937
|
-
function
|
|
2974
|
+
function Fi(e) {
|
|
2938
2975
|
var t = e.hourCycle;
|
|
2939
2976
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2940
2977
|
e.hourCycles && // @ts-ignore
|
|
@@ -2956,20 +2993,20 @@ function Pi(e) {
|
|
|
2956
2993
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2957
2994
|
return i[0];
|
|
2958
2995
|
}
|
|
2959
|
-
var
|
|
2996
|
+
var xt, Di = new RegExp("^".concat(Zr.source, "*")), ki = new RegExp("".concat(Zr.source, "*$"));
|
|
2960
2997
|
function E(e, t) {
|
|
2961
2998
|
return { start: e, end: t };
|
|
2962
2999
|
}
|
|
2963
|
-
var
|
|
3000
|
+
var $i = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, ji = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, Wi = !!Number.isSafeInteger, Zi = Wi ? Number.isSafeInteger : function(e) {
|
|
2964
3001
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2965
|
-
},
|
|
3002
|
+
}, Mt = !0;
|
|
2966
3003
|
try {
|
|
2967
|
-
var
|
|
2968
|
-
|
|
2969
|
-
} catch {
|
|
2970
|
-
|
|
3004
|
+
var qi = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3005
|
+
Mt = ((xt = qi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
|
|
3006
|
+
} catch (e) {
|
|
3007
|
+
Mt = !1;
|
|
2971
3008
|
}
|
|
2972
|
-
var
|
|
3009
|
+
var fr = $i ? (
|
|
2973
3010
|
// Native
|
|
2974
3011
|
function(t, r, n) {
|
|
2975
3012
|
return t.startsWith(r, n);
|
|
@@ -2979,7 +3016,7 @@ var or = Bi ? (
|
|
|
2979
3016
|
function(t, r, n) {
|
|
2980
3017
|
return t.slice(n, n + r.length) === r;
|
|
2981
3018
|
}
|
|
2982
|
-
),
|
|
3019
|
+
), Nt = Gi ? String.fromCodePoint : (
|
|
2983
3020
|
// IE11
|
|
2984
3021
|
function() {
|
|
2985
3022
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2991,9 +3028,9 @@ var or = Bi ? (
|
|
|
2991
3028
|
}
|
|
2992
3029
|
return n;
|
|
2993
3030
|
}
|
|
2994
|
-
),
|
|
3031
|
+
), dr = (
|
|
2995
3032
|
// native
|
|
2996
|
-
|
|
3033
|
+
ji ? Object.fromEntries : (
|
|
2997
3034
|
// Ponyfill
|
|
2998
3035
|
function(t) {
|
|
2999
3036
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3003,7 +3040,7 @@ var or = Bi ? (
|
|
|
3003
3040
|
return r;
|
|
3004
3041
|
}
|
|
3005
3042
|
)
|
|
3006
|
-
),
|
|
3043
|
+
), Yr = Vi ? (
|
|
3007
3044
|
// Native
|
|
3008
3045
|
function(t, r) {
|
|
3009
3046
|
return t.codePointAt(r);
|
|
@@ -3017,7 +3054,7 @@ var or = Bi ? (
|
|
|
3017
3054
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3018
3055
|
}
|
|
3019
3056
|
}
|
|
3020
|
-
),
|
|
3057
|
+
), Ji = zi ? (
|
|
3021
3058
|
// Native
|
|
3022
3059
|
function(t) {
|
|
3023
3060
|
return t.trimStart();
|
|
@@ -3025,9 +3062,9 @@ var or = Bi ? (
|
|
|
3025
3062
|
) : (
|
|
3026
3063
|
// Ponyfill
|
|
3027
3064
|
function(t) {
|
|
3028
|
-
return t.replace(
|
|
3065
|
+
return t.replace(Di, "");
|
|
3029
3066
|
}
|
|
3030
|
-
),
|
|
3067
|
+
), Qi = Xi ? (
|
|
3031
3068
|
// Native
|
|
3032
3069
|
function(t) {
|
|
3033
3070
|
return t.trimEnd();
|
|
@@ -3035,32 +3072,32 @@ var or = Bi ? (
|
|
|
3035
3072
|
) : (
|
|
3036
3073
|
// Ponyfill
|
|
3037
3074
|
function(t) {
|
|
3038
|
-
return t.replace(
|
|
3075
|
+
return t.replace(ki, "");
|
|
3039
3076
|
}
|
|
3040
3077
|
);
|
|
3041
|
-
function
|
|
3078
|
+
function Kr(e, t) {
|
|
3042
3079
|
return new RegExp(e, t);
|
|
3043
3080
|
}
|
|
3044
|
-
var
|
|
3045
|
-
if (
|
|
3046
|
-
var
|
|
3047
|
-
|
|
3081
|
+
var Rt;
|
|
3082
|
+
if (Mt) {
|
|
3083
|
+
var mr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3084
|
+
Rt = function(t, r) {
|
|
3048
3085
|
var n;
|
|
3049
|
-
|
|
3050
|
-
var i =
|
|
3086
|
+
mr.lastIndex = r;
|
|
3087
|
+
var i = mr.exec(t);
|
|
3051
3088
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3052
3089
|
};
|
|
3053
3090
|
} else
|
|
3054
|
-
|
|
3091
|
+
Rt = function(t, r) {
|
|
3055
3092
|
for (var n = []; ; ) {
|
|
3056
|
-
var i =
|
|
3057
|
-
if (i === void 0 ||
|
|
3093
|
+
var i = Yr(t, r);
|
|
3094
|
+
if (i === void 0 || en(i) || to(i))
|
|
3058
3095
|
break;
|
|
3059
3096
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3060
3097
|
}
|
|
3061
|
-
return
|
|
3098
|
+
return Nt.apply(void 0, n);
|
|
3062
3099
|
};
|
|
3063
|
-
var
|
|
3100
|
+
var Yi = (
|
|
3064
3101
|
/** @class */
|
|
3065
3102
|
function() {
|
|
3066
3103
|
function e(t, r) {
|
|
@@ -3091,7 +3128,7 @@ var Di = (
|
|
|
3091
3128
|
if (n)
|
|
3092
3129
|
break;
|
|
3093
3130
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3094
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3131
|
+
} else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
|
|
3095
3132
|
var s = this.parseTag(t, r);
|
|
3096
3133
|
if (s.err)
|
|
3097
3134
|
return s;
|
|
@@ -3124,10 +3161,10 @@ var Di = (
|
|
|
3124
3161
|
return o;
|
|
3125
3162
|
var s = o.val, a = this.clonePosition();
|
|
3126
3163
|
if (this.bumpIf("</")) {
|
|
3127
|
-
if (this.isEOF() || !
|
|
3164
|
+
if (this.isEOF() || !Ut(this.char()))
|
|
3128
3165
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3129
|
-
var
|
|
3130
|
-
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(
|
|
3166
|
+
var u = this.clonePosition(), l = this.parseTagName();
|
|
3167
|
+
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3131
3168
|
val: {
|
|
3132
3169
|
type: T.tag,
|
|
3133
3170
|
value: i,
|
|
@@ -3142,7 +3179,7 @@ var Di = (
|
|
|
3142
3179
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3143
3180
|
}, e.prototype.parseTagName = function() {
|
|
3144
3181
|
var t = this.offset();
|
|
3145
|
-
for (this.bump(); !this.isEOF() &&
|
|
3182
|
+
for (this.bump(); !this.isEOF() && eo(this.char()); )
|
|
3146
3183
|
this.bump();
|
|
3147
3184
|
return this.message.slice(t, this.offset());
|
|
3148
3185
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3164,14 +3201,14 @@ var Di = (
|
|
|
3164
3201
|
}
|
|
3165
3202
|
break;
|
|
3166
3203
|
}
|
|
3167
|
-
var
|
|
3204
|
+
var u = E(n, this.clonePosition());
|
|
3168
3205
|
return {
|
|
3169
|
-
val: { type: T.literal, value: i, location:
|
|
3206
|
+
val: { type: T.literal, value: i, location: u },
|
|
3170
3207
|
err: null
|
|
3171
3208
|
};
|
|
3172
3209
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3173
3210
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3174
|
-
!
|
|
3211
|
+
!Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3175
3212
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3176
3213
|
if (this.isEOF() || this.char() !== 39)
|
|
3177
3214
|
return null;
|
|
@@ -3205,12 +3242,12 @@ var Di = (
|
|
|
3205
3242
|
r.push(n);
|
|
3206
3243
|
this.bump();
|
|
3207
3244
|
}
|
|
3208
|
-
return
|
|
3245
|
+
return Nt.apply(void 0, r);
|
|
3209
3246
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3210
3247
|
if (this.isEOF())
|
|
3211
3248
|
return null;
|
|
3212
3249
|
var n = this.char();
|
|
3213
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3250
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
|
|
3214
3251
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3215
3252
|
var n = this.clonePosition();
|
|
3216
3253
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3239,15 +3276,15 @@ var Di = (
|
|
|
3239
3276
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3240
3277
|
}
|
|
3241
3278
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3242
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3279
|
+
var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), i = r + n.length;
|
|
3243
3280
|
this.bumpTo(i);
|
|
3244
3281
|
var o = this.clonePosition(), s = E(t, o);
|
|
3245
3282
|
return { value: n, location: s };
|
|
3246
3283
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3247
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
|
3284
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3248
3285
|
switch (a) {
|
|
3249
3286
|
case "":
|
|
3250
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s,
|
|
3287
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, u));
|
|
3251
3288
|
case "number":
|
|
3252
3289
|
case "date":
|
|
3253
3290
|
case "time": {
|
|
@@ -3255,21 +3292,21 @@ var Di = (
|
|
|
3255
3292
|
var l = null;
|
|
3256
3293
|
if (this.bumpIf(",")) {
|
|
3257
3294
|
this.bumpSpace();
|
|
3258
|
-
var
|
|
3295
|
+
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3259
3296
|
if (f.err)
|
|
3260
3297
|
return f;
|
|
3261
|
-
var d =
|
|
3298
|
+
var d = Qi(f.val);
|
|
3262
3299
|
if (d.length === 0)
|
|
3263
3300
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3264
|
-
var b = E(
|
|
3301
|
+
var b = E(c, this.clonePosition());
|
|
3265
3302
|
l = { style: d, styleLocation: b };
|
|
3266
3303
|
}
|
|
3267
3304
|
var v = this.tryParseArgumentClose(i);
|
|
3268
3305
|
if (v.err)
|
|
3269
3306
|
return v;
|
|
3270
3307
|
var g = E(i, this.clonePosition());
|
|
3271
|
-
if (l &&
|
|
3272
|
-
var x =
|
|
3308
|
+
if (l && fr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3309
|
+
var x = Ji(l.style.slice(2));
|
|
3273
3310
|
if (a === "number") {
|
|
3274
3311
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3275
3312
|
return f.err ? f : {
|
|
@@ -3280,12 +3317,12 @@ var Di = (
|
|
|
3280
3317
|
if (x.length === 0)
|
|
3281
3318
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3282
3319
|
var M = x;
|
|
3283
|
-
this.locale && (M =
|
|
3320
|
+
this.locale && (M = Ui(x, this.locale));
|
|
3284
3321
|
var d = {
|
|
3285
|
-
type:
|
|
3322
|
+
type: Ie.dateTime,
|
|
3286
3323
|
pattern: M,
|
|
3287
3324
|
location: l.styleLocation,
|
|
3288
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3325
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(M) : {}
|
|
3289
3326
|
}, q = a === "date" ? T.date : T.time;
|
|
3290
3327
|
return {
|
|
3291
3328
|
val: { type: q, value: n, location: g, style: d },
|
|
@@ -3298,7 +3335,7 @@ var Di = (
|
|
|
3298
3335
|
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3299
3336
|
value: n,
|
|
3300
3337
|
location: g,
|
|
3301
|
-
style: (o = l
|
|
3338
|
+
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
3302
3339
|
},
|
|
3303
3340
|
err: null
|
|
3304
3341
|
};
|
|
@@ -3331,7 +3368,7 @@ var Di = (
|
|
|
3331
3368
|
val: {
|
|
3332
3369
|
type: T.select,
|
|
3333
3370
|
value: n,
|
|
3334
|
-
options:
|
|
3371
|
+
options: dr(J.val),
|
|
3335
3372
|
location: B
|
|
3336
3373
|
},
|
|
3337
3374
|
err: null
|
|
@@ -3339,7 +3376,7 @@ var Di = (
|
|
|
3339
3376
|
val: {
|
|
3340
3377
|
type: T.plural,
|
|
3341
3378
|
value: n,
|
|
3342
|
-
options:
|
|
3379
|
+
options: dr(J.val),
|
|
3343
3380
|
offset: G,
|
|
3344
3381
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3345
3382
|
location: B
|
|
@@ -3348,7 +3385,7 @@ var Di = (
|
|
|
3348
3385
|
};
|
|
3349
3386
|
}
|
|
3350
3387
|
default:
|
|
3351
|
-
return this.error(_.INVALID_ARGUMENT_TYPE, E(s,
|
|
3388
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(s, u));
|
|
3352
3389
|
}
|
|
3353
3390
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3354
3391
|
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3390,33 +3427,33 @@ var Di = (
|
|
|
3390
3427
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3391
3428
|
var n = [];
|
|
3392
3429
|
try {
|
|
3393
|
-
n =
|
|
3394
|
-
} catch {
|
|
3430
|
+
n = Oi(t);
|
|
3431
|
+
} catch (i) {
|
|
3395
3432
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3396
3433
|
}
|
|
3397
3434
|
return {
|
|
3398
3435
|
val: {
|
|
3399
|
-
type:
|
|
3436
|
+
type: Ie.number,
|
|
3400
3437
|
tokens: n,
|
|
3401
3438
|
location: r,
|
|
3402
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3439
|
+
parsedOptions: this.shouldParseSkeletons ? Ri(n) : {}
|
|
3403
3440
|
},
|
|
3404
3441
|
err: null
|
|
3405
3442
|
};
|
|
3406
3443
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3407
|
-
for (var o, s = !1, a = [],
|
|
3444
|
+
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
|
3408
3445
|
if (l.length === 0) {
|
|
3409
3446
|
var f = this.clonePosition();
|
|
3410
3447
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3411
3448
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3412
3449
|
if (d.err)
|
|
3413
3450
|
return d;
|
|
3414
|
-
|
|
3451
|
+
c = E(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3415
3452
|
} else
|
|
3416
3453
|
break;
|
|
3417
3454
|
}
|
|
3418
|
-
if (
|
|
3419
|
-
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3455
|
+
if (u.has(l))
|
|
3456
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3420
3457
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3421
3458
|
var b = this.clonePosition();
|
|
3422
3459
|
if (!this.bumpIf("{"))
|
|
@@ -3433,7 +3470,7 @@ var Di = (
|
|
|
3433
3470
|
value: v.val,
|
|
3434
3471
|
location: E(b, this.clonePosition())
|
|
3435
3472
|
}
|
|
3436
|
-
]),
|
|
3473
|
+
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
3437
3474
|
}
|
|
3438
3475
|
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3439
3476
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3446,8 +3483,8 @@ var Di = (
|
|
|
3446
3483
|
else
|
|
3447
3484
|
break;
|
|
3448
3485
|
}
|
|
3449
|
-
var
|
|
3450
|
-
return o ? (s *= n,
|
|
3486
|
+
var u = E(i, this.clonePosition());
|
|
3487
|
+
return o ? (s *= n, Zi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3451
3488
|
}, e.prototype.offset = function() {
|
|
3452
3489
|
return this.position.offset;
|
|
3453
3490
|
}, e.prototype.isEOF = function() {
|
|
@@ -3462,7 +3499,7 @@ var Di = (
|
|
|
3462
3499
|
var t = this.position.offset;
|
|
3463
3500
|
if (t >= this.message.length)
|
|
3464
3501
|
throw Error("out of bound");
|
|
3465
|
-
var r =
|
|
3502
|
+
var r = Yr(this.message, t);
|
|
3466
3503
|
if (r === void 0)
|
|
3467
3504
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3468
3505
|
return r;
|
|
@@ -3481,7 +3518,7 @@ var Di = (
|
|
|
3481
3518
|
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);
|
|
3482
3519
|
}
|
|
3483
3520
|
}, e.prototype.bumpIf = function(t) {
|
|
3484
|
-
if (
|
|
3521
|
+
if (fr(this.message, t, this.offset())) {
|
|
3485
3522
|
for (var r = 0; r < t.length; r++)
|
|
3486
3523
|
this.bump();
|
|
3487
3524
|
return !0;
|
|
@@ -3503,56 +3540,56 @@ var Di = (
|
|
|
3503
3540
|
break;
|
|
3504
3541
|
}
|
|
3505
3542
|
}, e.prototype.bumpSpace = function() {
|
|
3506
|
-
for (; !this.isEOF() &&
|
|
3543
|
+
for (; !this.isEOF() && en(this.char()); )
|
|
3507
3544
|
this.bump();
|
|
3508
3545
|
}, e.prototype.peek = function() {
|
|
3509
3546
|
if (this.isEOF())
|
|
3510
3547
|
return null;
|
|
3511
3548
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3512
|
-
return n
|
|
3549
|
+
return n != null ? n : null;
|
|
3513
3550
|
}, e;
|
|
3514
3551
|
}()
|
|
3515
3552
|
);
|
|
3516
|
-
function
|
|
3553
|
+
function Ut(e) {
|
|
3517
3554
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3518
3555
|
}
|
|
3519
|
-
function
|
|
3520
|
-
return
|
|
3556
|
+
function Ki(e) {
|
|
3557
|
+
return Ut(e) || e === 47;
|
|
3521
3558
|
}
|
|
3522
|
-
function
|
|
3559
|
+
function eo(e) {
|
|
3523
3560
|
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;
|
|
3524
3561
|
}
|
|
3525
|
-
function
|
|
3562
|
+
function en(e) {
|
|
3526
3563
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3527
3564
|
}
|
|
3528
|
-
function
|
|
3565
|
+
function to(e) {
|
|
3529
3566
|
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;
|
|
3530
3567
|
}
|
|
3531
|
-
function
|
|
3568
|
+
function Ft(e) {
|
|
3532
3569
|
e.forEach(function(t) {
|
|
3533
|
-
if (delete t.location,
|
|
3570
|
+
if (delete t.location, Vr(t) || zr(t))
|
|
3534
3571
|
for (var r in t.options)
|
|
3535
|
-
delete t.options[r].location,
|
|
3536
|
-
else
|
|
3572
|
+
delete t.options[r].location, Ft(t.options[r].value);
|
|
3573
|
+
else $r(t) && Wr(t.style) || (Gr(t) || jr(t)) && Lt(t.style) ? delete t.style.location : Xr(t) && Ft(t.children);
|
|
3537
3574
|
});
|
|
3538
3575
|
}
|
|
3539
|
-
function
|
|
3576
|
+
function ro(e, t) {
|
|
3540
3577
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3541
|
-
var r = new
|
|
3578
|
+
var r = new Yi(e, t).parse();
|
|
3542
3579
|
if (r.err) {
|
|
3543
3580
|
var n = SyntaxError(_[r.err.kind]);
|
|
3544
3581
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3545
3582
|
}
|
|
3546
|
-
return t
|
|
3583
|
+
return t != null && t.captureLocation || Ft(r.val), r.val;
|
|
3547
3584
|
}
|
|
3548
|
-
var
|
|
3585
|
+
var Ce;
|
|
3549
3586
|
(function(e) {
|
|
3550
3587
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3551
|
-
})(
|
|
3588
|
+
})(Ce || (Ce = {}));
|
|
3552
3589
|
var mt = (
|
|
3553
3590
|
/** @class */
|
|
3554
3591
|
function(e) {
|
|
3555
|
-
|
|
3592
|
+
ue(t, e);
|
|
3556
3593
|
function t(r, n, i) {
|
|
3557
3594
|
var o = e.call(this, r) || this;
|
|
3558
3595
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3561,30 +3598,30 @@ var mt = (
|
|
|
3561
3598
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3562
3599
|
}, t;
|
|
3563
3600
|
}(Error)
|
|
3564
|
-
),
|
|
3601
|
+
), pr = (
|
|
3565
3602
|
/** @class */
|
|
3566
3603
|
function(e) {
|
|
3567
|
-
|
|
3604
|
+
ue(t, e);
|
|
3568
3605
|
function t(r, n, i, o) {
|
|
3569
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3606
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
|
|
3570
3607
|
}
|
|
3571
3608
|
return t;
|
|
3572
3609
|
}(mt)
|
|
3573
|
-
),
|
|
3610
|
+
), no = (
|
|
3574
3611
|
/** @class */
|
|
3575
3612
|
function(e) {
|
|
3576
|
-
|
|
3613
|
+
ue(t, e);
|
|
3577
3614
|
function t(r, n, i) {
|
|
3578
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3615
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
|
|
3579
3616
|
}
|
|
3580
3617
|
return t;
|
|
3581
3618
|
}(mt)
|
|
3582
|
-
),
|
|
3619
|
+
), io = (
|
|
3583
3620
|
/** @class */
|
|
3584
3621
|
function(e) {
|
|
3585
|
-
|
|
3622
|
+
ue(t, e);
|
|
3586
3623
|
function t(r, n) {
|
|
3587
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3624
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
|
|
3588
3625
|
}
|
|
3589
3626
|
return t;
|
|
3590
3627
|
}(mt)
|
|
@@ -3592,78 +3629,78 @@ var mt = (
|
|
|
3592
3629
|
(function(e) {
|
|
3593
3630
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3594
3631
|
})(X || (X = {}));
|
|
3595
|
-
function
|
|
3632
|
+
function oo(e) {
|
|
3596
3633
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3597
3634
|
var n = t[t.length - 1];
|
|
3598
3635
|
return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
|
|
3599
3636
|
}, []);
|
|
3600
3637
|
}
|
|
3601
|
-
function
|
|
3638
|
+
function so(e) {
|
|
3602
3639
|
return typeof e == "function";
|
|
3603
3640
|
}
|
|
3604
3641
|
function at(e, t, r, n, i, o, s) {
|
|
3605
|
-
if (e.length === 1 &&
|
|
3642
|
+
if (e.length === 1 && lr(e[0]))
|
|
3606
3643
|
return [
|
|
3607
3644
|
{
|
|
3608
3645
|
type: X.literal,
|
|
3609
3646
|
value: e[0].value
|
|
3610
3647
|
}
|
|
3611
3648
|
];
|
|
3612
|
-
for (var a = [],
|
|
3613
|
-
var
|
|
3614
|
-
if (
|
|
3649
|
+
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3650
|
+
var c = l[u];
|
|
3651
|
+
if (lr(c)) {
|
|
3615
3652
|
a.push({
|
|
3616
3653
|
type: X.literal,
|
|
3617
|
-
value:
|
|
3654
|
+
value: c.value
|
|
3618
3655
|
});
|
|
3619
3656
|
continue;
|
|
3620
3657
|
}
|
|
3621
|
-
if (
|
|
3658
|
+
if (Bi(c)) {
|
|
3622
3659
|
typeof o == "number" && a.push({
|
|
3623
3660
|
type: X.literal,
|
|
3624
3661
|
value: r.getNumberFormat(t).format(o)
|
|
3625
3662
|
});
|
|
3626
3663
|
continue;
|
|
3627
3664
|
}
|
|
3628
|
-
var f =
|
|
3665
|
+
var f = c.value;
|
|
3629
3666
|
if (!(i && f in i))
|
|
3630
|
-
throw new
|
|
3667
|
+
throw new io(f, s);
|
|
3631
3668
|
var d = i[f];
|
|
3632
|
-
if (
|
|
3669
|
+
if (Hi(c)) {
|
|
3633
3670
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3634
3671
|
type: typeof d == "string" ? X.literal : X.object,
|
|
3635
3672
|
value: d
|
|
3636
3673
|
});
|
|
3637
3674
|
continue;
|
|
3638
3675
|
}
|
|
3639
|
-
if (
|
|
3640
|
-
var b = typeof
|
|
3676
|
+
if (Gr(c)) {
|
|
3677
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
|
|
3641
3678
|
a.push({
|
|
3642
3679
|
type: X.literal,
|
|
3643
3680
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3644
3681
|
});
|
|
3645
3682
|
continue;
|
|
3646
3683
|
}
|
|
3647
|
-
if (
|
|
3648
|
-
var b = typeof
|
|
3684
|
+
if (jr(c)) {
|
|
3685
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3649
3686
|
a.push({
|
|
3650
3687
|
type: X.literal,
|
|
3651
3688
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3652
3689
|
});
|
|
3653
3690
|
continue;
|
|
3654
3691
|
}
|
|
3655
|
-
if (
|
|
3656
|
-
var b = typeof
|
|
3692
|
+
if ($r(c)) {
|
|
3693
|
+
var b = typeof c.style == "string" ? n.number[c.style] : Wr(c.style) ? c.style.parsedOptions : void 0;
|
|
3657
3694
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3658
3695
|
type: X.literal,
|
|
3659
3696
|
value: r.getNumberFormat(t, b).format(d)
|
|
3660
3697
|
});
|
|
3661
3698
|
continue;
|
|
3662
3699
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
var v =
|
|
3665
|
-
if (!
|
|
3666
|
-
throw new
|
|
3700
|
+
if (Xr(c)) {
|
|
3701
|
+
var v = c.children, g = c.value, x = i[g];
|
|
3702
|
+
if (!so(x))
|
|
3703
|
+
throw new no(g, "function", s);
|
|
3667
3704
|
var M = at(v, t, r, n, i, o), q = x(M.map(function(G) {
|
|
3668
3705
|
return G.value;
|
|
3669
3706
|
}));
|
|
@@ -3674,42 +3711,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3674
3711
|
};
|
|
3675
3712
|
}));
|
|
3676
3713
|
}
|
|
3677
|
-
if (
|
|
3678
|
-
var H =
|
|
3714
|
+
if (Vr(c)) {
|
|
3715
|
+
var H = c.options[d] || c.options.other;
|
|
3679
3716
|
if (!H)
|
|
3680
|
-
throw new
|
|
3717
|
+
throw new pr(c.value, d, Object.keys(c.options), s);
|
|
3681
3718
|
a.push.apply(a, at(H.value, t, r, n, i));
|
|
3682
3719
|
continue;
|
|
3683
3720
|
}
|
|
3684
|
-
if (
|
|
3685
|
-
var H =
|
|
3721
|
+
if (zr(c)) {
|
|
3722
|
+
var H = c.options["=".concat(d)];
|
|
3686
3723
|
if (!H) {
|
|
3687
3724
|
if (!Intl.PluralRules)
|
|
3688
3725
|
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3689
3726
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3690
|
-
`,
|
|
3691
|
-
var R = r.getPluralRules(t, { type:
|
|
3692
|
-
H =
|
|
3727
|
+
`, Ce.MISSING_INTL_API, s);
|
|
3728
|
+
var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3729
|
+
H = c.options[R] || c.options.other;
|
|
3693
3730
|
}
|
|
3694
3731
|
if (!H)
|
|
3695
|
-
throw new
|
|
3696
|
-
a.push.apply(a, at(H.value, t, r, n, i, d - (
|
|
3732
|
+
throw new pr(c.value, d, Object.keys(c.options), s);
|
|
3733
|
+
a.push.apply(a, at(H.value, t, r, n, i, d - (c.offset || 0)));
|
|
3697
3734
|
continue;
|
|
3698
3735
|
}
|
|
3699
3736
|
}
|
|
3700
|
-
return
|
|
3737
|
+
return oo(a);
|
|
3701
3738
|
}
|
|
3702
|
-
function
|
|
3739
|
+
function ao(e, t) {
|
|
3703
3740
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3704
3741
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3705
3742
|
}, {})) : e;
|
|
3706
3743
|
}
|
|
3707
|
-
function
|
|
3744
|
+
function lo(e, t) {
|
|
3708
3745
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3709
|
-
return r[n] =
|
|
3746
|
+
return r[n] = ao(e[n], t[n]), r;
|
|
3710
3747
|
}, w({}, e)) : e;
|
|
3711
3748
|
}
|
|
3712
|
-
function
|
|
3749
|
+
function St(e) {
|
|
3713
3750
|
return {
|
|
3714
3751
|
create: function() {
|
|
3715
3752
|
return {
|
|
@@ -3723,39 +3760,39 @@ function wt(e) {
|
|
|
3723
3760
|
}
|
|
3724
3761
|
};
|
|
3725
3762
|
}
|
|
3726
|
-
function
|
|
3763
|
+
function uo(e) {
|
|
3727
3764
|
return e === void 0 && (e = {
|
|
3728
3765
|
number: {},
|
|
3729
3766
|
dateTime: {},
|
|
3730
3767
|
pluralRules: {}
|
|
3731
3768
|
}), {
|
|
3732
|
-
getNumberFormat:
|
|
3769
|
+
getNumberFormat: Et(function() {
|
|
3733
3770
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3734
3771
|
r[n] = arguments[n];
|
|
3735
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3772
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3736
3773
|
}, {
|
|
3737
|
-
cache:
|
|
3738
|
-
strategy:
|
|
3774
|
+
cache: St(e.number),
|
|
3775
|
+
strategy: wt.variadic
|
|
3739
3776
|
}),
|
|
3740
|
-
getDateTimeFormat:
|
|
3777
|
+
getDateTimeFormat: Et(function() {
|
|
3741
3778
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3742
3779
|
r[n] = arguments[n];
|
|
3743
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3780
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3744
3781
|
}, {
|
|
3745
|
-
cache:
|
|
3746
|
-
strategy:
|
|
3782
|
+
cache: St(e.dateTime),
|
|
3783
|
+
strategy: wt.variadic
|
|
3747
3784
|
}),
|
|
3748
|
-
getPluralRules:
|
|
3785
|
+
getPluralRules: Et(function() {
|
|
3749
3786
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3750
3787
|
r[n] = arguments[n];
|
|
3751
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3788
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3752
3789
|
}, {
|
|
3753
|
-
cache:
|
|
3754
|
-
strategy:
|
|
3790
|
+
cache: St(e.pluralRules),
|
|
3791
|
+
strategy: wt.variadic
|
|
3755
3792
|
})
|
|
3756
3793
|
};
|
|
3757
3794
|
}
|
|
3758
|
-
var
|
|
3795
|
+
var co = (
|
|
3759
3796
|
/** @class */
|
|
3760
3797
|
function() {
|
|
3761
3798
|
function e(t, r, n, i) {
|
|
@@ -3765,20 +3802,20 @@ var Qi = (
|
|
|
3765
3802
|
number: {},
|
|
3766
3803
|
dateTime: {},
|
|
3767
3804
|
pluralRules: {}
|
|
3768
|
-
}, this.format = function(
|
|
3769
|
-
var l = o.formatToParts(
|
|
3805
|
+
}, this.format = function(u) {
|
|
3806
|
+
var l = o.formatToParts(u);
|
|
3770
3807
|
if (l.length === 1)
|
|
3771
3808
|
return l[0].value;
|
|
3772
|
-
var
|
|
3809
|
+
var c = l.reduce(function(f, d) {
|
|
3773
3810
|
return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3774
3811
|
}, []);
|
|
3775
|
-
return
|
|
3776
|
-
}, this.formatToParts = function(
|
|
3777
|
-
return at(o.ast, o.locales, o.formatters, o.formats,
|
|
3812
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3813
|
+
}, this.formatToParts = function(u) {
|
|
3814
|
+
return at(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3778
3815
|
}, this.resolvedOptions = function() {
|
|
3779
|
-
var
|
|
3816
|
+
var u;
|
|
3780
3817
|
return {
|
|
3781
|
-
locale: ((
|
|
3818
|
+
locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3782
3819
|
};
|
|
3783
3820
|
}, this.getAst = function() {
|
|
3784
3821
|
return o.ast;
|
|
@@ -3787,13 +3824,13 @@ var Qi = (
|
|
|
3787
3824
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3788
3825
|
var s = i || {};
|
|
3789
3826
|
s.formatters;
|
|
3790
|
-
var a =
|
|
3827
|
+
var a = Gn(s, ["formatters"]);
|
|
3791
3828
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3792
3829
|
} else
|
|
3793
3830
|
this.ast = t;
|
|
3794
3831
|
if (!Array.isArray(this.ast))
|
|
3795
3832
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3796
|
-
this.formats =
|
|
3833
|
+
this.formats = lo(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
|
|
3797
3834
|
}
|
|
3798
3835
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3799
3836
|
get: function() {
|
|
@@ -3802,11 +3839,11 @@ var Qi = (
|
|
|
3802
3839
|
enumerable: !1,
|
|
3803
3840
|
configurable: !0
|
|
3804
3841
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3805
|
-
if (
|
|
3842
|
+
if (typeof Intl.Locale != "undefined") {
|
|
3806
3843
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3807
3844
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3808
3845
|
}
|
|
3809
|
-
}, e.__parse =
|
|
3846
|
+
}, e.__parse = ro, e.formats = {
|
|
3810
3847
|
number: {
|
|
3811
3848
|
integer: {
|
|
3812
3849
|
maximumFractionDigits: 0
|
|
@@ -3867,7 +3904,7 @@ var Qi = (
|
|
|
3867
3904
|
}, e;
|
|
3868
3905
|
}()
|
|
3869
3906
|
);
|
|
3870
|
-
function
|
|
3907
|
+
function ho(e, t) {
|
|
3871
3908
|
if (t == null)
|
|
3872
3909
|
return;
|
|
3873
3910
|
if (t in e)
|
|
@@ -3888,92 +3925,92 @@ function Yi(e, t) {
|
|
|
3888
3925
|
n = void 0;
|
|
3889
3926
|
return n;
|
|
3890
3927
|
}
|
|
3891
|
-
const
|
|
3928
|
+
const he = {}, fo = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), tn = (e, t) => {
|
|
3892
3929
|
if (t == null)
|
|
3893
3930
|
return;
|
|
3894
|
-
if (t in
|
|
3895
|
-
return
|
|
3931
|
+
if (t in he && e in he[t])
|
|
3932
|
+
return he[t][e];
|
|
3896
3933
|
const r = pt(t);
|
|
3897
3934
|
for (let n = 0; n < r.length; n++) {
|
|
3898
|
-
const i = r[n], o =
|
|
3935
|
+
const i = r[n], o = po(i, e);
|
|
3899
3936
|
if (o)
|
|
3900
|
-
return
|
|
3937
|
+
return fo(e, t, o);
|
|
3901
3938
|
}
|
|
3902
3939
|
};
|
|
3903
|
-
let
|
|
3904
|
-
const
|
|
3905
|
-
function
|
|
3906
|
-
return
|
|
3940
|
+
let jt;
|
|
3941
|
+
const Ne = dt({});
|
|
3942
|
+
function mo(e) {
|
|
3943
|
+
return jt[e] || null;
|
|
3907
3944
|
}
|
|
3908
|
-
function
|
|
3909
|
-
return e in
|
|
3945
|
+
function rn(e) {
|
|
3946
|
+
return e in jt;
|
|
3910
3947
|
}
|
|
3911
|
-
function
|
|
3912
|
-
if (!
|
|
3948
|
+
function po(e, t) {
|
|
3949
|
+
if (!rn(e))
|
|
3913
3950
|
return null;
|
|
3914
|
-
const r =
|
|
3915
|
-
return
|
|
3951
|
+
const r = mo(e);
|
|
3952
|
+
return ho(r, t);
|
|
3916
3953
|
}
|
|
3917
|
-
function
|
|
3954
|
+
function go(e) {
|
|
3918
3955
|
if (e == null)
|
|
3919
3956
|
return;
|
|
3920
3957
|
const t = pt(e);
|
|
3921
3958
|
for (let r = 0; r < t.length; r++) {
|
|
3922
3959
|
const n = t[r];
|
|
3923
|
-
if (
|
|
3960
|
+
if (rn(n))
|
|
3924
3961
|
return n;
|
|
3925
3962
|
}
|
|
3926
3963
|
}
|
|
3927
|
-
function
|
|
3928
|
-
delete
|
|
3964
|
+
function nn(e, ...t) {
|
|
3965
|
+
delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
|
|
3929
3966
|
}
|
|
3930
|
-
|
|
3931
|
-
[
|
|
3967
|
+
Me(
|
|
3968
|
+
[Ne],
|
|
3932
3969
|
([e]) => Object.keys(e)
|
|
3933
3970
|
);
|
|
3934
|
-
|
|
3971
|
+
Ne.subscribe((e) => jt = e);
|
|
3935
3972
|
const lt = {};
|
|
3936
|
-
function
|
|
3973
|
+
function bo(e, t) {
|
|
3937
3974
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3938
3975
|
}
|
|
3939
|
-
function
|
|
3976
|
+
function on(e) {
|
|
3940
3977
|
return lt[e];
|
|
3941
3978
|
}
|
|
3942
|
-
function
|
|
3979
|
+
function yo(e) {
|
|
3943
3980
|
return pt(e).map((t) => {
|
|
3944
|
-
const r =
|
|
3981
|
+
const r = on(t);
|
|
3945
3982
|
return [t, r ? [...r] : []];
|
|
3946
3983
|
}).filter(([, t]) => t.length > 0);
|
|
3947
3984
|
}
|
|
3948
|
-
function
|
|
3985
|
+
function Dt(e) {
|
|
3949
3986
|
return e == null ? !1 : pt(e).some(
|
|
3950
3987
|
(t) => {
|
|
3951
3988
|
var r;
|
|
3952
|
-
return (r =
|
|
3989
|
+
return (r = on(t)) == null ? void 0 : r.size;
|
|
3953
3990
|
}
|
|
3954
3991
|
);
|
|
3955
3992
|
}
|
|
3956
|
-
function
|
|
3993
|
+
function vo(e, t) {
|
|
3957
3994
|
return Promise.all(
|
|
3958
|
-
t.map((n) => (
|
|
3959
|
-
).then((n) =>
|
|
3960
|
-
}
|
|
3961
|
-
const
|
|
3962
|
-
function
|
|
3963
|
-
if (!
|
|
3964
|
-
return e in
|
|
3965
|
-
const t =
|
|
3966
|
-
return
|
|
3995
|
+
t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
|
|
3996
|
+
).then((n) => nn(e, ...n));
|
|
3997
|
+
}
|
|
3998
|
+
const ze = {};
|
|
3999
|
+
function sn(e) {
|
|
4000
|
+
if (!Dt(e))
|
|
4001
|
+
return e in ze ? ze[e] : Promise.resolve();
|
|
4002
|
+
const t = yo(e);
|
|
4003
|
+
return ze[e] = Promise.all(
|
|
3967
4004
|
t.map(
|
|
3968
|
-
([r, n]) =>
|
|
4005
|
+
([r, n]) => vo(r, n)
|
|
3969
4006
|
)
|
|
3970
4007
|
).then(() => {
|
|
3971
|
-
if (
|
|
3972
|
-
return
|
|
3973
|
-
delete
|
|
3974
|
-
}),
|
|
4008
|
+
if (Dt(e))
|
|
4009
|
+
return sn(e);
|
|
4010
|
+
delete ze[e];
|
|
4011
|
+
}), ze[e];
|
|
3975
4012
|
}
|
|
3976
|
-
const
|
|
4013
|
+
const _o = {
|
|
3977
4014
|
number: {
|
|
3978
4015
|
scientific: { notation: "scientific" },
|
|
3979
4016
|
engineering: { notation: "engineering" },
|
|
@@ -4002,57 +4039,57 @@ const so = {
|
|
|
4002
4039
|
timeZoneName: "short"
|
|
4003
4040
|
}
|
|
4004
4041
|
}
|
|
4005
|
-
},
|
|
4042
|
+
}, Eo = {
|
|
4006
4043
|
fallbackLocale: null,
|
|
4007
4044
|
loadingDelay: 200,
|
|
4008
|
-
formats:
|
|
4045
|
+
formats: _o,
|
|
4009
4046
|
warnOnMissingMessages: !0,
|
|
4010
4047
|
handleMissingMessage: void 0,
|
|
4011
4048
|
ignoreTag: !0
|
|
4012
|
-
},
|
|
4013
|
-
function
|
|
4014
|
-
return
|
|
4049
|
+
}, wo = Eo;
|
|
4050
|
+
function Oe() {
|
|
4051
|
+
return wo;
|
|
4015
4052
|
}
|
|
4016
|
-
const
|
|
4017
|
-
var
|
|
4053
|
+
const Pt = dt(!1);
|
|
4054
|
+
var xo = Object.defineProperty, So = Object.defineProperties, Po = Object.getOwnPropertyDescriptors, gr = Object.getOwnPropertySymbols, To = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bo = (e, t) => {
|
|
4018
4055
|
for (var r in t)
|
|
4019
|
-
|
|
4020
|
-
if (
|
|
4021
|
-
for (var r of
|
|
4022
|
-
|
|
4056
|
+
To.call(t, r) && br(e, r, t[r]);
|
|
4057
|
+
if (gr)
|
|
4058
|
+
for (var r of gr(t))
|
|
4059
|
+
Ho.call(t, r) && br(e, r, t[r]);
|
|
4023
4060
|
return e;
|
|
4024
|
-
},
|
|
4025
|
-
let
|
|
4061
|
+
}, Ao = (e, t) => So(e, Po(t));
|
|
4062
|
+
let kt;
|
|
4026
4063
|
const ct = dt(null);
|
|
4027
|
-
function
|
|
4064
|
+
function yr(e) {
|
|
4028
4065
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4029
4066
|
}
|
|
4030
|
-
function pt(e, t =
|
|
4031
|
-
const r =
|
|
4032
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4067
|
+
function pt(e, t = Oe().fallbackLocale) {
|
|
4068
|
+
const r = yr(e);
|
|
4069
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yr(t)])] : r;
|
|
4033
4070
|
}
|
|
4034
|
-
function
|
|
4035
|
-
return
|
|
4071
|
+
function be() {
|
|
4072
|
+
return kt != null ? kt : void 0;
|
|
4036
4073
|
}
|
|
4037
4074
|
ct.subscribe((e) => {
|
|
4038
|
-
|
|
4075
|
+
kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4039
4076
|
});
|
|
4040
|
-
const
|
|
4041
|
-
if (e &&
|
|
4042
|
-
const { loadingDelay: t } =
|
|
4077
|
+
const Io = (e) => {
|
|
4078
|
+
if (e && go(e) && Dt(e)) {
|
|
4079
|
+
const { loadingDelay: t } = Oe();
|
|
4043
4080
|
let r;
|
|
4044
|
-
return typeof window
|
|
4045
|
-
() =>
|
|
4081
|
+
return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
|
|
4082
|
+
() => Pt.set(!0),
|
|
4046
4083
|
t
|
|
4047
|
-
) :
|
|
4084
|
+
) : Pt.set(!0), sn(e).then(() => {
|
|
4048
4085
|
ct.set(e);
|
|
4049
4086
|
}).finally(() => {
|
|
4050
|
-
clearTimeout(r),
|
|
4087
|
+
clearTimeout(r), Pt.set(!1);
|
|
4051
4088
|
});
|
|
4052
4089
|
}
|
|
4053
4090
|
return ct.set(e);
|
|
4054
|
-
},
|
|
4055
|
-
set:
|
|
4091
|
+
}, fe = Ao(Bo({}, ct), {
|
|
4092
|
+
set: Io
|
|
4056
4093
|
}), gt = (e) => {
|
|
4057
4094
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4058
4095
|
return (n) => {
|
|
@@ -4060,101 +4097,101 @@ const bo = (e) => {
|
|
|
4060
4097
|
return i in t ? t[i] : t[i] = e(n);
|
|
4061
4098
|
};
|
|
4062
4099
|
};
|
|
4063
|
-
var
|
|
4100
|
+
var Co = Object.defineProperty, ht = Object.getOwnPropertySymbols, an = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4064
4101
|
for (var r in t || (t = {}))
|
|
4065
|
-
|
|
4102
|
+
an.call(t, r) && vr(e, r, t[r]);
|
|
4066
4103
|
if (ht)
|
|
4067
4104
|
for (var r of ht(t))
|
|
4068
|
-
|
|
4105
|
+
ln.call(t, r) && vr(e, r, t[r]);
|
|
4069
4106
|
return e;
|
|
4070
|
-
},
|
|
4107
|
+
}, Re = (e, t) => {
|
|
4071
4108
|
var r = {};
|
|
4072
4109
|
for (var n in e)
|
|
4073
|
-
|
|
4110
|
+
an.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4074
4111
|
if (e != null && ht)
|
|
4075
4112
|
for (var n of ht(e))
|
|
4076
|
-
t.indexOf(n) < 0 &&
|
|
4113
|
+
t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
|
|
4077
4114
|
return r;
|
|
4078
4115
|
};
|
|
4079
|
-
const
|
|
4080
|
-
const { formats: r } =
|
|
4116
|
+
const qe = (e, t) => {
|
|
4117
|
+
const { formats: r } = Oe();
|
|
4081
4118
|
if (e in r && t in r[e])
|
|
4082
4119
|
return r[e][t];
|
|
4083
4120
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4084
|
-
},
|
|
4121
|
+
}, Oo = gt(
|
|
4085
4122
|
(e) => {
|
|
4086
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4123
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4087
4124
|
if (r == null)
|
|
4088
4125
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4089
|
-
return n && (i =
|
|
4126
|
+
return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
|
|
4090
4127
|
}
|
|
4091
|
-
),
|
|
4128
|
+
), Lo = gt(
|
|
4092
4129
|
(e) => {
|
|
4093
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4130
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4094
4131
|
if (r == null)
|
|
4095
4132
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4096
|
-
return n ? i =
|
|
4133
|
+
return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4097
4134
|
}
|
|
4098
|
-
),
|
|
4135
|
+
), Mo = gt(
|
|
4099
4136
|
(e) => {
|
|
4100
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4137
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4101
4138
|
if (r == null)
|
|
4102
4139
|
throw new Error(
|
|
4103
4140
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4104
4141
|
);
|
|
4105
|
-
return n ? i =
|
|
4142
|
+
return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4106
4143
|
}
|
|
4107
|
-
),
|
|
4144
|
+
), No = (e = {}) => {
|
|
4108
4145
|
var t = e, {
|
|
4109
|
-
locale: r =
|
|
4110
|
-
} = t, n =
|
|
4146
|
+
locale: r = be()
|
|
4147
|
+
} = t, n = Re(t, [
|
|
4111
4148
|
"locale"
|
|
4112
4149
|
]);
|
|
4113
|
-
return
|
|
4114
|
-
},
|
|
4150
|
+
return Oo(Vt({ locale: r }, n));
|
|
4151
|
+
}, Ro = (e = {}) => {
|
|
4115
4152
|
var t = e, {
|
|
4116
|
-
locale: r =
|
|
4117
|
-
} = t, n =
|
|
4153
|
+
locale: r = be()
|
|
4154
|
+
} = t, n = Re(t, [
|
|
4118
4155
|
"locale"
|
|
4119
4156
|
]);
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4157
|
+
return Lo(Vt({ locale: r }, n));
|
|
4158
|
+
}, Uo = (e = {}) => {
|
|
4122
4159
|
var t = e, {
|
|
4123
|
-
locale: r =
|
|
4124
|
-
} = t, n =
|
|
4160
|
+
locale: r = be()
|
|
4161
|
+
} = t, n = Re(t, [
|
|
4125
4162
|
"locale"
|
|
4126
4163
|
]);
|
|
4127
|
-
return
|
|
4128
|
-
},
|
|
4164
|
+
return Mo(Vt({ locale: r }, n));
|
|
4165
|
+
}, Fo = gt(
|
|
4129
4166
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4130
|
-
(e, t =
|
|
4131
|
-
ignoreTag:
|
|
4167
|
+
(e, t = be()) => new co(e, t, Oe().formats, {
|
|
4168
|
+
ignoreTag: Oe().ignoreTag
|
|
4132
4169
|
})
|
|
4133
|
-
),
|
|
4170
|
+
), Do = (e, t = {}) => {
|
|
4134
4171
|
var r, n, i, o;
|
|
4135
4172
|
let s = t;
|
|
4136
4173
|
typeof e == "object" && (s = e, e = s.id);
|
|
4137
4174
|
const {
|
|
4138
4175
|
values: a,
|
|
4139
|
-
locale:
|
|
4176
|
+
locale: u = be(),
|
|
4140
4177
|
default: l
|
|
4141
4178
|
} = s;
|
|
4142
|
-
if (
|
|
4179
|
+
if (u == null)
|
|
4143
4180
|
throw new Error(
|
|
4144
4181
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4145
4182
|
);
|
|
4146
|
-
let
|
|
4147
|
-
if (!
|
|
4148
|
-
|
|
4149
|
-
else if (typeof
|
|
4183
|
+
let c = tn(e, u);
|
|
4184
|
+
if (!c)
|
|
4185
|
+
c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4186
|
+
else if (typeof c != "string")
|
|
4150
4187
|
return console.warn(
|
|
4151
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4152
|
-
),
|
|
4188
|
+
`[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.`
|
|
4189
|
+
), c;
|
|
4153
4190
|
if (!a)
|
|
4154
|
-
return
|
|
4155
|
-
let f =
|
|
4191
|
+
return c;
|
|
4192
|
+
let f = c;
|
|
4156
4193
|
try {
|
|
4157
|
-
f =
|
|
4194
|
+
f = Fo(c, u).format(a);
|
|
4158
4195
|
} catch (d) {
|
|
4159
4196
|
d instanceof Error && console.warn(
|
|
4160
4197
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4162,14 +4199,14 @@ const Ze = (e, t) => {
|
|
|
4162
4199
|
);
|
|
4163
4200
|
}
|
|
4164
4201
|
return f;
|
|
4165
|
-
},
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
window.emWidgets = { topic:
|
|
4171
|
-
const
|
|
4172
|
-
if (typeof window
|
|
4202
|
+
}, ko = (e, t) => Uo(t).format(e), $o = (e, t) => Ro(t).format(e), Go = (e, t) => No(t).format(e), jo = (e, t = be()) => tn(e, t), Vo = Me([fe, Ne], () => Do);
|
|
4203
|
+
Me([fe], () => ko);
|
|
4204
|
+
Me([fe], () => $o);
|
|
4205
|
+
Me([fe], () => Go);
|
|
4206
|
+
Me([fe, Ne], () => jo);
|
|
4207
|
+
window.emWidgets = { topic: ri };
|
|
4208
|
+
const zo = (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));
|
|
4209
|
+
if (typeof window != "undefined") {
|
|
4173
4210
|
let e = function(t) {
|
|
4174
4211
|
return function(...r) {
|
|
4175
4212
|
try {
|
|
@@ -4181,22 +4218,22 @@ if (typeof window < "u") {
|
|
|
4181
4218
|
}
|
|
4182
4219
|
};
|
|
4183
4220
|
};
|
|
4184
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4221
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-YNd10ORF.js").then(({ default: t }) => {
|
|
4185
4222
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4186
4223
|
});
|
|
4187
4224
|
}
|
|
4188
|
-
function
|
|
4189
|
-
|
|
4190
|
-
r == null && (
|
|
4225
|
+
function Xo({ withLocale: e, translations: t }) {
|
|
4226
|
+
fe.subscribe((r) => {
|
|
4227
|
+
r == null && (Ne.set(t), fe.set(e));
|
|
4191
4228
|
});
|
|
4192
4229
|
}
|
|
4193
|
-
function
|
|
4194
|
-
|
|
4230
|
+
function _r(e, t) {
|
|
4231
|
+
nn(e, t);
|
|
4195
4232
|
}
|
|
4196
|
-
function
|
|
4197
|
-
|
|
4233
|
+
function Wo(e) {
|
|
4234
|
+
fe.set(e);
|
|
4198
4235
|
}
|
|
4199
|
-
const
|
|
4236
|
+
const Er = {
|
|
4200
4237
|
en: {
|
|
4201
4238
|
loginTitle: "Welcome",
|
|
4202
4239
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4340,15 +4377,15 @@ const mr = {
|
|
|
4340
4377
|
loginForgotPassword: "I forgot my password",
|
|
4341
4378
|
successMessage: "Login successful"
|
|
4342
4379
|
}
|
|
4343
|
-
}, { document:
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4380
|
+
}, { document: wr } = _n;
|
|
4381
|
+
function Zo(e) {
|
|
4382
|
+
En(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.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:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.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, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) 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)}}');
|
|
4346
4383
|
}
|
|
4347
|
-
function
|
|
4384
|
+
function xr(e) {
|
|
4348
4385
|
let t, r;
|
|
4349
4386
|
return {
|
|
4350
4387
|
c() {
|
|
4351
|
-
t = S("script"),
|
|
4388
|
+
t = S("script"), Yt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4352
4389
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4353
4390
|
},
|
|
4354
4391
|
m(n, i) {
|
|
@@ -4356,7 +4393,7 @@ function gr(e) {
|
|
|
4356
4393
|
},
|
|
4357
4394
|
p(n, i) {
|
|
4358
4395
|
i[0] & /*captchakey*/
|
|
4359
|
-
2 && !
|
|
4396
|
+
2 && !Yt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4360
4397
|
n[1]) && h(t, "src", r);
|
|
4361
4398
|
},
|
|
4362
4399
|
d(n) {
|
|
@@ -4364,12 +4401,12 @@ function gr(e) {
|
|
|
4364
4401
|
}
|
|
4365
4402
|
};
|
|
4366
4403
|
}
|
|
4367
|
-
function
|
|
4404
|
+
function qo(e) {
|
|
4368
4405
|
let t, r, n;
|
|
4369
|
-
function i(a,
|
|
4406
|
+
function i(a, u) {
|
|
4370
4407
|
return (
|
|
4371
4408
|
/*startSmsValidation*/
|
|
4372
|
-
a[20] ?
|
|
4409
|
+
a[20] ? Yo : Qo
|
|
4373
4410
|
);
|
|
4374
4411
|
}
|
|
4375
4412
|
let o = i(e), s = o(e);
|
|
@@ -4378,11 +4415,11 @@ function Ro(e) {
|
|
|
4378
4415
|
t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4379
4416
|
(e[10] ? "FormMobileContainer" : ""));
|
|
4380
4417
|
},
|
|
4381
|
-
m(a,
|
|
4382
|
-
L(a, t,
|
|
4418
|
+
m(a, u) {
|
|
4419
|
+
L(a, t, u), p(t, r), s.m(r, null);
|
|
4383
4420
|
},
|
|
4384
|
-
p(a,
|
|
4385
|
-
o === (o = i(a)) && s ? s.p(a,
|
|
4421
|
+
p(a, u) {
|
|
4422
|
+
o === (o = i(a)) && s ? s.p(a, u) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), u[0] & /*mobileView*/
|
|
4386
4423
|
1024 && n !== (n = "FormContainer " + /*mobileView*/
|
|
4387
4424
|
(a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4388
4425
|
},
|
|
@@ -4391,7 +4428,7 @@ function Ro(e) {
|
|
|
4391
4428
|
}
|
|
4392
4429
|
};
|
|
4393
4430
|
}
|
|
4394
|
-
function
|
|
4431
|
+
function Jo(e) {
|
|
4395
4432
|
let t;
|
|
4396
4433
|
return {
|
|
4397
4434
|
c() {
|
|
@@ -4406,193 +4443,193 @@ function Uo(e) {
|
|
|
4406
4443
|
}
|
|
4407
4444
|
};
|
|
4408
4445
|
}
|
|
4409
|
-
function
|
|
4446
|
+
function Qo(e) {
|
|
4410
4447
|
let t, r, n = (
|
|
4411
4448
|
/*$_*/
|
|
4412
4449
|
e[21]("loginTitle") + ""
|
|
4413
4450
|
), i, o, s, a = (
|
|
4414
4451
|
/*$_*/
|
|
4415
4452
|
e[21]("loginSubtitle") + ""
|
|
4416
|
-
),
|
|
4453
|
+
), u, l, c, f = (
|
|
4417
4454
|
/*$_*/
|
|
4418
4455
|
e[21]("loginSubtitleRegister") + ""
|
|
4419
4456
|
), d, b, v, g, x, M, q = (
|
|
4420
4457
|
/*$_*/
|
|
4421
4458
|
e[21]("loginUsername") + ""
|
|
4422
|
-
), H, R, G, J, B,
|
|
4459
|
+
), H, R, G, J, B, oe, ne, ie, de, A, W, ye = (
|
|
4423
4460
|
/*$_*/
|
|
4424
4461
|
e[21]("loginPassword") + ""
|
|
4425
|
-
),
|
|
4462
|
+
), Ue, Fe, se, Je, C, ve, De, _e, Ee, me, ke, pe, ee, ge = (
|
|
4426
4463
|
/*$_*/
|
|
4427
4464
|
e[21]("loginButton") + ""
|
|
4428
|
-
),
|
|
4465
|
+
), $e, Qe, ce, we = (
|
|
4429
4466
|
/*$_*/
|
|
4430
4467
|
e[21]("loginForgotPassword") + ""
|
|
4431
|
-
),
|
|
4468
|
+
), Ge, je, Ye, U = (
|
|
4432
4469
|
/*invalidName*/
|
|
4433
|
-
e[13] &&
|
|
4470
|
+
e[13] && Sr(e)
|
|
4434
4471
|
);
|
|
4435
|
-
function
|
|
4472
|
+
function Ke(y, P) {
|
|
4436
4473
|
return (
|
|
4437
4474
|
/*isPasswordVisible*/
|
|
4438
|
-
y[18] ?
|
|
4475
|
+
y[18] ? es : Ko
|
|
4439
4476
|
);
|
|
4440
4477
|
}
|
|
4441
|
-
let
|
|
4478
|
+
let xe = Ke(e), Q = xe(e), F = (
|
|
4442
4479
|
/*invalidPassword*/
|
|
4443
4480
|
e[14] && /*simplepasswordvalidation*/
|
|
4444
|
-
e[2] !== "true" &&
|
|
4481
|
+
e[2] !== "true" && Pr(e)
|
|
4445
4482
|
), D = (
|
|
4446
4483
|
/*invalidPassword*/
|
|
4447
4484
|
e[14] && /*simplepasswordvalidation*/
|
|
4448
|
-
e[2] === "true" &&
|
|
4485
|
+
e[2] === "true" && Tr(e)
|
|
4449
4486
|
), k = (
|
|
4450
4487
|
/*errorMessage*/
|
|
4451
|
-
e[15] &&
|
|
4488
|
+
e[15] && Hr(e)
|
|
4452
4489
|
);
|
|
4453
4490
|
return {
|
|
4454
4491
|
c() {
|
|
4455
|
-
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"),
|
|
4456
|
-
e[5] ? "username email" : "off"), B.required = !0, h(x, "class",
|
|
4457
|
-
(e[13] ? "InvalidField" : "")), h(
|
|
4458
|
-
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class",
|
|
4459
|
-
(e[14] ? "InvalidField" : "")), h(
|
|
4460
|
-
e[19], h(
|
|
4492
|
+
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), u = N(a), l = z(), c = S("span"), d = N(f), b = z(), v = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), ne = z(), U && U.c(), de = z(), A = S("div"), W = S("label"), Ue = N(ye), Fe = N(":"), se = S("span"), se.textContent = "*", Je = z(), C = S("input"), De = z(), Q.c(), _e = z(), F && F.c(), Ee = z(), D && D.c(), ke = z(), k && k.c(), pe = z(), ee = S("button"), $e = N(ge), Qe = z(), ce = S("button"), Ge = N(we), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", oe = /*savecredentials*/
|
|
4493
|
+
e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ie = "UserContainer " + /*invalidName*/
|
|
4494
|
+
(e[13] ? "InvalidField" : "")), h(se, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ve = /*savecredentials*/
|
|
4495
|
+
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4496
|
+
(e[14] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
|
|
4497
|
+
e[19], h(ee, "id", "signin-button"), h(ce, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(v, "class", "FormContent");
|
|
4461
4498
|
},
|
|
4462
4499
|
m(y, P) {
|
|
4463
|
-
L(y, t, P),
|
|
4500
|
+
L(y, t, P), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), L(y, b, P), L(y, v, P), p(v, g), p(g, x), p(x, M), p(M, H), p(M, R), p(M, G), p(x, J), p(x, B), rt(
|
|
4464
4501
|
B,
|
|
4465
4502
|
/*userValue*/
|
|
4466
4503
|
e[11]
|
|
4467
|
-
),
|
|
4504
|
+
), p(x, ne), U && U.m(x, null), p(g, de), p(g, A), p(A, W), p(W, Ue), p(W, Fe), p(W, se), p(A, Je), p(A, C), rt(
|
|
4468
4505
|
C,
|
|
4469
4506
|
/*userPassword*/
|
|
4470
4507
|
e[12]
|
|
4471
|
-
), e[35](C),
|
|
4472
|
-
|
|
4473
|
-
|
|
4508
|
+
), e[35](C), p(A, De), Q.m(A, null), p(A, _e), F && F.m(A, null), p(A, Ee), D && D.m(A, null), p(g, ke), k && k.m(g, null), p(g, pe), p(g, ee), p(ee, $e), p(g, Qe), p(g, ce), p(ce, Ge), je || (Ye = [
|
|
4509
|
+
ae(
|
|
4510
|
+
c,
|
|
4474
4511
|
"click",
|
|
4475
4512
|
/*click_handler*/
|
|
4476
4513
|
e[32]
|
|
4477
4514
|
),
|
|
4478
|
-
|
|
4515
|
+
ae(
|
|
4479
4516
|
B,
|
|
4480
4517
|
"input",
|
|
4481
4518
|
/*input0_input_handler*/
|
|
4482
4519
|
e[33]
|
|
4483
4520
|
),
|
|
4484
|
-
|
|
4521
|
+
ae(
|
|
4485
4522
|
B,
|
|
4486
4523
|
"input",
|
|
4487
4524
|
/*validateUserName*/
|
|
4488
4525
|
e[27]
|
|
4489
4526
|
),
|
|
4490
|
-
|
|
4527
|
+
ae(
|
|
4491
4528
|
C,
|
|
4492
4529
|
"input",
|
|
4493
4530
|
/*input1_input_handler*/
|
|
4494
4531
|
e[34]
|
|
4495
4532
|
),
|
|
4496
|
-
|
|
4533
|
+
ae(
|
|
4497
4534
|
C,
|
|
4498
4535
|
"input",
|
|
4499
4536
|
/*validatePassword*/
|
|
4500
4537
|
e[28]
|
|
4501
4538
|
),
|
|
4502
|
-
|
|
4503
|
-
|
|
4539
|
+
ae(
|
|
4540
|
+
ee,
|
|
4504
4541
|
"click",
|
|
4505
4542
|
/*click_handler_3*/
|
|
4506
4543
|
e[38]
|
|
4507
4544
|
),
|
|
4508
|
-
|
|
4509
|
-
|
|
4545
|
+
ae(
|
|
4546
|
+
ce,
|
|
4510
4547
|
"click",
|
|
4511
4548
|
/*click_handler_4*/
|
|
4512
4549
|
e[39]
|
|
4513
4550
|
)
|
|
4514
|
-
],
|
|
4551
|
+
], je = !0);
|
|
4515
4552
|
},
|
|
4516
4553
|
p(y, P) {
|
|
4517
4554
|
P[0] & /*$_*/
|
|
4518
4555
|
2097152 && n !== (n = /*$_*/
|
|
4519
|
-
y[21]("loginTitle") + "") &&
|
|
4556
|
+
y[21]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
|
|
4520
4557
|
2097152 && a !== (a = /*$_*/
|
|
4521
|
-
y[21]("loginSubtitle") + "") &&
|
|
4558
|
+
y[21]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
|
|
4522
4559
|
2097152 && f !== (f = /*$_*/
|
|
4523
|
-
y[21]("loginSubtitleRegister") + "") &&
|
|
4560
|
+
y[21]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4524
4561
|
2097152 && q !== (q = /*$_*/
|
|
4525
|
-
y[21]("loginUsername") + "") &&
|
|
4526
|
-
32 &&
|
|
4527
|
-
y[5] ? "username email" : "off") && h(B, "autocomplete",
|
|
4562
|
+
y[21]("loginUsername") + "") && re(H, q), P[0] & /*savecredentials*/
|
|
4563
|
+
32 && oe !== (oe = /*savecredentials*/
|
|
4564
|
+
y[5] ? "username email" : "off") && h(B, "autocomplete", oe), P[0] & /*userValue*/
|
|
4528
4565
|
2048 && B.value !== /*userValue*/
|
|
4529
4566
|
y[11] && rt(
|
|
4530
4567
|
B,
|
|
4531
4568
|
/*userValue*/
|
|
4532
4569
|
y[11]
|
|
4533
4570
|
), /*invalidName*/
|
|
4534
|
-
y[13] ? U ? U.p(y, P) : (U =
|
|
4535
|
-
8192 &&
|
|
4536
|
-
(y[13] ? "InvalidField" : "")) && h(x, "class",
|
|
4537
|
-
2097152 &&
|
|
4538
|
-
y[21]("loginPassword") + "") &&
|
|
4539
|
-
32 &&
|
|
4540
|
-
y[5] ? "current-password" : "off") && h(C, "autocomplete",
|
|
4571
|
+
y[13] ? U ? U.p(y, P) : (U = Sr(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
|
|
4572
|
+
8192 && ie !== (ie = "UserContainer " + /*invalidName*/
|
|
4573
|
+
(y[13] ? "InvalidField" : "")) && h(x, "class", ie), P[0] & /*$_*/
|
|
4574
|
+
2097152 && ye !== (ye = /*$_*/
|
|
4575
|
+
y[21]("loginPassword") + "") && re(Ue, ye), P[0] & /*savecredentials*/
|
|
4576
|
+
32 && ve !== (ve = /*savecredentials*/
|
|
4577
|
+
y[5] ? "current-password" : "off") && h(C, "autocomplete", ve), P[0] & /*userPassword*/
|
|
4541
4578
|
4096 && C.value !== /*userPassword*/
|
|
4542
4579
|
y[12] && rt(
|
|
4543
4580
|
C,
|
|
4544
4581
|
/*userPassword*/
|
|
4545
4582
|
y[12]
|
|
4546
|
-
),
|
|
4583
|
+
), xe === (xe = Ke(y)) && Q ? Q.p(y, P) : (Q.d(1), Q = xe(y), Q && (Q.c(), Q.m(A, _e))), /*invalidPassword*/
|
|
4547
4584
|
y[14] && /*simplepasswordvalidation*/
|
|
4548
|
-
y[2] !== "true" ? F ? F.p(y, P) : (F =
|
|
4585
|
+
y[2] !== "true" ? F ? F.p(y, P) : (F = Pr(y), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
|
|
4549
4586
|
y[14] && /*simplepasswordvalidation*/
|
|
4550
|
-
y[2] === "true" ? D ? D.p(y, P) : (D =
|
|
4551
|
-
16384 &&
|
|
4552
|
-
(y[14] ? "InvalidField" : "")) && h(A, "class",
|
|
4553
|
-
y[15] ? k ? k.p(y, P) : (k =
|
|
4554
|
-
2097152 &&
|
|
4555
|
-
y[21]("loginButton") + "") &&
|
|
4556
|
-
524288 && (
|
|
4587
|
+
y[2] === "true" ? D ? D.p(y, P) : (D = Tr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
|
|
4588
|
+
16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4589
|
+
(y[14] ? "InvalidField" : "")) && h(A, "class", me), /*errorMessage*/
|
|
4590
|
+
y[15] ? k ? k.p(y, P) : (k = Hr(y), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
|
|
4591
|
+
2097152 && ge !== (ge = /*$_*/
|
|
4592
|
+
y[21]("loginButton") + "") && re($e, ge), P[0] & /*isFormDataInvalid*/
|
|
4593
|
+
524288 && (ee.disabled = /*isFormDataInvalid*/
|
|
4557
4594
|
y[19]), P[0] & /*$_*/
|
|
4558
|
-
2097152 &&
|
|
4559
|
-
y[21]("loginForgotPassword") + "") &&
|
|
4595
|
+
2097152 && we !== (we = /*$_*/
|
|
4596
|
+
y[21]("loginForgotPassword") + "") && re(Ge, we);
|
|
4560
4597
|
},
|
|
4561
4598
|
d(y) {
|
|
4562
|
-
y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(),
|
|
4599
|
+
y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), je = !1, Le(Ye);
|
|
4563
4600
|
}
|
|
4564
4601
|
};
|
|
4565
4602
|
}
|
|
4566
|
-
function
|
|
4603
|
+
function Yo(e) {
|
|
4567
4604
|
let t;
|
|
4568
4605
|
return {
|
|
4569
4606
|
c() {
|
|
4570
|
-
t = S("general-player-sms-verification-form"),
|
|
4607
|
+
t = S("general-player-sms-verification-form"), K(
|
|
4571
4608
|
t,
|
|
4572
4609
|
"endpoint",
|
|
4573
4610
|
/*endpoint*/
|
|
4574
4611
|
e[0]
|
|
4575
|
-
),
|
|
4612
|
+
), K(
|
|
4576
4613
|
t,
|
|
4577
4614
|
"number",
|
|
4578
4615
|
/*number*/
|
|
4579
4616
|
e[9]
|
|
4580
|
-
),
|
|
4617
|
+
), K(
|
|
4581
4618
|
t,
|
|
4582
4619
|
"clientstyling",
|
|
4583
4620
|
/*clientstyling*/
|
|
4584
4621
|
e[3]
|
|
4585
|
-
),
|
|
4622
|
+
), K(
|
|
4586
4623
|
t,
|
|
4587
4624
|
"clientstylingurl",
|
|
4588
4625
|
/*clientstylingurl*/
|
|
4589
4626
|
e[4]
|
|
4590
|
-
),
|
|
4627
|
+
), K(
|
|
4591
4628
|
t,
|
|
4592
4629
|
"playerid",
|
|
4593
4630
|
/*playerId*/
|
|
4594
4631
|
e[7]
|
|
4595
|
-
),
|
|
4632
|
+
), K(
|
|
4596
4633
|
t,
|
|
4597
4634
|
"tokenid",
|
|
4598
4635
|
/*smsTokenId*/
|
|
@@ -4604,37 +4641,37 @@ function Do(e) {
|
|
|
4604
4641
|
},
|
|
4605
4642
|
p(r, n) {
|
|
4606
4643
|
n[0] & /*endpoint*/
|
|
4607
|
-
1 &&
|
|
4644
|
+
1 && K(
|
|
4608
4645
|
t,
|
|
4609
4646
|
"endpoint",
|
|
4610
4647
|
/*endpoint*/
|
|
4611
4648
|
r[0]
|
|
4612
4649
|
), n[0] & /*number*/
|
|
4613
|
-
512 &&
|
|
4650
|
+
512 && K(
|
|
4614
4651
|
t,
|
|
4615
4652
|
"number",
|
|
4616
4653
|
/*number*/
|
|
4617
4654
|
r[9]
|
|
4618
4655
|
), n[0] & /*clientstyling*/
|
|
4619
|
-
8 &&
|
|
4656
|
+
8 && K(
|
|
4620
4657
|
t,
|
|
4621
4658
|
"clientstyling",
|
|
4622
4659
|
/*clientstyling*/
|
|
4623
4660
|
r[3]
|
|
4624
4661
|
), n[0] & /*clientstylingurl*/
|
|
4625
|
-
16 &&
|
|
4662
|
+
16 && K(
|
|
4626
4663
|
t,
|
|
4627
4664
|
"clientstylingurl",
|
|
4628
4665
|
/*clientstylingurl*/
|
|
4629
4666
|
r[4]
|
|
4630
4667
|
), n[0] & /*playerId*/
|
|
4631
|
-
128 &&
|
|
4668
|
+
128 && K(
|
|
4632
4669
|
t,
|
|
4633
4670
|
"playerid",
|
|
4634
4671
|
/*playerId*/
|
|
4635
4672
|
r[7]
|
|
4636
4673
|
), n[0] & /*smsTokenId*/
|
|
4637
|
-
256 &&
|
|
4674
|
+
256 && K(
|
|
4638
4675
|
t,
|
|
4639
4676
|
"tokenid",
|
|
4640
4677
|
/*smsTokenId*/
|
|
@@ -4646,7 +4683,7 @@ function Do(e) {
|
|
|
4646
4683
|
}
|
|
4647
4684
|
};
|
|
4648
4685
|
}
|
|
4649
|
-
function
|
|
4686
|
+
function Sr(e) {
|
|
4650
4687
|
let t, r = (
|
|
4651
4688
|
/*$_*/
|
|
4652
4689
|
e[21]("loginUsernameError") + ""
|
|
@@ -4656,46 +4693,46 @@ function br(e) {
|
|
|
4656
4693
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4657
4694
|
},
|
|
4658
4695
|
m(i, o) {
|
|
4659
|
-
L(i, t, o),
|
|
4696
|
+
L(i, t, o), p(t, n);
|
|
4660
4697
|
},
|
|
4661
4698
|
p(i, o) {
|
|
4662
4699
|
o[0] & /*$_*/
|
|
4663
4700
|
2097152 && r !== (r = /*$_*/
|
|
4664
|
-
i[21]("loginUsernameError") + "") &&
|
|
4701
|
+
i[21]("loginUsernameError") + "") && re(n, r);
|
|
4665
4702
|
},
|
|
4666
4703
|
d(i) {
|
|
4667
4704
|
i && I(t);
|
|
4668
4705
|
}
|
|
4669
4706
|
};
|
|
4670
4707
|
}
|
|
4671
|
-
function
|
|
4672
|
-
let t, r, n, i, o, s, a,
|
|
4708
|
+
function Ko(e) {
|
|
4709
|
+
let t, r, n, i, o, s, a, u, l;
|
|
4673
4710
|
return {
|
|
4674
4711
|
c() {
|
|
4675
4712
|
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");
|
|
4676
4713
|
},
|
|
4677
|
-
m(
|
|
4678
|
-
L(
|
|
4714
|
+
m(c, f) {
|
|
4715
|
+
L(c, t, f), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), u || (l = ae(
|
|
4679
4716
|
t,
|
|
4680
4717
|
"click",
|
|
4681
4718
|
/*click_handler_2*/
|
|
4682
4719
|
e[37]
|
|
4683
|
-
),
|
|
4720
|
+
), u = !0);
|
|
4684
4721
|
},
|
|
4685
4722
|
p: Z,
|
|
4686
|
-
d(
|
|
4687
|
-
|
|
4723
|
+
d(c) {
|
|
4724
|
+
c && I(t), u = !1, l();
|
|
4688
4725
|
}
|
|
4689
4726
|
};
|
|
4690
4727
|
}
|
|
4691
|
-
function
|
|
4692
|
-
let t, r, n, i, o, s, a,
|
|
4728
|
+
function es(e) {
|
|
4729
|
+
let t, r, n, i, o, s, a, u, l, c, f, d, b, v, g;
|
|
4693
4730
|
return {
|
|
4694
4731
|
c() {
|
|
4695
|
-
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"),
|
|
4732
|
+
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");
|
|
4696
4733
|
},
|
|
4697
4734
|
m(x, M) {
|
|
4698
|
-
L(x, t, M),
|
|
4735
|
+
L(x, t, M), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), v || (g = ae(
|
|
4699
4736
|
t,
|
|
4700
4737
|
"click",
|
|
4701
4738
|
/*click_handler_1*/
|
|
@@ -4708,7 +4745,7 @@ function $o(e) {
|
|
|
4708
4745
|
}
|
|
4709
4746
|
};
|
|
4710
4747
|
}
|
|
4711
|
-
function
|
|
4748
|
+
function Pr(e) {
|
|
4712
4749
|
let t, r = (
|
|
4713
4750
|
/*$_*/
|
|
4714
4751
|
e[21]("loginPasswordError") + ""
|
|
@@ -4718,19 +4755,19 @@ function yr(e) {
|
|
|
4718
4755
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4719
4756
|
},
|
|
4720
4757
|
m(i, o) {
|
|
4721
|
-
L(i, t, o),
|
|
4758
|
+
L(i, t, o), p(t, n);
|
|
4722
4759
|
},
|
|
4723
4760
|
p(i, o) {
|
|
4724
4761
|
o[0] & /*$_*/
|
|
4725
4762
|
2097152 && r !== (r = /*$_*/
|
|
4726
|
-
i[21]("loginPasswordError") + "") &&
|
|
4763
|
+
i[21]("loginPasswordError") + "") && re(n, r);
|
|
4727
4764
|
},
|
|
4728
4765
|
d(i) {
|
|
4729
4766
|
i && I(t);
|
|
4730
4767
|
}
|
|
4731
4768
|
};
|
|
4732
4769
|
}
|
|
4733
|
-
function
|
|
4770
|
+
function Tr(e) {
|
|
4734
4771
|
let t, r = (
|
|
4735
4772
|
/*$_*/
|
|
4736
4773
|
e[21]("loginSimplePasswordError") + ""
|
|
@@ -4740,19 +4777,19 @@ function vr(e) {
|
|
|
4740
4777
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4741
4778
|
},
|
|
4742
4779
|
m(i, o) {
|
|
4743
|
-
L(i, t, o),
|
|
4780
|
+
L(i, t, o), p(t, n);
|
|
4744
4781
|
},
|
|
4745
4782
|
p(i, o) {
|
|
4746
4783
|
o[0] & /*$_*/
|
|
4747
4784
|
2097152 && r !== (r = /*$_*/
|
|
4748
|
-
i[21]("loginSimplePasswordError") + "") &&
|
|
4785
|
+
i[21]("loginSimplePasswordError") + "") && re(n, r);
|
|
4749
4786
|
},
|
|
4750
4787
|
d(i) {
|
|
4751
4788
|
i && I(t);
|
|
4752
4789
|
}
|
|
4753
4790
|
};
|
|
4754
4791
|
}
|
|
4755
|
-
function
|
|
4792
|
+
function Hr(e) {
|
|
4756
4793
|
let t, r;
|
|
4757
4794
|
return {
|
|
4758
4795
|
c() {
|
|
@@ -4762,11 +4799,11 @@ function _r(e) {
|
|
|
4762
4799
|
), h(t, "class", "ErrorMessage");
|
|
4763
4800
|
},
|
|
4764
4801
|
m(n, i) {
|
|
4765
|
-
L(n, t, i),
|
|
4802
|
+
L(n, t, i), p(t, r);
|
|
4766
4803
|
},
|
|
4767
4804
|
p(n, i) {
|
|
4768
4805
|
i[0] & /*errorMessage*/
|
|
4769
|
-
32768 &&
|
|
4806
|
+
32768 && re(
|
|
4770
4807
|
r,
|
|
4771
4808
|
/*errorMessage*/
|
|
4772
4809
|
n[15]
|
|
@@ -4777,126 +4814,126 @@ function _r(e) {
|
|
|
4777
4814
|
}
|
|
4778
4815
|
};
|
|
4779
4816
|
}
|
|
4780
|
-
function
|
|
4817
|
+
function ts(e) {
|
|
4781
4818
|
let t, r, n, i, o, s = (
|
|
4782
4819
|
/*captchakey*/
|
|
4783
|
-
e[1] &&
|
|
4820
|
+
e[1] && xr(e)
|
|
4784
4821
|
);
|
|
4785
|
-
function a(
|
|
4822
|
+
function a(c, f) {
|
|
4786
4823
|
return (
|
|
4787
4824
|
/*isLoading*/
|
|
4788
|
-
|
|
4825
|
+
c[16] ? Jo : qo
|
|
4789
4826
|
);
|
|
4790
4827
|
}
|
|
4791
|
-
let
|
|
4828
|
+
let u = a(e), l = u(e);
|
|
4792
4829
|
return {
|
|
4793
4830
|
c() {
|
|
4794
|
-
s && s.c(), t =
|
|
4831
|
+
s && s.c(), t = Sn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4795
4832
|
n,
|
|
4796
4833
|
"data-sitekey",
|
|
4797
4834
|
/*captchakey*/
|
|
4798
4835
|
e[1]
|
|
4799
4836
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4800
4837
|
},
|
|
4801
|
-
m(
|
|
4802
|
-
s && s.m(
|
|
4838
|
+
m(c, f) {
|
|
4839
|
+
s && s.m(wr.head, null), p(wr.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
|
|
4803
4840
|
},
|
|
4804
|
-
p(
|
|
4841
|
+
p(c, f) {
|
|
4805
4842
|
/*captchakey*/
|
|
4806
|
-
|
|
4843
|
+
c[1] ? s ? s.p(c, f) : (s = xr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4807
4844
|
2 && h(
|
|
4808
4845
|
n,
|
|
4809
4846
|
"data-sitekey",
|
|
4810
4847
|
/*captchakey*/
|
|
4811
|
-
|
|
4812
|
-
),
|
|
4848
|
+
c[1]
|
|
4849
|
+
), u === (u = a(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(o, null)));
|
|
4813
4850
|
},
|
|
4814
4851
|
i: Z,
|
|
4815
4852
|
o: Z,
|
|
4816
|
-
d(
|
|
4817
|
-
|
|
4853
|
+
d(c) {
|
|
4854
|
+
c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[40](null);
|
|
4818
4855
|
}
|
|
4819
4856
|
};
|
|
4820
4857
|
}
|
|
4821
|
-
let
|
|
4822
|
-
function
|
|
4858
|
+
let rs = "Please use this code {0} to activate your account";
|
|
4859
|
+
function ns(e, t, r) {
|
|
4823
4860
|
let n;
|
|
4824
|
-
|
|
4825
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation:
|
|
4861
|
+
vn(e, Vo, (m) => r(21, n = m));
|
|
4862
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, v, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, oe = "", ne = !1, ie, de = !1, A = !0, W, ye = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ye, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
|
|
4826
4863
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4827
4864
|
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,
|
|
4828
4865
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4829
4866
|
};
|
|
4830
|
-
|
|
4831
|
-
const
|
|
4867
|
+
Xo({ withLocale: "en", translations: {} });
|
|
4868
|
+
const Je = () => {
|
|
4832
4869
|
fetch(f).then(($) => $.json()).then(($) => {
|
|
4833
4870
|
Object.keys($).forEach((j) => {
|
|
4834
|
-
|
|
4871
|
+
_r(j, $[j]);
|
|
4835
4872
|
});
|
|
4836
4873
|
}).catch(($) => {
|
|
4837
4874
|
console.log($);
|
|
4838
4875
|
});
|
|
4839
4876
|
};
|
|
4840
|
-
Object.keys(
|
|
4841
|
-
|
|
4877
|
+
Object.keys(Er).forEach((m) => {
|
|
4878
|
+
_r(m, Er[m]);
|
|
4842
4879
|
});
|
|
4843
|
-
const C = () => new Promise((
|
|
4880
|
+
const C = () => new Promise((m, $) => {
|
|
4844
4881
|
grecaptcha.ready(() => {
|
|
4845
4882
|
grecaptcha.execute(o, { action: "submit" }).then((j) => {
|
|
4846
|
-
|
|
4883
|
+
m(j);
|
|
4847
4884
|
});
|
|
4848
4885
|
});
|
|
4849
|
-
}),
|
|
4850
|
-
|
|
4851
|
-
},
|
|
4852
|
-
r(18,
|
|
4853
|
-
}, ve = () => {
|
|
4854
|
-
r(18, fe = !1), _e();
|
|
4886
|
+
}), ve = () => {
|
|
4887
|
+
u == "true" && (se.password = /^(?!.* ).{8,20}$/);
|
|
4888
|
+
}, De = () => {
|
|
4889
|
+
r(18, de = !0), Ee();
|
|
4855
4890
|
}, _e = () => {
|
|
4856
|
-
r(
|
|
4857
|
-
},
|
|
4891
|
+
r(18, de = !1), Ee();
|
|
4892
|
+
}, Ee = () => {
|
|
4893
|
+
r(17, ie.type = de ? "text" : "password", ie);
|
|
4894
|
+
}, me = () => {
|
|
4858
4895
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4859
|
-
},
|
|
4860
|
-
|
|
4861
|
-
},
|
|
4862
|
-
|
|
4863
|
-
|
|
4896
|
+
}, ke = (m) => {
|
|
4897
|
+
m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4898
|
+
}, pe = (m) => {
|
|
4899
|
+
m == null || m.preventDefault(), C().then(($) => {
|
|
4900
|
+
ee(H) && ge(R) && (G = {
|
|
4864
4901
|
username: H,
|
|
4865
4902
|
password: R,
|
|
4866
4903
|
token: $
|
|
4867
|
-
}, r(16,
|
|
4904
|
+
}, r(16, ne = !0), Ge(G));
|
|
4868
4905
|
});
|
|
4869
|
-
},
|
|
4870
|
-
r(13, J = !
|
|
4871
|
-
},
|
|
4872
|
-
r(14, B = !
|
|
4873
|
-
},
|
|
4874
|
-
if (
|
|
4875
|
-
switch (
|
|
4906
|
+
}, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100), ge = (m) => !!se.password.test(m), $e = () => {
|
|
4907
|
+
r(13, J = !ee(H)), r(19, A = !(!J && !B && R));
|
|
4908
|
+
}, Qe = () => {
|
|
4909
|
+
r(14, B = !ge(R)), r(19, A = !(!J && !B && H));
|
|
4910
|
+
}, ce = (m) => {
|
|
4911
|
+
if (m.data)
|
|
4912
|
+
switch (m.data.type) {
|
|
4876
4913
|
case "ModalLoader":
|
|
4877
|
-
r(16,
|
|
4914
|
+
r(16, ne = !1);
|
|
4878
4915
|
break;
|
|
4879
4916
|
case "UserSessionID":
|
|
4880
|
-
r(16,
|
|
4917
|
+
r(16, ne = !1);
|
|
4881
4918
|
break;
|
|
4882
4919
|
case "SmsHasBeenValidated":
|
|
4883
|
-
|
|
4920
|
+
pe();
|
|
4884
4921
|
break;
|
|
4885
4922
|
}
|
|
4886
|
-
},
|
|
4923
|
+
}, we = (m) => {
|
|
4887
4924
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4888
4925
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4889
4926
|
});
|
|
4890
|
-
},
|
|
4891
|
-
let
|
|
4927
|
+
}, Ge = (zt) => et(this, [zt], function* ({ username: m, password: $, token: j }) {
|
|
4928
|
+
let Xt = {
|
|
4892
4929
|
"Content-Type": "application/json",
|
|
4893
4930
|
"g-recaptcha-response": j
|
|
4894
|
-
},
|
|
4931
|
+
}, bt = { username: m, password: $ }, fn = {
|
|
4895
4932
|
method: "POST",
|
|
4896
|
-
headers:
|
|
4897
|
-
body: JSON.stringify(
|
|
4933
|
+
headers: Xt,
|
|
4934
|
+
body: JSON.stringify(bt)
|
|
4898
4935
|
};
|
|
4899
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4936
|
+
fetch(`${i}/v1/player/login/player`, fn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
|
|
4900
4937
|
{
|
|
4901
4938
|
type: "WidgetNotification",
|
|
4902
4939
|
data: {
|
|
@@ -4906,7 +4943,7 @@ function Vo(e, t, r) {
|
|
|
4906
4943
|
},
|
|
4907
4944
|
window.location.href
|
|
4908
4945
|
)), V.json())).then((V) => {
|
|
4909
|
-
if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20,
|
|
4946
|
+
if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Fe = !0), je(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
|
|
4910
4947
|
if (window.postMessage(
|
|
4911
4948
|
{
|
|
4912
4949
|
type: "UserSessionID",
|
|
@@ -4924,38 +4961,38 @@ function Vo(e, t, r) {
|
|
|
4924
4961
|
},
|
|
4925
4962
|
window.location.href
|
|
4926
4963
|
), window.PasswordCredential && d == "true") {
|
|
4927
|
-
const
|
|
4928
|
-
password:
|
|
4929
|
-
id:
|
|
4964
|
+
const Ve = new PasswordCredential({
|
|
4965
|
+
password: bt.password,
|
|
4966
|
+
id: bt.username
|
|
4930
4967
|
});
|
|
4931
|
-
navigator.credentials.store(
|
|
4968
|
+
navigator.credentials.store(Ve);
|
|
4932
4969
|
}
|
|
4933
|
-
|
|
4970
|
+
we();
|
|
4934
4971
|
} else
|
|
4935
4972
|
try {
|
|
4936
|
-
let
|
|
4937
|
-
r(15,
|
|
4973
|
+
let Ve = V.error;
|
|
4974
|
+
r(15, oe = Ve), r(16, ne = !1), window.postMessage(
|
|
4938
4975
|
{
|
|
4939
4976
|
type: "WidgetNotification",
|
|
4940
|
-
data: { type: "error", message:
|
|
4977
|
+
data: { type: "error", message: Ve }
|
|
4941
4978
|
},
|
|
4942
4979
|
window.location.href
|
|
4943
4980
|
);
|
|
4944
|
-
} catch {
|
|
4945
|
-
let
|
|
4946
|
-
r(15,
|
|
4981
|
+
} catch (Ve) {
|
|
4982
|
+
let Wt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
|
|
4983
|
+
r(15, oe = Wt), r(16, ne = !1), window.postMessage(
|
|
4947
4984
|
{
|
|
4948
4985
|
type: "WidgetNotification",
|
|
4949
|
-
data: { type: "error", message:
|
|
4986
|
+
data: { type: "error", message: Wt }
|
|
4950
4987
|
},
|
|
4951
4988
|
window.location.href
|
|
4952
4989
|
);
|
|
4953
4990
|
}
|
|
4954
4991
|
});
|
|
4955
|
-
},
|
|
4992
|
+
}), je = (m, $) => et(this, null, function* () {
|
|
4956
4993
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
4957
4994
|
try {
|
|
4958
|
-
const j =
|
|
4995
|
+
const j = yield fetch(`${i}/v1/player/sms/token`, {
|
|
4959
4996
|
method: "POST",
|
|
4960
4997
|
headers: {
|
|
4961
4998
|
"Content-Type": "application/json",
|
|
@@ -4963,27 +5000,27 @@ function Vo(e, t, r) {
|
|
|
4963
5000
|
},
|
|
4964
5001
|
body: JSON.stringify({
|
|
4965
5002
|
userId: $,
|
|
4966
|
-
messageTemplate:
|
|
4967
|
-
destination:
|
|
5003
|
+
messageTemplate: rs,
|
|
5004
|
+
destination: m
|
|
4968
5005
|
})
|
|
4969
|
-
}),
|
|
5006
|
+
}), zt = yield j.json();
|
|
4970
5007
|
if (j.ok) {
|
|
4971
|
-
r(8, v =
|
|
4972
|
-
let
|
|
5008
|
+
r(8, v = zt.id);
|
|
5009
|
+
let Xt = zt.maxValidationAttempts;
|
|
4973
5010
|
g = !1;
|
|
4974
5011
|
} else
|
|
4975
5012
|
throw g = !0, new Error("Failed to fetch");
|
|
4976
5013
|
} catch (j) {
|
|
4977
5014
|
g = !0, console.error(j);
|
|
4978
5015
|
}
|
|
4979
|
-
},
|
|
4980
|
-
|
|
5016
|
+
}), Ye = () => {
|
|
5017
|
+
Wo(s);
|
|
4981
5018
|
}, U = () => {
|
|
4982
|
-
let
|
|
4983
|
-
|
|
4984
|
-
},
|
|
4985
|
-
let
|
|
4986
|
-
fetch(
|
|
5019
|
+
let m = document.createElement("style");
|
|
5020
|
+
m.innerHTML = l, W.appendChild(m);
|
|
5021
|
+
}, Ke = () => {
|
|
5022
|
+
let m = new URL(c), $ = document.createElement("style");
|
|
5023
|
+
fetch(m.href).then((j) => j.text()).then((j) => {
|
|
4987
5024
|
$.innerHTML = j, setTimeout(
|
|
4988
5025
|
() => {
|
|
4989
5026
|
W.appendChild($);
|
|
@@ -4996,42 +5033,42 @@ function Vo(e, t, r) {
|
|
|
4996
5033
|
);
|
|
4997
5034
|
});
|
|
4998
5035
|
};
|
|
4999
|
-
|
|
5000
|
-
window.removeEventListener("message",
|
|
5036
|
+
Bn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = zo(q)), () => {
|
|
5037
|
+
window.removeEventListener("message", ce);
|
|
5001
5038
|
}));
|
|
5002
|
-
const
|
|
5039
|
+
const xe = () => me();
|
|
5003
5040
|
function Q() {
|
|
5004
5041
|
H = this.value, r(11, H);
|
|
5005
5042
|
}
|
|
5006
5043
|
function F() {
|
|
5007
5044
|
R = this.value, r(12, R);
|
|
5008
5045
|
}
|
|
5009
|
-
function D(
|
|
5010
|
-
ut[
|
|
5011
|
-
|
|
5046
|
+
function D(m) {
|
|
5047
|
+
ut[m ? "unshift" : "push"](() => {
|
|
5048
|
+
ie = m, r(17, ie);
|
|
5012
5049
|
});
|
|
5013
5050
|
}
|
|
5014
|
-
const k = () =>
|
|
5015
|
-
function
|
|
5016
|
-
ut[
|
|
5017
|
-
W =
|
|
5051
|
+
const k = () => _e(), y = () => De(), P = (m) => pe(m), cn = (m) => ke(m);
|
|
5052
|
+
function hn(m) {
|
|
5053
|
+
ut[m ? "unshift" : "push"](() => {
|
|
5054
|
+
W = m, r(6, W);
|
|
5018
5055
|
});
|
|
5019
5056
|
}
|
|
5020
|
-
return e.$$set = (
|
|
5021
|
-
"endpoint" in
|
|
5057
|
+
return e.$$set = (m) => {
|
|
5058
|
+
"endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(29, s = m.lang), "smsverification" in m && r(30, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "clientstyling" in m && r(3, l = m.clientstyling), "clientstylingurl" in m && r(4, c = m.clientstylingurl), "translationurl" in m && r(31, f = m.translationurl), "savecredentials" in m && r(5, d = m.savecredentials);
|
|
5022
5059
|
}, e.$$.update = () => {
|
|
5023
5060
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5024
|
-
536870913 && i && s &&
|
|
5025
|
-
4 &&
|
|
5061
|
+
536870913 && i && s && Ye(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5062
|
+
4 && u && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5026
5063
|
72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5027
|
-
80 &&
|
|
5028
|
-
1 && f &&
|
|
5064
|
+
80 && c && W && Ke(), e.$$.dirty[1] & /*translationurl*/
|
|
5065
|
+
1 && f && Je();
|
|
5029
5066
|
}, [
|
|
5030
5067
|
i,
|
|
5031
5068
|
o,
|
|
5032
|
-
c,
|
|
5033
|
-
l,
|
|
5034
5069
|
u,
|
|
5070
|
+
l,
|
|
5071
|
+
c,
|
|
5035
5072
|
d,
|
|
5036
5073
|
W,
|
|
5037
5074
|
b,
|
|
@@ -5042,42 +5079,42 @@ function Vo(e, t, r) {
|
|
|
5042
5079
|
R,
|
|
5043
5080
|
J,
|
|
5044
5081
|
B,
|
|
5045
|
-
|
|
5046
|
-
re,
|
|
5082
|
+
oe,
|
|
5047
5083
|
ne,
|
|
5048
|
-
|
|
5084
|
+
ie,
|
|
5085
|
+
de,
|
|
5049
5086
|
A,
|
|
5050
|
-
Ue,
|
|
5051
|
-
n,
|
|
5052
5087
|
Fe,
|
|
5053
|
-
|
|
5054
|
-
de,
|
|
5088
|
+
n,
|
|
5055
5089
|
De,
|
|
5090
|
+
_e,
|
|
5056
5091
|
me,
|
|
5057
5092
|
ke,
|
|
5058
|
-
|
|
5093
|
+
pe,
|
|
5094
|
+
$e,
|
|
5095
|
+
Qe,
|
|
5059
5096
|
s,
|
|
5060
5097
|
a,
|
|
5061
5098
|
f,
|
|
5062
|
-
|
|
5099
|
+
xe,
|
|
5063
5100
|
Q,
|
|
5064
5101
|
F,
|
|
5065
5102
|
D,
|
|
5066
5103
|
k,
|
|
5067
5104
|
y,
|
|
5068
5105
|
P,
|
|
5069
|
-
|
|
5070
|
-
|
|
5106
|
+
cn,
|
|
5107
|
+
hn
|
|
5071
5108
|
];
|
|
5072
5109
|
}
|
|
5073
|
-
class
|
|
5110
|
+
class un extends kn {
|
|
5074
5111
|
constructor(t) {
|
|
5075
|
-
super(),
|
|
5112
|
+
super(), Fn(
|
|
5076
5113
|
this,
|
|
5077
5114
|
t,
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5115
|
+
ns,
|
|
5116
|
+
ts,
|
|
5117
|
+
Ar,
|
|
5081
5118
|
{
|
|
5082
5119
|
endpoint: 0,
|
|
5083
5120
|
captchakey: 1,
|
|
@@ -5089,7 +5126,7 @@ class zo extends Hn {
|
|
|
5089
5126
|
translationurl: 31,
|
|
5090
5127
|
savecredentials: 5
|
|
5091
5128
|
},
|
|
5092
|
-
|
|
5129
|
+
Zo,
|
|
5093
5130
|
[-1, -1]
|
|
5094
5131
|
);
|
|
5095
5132
|
}
|
|
@@ -5097,83 +5134,87 @@ class zo extends Hn {
|
|
|
5097
5134
|
return this.$$.ctx[0];
|
|
5098
5135
|
}
|
|
5099
5136
|
set endpoint(t) {
|
|
5100
|
-
this.$$set({ endpoint: t }),
|
|
5137
|
+
this.$$set({ endpoint: t }), te();
|
|
5101
5138
|
}
|
|
5102
5139
|
get captchakey() {
|
|
5103
5140
|
return this.$$.ctx[1];
|
|
5104
5141
|
}
|
|
5105
5142
|
set captchakey(t) {
|
|
5106
|
-
this.$$set({ captchakey: t }),
|
|
5143
|
+
this.$$set({ captchakey: t }), te();
|
|
5107
5144
|
}
|
|
5108
5145
|
get lang() {
|
|
5109
5146
|
return this.$$.ctx[29];
|
|
5110
5147
|
}
|
|
5111
5148
|
set lang(t) {
|
|
5112
|
-
this.$$set({ lang: t }),
|
|
5149
|
+
this.$$set({ lang: t }), te();
|
|
5113
5150
|
}
|
|
5114
5151
|
get smsverification() {
|
|
5115
5152
|
return this.$$.ctx[30];
|
|
5116
5153
|
}
|
|
5117
5154
|
set smsverification(t) {
|
|
5118
|
-
this.$$set({ smsverification: t }),
|
|
5155
|
+
this.$$set({ smsverification: t }), te();
|
|
5119
5156
|
}
|
|
5120
5157
|
get simplepasswordvalidation() {
|
|
5121
5158
|
return this.$$.ctx[2];
|
|
5122
5159
|
}
|
|
5123
5160
|
set simplepasswordvalidation(t) {
|
|
5124
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5161
|
+
this.$$set({ simplepasswordvalidation: t }), te();
|
|
5125
5162
|
}
|
|
5126
5163
|
get clientstyling() {
|
|
5127
5164
|
return this.$$.ctx[3];
|
|
5128
5165
|
}
|
|
5129
5166
|
set clientstyling(t) {
|
|
5130
|
-
this.$$set({ clientstyling: t }),
|
|
5167
|
+
this.$$set({ clientstyling: t }), te();
|
|
5131
5168
|
}
|
|
5132
5169
|
get clientstylingurl() {
|
|
5133
5170
|
return this.$$.ctx[4];
|
|
5134
5171
|
}
|
|
5135
5172
|
set clientstylingurl(t) {
|
|
5136
|
-
this.$$set({ clientstylingurl: t }),
|
|
5173
|
+
this.$$set({ clientstylingurl: t }), te();
|
|
5137
5174
|
}
|
|
5138
5175
|
get translationurl() {
|
|
5139
5176
|
return this.$$.ctx[31];
|
|
5140
5177
|
}
|
|
5141
5178
|
set translationurl(t) {
|
|
5142
|
-
this.$$set({ translationurl: t }),
|
|
5179
|
+
this.$$set({ translationurl: t }), te();
|
|
5143
5180
|
}
|
|
5144
5181
|
get savecredentials() {
|
|
5145
5182
|
return this.$$.ctx[5];
|
|
5146
5183
|
}
|
|
5147
5184
|
set savecredentials(t) {
|
|
5148
|
-
this.$$set({ savecredentials: t }),
|
|
5185
|
+
this.$$set({ savecredentials: t }), te();
|
|
5149
5186
|
}
|
|
5150
5187
|
}
|
|
5151
|
-
|
|
5188
|
+
Dn(un, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5189
|
+
const os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5190
|
+
__proto__: null,
|
|
5191
|
+
default: un
|
|
5192
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
5152
5193
|
export {
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5194
|
+
fe as $,
|
|
5195
|
+
os as G,
|
|
5196
|
+
kn as S,
|
|
5197
|
+
Ne as a,
|
|
5198
|
+
nn as b,
|
|
5199
|
+
Dn as c,
|
|
5200
|
+
En as d,
|
|
5160
5201
|
S as e,
|
|
5161
|
-
|
|
5202
|
+
te as f,
|
|
5162
5203
|
z as g,
|
|
5163
5204
|
h,
|
|
5164
|
-
|
|
5205
|
+
Fn as i,
|
|
5165
5206
|
L as j,
|
|
5166
|
-
|
|
5207
|
+
p as k,
|
|
5167
5208
|
rt as l,
|
|
5168
|
-
|
|
5169
|
-
|
|
5209
|
+
ae as m,
|
|
5210
|
+
re as n,
|
|
5170
5211
|
Z as o,
|
|
5171
5212
|
I as p,
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5213
|
+
vn as q,
|
|
5214
|
+
Le as r,
|
|
5215
|
+
Ar as s,
|
|
5175
5216
|
N as t,
|
|
5176
|
-
|
|
5217
|
+
Bn as u,
|
|
5177
5218
|
ut as v,
|
|
5178
|
-
|
|
5219
|
+
Vo as w
|
|
5179
5220
|
};
|