@everymatrix/player-withdrawal 1.76.1 → 1.76.3
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/{PlayerWithdrawal-BBK2hYjm.js → PlayerWithdrawal-BI9vpGt7.js} +601 -615
- package/components/{PlayerWithdrawal-BX2bNsuJ.js → PlayerWithdrawal-Cwx-esQe.js} +611 -625
- package/components/PlayerWithdrawal-DD8V7DhE.cjs +18 -0
- package/es2015/player-withdrawal.cjs +1 -1
- package/es2015/player-withdrawal.js +1 -1
- package/esnext/player-withdrawal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerWithdrawal-BOYroasA.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Te = (e, t, r) => t in e ?
|
|
1
|
+
var dr = Object.defineProperty, pr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var tt = Object.getOwnPropertySymbols;
|
|
4
|
+
var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
br.call(t, r) && Te(e, r, t[r]);
|
|
8
|
+
if (tt)
|
|
9
|
+
for (var r of tt(t))
|
|
10
|
+
gr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, nt = (e, t) => pr(e, mr(t));
|
|
13
13
|
var H = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var it = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,29 +29,29 @@ var st = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function P() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ot(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ot() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ae(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Ot);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Je(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let fe;
|
|
48
|
+
function st(e, t) {
|
|
49
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function yr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Nt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Mt(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function vr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
65
65
|
}
|
|
66
66
|
function x(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function _r(e, t, r) {
|
|
70
|
+
const n = Er(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = N("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, xr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Er(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function Sr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function xr(e, t) {
|
|
87
87
|
return x(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -105,23 +105,23 @@ function F(e) {
|
|
|
105
105
|
function ne(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Le() {
|
|
109
109
|
return ne(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function wr(e, t, r, n) {
|
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
113
113
|
}
|
|
114
114
|
function E(e, t, r) {
|
|
115
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Sr(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function qe(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Tr(e) {
|
|
125
125
|
const t = {};
|
|
126
126
|
return e.childNodes.forEach(
|
|
127
127
|
/** @param {Element} node */
|
|
@@ -134,22 +134,22 @@ let ie;
|
|
|
134
134
|
function re(e) {
|
|
135
135
|
ie = e;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Hr() {
|
|
138
138
|
if (!ie)
|
|
139
139
|
throw new Error("Function called outside component initialization");
|
|
140
140
|
return ie;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
|
|
142
|
+
function Br(e) {
|
|
143
|
+
Hr().$$.on_mount.push(e);
|
|
144
144
|
}
|
|
145
|
-
const W = [],
|
|
145
|
+
const W = [], Me = [];
|
|
146
146
|
let V = [];
|
|
147
|
-
const
|
|
148
|
-
let
|
|
149
|
-
function
|
|
150
|
-
|
|
147
|
+
const at = [], Pr = /* @__PURE__ */ Promise.resolve();
|
|
148
|
+
let Ce = !1;
|
|
149
|
+
function Ar() {
|
|
150
|
+
Ce || (Ce = !0, Pr.then(B));
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Re(e) {
|
|
153
153
|
V.push(e);
|
|
154
154
|
}
|
|
155
155
|
const He = /* @__PURE__ */ new Set();
|
|
@@ -162,53 +162,53 @@ function B() {
|
|
|
162
162
|
try {
|
|
163
163
|
for (; j < W.length; ) {
|
|
164
164
|
const t = W[j];
|
|
165
|
-
j++, re(t),
|
|
165
|
+
j++, re(t), Or(t.$$);
|
|
166
166
|
}
|
|
167
167
|
} catch (t) {
|
|
168
168
|
throw W.length = 0, j = 0, t;
|
|
169
169
|
}
|
|
170
|
-
for (re(null), W.length = 0, j = 0;
|
|
171
|
-
|
|
170
|
+
for (re(null), W.length = 0, j = 0; Me.length; )
|
|
171
|
+
Me.pop()();
|
|
172
172
|
for (let t = 0; t < V.length; t += 1) {
|
|
173
173
|
const r = V[t];
|
|
174
174
|
He.has(r) || (He.add(r), r());
|
|
175
175
|
}
|
|
176
176
|
V.length = 0;
|
|
177
177
|
} while (W.length);
|
|
178
|
-
for (;
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
for (; at.length; )
|
|
179
|
+
at.pop()();
|
|
180
|
+
Ce = !1, He.clear(), re(e);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Or(e) {
|
|
183
183
|
if (e.fragment !== null) {
|
|
184
184
|
e.update(), ae(e.before_update);
|
|
185
185
|
const t = e.dirty;
|
|
186
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
186
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ir(e) {
|
|
190
190
|
const t = [], r = [];
|
|
191
191
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
192
192
|
}
|
|
193
|
-
const
|
|
194
|
-
function
|
|
195
|
-
e && e.i && (
|
|
193
|
+
const Nr = /* @__PURE__ */ new Set();
|
|
194
|
+
function Lr(e, t) {
|
|
195
|
+
e && e.i && (Nr.delete(e), e.i(t));
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Mr(e, t, r) {
|
|
198
198
|
const { fragment: n, after_update: i } = e.$$;
|
|
199
|
-
n && n.m(t, r),
|
|
200
|
-
const o = e.$$.on_mount.map(
|
|
199
|
+
n && n.m(t, r), Re(() => {
|
|
200
|
+
const o = e.$$.on_mount.map(Ot).filter(Je);
|
|
201
201
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
202
|
-
}), i.forEach(
|
|
202
|
+
}), i.forEach(Re);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Cr(e, t) {
|
|
205
205
|
const r = e.$$;
|
|
206
|
-
r.fragment !== null && (
|
|
206
|
+
r.fragment !== null && (Ir(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
208
|
+
function Rr(e, t) {
|
|
209
|
+
e.$$.dirty[0] === -1 && (W.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
212
212
|
const h = ie;
|
|
213
213
|
re(e);
|
|
214
214
|
const u = e.$$ = {
|
|
@@ -218,7 +218,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
218
218
|
props: o,
|
|
219
219
|
update: P,
|
|
220
220
|
not_equal: i,
|
|
221
|
-
bound:
|
|
221
|
+
bound: ot(),
|
|
222
222
|
// lifecycle
|
|
223
223
|
on_mount: [],
|
|
224
224
|
on_destroy: [],
|
|
@@ -227,28 +227,28 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
227
227
|
after_update: [],
|
|
228
228
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
229
229
|
// everything else
|
|
230
|
-
callbacks:
|
|
230
|
+
callbacks: ot(),
|
|
231
231
|
dirty: a,
|
|
232
232
|
skip_bound: !1,
|
|
233
233
|
root: t.target || h.$$.root
|
|
234
234
|
};
|
|
235
235
|
s && s(u.root);
|
|
236
236
|
let l = !1;
|
|
237
|
-
if (u.ctx = r
|
|
238
|
-
const m =
|
|
239
|
-
return u.ctx && i(u.ctx[
|
|
240
|
-
})
|
|
237
|
+
if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
|
|
238
|
+
const m = d.length ? d[0] : c;
|
|
239
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Rr(e, f)), c;
|
|
240
|
+
}), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
241
241
|
if (t.hydrate) {
|
|
242
|
-
const
|
|
243
|
-
u.fragment && u.fragment.l(
|
|
242
|
+
const f = Sr(t.target);
|
|
243
|
+
u.fragment && u.fragment.l(f), f.forEach(q);
|
|
244
244
|
} else
|
|
245
245
|
u.fragment && u.fragment.c();
|
|
246
|
-
t.intro &&
|
|
246
|
+
t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), B();
|
|
247
247
|
}
|
|
248
248
|
re(h);
|
|
249
249
|
}
|
|
250
|
-
let
|
|
251
|
-
typeof HTMLElement == "function" && (
|
|
250
|
+
let Lt;
|
|
251
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
252
252
|
constructor(t, r, n) {
|
|
253
253
|
super();
|
|
254
254
|
/** The Svelte component constructor */
|
|
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
connectedCallback() {
|
|
288
|
-
return
|
|
288
|
+
return it(this, null, function* () {
|
|
289
289
|
if (this.$$cn = !0, !this.$$c) {
|
|
290
290
|
let t = function(o) {
|
|
291
291
|
return () => {
|
|
@@ -309,18 +309,18 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
309
309
|
};
|
|
310
310
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const r = {}, n =
|
|
312
|
+
const r = {}, n = Tr(this);
|
|
313
313
|
for (const o of this.$$s)
|
|
314
314
|
o in n && (r[o] = [t(o)]);
|
|
315
315
|
for (const o of this.attributes) {
|
|
316
316
|
const s = this.$$g_p(o.name);
|
|
317
|
-
s in this.$$d || (this.$$d[s] =
|
|
317
|
+
s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
|
|
318
318
|
}
|
|
319
319
|
for (const o in this.$$p_d)
|
|
320
320
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
321
321
|
this.$$c = new this.$$ctor({
|
|
322
322
|
target: this.shadowRoot || this,
|
|
323
|
-
props:
|
|
323
|
+
props: nt(rt({}, this.$$d), {
|
|
324
324
|
$$slots: r,
|
|
325
325
|
$$scope: {
|
|
326
326
|
ctx: []
|
|
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
331
331
|
this.$$r = !0;
|
|
332
332
|
for (const o in this.$$p_d)
|
|
333
333
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
334
|
-
const s =
|
|
334
|
+
const s = pe(
|
|
335
335
|
o,
|
|
336
336
|
this.$$d[o],
|
|
337
337
|
this.$$p_d,
|
|
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
355
355
|
// and setting attributes through setAttribute etc, this is helpful
|
|
356
356
|
attributeChangedCallback(t, r, n) {
|
|
357
357
|
var i;
|
|
358
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
358
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
359
359
|
}
|
|
360
360
|
disconnectedCallback() {
|
|
361
361
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -368,7 +368,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
368
368
|
) || t;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
|
-
function
|
|
371
|
+
function pe(e, t, r, n) {
|
|
372
372
|
var o;
|
|
373
373
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
374
374
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -398,8 +398,8 @@ function de(e, t, r, n) {
|
|
|
398
398
|
return t;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
let s = class extends
|
|
401
|
+
function Ur(e, t, r, n, i, o) {
|
|
402
|
+
let s = class extends Lt {
|
|
403
403
|
constructor() {
|
|
404
404
|
super(e, r, i), this.$$p_d = t;
|
|
405
405
|
}
|
|
@@ -416,7 +416,7 @@ function Fr(e, t, r, n, i, o) {
|
|
|
416
416
|
},
|
|
417
417
|
set(h) {
|
|
418
418
|
var u;
|
|
419
|
-
h =
|
|
419
|
+
h = pe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
422
|
}), n.forEach((a) => {
|
|
@@ -429,7 +429,7 @@ function Fr(e, t, r, n, i, o) {
|
|
|
429
429
|
}), e.element = /** @type {any} */
|
|
430
430
|
s, s;
|
|
431
431
|
}
|
|
432
|
-
class
|
|
432
|
+
class Dr {
|
|
433
433
|
constructor() {
|
|
434
434
|
/**
|
|
435
435
|
* ### PRIVATE API
|
|
@@ -450,7 +450,7 @@ class jr {
|
|
|
450
450
|
}
|
|
451
451
|
/** @returns {void} */
|
|
452
452
|
$destroy() {
|
|
453
|
-
|
|
453
|
+
Cr(this, 1), this.$destroy = P;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -459,7 +459,7 @@ class jr {
|
|
|
459
459
|
* @returns {() => void}
|
|
460
460
|
*/
|
|
461
461
|
$on(t, r) {
|
|
462
|
-
if (!
|
|
462
|
+
if (!Je(r))
|
|
463
463
|
return P;
|
|
464
464
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
465
465
|
return n.push(r), () => {
|
|
@@ -472,18 +472,18 @@ class jr {
|
|
|
472
472
|
* @returns {void}
|
|
473
473
|
*/
|
|
474
474
|
$set(t) {
|
|
475
|
-
this.$$set && !
|
|
475
|
+
this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
const
|
|
479
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
480
|
-
function
|
|
478
|
+
const Gr = "4";
|
|
479
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
|
|
480
|
+
function Fr(e, t) {
|
|
481
481
|
if (e) {
|
|
482
482
|
const r = document.createElement("style");
|
|
483
483
|
r.innerHTML = t, e.appendChild(r);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function jr(e, t) {
|
|
487
487
|
const r = new URL(t);
|
|
488
488
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
489
489
|
const i = document.createElement("style");
|
|
@@ -492,7 +492,7 @@ function Vr(e, t) {
|
|
|
492
492
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function kr(e, t, r) {
|
|
496
496
|
if (window.emMessageBus) {
|
|
497
497
|
const n = document.createElement("style");
|
|
498
498
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -514,18 +514,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
514
514
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
515
515
|
PERFORMANCE OF THIS SOFTWARE.
|
|
516
516
|
***************************************************************************** */
|
|
517
|
-
var
|
|
518
|
-
return
|
|
517
|
+
var $e = function(e, t) {
|
|
518
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
519
519
|
r.__proto__ = n;
|
|
520
520
|
} || function(r, n) {
|
|
521
521
|
for (var i in n)
|
|
522
522
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
523
|
-
},
|
|
523
|
+
}, $e(e, t);
|
|
524
524
|
};
|
|
525
525
|
function L(e, t) {
|
|
526
526
|
if (typeof t != "function" && t !== null)
|
|
527
527
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
528
|
-
|
|
528
|
+
$e(e, t);
|
|
529
529
|
function r() {
|
|
530
530
|
this.constructor = e;
|
|
531
531
|
}
|
|
@@ -541,7 +541,7 @@ var v = function() {
|
|
|
541
541
|
return t;
|
|
542
542
|
}, v.apply(this, arguments);
|
|
543
543
|
};
|
|
544
|
-
function
|
|
544
|
+
function Wr(e, t) {
|
|
545
545
|
var r = {};
|
|
546
546
|
for (var n in e)
|
|
547
547
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -550,7 +550,7 @@ function zr(e, t) {
|
|
|
550
550
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
551
551
|
return r;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Ue(e) {
|
|
554
554
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
555
|
if (r)
|
|
556
556
|
return r.call(e);
|
|
@@ -562,7 +562,7 @@ function De(e) {
|
|
|
562
562
|
};
|
|
563
563
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function De(e, t) {
|
|
566
566
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
567
|
if (!r)
|
|
568
568
|
return e;
|
|
@@ -591,13 +591,13 @@ function X(e, t, r) {
|
|
|
591
591
|
function I(e) {
|
|
592
592
|
return typeof e == "function";
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Mt(e) {
|
|
595
595
|
var t = function(n) {
|
|
596
596
|
Error.call(n), n.stack = new Error().stack;
|
|
597
597
|
}, r = e(t);
|
|
598
598
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
599
|
}
|
|
600
|
-
var Be =
|
|
600
|
+
var Be = Mt(function(e) {
|
|
601
601
|
return function(r) {
|
|
602
602
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
603
|
` + r.map(function(n, i) {
|
|
@@ -606,7 +606,7 @@ var Be = Rt(function(e) {
|
|
|
606
606
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
607
|
};
|
|
608
608
|
});
|
|
609
|
-
function
|
|
609
|
+
function Ge(e, t) {
|
|
610
610
|
if (e) {
|
|
611
611
|
var r = e.indexOf(t);
|
|
612
612
|
0 <= r && e.splice(r, 1);
|
|
@@ -624,7 +624,7 @@ var _e = function() {
|
|
|
624
624
|
if (s)
|
|
625
625
|
if (this._parentage = null, Array.isArray(s))
|
|
626
626
|
try {
|
|
627
|
-
for (var a =
|
|
627
|
+
for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
|
|
628
628
|
var u = h.value;
|
|
629
629
|
u.remove(this);
|
|
630
630
|
}
|
|
@@ -647,23 +647,23 @@ var _e = function() {
|
|
|
647
647
|
} catch (g) {
|
|
648
648
|
o = g instanceof Be ? g.errors : [g];
|
|
649
649
|
}
|
|
650
|
-
var
|
|
651
|
-
if (
|
|
650
|
+
var f = this._finalizers;
|
|
651
|
+
if (f) {
|
|
652
652
|
this._finalizers = null;
|
|
653
653
|
try {
|
|
654
|
-
for (var
|
|
655
|
-
var m =
|
|
654
|
+
for (var c = Ue(f), d = c.next(); !d.done; d = c.next()) {
|
|
655
|
+
var m = d.value;
|
|
656
656
|
try {
|
|
657
|
-
|
|
657
|
+
ut(m);
|
|
658
658
|
} catch (g) {
|
|
659
|
-
o = o != null ? o : [], g instanceof Be ? o = X(X([],
|
|
659
|
+
o = o != null ? o : [], g instanceof Be ? o = X(X([], De(o)), De(g.errors)) : o.push(g);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
} catch (g) {
|
|
663
663
|
n = { error: g };
|
|
664
664
|
} finally {
|
|
665
665
|
try {
|
|
666
|
-
|
|
666
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
667
667
|
} finally {
|
|
668
668
|
if (n)
|
|
669
669
|
throw n.error;
|
|
@@ -677,7 +677,7 @@ var _e = function() {
|
|
|
677
677
|
var r;
|
|
678
678
|
if (t && t !== this)
|
|
679
679
|
if (this.closed)
|
|
680
|
-
|
|
680
|
+
ut(t);
|
|
681
681
|
else {
|
|
682
682
|
if (t instanceof e) {
|
|
683
683
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,56 +694,56 @@ var _e = function() {
|
|
|
694
694
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
695
|
}, e.prototype._removeParent = function(t) {
|
|
696
696
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
697
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
|
|
698
698
|
}, e.prototype.remove = function(t) {
|
|
699
699
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
700
|
+
r && Ge(r, t), t instanceof e && t._removeParent(this);
|
|
701
701
|
}, e.EMPTY = function() {
|
|
702
702
|
var t = new e();
|
|
703
703
|
return t.closed = !0, t;
|
|
704
704
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
705
|
+
}(), Ct = _e.EMPTY;
|
|
706
|
+
function Rt(e) {
|
|
707
707
|
return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function ut(e) {
|
|
710
710
|
I(e) ? e() : e.unsubscribe();
|
|
711
711
|
}
|
|
712
|
-
var
|
|
712
|
+
var Vr = {
|
|
713
713
|
onUnhandledError: null,
|
|
714
714
|
onStoppedNotification: null,
|
|
715
715
|
Promise: void 0,
|
|
716
716
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
717
717
|
useDeprecatedNextContext: !1
|
|
718
|
-
},
|
|
718
|
+
}, Xr = {
|
|
719
719
|
setTimeout: function(e, t) {
|
|
720
720
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
721
721
|
r[n - 2] = arguments[n];
|
|
722
|
-
return setTimeout.apply(void 0, X([e, t],
|
|
722
|
+
return setTimeout.apply(void 0, X([e, t], De(r)));
|
|
723
723
|
},
|
|
724
724
|
clearTimeout: function(e) {
|
|
725
725
|
return clearTimeout(e);
|
|
726
726
|
},
|
|
727
727
|
delegate: void 0
|
|
728
728
|
};
|
|
729
|
-
function
|
|
730
|
-
|
|
729
|
+
function zr(e) {
|
|
730
|
+
Xr.setTimeout(function() {
|
|
731
731
|
throw e;
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function ht() {
|
|
735
735
|
}
|
|
736
736
|
function me(e) {
|
|
737
737
|
e();
|
|
738
738
|
}
|
|
739
|
-
var
|
|
739
|
+
var $t = function(e) {
|
|
740
740
|
L(t, e);
|
|
741
741
|
function t(r) {
|
|
742
742
|
var n = e.call(this) || this;
|
|
743
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
743
|
+
return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Jr, n;
|
|
744
744
|
}
|
|
745
745
|
return t.create = function(r, n, i) {
|
|
746
|
-
return new
|
|
746
|
+
return new Fe(r, n, i);
|
|
747
747
|
}, t.prototype.next = function(r) {
|
|
748
748
|
this.isStopped || this._next(r);
|
|
749
749
|
}, t.prototype.error = function(r) {
|
|
@@ -767,11 +767,7 @@ var Gt = function(e) {
|
|
|
767
767
|
this.unsubscribe();
|
|
768
768
|
}
|
|
769
769
|
}, t;
|
|
770
|
-
}(_e),
|
|
771
|
-
function Pe(e, t) {
|
|
772
|
-
return Jr.call(e, t);
|
|
773
|
-
}
|
|
774
|
-
var qr = function() {
|
|
770
|
+
}(_e), Zr = function() {
|
|
775
771
|
function e(t) {
|
|
776
772
|
this.partialObserver = t;
|
|
777
773
|
}
|
|
@@ -781,7 +777,7 @@ var qr = function() {
|
|
|
781
777
|
try {
|
|
782
778
|
r.next(t);
|
|
783
779
|
} catch (n) {
|
|
784
|
-
|
|
780
|
+
ce(n);
|
|
785
781
|
}
|
|
786
782
|
}, e.prototype.error = function(t) {
|
|
787
783
|
var r = this.partialObserver;
|
|
@@ -789,68 +785,56 @@ var qr = function() {
|
|
|
789
785
|
try {
|
|
790
786
|
r.error(t);
|
|
791
787
|
} catch (n) {
|
|
792
|
-
|
|
788
|
+
ce(n);
|
|
793
789
|
}
|
|
794
790
|
else
|
|
795
|
-
|
|
791
|
+
ce(t);
|
|
796
792
|
}, e.prototype.complete = function() {
|
|
797
793
|
var t = this.partialObserver;
|
|
798
794
|
if (t.complete)
|
|
799
795
|
try {
|
|
800
796
|
t.complete();
|
|
801
797
|
} catch (r) {
|
|
802
|
-
|
|
798
|
+
ce(r);
|
|
803
799
|
}
|
|
804
800
|
}, e;
|
|
805
|
-
}(),
|
|
801
|
+
}(), Fe = function(e) {
|
|
806
802
|
L(t, e);
|
|
807
803
|
function t(r, n, i) {
|
|
808
804
|
var o = e.call(this) || this, s;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
};
|
|
815
|
-
else {
|
|
816
|
-
var a;
|
|
817
|
-
o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
818
|
-
return o.unsubscribe();
|
|
819
|
-
}, s = {
|
|
820
|
-
next: r.next && Pe(r.next, a),
|
|
821
|
-
error: r.error && Pe(r.error, a),
|
|
822
|
-
complete: r.complete && Pe(r.complete, a)
|
|
823
|
-
}) : s = r;
|
|
824
|
-
}
|
|
825
|
-
return o.destination = new qr(s), o;
|
|
805
|
+
return I(r) || !r ? s = {
|
|
806
|
+
next: r != null ? r : void 0,
|
|
807
|
+
error: n != null ? n : void 0,
|
|
808
|
+
complete: i != null ? i : void 0
|
|
809
|
+
} : s = r, o.destination = new Zr(s), o;
|
|
826
810
|
}
|
|
827
811
|
return t;
|
|
828
|
-
}(
|
|
829
|
-
function
|
|
830
|
-
|
|
812
|
+
}($t);
|
|
813
|
+
function ce(e) {
|
|
814
|
+
zr(e);
|
|
831
815
|
}
|
|
832
|
-
function
|
|
816
|
+
function Qr(e) {
|
|
833
817
|
throw e;
|
|
834
818
|
}
|
|
835
|
-
var
|
|
819
|
+
var Jr = {
|
|
836
820
|
closed: !0,
|
|
837
|
-
next:
|
|
838
|
-
error:
|
|
839
|
-
complete:
|
|
840
|
-
},
|
|
821
|
+
next: ht,
|
|
822
|
+
error: Qr,
|
|
823
|
+
complete: ht
|
|
824
|
+
}, qr = function() {
|
|
841
825
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
842
826
|
}();
|
|
843
|
-
function
|
|
827
|
+
function Yr(e) {
|
|
844
828
|
return e;
|
|
845
829
|
}
|
|
846
|
-
function
|
|
847
|
-
return e.length === 0 ?
|
|
830
|
+
function Kr(e) {
|
|
831
|
+
return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
|
|
848
832
|
return e.reduce(function(n, i) {
|
|
849
833
|
return i(n);
|
|
850
834
|
}, r);
|
|
851
835
|
};
|
|
852
836
|
}
|
|
853
|
-
var
|
|
837
|
+
var lt = function() {
|
|
854
838
|
function e(t) {
|
|
855
839
|
t && (this._subscribe = t);
|
|
856
840
|
}
|
|
@@ -858,7 +842,7 @@ var ft = function() {
|
|
|
858
842
|
var r = new e();
|
|
859
843
|
return r.source = this, r.operator = t, r;
|
|
860
844
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
861
|
-
var i = this, o =
|
|
845
|
+
var i = this, o = tn(t) ? t : new Fe(t, r, n);
|
|
862
846
|
return me(function() {
|
|
863
847
|
var s = i, a = s.operator, h = s.source;
|
|
864
848
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -871,8 +855,8 @@ var ft = function() {
|
|
|
871
855
|
}
|
|
872
856
|
}, e.prototype.forEach = function(t, r) {
|
|
873
857
|
var n = this;
|
|
874
|
-
return r =
|
|
875
|
-
var s = new
|
|
858
|
+
return r = ft(r), new r(function(i, o) {
|
|
859
|
+
var s = new Fe({
|
|
876
860
|
next: function(a) {
|
|
877
861
|
try {
|
|
878
862
|
t(a);
|
|
@@ -888,15 +872,15 @@ var ft = function() {
|
|
|
888
872
|
}, e.prototype._subscribe = function(t) {
|
|
889
873
|
var r;
|
|
890
874
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
891
|
-
}, e.prototype[
|
|
875
|
+
}, e.prototype[qr] = function() {
|
|
892
876
|
return this;
|
|
893
877
|
}, e.prototype.pipe = function() {
|
|
894
878
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
895
879
|
t[r] = arguments[r];
|
|
896
|
-
return
|
|
880
|
+
return Kr(t)(this);
|
|
897
881
|
}, e.prototype.toPromise = function(t) {
|
|
898
882
|
var r = this;
|
|
899
|
-
return t =
|
|
883
|
+
return t = ft(t), new t(function(n, i) {
|
|
900
884
|
var o;
|
|
901
885
|
r.subscribe(function(s) {
|
|
902
886
|
return o = s;
|
|
@@ -910,32 +894,32 @@ var ft = function() {
|
|
|
910
894
|
return new e(t);
|
|
911
895
|
}, e;
|
|
912
896
|
}();
|
|
913
|
-
function
|
|
897
|
+
function ft(e) {
|
|
914
898
|
var t;
|
|
915
|
-
return (t = e != null ? e :
|
|
899
|
+
return (t = e != null ? e : Vr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
916
900
|
}
|
|
917
|
-
function
|
|
901
|
+
function en(e) {
|
|
918
902
|
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
919
903
|
}
|
|
920
|
-
function
|
|
921
|
-
return e && e instanceof
|
|
904
|
+
function tn(e) {
|
|
905
|
+
return e && e instanceof $t || en(e) && Rt(e);
|
|
922
906
|
}
|
|
923
|
-
var
|
|
907
|
+
var rn = Mt(function(e) {
|
|
924
908
|
return function() {
|
|
925
909
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
926
910
|
};
|
|
927
|
-
}),
|
|
911
|
+
}), Ut = function(e) {
|
|
928
912
|
L(t, e);
|
|
929
913
|
function t() {
|
|
930
914
|
var r = e.call(this) || this;
|
|
931
915
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
932
916
|
}
|
|
933
917
|
return t.prototype.lift = function(r) {
|
|
934
|
-
var n = new
|
|
918
|
+
var n = new ct(this, this);
|
|
935
919
|
return n.operator = r, n;
|
|
936
920
|
}, t.prototype._throwIfClosed = function() {
|
|
937
921
|
if (this.closed)
|
|
938
|
-
throw new
|
|
922
|
+
throw new rn();
|
|
939
923
|
}, t.prototype.next = function(r) {
|
|
940
924
|
var n = this;
|
|
941
925
|
me(function() {
|
|
@@ -943,7 +927,7 @@ var sn = Rt(function(e) {
|
|
|
943
927
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
944
928
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
945
929
|
try {
|
|
946
|
-
for (var s =
|
|
930
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
947
931
|
var h = a.value;
|
|
948
932
|
h.next(r);
|
|
949
933
|
}
|
|
@@ -992,19 +976,19 @@ var sn = Rt(function(e) {
|
|
|
992
976
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
993
977
|
}, t.prototype._innerSubscribe = function(r) {
|
|
994
978
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
995
|
-
return o || s ?
|
|
996
|
-
n.currentObservers = null,
|
|
979
|
+
return o || s ? Ct : (this.currentObservers = null, a.push(r), new _e(function() {
|
|
980
|
+
n.currentObservers = null, Ge(a, r);
|
|
997
981
|
}));
|
|
998
982
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
999
983
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1000
984
|
i ? r.error(o) : s && r.complete();
|
|
1001
985
|
}, t.prototype.asObservable = function() {
|
|
1002
|
-
var r = new
|
|
986
|
+
var r = new lt();
|
|
1003
987
|
return r.source = this, r;
|
|
1004
988
|
}, t.create = function(r, n) {
|
|
1005
|
-
return new
|
|
989
|
+
return new ct(r, n);
|
|
1006
990
|
}, t;
|
|
1007
|
-
}(
|
|
991
|
+
}(lt), ct = function(e) {
|
|
1008
992
|
L(t, e);
|
|
1009
993
|
function t(r, n) {
|
|
1010
994
|
var i = e.call(this) || this;
|
|
@@ -1021,17 +1005,17 @@ var sn = Rt(function(e) {
|
|
|
1021
1005
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1022
1006
|
}, t.prototype._subscribe = function(r) {
|
|
1023
1007
|
var n, i;
|
|
1024
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1008
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
|
|
1025
1009
|
}, t;
|
|
1026
|
-
}(
|
|
1010
|
+
}(Ut), Dt = {
|
|
1027
1011
|
now: function() {
|
|
1028
|
-
return (
|
|
1012
|
+
return (Dt.delegate || Date).now();
|
|
1029
1013
|
},
|
|
1030
1014
|
delegate: void 0
|
|
1031
|
-
},
|
|
1015
|
+
}, nn = function(e) {
|
|
1032
1016
|
L(t, e);
|
|
1033
1017
|
function t(r, n, i) {
|
|
1034
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1018
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
1035
1019
|
var o = e.call(this) || this;
|
|
1036
1020
|
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;
|
|
1037
1021
|
}
|
|
@@ -1051,15 +1035,15 @@ var sn = Rt(function(e) {
|
|
|
1051
1035
|
u && o.splice(0, u + 1);
|
|
1052
1036
|
}
|
|
1053
1037
|
}, t;
|
|
1054
|
-
}(
|
|
1055
|
-
const
|
|
1056
|
-
if (
|
|
1057
|
-
const r = new
|
|
1058
|
-
|
|
1038
|
+
}(Ut);
|
|
1039
|
+
const dt = [], pt = {}, on = (e, t = 0) => {
|
|
1040
|
+
if (dt.indexOf(e) == -1) {
|
|
1041
|
+
const r = new nn(t);
|
|
1042
|
+
pt[e] = r, dt.push(e);
|
|
1059
1043
|
}
|
|
1060
|
-
return
|
|
1044
|
+
return pt[e];
|
|
1061
1045
|
}, k = [];
|
|
1062
|
-
function
|
|
1046
|
+
function sn(e, t) {
|
|
1063
1047
|
return {
|
|
1064
1048
|
subscribe: Ee(e, t).subscribe
|
|
1065
1049
|
};
|
|
@@ -1068,7 +1052,7 @@ function Ee(e, t = P) {
|
|
|
1068
1052
|
let r;
|
|
1069
1053
|
const n = /* @__PURE__ */ new Set();
|
|
1070
1054
|
function i(a) {
|
|
1071
|
-
if (
|
|
1055
|
+
if (It(e, a) && (e = a, r)) {
|
|
1072
1056
|
const h = !k.length;
|
|
1073
1057
|
for (const u of n)
|
|
1074
1058
|
u[1](), k.push(u, e);
|
|
@@ -1095,96 +1079,96 @@ function Y(e, t, r) {
|
|
|
1095
1079
|
if (!i.every(Boolean))
|
|
1096
1080
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1097
1081
|
const o = t.length < 2;
|
|
1098
|
-
return
|
|
1082
|
+
return sn(r, (s, a) => {
|
|
1099
1083
|
let h = !1;
|
|
1100
1084
|
const u = [];
|
|
1101
|
-
let l = 0,
|
|
1102
|
-
const
|
|
1085
|
+
let l = 0, f = P;
|
|
1086
|
+
const c = () => {
|
|
1103
1087
|
if (l)
|
|
1104
1088
|
return;
|
|
1105
|
-
|
|
1089
|
+
f();
|
|
1106
1090
|
const m = t(n ? u[0] : u, s, a);
|
|
1107
|
-
o ? s(m) :
|
|
1108
|
-
},
|
|
1109
|
-
(m, g) =>
|
|
1091
|
+
o ? s(m) : f = Je(m) ? m : P;
|
|
1092
|
+
}, d = i.map(
|
|
1093
|
+
(m, g) => Nt(
|
|
1110
1094
|
m,
|
|
1111
1095
|
(w) => {
|
|
1112
|
-
u[g] = w, l &= ~(1 << g), h &&
|
|
1096
|
+
u[g] = w, l &= ~(1 << g), h && c();
|
|
1113
1097
|
},
|
|
1114
1098
|
() => {
|
|
1115
1099
|
l |= 1 << g;
|
|
1116
1100
|
}
|
|
1117
1101
|
)
|
|
1118
1102
|
);
|
|
1119
|
-
return h = !0,
|
|
1120
|
-
ae(
|
|
1103
|
+
return h = !0, c(), function() {
|
|
1104
|
+
ae(d), f(), h = !1;
|
|
1121
1105
|
};
|
|
1122
1106
|
});
|
|
1123
1107
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return e
|
|
1108
|
+
function an(e) {
|
|
1109
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1126
1110
|
}
|
|
1127
|
-
var
|
|
1128
|
-
return
|
|
1111
|
+
var un = function(t) {
|
|
1112
|
+
return hn(t) && !ln(t);
|
|
1129
1113
|
};
|
|
1130
|
-
function
|
|
1114
|
+
function hn(e) {
|
|
1131
1115
|
return !!e && typeof e == "object";
|
|
1132
1116
|
}
|
|
1133
|
-
function
|
|
1117
|
+
function ln(e) {
|
|
1134
1118
|
var t = Object.prototype.toString.call(e);
|
|
1135
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1119
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
|
1136
1120
|
}
|
|
1137
|
-
var
|
|
1138
|
-
function
|
|
1139
|
-
return e.$$typeof ===
|
|
1121
|
+
var fn = typeof Symbol == "function" && Symbol.for, cn = fn ? Symbol.for("react.element") : 60103;
|
|
1122
|
+
function dn(e) {
|
|
1123
|
+
return e.$$typeof === cn;
|
|
1140
1124
|
}
|
|
1141
|
-
function
|
|
1125
|
+
function pn(e) {
|
|
1142
1126
|
return Array.isArray(e) ? [] : {};
|
|
1143
1127
|
}
|
|
1144
1128
|
function oe(e, t) {
|
|
1145
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1129
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(pn(e), e, t) : e;
|
|
1146
1130
|
}
|
|
1147
|
-
function
|
|
1131
|
+
function mn(e, t, r) {
|
|
1148
1132
|
return e.concat(t).map(function(n) {
|
|
1149
1133
|
return oe(n, r);
|
|
1150
1134
|
});
|
|
1151
1135
|
}
|
|
1152
|
-
function
|
|
1136
|
+
function bn(e, t) {
|
|
1153
1137
|
if (!t.customMerge)
|
|
1154
1138
|
return z;
|
|
1155
1139
|
var r = t.customMerge(e);
|
|
1156
1140
|
return typeof r == "function" ? r : z;
|
|
1157
1141
|
}
|
|
1158
|
-
function
|
|
1142
|
+
function gn(e) {
|
|
1159
1143
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1160
1144
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1161
1145
|
}) : [];
|
|
1162
1146
|
}
|
|
1163
|
-
function
|
|
1164
|
-
return Object.keys(e).concat(
|
|
1147
|
+
function mt(e) {
|
|
1148
|
+
return Object.keys(e).concat(gn(e));
|
|
1165
1149
|
}
|
|
1166
|
-
function
|
|
1150
|
+
function Gt(e, t) {
|
|
1167
1151
|
try {
|
|
1168
1152
|
return t in e;
|
|
1169
1153
|
} catch (r) {
|
|
1170
1154
|
return !1;
|
|
1171
1155
|
}
|
|
1172
1156
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return
|
|
1157
|
+
function yn(e, t) {
|
|
1158
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1175
1159
|
}
|
|
1176
|
-
function
|
|
1160
|
+
function vn(e, t, r) {
|
|
1177
1161
|
var n = {};
|
|
1178
|
-
return r.isMergeableObject(e) &&
|
|
1162
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1179
1163
|
n[i] = oe(e[i], r);
|
|
1180
|
-
}),
|
|
1181
|
-
|
|
1164
|
+
}), mt(t).forEach(function(i) {
|
|
1165
|
+
yn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1182
1166
|
}), n;
|
|
1183
1167
|
}
|
|
1184
1168
|
function z(e, t, r) {
|
|
1185
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1169
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1186
1170
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1187
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1171
|
+
return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : oe(t, r);
|
|
1188
1172
|
}
|
|
1189
1173
|
z.all = function(t, r) {
|
|
1190
1174
|
if (!Array.isArray(t))
|
|
@@ -1193,58 +1177,60 @@ z.all = function(t, r) {
|
|
|
1193
1177
|
return z(n, i, r);
|
|
1194
1178
|
}, {});
|
|
1195
1179
|
};
|
|
1196
|
-
var
|
|
1197
|
-
const
|
|
1198
|
-
function
|
|
1199
|
-
var r = t && t.cache ? t.cache :
|
|
1180
|
+
var _n = z, En = _n;
|
|
1181
|
+
const xn = /* @__PURE__ */ an(En);
|
|
1182
|
+
function Pe(e, t) {
|
|
1183
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Sn;
|
|
1200
1184
|
return i(e, {
|
|
1201
1185
|
cache: r,
|
|
1202
1186
|
serializer: n
|
|
1203
1187
|
});
|
|
1204
1188
|
}
|
|
1205
|
-
function
|
|
1189
|
+
function wn(e) {
|
|
1206
1190
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1207
1191
|
}
|
|
1208
|
-
function
|
|
1209
|
-
var i =
|
|
1192
|
+
function Ft(e, t, r, n) {
|
|
1193
|
+
var i = wn(n) ? n : r(n), o = t.get(i);
|
|
1210
1194
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1211
1195
|
}
|
|
1212
|
-
function
|
|
1196
|
+
function jt(e, t, r) {
|
|
1213
1197
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1214
1198
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1215
1199
|
}
|
|
1216
|
-
function
|
|
1200
|
+
function Ye(e, t, r, n, i) {
|
|
1217
1201
|
return r.bind(t, e, n, i);
|
|
1218
1202
|
}
|
|
1219
|
-
function
|
|
1220
|
-
var r = e.length === 1 ?
|
|
1221
|
-
return
|
|
1203
|
+
function Sn(e, t) {
|
|
1204
|
+
var r = e.length === 1 ? Ft : jt;
|
|
1205
|
+
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1222
1206
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return
|
|
1207
|
+
function Tn(e, t) {
|
|
1208
|
+
return Ye(e, this, jt, t.cache.create(), t.serializer);
|
|
1225
1209
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return
|
|
1210
|
+
function Hn(e, t) {
|
|
1211
|
+
return Ye(e, this, Ft, t.cache.create(), t.serializer);
|
|
1228
1212
|
}
|
|
1229
|
-
var
|
|
1213
|
+
var Bn = function() {
|
|
1230
1214
|
return JSON.stringify(arguments);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1215
|
+
}, Pn = (
|
|
1216
|
+
/** @class */
|
|
1217
|
+
function() {
|
|
1218
|
+
function e() {
|
|
1219
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1220
|
+
}
|
|
1221
|
+
return e.prototype.get = function(t) {
|
|
1222
|
+
return this.cache[t];
|
|
1223
|
+
}, e.prototype.set = function(t, r) {
|
|
1224
|
+
this.cache[t] = r;
|
|
1225
|
+
}, e;
|
|
1226
|
+
}()
|
|
1227
|
+
), An = {
|
|
1242
1228
|
create: function() {
|
|
1243
|
-
return new
|
|
1229
|
+
return new Pn();
|
|
1244
1230
|
}
|
|
1245
|
-
},
|
|
1246
|
-
variadic:
|
|
1247
|
-
monadic:
|
|
1231
|
+
}, Ae = {
|
|
1232
|
+
variadic: Tn,
|
|
1233
|
+
monadic: Hn
|
|
1248
1234
|
}, b;
|
|
1249
1235
|
(function(e) {
|
|
1250
1236
|
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";
|
|
@@ -1257,43 +1243,43 @@ var Z;
|
|
|
1257
1243
|
(function(e) {
|
|
1258
1244
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1259
1245
|
})(Z || (Z = {}));
|
|
1260
|
-
function
|
|
1246
|
+
function bt(e) {
|
|
1261
1247
|
return e.type === _.literal;
|
|
1262
1248
|
}
|
|
1263
|
-
function
|
|
1249
|
+
function On(e) {
|
|
1264
1250
|
return e.type === _.argument;
|
|
1265
1251
|
}
|
|
1266
|
-
function
|
|
1252
|
+
function kt(e) {
|
|
1267
1253
|
return e.type === _.number;
|
|
1268
1254
|
}
|
|
1269
|
-
function
|
|
1255
|
+
function Wt(e) {
|
|
1270
1256
|
return e.type === _.date;
|
|
1271
1257
|
}
|
|
1272
|
-
function
|
|
1258
|
+
function Vt(e) {
|
|
1273
1259
|
return e.type === _.time;
|
|
1274
1260
|
}
|
|
1275
|
-
function
|
|
1261
|
+
function Xt(e) {
|
|
1276
1262
|
return e.type === _.select;
|
|
1277
1263
|
}
|
|
1278
|
-
function
|
|
1264
|
+
function zt(e) {
|
|
1279
1265
|
return e.type === _.plural;
|
|
1280
1266
|
}
|
|
1281
|
-
function
|
|
1267
|
+
function In(e) {
|
|
1282
1268
|
return e.type === _.pound;
|
|
1283
1269
|
}
|
|
1284
|
-
function
|
|
1270
|
+
function Zt(e) {
|
|
1285
1271
|
return e.type === _.tag;
|
|
1286
1272
|
}
|
|
1287
|
-
function
|
|
1273
|
+
function Qt(e) {
|
|
1288
1274
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1289
1275
|
}
|
|
1290
|
-
function
|
|
1276
|
+
function je(e) {
|
|
1291
1277
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1292
1278
|
}
|
|
1293
|
-
var
|
|
1294
|
-
function
|
|
1279
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[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;
|
|
1280
|
+
function Ln(e) {
|
|
1295
1281
|
var t = {};
|
|
1296
|
-
return e.replace(
|
|
1282
|
+
return e.replace(Nn, function(r) {
|
|
1297
1283
|
var n = r.length;
|
|
1298
1284
|
switch (r[0]) {
|
|
1299
1285
|
case "G":
|
|
@@ -1382,36 +1368,36 @@ function Cn(e) {
|
|
|
1382
1368
|
return "";
|
|
1383
1369
|
}), t;
|
|
1384
1370
|
}
|
|
1385
|
-
var
|
|
1386
|
-
function
|
|
1371
|
+
var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1372
|
+
function Cn(e) {
|
|
1387
1373
|
if (e.length === 0)
|
|
1388
1374
|
throw new Error("Number skeleton cannot be empty");
|
|
1389
|
-
for (var t = e.split(
|
|
1390
|
-
return
|
|
1375
|
+
for (var t = e.split(Mn).filter(function(c) {
|
|
1376
|
+
return c.length > 0;
|
|
1391
1377
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1392
1378
|
var o = i[n], s = o.split("/");
|
|
1393
1379
|
if (s.length === 0)
|
|
1394
1380
|
throw new Error("Invalid number skeleton");
|
|
1395
1381
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1396
|
-
var
|
|
1397
|
-
if (
|
|
1382
|
+
var f = l[u];
|
|
1383
|
+
if (f.length === 0)
|
|
1398
1384
|
throw new Error("Invalid number skeleton");
|
|
1399
1385
|
}
|
|
1400
1386
|
r.push({ stem: a, options: h });
|
|
1401
1387
|
}
|
|
1402
1388
|
return r;
|
|
1403
1389
|
}
|
|
1404
|
-
function
|
|
1390
|
+
function Rn(e) {
|
|
1405
1391
|
return e.replace(/^(.*?)-/, "");
|
|
1406
1392
|
}
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1393
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1394
|
+
function yt(e) {
|
|
1409
1395
|
var t = {};
|
|
1410
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1396
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
|
|
1411
1397
|
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)), "";
|
|
1412
1398
|
}), t;
|
|
1413
1399
|
}
|
|
1414
|
-
function
|
|
1400
|
+
function Kt(e) {
|
|
1415
1401
|
switch (e) {
|
|
1416
1402
|
case "sign-auto":
|
|
1417
1403
|
return {
|
|
@@ -1451,7 +1437,7 @@ function rr(e) {
|
|
|
1451
1437
|
};
|
|
1452
1438
|
}
|
|
1453
1439
|
}
|
|
1454
|
-
function
|
|
1440
|
+
function Un(e) {
|
|
1455
1441
|
var t;
|
|
1456
1442
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1457
1443
|
notation: "engineering"
|
|
@@ -1459,17 +1445,17 @@ function Gn(e) {
|
|
|
1459
1445
|
notation: "scientific"
|
|
1460
1446
|
}, e = e.slice(1)), t) {
|
|
1461
1447
|
var r = e.slice(0, 2);
|
|
1462
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1448
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
1463
1449
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1464
1450
|
t.minimumIntegerDigits = e.length;
|
|
1465
1451
|
}
|
|
1466
1452
|
return t;
|
|
1467
1453
|
}
|
|
1468
|
-
function
|
|
1469
|
-
var t = {}, r =
|
|
1454
|
+
function vt(e) {
|
|
1455
|
+
var t = {}, r = Kt(e);
|
|
1470
1456
|
return r || t;
|
|
1471
1457
|
}
|
|
1472
|
-
function
|
|
1458
|
+
function Dn(e) {
|
|
1473
1459
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1474
1460
|
var i = n[r];
|
|
1475
1461
|
switch (i.stem) {
|
|
@@ -1493,7 +1479,7 @@ function Fn(e) {
|
|
|
1493
1479
|
continue;
|
|
1494
1480
|
case "measure-unit":
|
|
1495
1481
|
case "unit":
|
|
1496
|
-
t.style = "unit", t.unit =
|
|
1482
|
+
t.style = "unit", t.unit = Rn(i.options[0]);
|
|
1497
1483
|
continue;
|
|
1498
1484
|
case "compact-short":
|
|
1499
1485
|
case "K":
|
|
@@ -1505,12 +1491,12 @@ function Fn(e) {
|
|
|
1505
1491
|
continue;
|
|
1506
1492
|
case "scientific":
|
|
1507
1493
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1508
|
-
return v(v({}, h),
|
|
1494
|
+
return v(v({}, h), vt(u));
|
|
1509
1495
|
}, {}));
|
|
1510
1496
|
continue;
|
|
1511
1497
|
case "engineering":
|
|
1512
1498
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1513
|
-
return v(v({}, h),
|
|
1499
|
+
return v(v({}, h), vt(u));
|
|
1514
1500
|
}, {}));
|
|
1515
1501
|
continue;
|
|
1516
1502
|
case "notation-simple":
|
|
@@ -1555,45 +1541,45 @@ function Fn(e) {
|
|
|
1555
1541
|
case "integer-width":
|
|
1556
1542
|
if (i.options.length > 1)
|
|
1557
1543
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1558
|
-
i.options[0].replace(
|
|
1544
|
+
i.options[0].replace($n, function(h, u, l, f, c, d) {
|
|
1559
1545
|
if (u)
|
|
1560
1546
|
t.minimumIntegerDigits = l.length;
|
|
1561
1547
|
else {
|
|
1562
|
-
if (
|
|
1548
|
+
if (f && c)
|
|
1563
1549
|
throw new Error("We currently do not support maximum integer digits");
|
|
1564
|
-
if (
|
|
1550
|
+
if (d)
|
|
1565
1551
|
throw new Error("We currently do not support exact integer digits");
|
|
1566
1552
|
}
|
|
1567
1553
|
return "";
|
|
1568
1554
|
});
|
|
1569
1555
|
continue;
|
|
1570
1556
|
}
|
|
1571
|
-
if (
|
|
1557
|
+
if (Yt.test(i.stem)) {
|
|
1572
1558
|
t.minimumIntegerDigits = i.stem.length;
|
|
1573
1559
|
continue;
|
|
1574
1560
|
}
|
|
1575
|
-
if (
|
|
1561
|
+
if (gt.test(i.stem)) {
|
|
1576
1562
|
if (i.options.length > 1)
|
|
1577
1563
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1578
|
-
i.stem.replace(
|
|
1579
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1564
|
+
i.stem.replace(gt, function(h, u, l, f, c, d) {
|
|
1565
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1580
1566
|
});
|
|
1581
1567
|
var o = i.options[0];
|
|
1582
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1568
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
|
|
1583
1569
|
continue;
|
|
1584
1570
|
}
|
|
1585
|
-
if (
|
|
1586
|
-
t = v(v({}, t),
|
|
1571
|
+
if (qt.test(i.stem)) {
|
|
1572
|
+
t = v(v({}, t), yt(i.stem));
|
|
1587
1573
|
continue;
|
|
1588
1574
|
}
|
|
1589
|
-
var s =
|
|
1575
|
+
var s = Kt(i.stem);
|
|
1590
1576
|
s && (t = v(v({}, t), s));
|
|
1591
|
-
var a =
|
|
1577
|
+
var a = Un(i.stem);
|
|
1592
1578
|
a && (t = v(v({}, t), a));
|
|
1593
1579
|
}
|
|
1594
1580
|
return t;
|
|
1595
1581
|
}
|
|
1596
|
-
var
|
|
1582
|
+
var de = {
|
|
1597
1583
|
"001": [
|
|
1598
1584
|
"H",
|
|
1599
1585
|
"h"
|
|
@@ -3008,13 +2994,13 @@ var pe = {
|
|
|
3008
2994
|
"h"
|
|
3009
2995
|
]
|
|
3010
2996
|
};
|
|
3011
|
-
function
|
|
2997
|
+
function Gn(e, t) {
|
|
3012
2998
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3013
2999
|
var i = e.charAt(n);
|
|
3014
3000
|
if (i === "j") {
|
|
3015
3001
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3016
3002
|
o++, n++;
|
|
3017
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3003
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Fn(t);
|
|
3018
3004
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3019
3005
|
r += h;
|
|
3020
3006
|
for (; s-- > 0; )
|
|
@@ -3024,7 +3010,7 @@ function jn(e, t) {
|
|
|
3024
3010
|
}
|
|
3025
3011
|
return r;
|
|
3026
3012
|
}
|
|
3027
|
-
function
|
|
3013
|
+
function Fn(e) {
|
|
3028
3014
|
var t = e.hourCycle;
|
|
3029
3015
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3030
3016
|
e.hourCycles && // @ts-ignore
|
|
@@ -3043,23 +3029,23 @@ function kn(e) {
|
|
|
3043
3029
|
}
|
|
3044
3030
|
var r = e.language, n;
|
|
3045
3031
|
r !== "root" && (n = e.maximize().region);
|
|
3046
|
-
var i =
|
|
3032
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3047
3033
|
return i[0];
|
|
3048
3034
|
}
|
|
3049
|
-
var
|
|
3035
|
+
var Oe, jn = new RegExp("^".concat(Jt.source, "*")), kn = new RegExp("".concat(Jt.source, "*$"));
|
|
3050
3036
|
function y(e, t) {
|
|
3051
3037
|
return { start: e, end: t };
|
|
3052
3038
|
}
|
|
3053
|
-
var
|
|
3039
|
+
var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
|
|
3054
3040
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3055
|
-
},
|
|
3041
|
+
}, ke = !0;
|
|
3056
3042
|
try {
|
|
3057
|
-
var
|
|
3058
|
-
|
|
3043
|
+
var Yn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3044
|
+
ke = ((Oe = Yn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3059
3045
|
} catch (e) {
|
|
3060
|
-
|
|
3046
|
+
ke = !1;
|
|
3061
3047
|
}
|
|
3062
|
-
var
|
|
3048
|
+
var _t = Wn ? (
|
|
3063
3049
|
// Native
|
|
3064
3050
|
function(t, r, n) {
|
|
3065
3051
|
return t.startsWith(r, n);
|
|
@@ -3069,7 +3055,7 @@ var xt = Xn ? (
|
|
|
3069
3055
|
function(t, r, n) {
|
|
3070
3056
|
return t.slice(n, n + r.length) === r;
|
|
3071
3057
|
}
|
|
3072
|
-
),
|
|
3058
|
+
), We = Vn ? String.fromCodePoint : (
|
|
3073
3059
|
// IE11
|
|
3074
3060
|
function() {
|
|
3075
3061
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3081,9 +3067,9 @@ var xt = Xn ? (
|
|
|
3081
3067
|
}
|
|
3082
3068
|
return n;
|
|
3083
3069
|
}
|
|
3084
|
-
),
|
|
3070
|
+
), Et = (
|
|
3085
3071
|
// native
|
|
3086
|
-
|
|
3072
|
+
Xn ? Object.fromEntries : (
|
|
3087
3073
|
// Ponyfill
|
|
3088
3074
|
function(t) {
|
|
3089
3075
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3093,7 +3079,7 @@ var xt = Xn ? (
|
|
|
3093
3079
|
return r;
|
|
3094
3080
|
}
|
|
3095
3081
|
)
|
|
3096
|
-
),
|
|
3082
|
+
), er = zn ? (
|
|
3097
3083
|
// Native
|
|
3098
3084
|
function(t, r) {
|
|
3099
3085
|
return t.codePointAt(r);
|
|
@@ -3107,7 +3093,7 @@ var xt = Xn ? (
|
|
|
3107
3093
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3108
3094
|
}
|
|
3109
3095
|
}
|
|
3110
|
-
),
|
|
3096
|
+
), Kn = Zn ? (
|
|
3111
3097
|
// Native
|
|
3112
3098
|
function(t) {
|
|
3113
3099
|
return t.trimStart();
|
|
@@ -3115,9 +3101,9 @@ var xt = Xn ? (
|
|
|
3115
3101
|
) : (
|
|
3116
3102
|
// Ponyfill
|
|
3117
3103
|
function(t) {
|
|
3118
|
-
return t.replace(
|
|
3104
|
+
return t.replace(jn, "");
|
|
3119
3105
|
}
|
|
3120
|
-
),
|
|
3106
|
+
), ei = Qn ? (
|
|
3121
3107
|
// Native
|
|
3122
3108
|
function(t) {
|
|
3123
3109
|
return t.trimEnd();
|
|
@@ -3125,32 +3111,32 @@ var xt = Xn ? (
|
|
|
3125
3111
|
) : (
|
|
3126
3112
|
// Ponyfill
|
|
3127
3113
|
function(t) {
|
|
3128
|
-
return t.replace(
|
|
3114
|
+
return t.replace(kn, "");
|
|
3129
3115
|
}
|
|
3130
3116
|
);
|
|
3131
|
-
function
|
|
3117
|
+
function tr(e, t) {
|
|
3132
3118
|
return new RegExp(e, t);
|
|
3133
3119
|
}
|
|
3134
|
-
var
|
|
3135
|
-
if (
|
|
3136
|
-
var
|
|
3137
|
-
|
|
3120
|
+
var Ve;
|
|
3121
|
+
if (ke) {
|
|
3122
|
+
var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3123
|
+
Ve = function(t, r) {
|
|
3138
3124
|
var n;
|
|
3139
|
-
|
|
3140
|
-
var i =
|
|
3125
|
+
xt.lastIndex = r;
|
|
3126
|
+
var i = xt.exec(t);
|
|
3141
3127
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3142
3128
|
};
|
|
3143
3129
|
} else
|
|
3144
|
-
|
|
3130
|
+
Ve = function(t, r) {
|
|
3145
3131
|
for (var n = []; ; ) {
|
|
3146
|
-
var i =
|
|
3147
|
-
if (i === void 0 ||
|
|
3132
|
+
var i = er(t, r);
|
|
3133
|
+
if (i === void 0 || rr(i) || ii(i))
|
|
3148
3134
|
break;
|
|
3149
3135
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3150
3136
|
}
|
|
3151
|
-
return
|
|
3137
|
+
return We.apply(void 0, n);
|
|
3152
3138
|
};
|
|
3153
|
-
var
|
|
3139
|
+
var ti = (
|
|
3154
3140
|
/** @class */
|
|
3155
3141
|
function() {
|
|
3156
3142
|
function e(t, r) {
|
|
@@ -3181,7 +3167,7 @@ var ni = (
|
|
|
3181
3167
|
if (n)
|
|
3182
3168
|
break;
|
|
3183
3169
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3184
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3170
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3185
3171
|
var s = this.parseTag(t, r);
|
|
3186
3172
|
if (s.err)
|
|
3187
3173
|
return s;
|
|
@@ -3214,7 +3200,7 @@ var ni = (
|
|
|
3214
3200
|
return o;
|
|
3215
3201
|
var s = o.val, a = this.clonePosition();
|
|
3216
3202
|
if (this.bumpIf("</")) {
|
|
3217
|
-
if (this.isEOF() || !
|
|
3203
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3218
3204
|
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
3219
3205
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3220
3206
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3232,7 +3218,7 @@ var ni = (
|
|
|
3232
3218
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3233
3219
|
}, e.prototype.parseTagName = function() {
|
|
3234
3220
|
var t = this.offset();
|
|
3235
|
-
for (this.bump(); !this.isEOF() &&
|
|
3221
|
+
for (this.bump(); !this.isEOF() && ni(this.char()); )
|
|
3236
3222
|
this.bump();
|
|
3237
3223
|
return this.message.slice(t, this.offset());
|
|
3238
3224
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3261,7 +3247,7 @@ var ni = (
|
|
|
3261
3247
|
};
|
|
3262
3248
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3263
3249
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3264
|
-
!
|
|
3250
|
+
!ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3265
3251
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3266
3252
|
if (this.isEOF() || this.char() !== 39)
|
|
3267
3253
|
return null;
|
|
@@ -3295,12 +3281,12 @@ var ni = (
|
|
|
3295
3281
|
r.push(n);
|
|
3296
3282
|
this.bump();
|
|
3297
3283
|
}
|
|
3298
|
-
return
|
|
3284
|
+
return We.apply(void 0, r);
|
|
3299
3285
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3300
3286
|
if (this.isEOF())
|
|
3301
3287
|
return null;
|
|
3302
3288
|
var n = this.char();
|
|
3303
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3289
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
3304
3290
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3305
3291
|
var n = this.clonePosition();
|
|
3306
3292
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3329,7 +3315,7 @@ var ni = (
|
|
|
3329
3315
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3330
3316
|
}
|
|
3331
3317
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3332
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3318
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3333
3319
|
this.bumpTo(i);
|
|
3334
3320
|
var o = this.clonePosition(), s = y(t, o);
|
|
3335
3321
|
return { value: n, location: s };
|
|
@@ -3345,40 +3331,40 @@ var ni = (
|
|
|
3345
3331
|
var u = null;
|
|
3346
3332
|
if (this.bumpIf(",")) {
|
|
3347
3333
|
this.bumpSpace();
|
|
3348
|
-
var l = this.clonePosition(),
|
|
3349
|
-
if (
|
|
3350
|
-
return
|
|
3351
|
-
var
|
|
3352
|
-
if (
|
|
3334
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3335
|
+
if (f.err)
|
|
3336
|
+
return f;
|
|
3337
|
+
var c = ei(f.val);
|
|
3338
|
+
if (c.length === 0)
|
|
3353
3339
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3354
|
-
var
|
|
3355
|
-
u = { style:
|
|
3340
|
+
var d = y(l, this.clonePosition());
|
|
3341
|
+
u = { style: c, styleLocation: d };
|
|
3356
3342
|
}
|
|
3357
3343
|
var m = this.tryParseArgumentClose(i);
|
|
3358
3344
|
if (m.err)
|
|
3359
3345
|
return m;
|
|
3360
3346
|
var g = y(i, this.clonePosition());
|
|
3361
|
-
if (u &&
|
|
3362
|
-
var w =
|
|
3347
|
+
if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
|
|
3348
|
+
var w = Kn(u.style.slice(2));
|
|
3363
3349
|
if (a === "number") {
|
|
3364
|
-
var
|
|
3365
|
-
return
|
|
3366
|
-
val: { type: _.number, value: n, location: g, style:
|
|
3350
|
+
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3351
|
+
return f.err ? f : {
|
|
3352
|
+
val: { type: _.number, value: n, location: g, style: f.val },
|
|
3367
3353
|
err: null
|
|
3368
3354
|
};
|
|
3369
3355
|
} else {
|
|
3370
3356
|
if (w.length === 0)
|
|
3371
3357
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, g);
|
|
3372
3358
|
var M = w;
|
|
3373
|
-
this.locale && (M =
|
|
3374
|
-
var
|
|
3359
|
+
this.locale && (M = Gn(w, this.locale));
|
|
3360
|
+
var c = {
|
|
3375
3361
|
type: Z.dateTime,
|
|
3376
3362
|
pattern: M,
|
|
3377
3363
|
location: u.styleLocation,
|
|
3378
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3364
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(M) : {}
|
|
3379
3365
|
}, A = a === "date" ? _.date : _.time;
|
|
3380
3366
|
return {
|
|
3381
|
-
val: { type: A, value: n, location: g, style:
|
|
3367
|
+
val: { type: A, value: n, location: g, style: c },
|
|
3382
3368
|
err: null
|
|
3383
3369
|
};
|
|
3384
3370
|
}
|
|
@@ -3405,10 +3391,10 @@ var ni = (
|
|
|
3405
3391
|
if (!this.bumpIf(":"))
|
|
3406
3392
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3407
3393
|
this.bumpSpace();
|
|
3408
|
-
var
|
|
3409
|
-
if (
|
|
3410
|
-
return
|
|
3411
|
-
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O =
|
|
3394
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3395
|
+
if (f.err)
|
|
3396
|
+
return f;
|
|
3397
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = f.val;
|
|
3412
3398
|
}
|
|
3413
3399
|
var D = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3414
3400
|
if (D.err)
|
|
@@ -3421,7 +3407,7 @@ var ni = (
|
|
|
3421
3407
|
val: {
|
|
3422
3408
|
type: _.select,
|
|
3423
3409
|
value: n,
|
|
3424
|
-
options:
|
|
3410
|
+
options: Et(D.val),
|
|
3425
3411
|
location: le
|
|
3426
3412
|
},
|
|
3427
3413
|
err: null
|
|
@@ -3429,7 +3415,7 @@ var ni = (
|
|
|
3429
3415
|
val: {
|
|
3430
3416
|
type: _.plural,
|
|
3431
3417
|
value: n,
|
|
3432
|
-
options:
|
|
3418
|
+
options: Et(D.val),
|
|
3433
3419
|
offset: O,
|
|
3434
3420
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3435
3421
|
location: le
|
|
@@ -3480,7 +3466,7 @@ var ni = (
|
|
|
3480
3466
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3481
3467
|
var n = [];
|
|
3482
3468
|
try {
|
|
3483
|
-
n =
|
|
3469
|
+
n = Cn(t);
|
|
3484
3470
|
} catch (i) {
|
|
3485
3471
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3486
3472
|
}
|
|
@@ -3489,39 +3475,39 @@ var ni = (
|
|
|
3489
3475
|
type: Z.number,
|
|
3490
3476
|
tokens: n,
|
|
3491
3477
|
location: r,
|
|
3492
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3478
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
|
|
3493
3479
|
},
|
|
3494
3480
|
err: null
|
|
3495
3481
|
};
|
|
3496
3482
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3497
3483
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3498
3484
|
if (u.length === 0) {
|
|
3499
|
-
var
|
|
3485
|
+
var f = this.clonePosition();
|
|
3500
3486
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3501
|
-
var
|
|
3502
|
-
if (
|
|
3503
|
-
return
|
|
3504
|
-
l = y(
|
|
3487
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3488
|
+
if (c.err)
|
|
3489
|
+
return c;
|
|
3490
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3505
3491
|
} else
|
|
3506
3492
|
break;
|
|
3507
3493
|
}
|
|
3508
3494
|
if (h.has(u))
|
|
3509
3495
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3510
3496
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3511
|
-
var
|
|
3497
|
+
var d = this.clonePosition();
|
|
3512
3498
|
if (!this.bumpIf("{"))
|
|
3513
3499
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3514
3500
|
var m = this.parseMessage(t + 1, r, n);
|
|
3515
3501
|
if (m.err)
|
|
3516
3502
|
return m;
|
|
3517
|
-
var g = this.tryParseArgumentClose(
|
|
3503
|
+
var g = this.tryParseArgumentClose(d);
|
|
3518
3504
|
if (g.err)
|
|
3519
3505
|
return g;
|
|
3520
3506
|
a.push([
|
|
3521
3507
|
u,
|
|
3522
3508
|
{
|
|
3523
3509
|
value: m.val,
|
|
3524
|
-
location: y(
|
|
3510
|
+
location: y(d, this.clonePosition())
|
|
3525
3511
|
}
|
|
3526
3512
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3527
3513
|
}
|
|
@@ -3537,7 +3523,7 @@ var ni = (
|
|
|
3537
3523
|
break;
|
|
3538
3524
|
}
|
|
3539
3525
|
var h = y(i, this.clonePosition());
|
|
3540
|
-
return o ? (s *= n,
|
|
3526
|
+
return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3541
3527
|
}, e.prototype.offset = function() {
|
|
3542
3528
|
return this.position.offset;
|
|
3543
3529
|
}, e.prototype.isEOF = function() {
|
|
@@ -3552,7 +3538,7 @@ var ni = (
|
|
|
3552
3538
|
var t = this.position.offset;
|
|
3553
3539
|
if (t >= this.message.length)
|
|
3554
3540
|
throw Error("out of bound");
|
|
3555
|
-
var r =
|
|
3541
|
+
var r = er(this.message, t);
|
|
3556
3542
|
if (r === void 0)
|
|
3557
3543
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3558
3544
|
return r;
|
|
@@ -3571,7 +3557,7 @@ var ni = (
|
|
|
3571
3557
|
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);
|
|
3572
3558
|
}
|
|
3573
3559
|
}, e.prototype.bumpIf = function(t) {
|
|
3574
|
-
if (
|
|
3560
|
+
if (_t(this.message, t, this.offset())) {
|
|
3575
3561
|
for (var r = 0; r < t.length; r++)
|
|
3576
3562
|
this.bump();
|
|
3577
3563
|
return !0;
|
|
@@ -3593,7 +3579,7 @@ var ni = (
|
|
|
3593
3579
|
break;
|
|
3594
3580
|
}
|
|
3595
3581
|
}, e.prototype.bumpSpace = function() {
|
|
3596
|
-
for (; !this.isEOF() &&
|
|
3582
|
+
for (; !this.isEOF() && rr(this.char()); )
|
|
3597
3583
|
this.bump();
|
|
3598
3584
|
}, e.prototype.peek = function() {
|
|
3599
3585
|
if (this.isEOF())
|
|
@@ -3603,38 +3589,38 @@ var ni = (
|
|
|
3603
3589
|
}, e;
|
|
3604
3590
|
}()
|
|
3605
3591
|
);
|
|
3606
|
-
function
|
|
3592
|
+
function Xe(e) {
|
|
3607
3593
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3608
3594
|
}
|
|
3609
|
-
function
|
|
3610
|
-
return
|
|
3595
|
+
function ri(e) {
|
|
3596
|
+
return Xe(e) || e === 47;
|
|
3611
3597
|
}
|
|
3612
|
-
function
|
|
3598
|
+
function ni(e) {
|
|
3613
3599
|
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;
|
|
3614
3600
|
}
|
|
3615
|
-
function
|
|
3601
|
+
function rr(e) {
|
|
3616
3602
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3617
3603
|
}
|
|
3618
|
-
function
|
|
3604
|
+
function ii(e) {
|
|
3619
3605
|
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;
|
|
3620
3606
|
}
|
|
3621
|
-
function
|
|
3607
|
+
function ze(e) {
|
|
3622
3608
|
e.forEach(function(t) {
|
|
3623
|
-
if (delete t.location,
|
|
3609
|
+
if (delete t.location, Xt(t) || zt(t))
|
|
3624
3610
|
for (var r in t.options)
|
|
3625
|
-
delete t.options[r].location,
|
|
3611
|
+
delete t.options[r].location, ze(t.options[r].value);
|
|
3626
3612
|
else
|
|
3627
|
-
|
|
3613
|
+
kt(t) && Qt(t.style) || (Wt(t) || Vt(t)) && je(t.style) ? delete t.style.location : Zt(t) && ze(t.children);
|
|
3628
3614
|
});
|
|
3629
3615
|
}
|
|
3630
|
-
function
|
|
3616
|
+
function oi(e, t) {
|
|
3631
3617
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3632
|
-
var r = new
|
|
3618
|
+
var r = new ti(e, t).parse();
|
|
3633
3619
|
if (r.err) {
|
|
3634
3620
|
var n = SyntaxError(b[r.err.kind]);
|
|
3635
3621
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3636
3622
|
}
|
|
3637
|
-
return t != null && t.captureLocation ||
|
|
3623
|
+
return t != null && t.captureLocation || ze(r.val), r.val;
|
|
3638
3624
|
}
|
|
3639
3625
|
var Q;
|
|
3640
3626
|
(function(e) {
|
|
@@ -3652,7 +3638,7 @@ var xe = (
|
|
|
3652
3638
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3653
3639
|
}, t;
|
|
3654
3640
|
}(Error)
|
|
3655
|
-
),
|
|
3641
|
+
), wt = (
|
|
3656
3642
|
/** @class */
|
|
3657
3643
|
function(e) {
|
|
3658
3644
|
L(t, e);
|
|
@@ -3661,7 +3647,7 @@ var xe = (
|
|
|
3661
3647
|
}
|
|
3662
3648
|
return t;
|
|
3663
3649
|
}(xe)
|
|
3664
|
-
),
|
|
3650
|
+
), si = (
|
|
3665
3651
|
/** @class */
|
|
3666
3652
|
function(e) {
|
|
3667
3653
|
L(t, e);
|
|
@@ -3670,7 +3656,7 @@ var xe = (
|
|
|
3670
3656
|
}
|
|
3671
3657
|
return t;
|
|
3672
3658
|
}(xe)
|
|
3673
|
-
),
|
|
3659
|
+
), ai = (
|
|
3674
3660
|
/** @class */
|
|
3675
3661
|
function(e) {
|
|
3676
3662
|
L(t, e);
|
|
@@ -3683,17 +3669,17 @@ var xe = (
|
|
|
3683
3669
|
(function(e) {
|
|
3684
3670
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3685
3671
|
})(S || (S = {}));
|
|
3686
|
-
function
|
|
3672
|
+
function ui(e) {
|
|
3687
3673
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3688
3674
|
var n = t[t.length - 1];
|
|
3689
3675
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3690
3676
|
}, []);
|
|
3691
3677
|
}
|
|
3692
|
-
function
|
|
3678
|
+
function hi(e) {
|
|
3693
3679
|
return typeof e == "function";
|
|
3694
3680
|
}
|
|
3695
3681
|
function be(e, t, r, n, i, o, s) {
|
|
3696
|
-
if (e.length === 1 &&
|
|
3682
|
+
if (e.length === 1 && bt(e[0]))
|
|
3697
3683
|
return [
|
|
3698
3684
|
{
|
|
3699
3685
|
type: S.literal,
|
|
@@ -3702,59 +3688,59 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3702
3688
|
];
|
|
3703
3689
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3704
3690
|
var l = u[h];
|
|
3705
|
-
if (
|
|
3691
|
+
if (bt(l)) {
|
|
3706
3692
|
a.push({
|
|
3707
3693
|
type: S.literal,
|
|
3708
3694
|
value: l.value
|
|
3709
3695
|
});
|
|
3710
3696
|
continue;
|
|
3711
3697
|
}
|
|
3712
|
-
if (
|
|
3698
|
+
if (In(l)) {
|
|
3713
3699
|
typeof o == "number" && a.push({
|
|
3714
3700
|
type: S.literal,
|
|
3715
3701
|
value: r.getNumberFormat(t).format(o)
|
|
3716
3702
|
});
|
|
3717
3703
|
continue;
|
|
3718
3704
|
}
|
|
3719
|
-
var
|
|
3720
|
-
if (!(i &&
|
|
3721
|
-
throw new
|
|
3722
|
-
var
|
|
3723
|
-
if (
|
|
3724
|
-
(!
|
|
3725
|
-
type: typeof
|
|
3726
|
-
value:
|
|
3705
|
+
var f = l.value;
|
|
3706
|
+
if (!(i && f in i))
|
|
3707
|
+
throw new ai(f, s);
|
|
3708
|
+
var c = i[f];
|
|
3709
|
+
if (On(l)) {
|
|
3710
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3711
|
+
type: typeof c == "string" ? S.literal : S.object,
|
|
3712
|
+
value: c
|
|
3727
3713
|
});
|
|
3728
3714
|
continue;
|
|
3729
3715
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var
|
|
3716
|
+
if (Wt(l)) {
|
|
3717
|
+
var d = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
|
|
3732
3718
|
a.push({
|
|
3733
3719
|
type: S.literal,
|
|
3734
|
-
value: r.getDateTimeFormat(t,
|
|
3720
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3735
3721
|
});
|
|
3736
3722
|
continue;
|
|
3737
3723
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var
|
|
3724
|
+
if (Vt(l)) {
|
|
3725
|
+
var d = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3740
3726
|
a.push({
|
|
3741
3727
|
type: S.literal,
|
|
3742
|
-
value: r.getDateTimeFormat(t,
|
|
3728
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3743
3729
|
});
|
|
3744
3730
|
continue;
|
|
3745
3731
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var
|
|
3748
|
-
|
|
3732
|
+
if (kt(l)) {
|
|
3733
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
|
|
3734
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3749
3735
|
type: S.literal,
|
|
3750
|
-
value: r.getNumberFormat(t,
|
|
3736
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3751
3737
|
});
|
|
3752
3738
|
continue;
|
|
3753
3739
|
}
|
|
3754
|
-
if (
|
|
3740
|
+
if (Zt(l)) {
|
|
3755
3741
|
var m = l.children, g = l.value, w = i[g];
|
|
3756
|
-
if (!
|
|
3757
|
-
throw new
|
|
3742
|
+
if (!hi(w))
|
|
3743
|
+
throw new si(g, "function", s);
|
|
3758
3744
|
var M = be(m, t, r, n, i, o), A = w(M.map(function(O) {
|
|
3759
3745
|
return O.value;
|
|
3760
3746
|
}));
|
|
@@ -3765,42 +3751,42 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3765
3751
|
};
|
|
3766
3752
|
}));
|
|
3767
3753
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var T = l.options[
|
|
3754
|
+
if (Xt(l)) {
|
|
3755
|
+
var T = l.options[c] || l.options.other;
|
|
3770
3756
|
if (!T)
|
|
3771
|
-
throw new
|
|
3757
|
+
throw new wt(l.value, c, Object.keys(l.options), s);
|
|
3772
3758
|
a.push.apply(a, be(T.value, t, r, n, i));
|
|
3773
3759
|
continue;
|
|
3774
3760
|
}
|
|
3775
|
-
if (
|
|
3776
|
-
var T = l.options["=".concat(
|
|
3761
|
+
if (zt(l)) {
|
|
3762
|
+
var T = l.options["=".concat(c)];
|
|
3777
3763
|
if (!T) {
|
|
3778
3764
|
if (!Intl.PluralRules)
|
|
3779
3765
|
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3780
3766
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3781
3767
|
`, Q.MISSING_INTL_API, s);
|
|
3782
|
-
var U = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3768
|
+
var U = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3783
3769
|
T = l.options[U] || l.options.other;
|
|
3784
3770
|
}
|
|
3785
3771
|
if (!T)
|
|
3786
|
-
throw new
|
|
3787
|
-
a.push.apply(a, be(T.value, t, r, n, i,
|
|
3772
|
+
throw new wt(l.value, c, Object.keys(l.options), s);
|
|
3773
|
+
a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3788
3774
|
continue;
|
|
3789
3775
|
}
|
|
3790
3776
|
}
|
|
3791
|
-
return
|
|
3777
|
+
return ui(a);
|
|
3792
3778
|
}
|
|
3793
|
-
function
|
|
3779
|
+
function li(e, t) {
|
|
3794
3780
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3795
3781
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3796
3782
|
}, {})) : e;
|
|
3797
3783
|
}
|
|
3798
|
-
function
|
|
3784
|
+
function fi(e, t) {
|
|
3799
3785
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3800
|
-
return r[n] =
|
|
3786
|
+
return r[n] = li(e[n], t[n]), r;
|
|
3801
3787
|
}, v({}, e)) : e;
|
|
3802
3788
|
}
|
|
3803
|
-
function
|
|
3789
|
+
function Ie(e) {
|
|
3804
3790
|
return {
|
|
3805
3791
|
create: function() {
|
|
3806
3792
|
return {
|
|
@@ -3814,39 +3800,39 @@ function Ne(e) {
|
|
|
3814
3800
|
}
|
|
3815
3801
|
};
|
|
3816
3802
|
}
|
|
3817
|
-
function
|
|
3803
|
+
function ci(e) {
|
|
3818
3804
|
return e === void 0 && (e = {
|
|
3819
3805
|
number: {},
|
|
3820
3806
|
dateTime: {},
|
|
3821
3807
|
pluralRules: {}
|
|
3822
3808
|
}), {
|
|
3823
|
-
getNumberFormat:
|
|
3809
|
+
getNumberFormat: Pe(function() {
|
|
3824
3810
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3825
3811
|
r[n] = arguments[n];
|
|
3826
3812
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3827
3813
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3814
|
+
cache: Ie(e.number),
|
|
3815
|
+
strategy: Ae.variadic
|
|
3830
3816
|
}),
|
|
3831
|
-
getDateTimeFormat:
|
|
3817
|
+
getDateTimeFormat: Pe(function() {
|
|
3832
3818
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3819
|
r[n] = arguments[n];
|
|
3834
3820
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3835
3821
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3822
|
+
cache: Ie(e.dateTime),
|
|
3823
|
+
strategy: Ae.variadic
|
|
3838
3824
|
}),
|
|
3839
|
-
getPluralRules:
|
|
3825
|
+
getPluralRules: Pe(function() {
|
|
3840
3826
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3827
|
r[n] = arguments[n];
|
|
3842
3828
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3843
3829
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3830
|
+
cache: Ie(e.pluralRules),
|
|
3831
|
+
strategy: Ae.variadic
|
|
3846
3832
|
})
|
|
3847
3833
|
};
|
|
3848
3834
|
}
|
|
3849
|
-
var
|
|
3835
|
+
var di = (
|
|
3850
3836
|
/** @class */
|
|
3851
3837
|
function() {
|
|
3852
3838
|
function e(t, r, n, i) {
|
|
@@ -3860,8 +3846,8 @@ var mi = (
|
|
|
3860
3846
|
var u = o.formatToParts(h);
|
|
3861
3847
|
if (u.length === 1)
|
|
3862
3848
|
return u[0].value;
|
|
3863
|
-
var l = u.reduce(function(
|
|
3864
|
-
return !
|
|
3849
|
+
var l = u.reduce(function(f, c) {
|
|
3850
|
+
return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3865
3851
|
}, []);
|
|
3866
3852
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3867
3853
|
}, this.formatToParts = function(h) {
|
|
@@ -3878,13 +3864,13 @@ var mi = (
|
|
|
3878
3864
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3879
3865
|
var s = i || {};
|
|
3880
3866
|
s.formatters;
|
|
3881
|
-
var a =
|
|
3867
|
+
var a = Wr(s, ["formatters"]);
|
|
3882
3868
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3883
3869
|
} else
|
|
3884
3870
|
this.ast = t;
|
|
3885
3871
|
if (!Array.isArray(this.ast))
|
|
3886
3872
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3887
|
-
this.formats =
|
|
3873
|
+
this.formats = fi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
|
|
3888
3874
|
}
|
|
3889
3875
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3890
3876
|
get: function() {
|
|
@@ -3897,7 +3883,7 @@ var mi = (
|
|
|
3897
3883
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3898
3884
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3899
3885
|
}
|
|
3900
|
-
}, e.__parse =
|
|
3886
|
+
}, e.__parse = oi, e.formats = {
|
|
3901
3887
|
number: {
|
|
3902
3888
|
integer: {
|
|
3903
3889
|
maximumFractionDigits: 0
|
|
@@ -3958,7 +3944,7 @@ var mi = (
|
|
|
3958
3944
|
}, e;
|
|
3959
3945
|
}()
|
|
3960
3946
|
);
|
|
3961
|
-
function
|
|
3947
|
+
function pi(e, t) {
|
|
3962
3948
|
if (t == null)
|
|
3963
3949
|
return;
|
|
3964
3950
|
if (t in e)
|
|
@@ -3979,92 +3965,92 @@ function bi(e, t) {
|
|
|
3979
3965
|
n = void 0;
|
|
3980
3966
|
return n;
|
|
3981
3967
|
}
|
|
3982
|
-
const $ = {},
|
|
3968
|
+
const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), nr = (e, t) => {
|
|
3983
3969
|
if (t == null)
|
|
3984
3970
|
return;
|
|
3985
3971
|
if (t in $ && e in $[t])
|
|
3986
3972
|
return $[t][e];
|
|
3987
3973
|
const r = we(t);
|
|
3988
3974
|
for (let n = 0; n < r.length; n++) {
|
|
3989
|
-
const i = r[n], o =
|
|
3975
|
+
const i = r[n], o = gi(i, e);
|
|
3990
3976
|
if (o)
|
|
3991
|
-
return
|
|
3977
|
+
return mi(e, t, o);
|
|
3992
3978
|
}
|
|
3993
3979
|
};
|
|
3994
|
-
let
|
|
3980
|
+
let Ke;
|
|
3995
3981
|
const he = Ee({});
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
3982
|
+
function bi(e) {
|
|
3983
|
+
return Ke[e] || null;
|
|
3998
3984
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return e in
|
|
3985
|
+
function ir(e) {
|
|
3986
|
+
return e in Ke;
|
|
4001
3987
|
}
|
|
4002
|
-
function
|
|
4003
|
-
if (!
|
|
3988
|
+
function gi(e, t) {
|
|
3989
|
+
if (!ir(e))
|
|
4004
3990
|
return null;
|
|
4005
|
-
const r =
|
|
4006
|
-
return
|
|
3991
|
+
const r = bi(e);
|
|
3992
|
+
return pi(r, t);
|
|
4007
3993
|
}
|
|
4008
|
-
function
|
|
3994
|
+
function yi(e) {
|
|
4009
3995
|
if (e == null)
|
|
4010
3996
|
return;
|
|
4011
3997
|
const t = we(e);
|
|
4012
3998
|
for (let r = 0; r < t.length; r++) {
|
|
4013
3999
|
const n = t[r];
|
|
4014
|
-
if (
|
|
4000
|
+
if (ir(n))
|
|
4015
4001
|
return n;
|
|
4016
4002
|
}
|
|
4017
4003
|
}
|
|
4018
|
-
function
|
|
4019
|
-
delete $[e], he.update((r) => (r[e] =
|
|
4004
|
+
function or(e, ...t) {
|
|
4005
|
+
delete $[e], he.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
|
4020
4006
|
}
|
|
4021
4007
|
Y(
|
|
4022
4008
|
[he],
|
|
4023
4009
|
([e]) => Object.keys(e)
|
|
4024
4010
|
);
|
|
4025
|
-
he.subscribe((e) =>
|
|
4011
|
+
he.subscribe((e) => Ke = e);
|
|
4026
4012
|
const ge = {};
|
|
4027
|
-
function
|
|
4013
|
+
function vi(e, t) {
|
|
4028
4014
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4029
4015
|
}
|
|
4030
|
-
function
|
|
4016
|
+
function sr(e) {
|
|
4031
4017
|
return ge[e];
|
|
4032
4018
|
}
|
|
4033
|
-
function
|
|
4019
|
+
function _i(e) {
|
|
4034
4020
|
return we(e).map((t) => {
|
|
4035
|
-
const r =
|
|
4021
|
+
const r = sr(t);
|
|
4036
4022
|
return [t, r ? [...r] : []];
|
|
4037
4023
|
}).filter(([, t]) => t.length > 0);
|
|
4038
4024
|
}
|
|
4039
|
-
function
|
|
4025
|
+
function Ze(e) {
|
|
4040
4026
|
return e == null ? !1 : we(e).some(
|
|
4041
4027
|
(t) => {
|
|
4042
4028
|
var r;
|
|
4043
|
-
return (r =
|
|
4029
|
+
return (r = sr(t)) == null ? void 0 : r.size;
|
|
4044
4030
|
}
|
|
4045
4031
|
);
|
|
4046
4032
|
}
|
|
4047
|
-
function
|
|
4033
|
+
function Ei(e, t) {
|
|
4048
4034
|
return Promise.all(
|
|
4049
|
-
t.map((n) => (
|
|
4050
|
-
).then((n) =>
|
|
4035
|
+
t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
|
|
4036
|
+
).then((n) => or(e, ...n));
|
|
4051
4037
|
}
|
|
4052
4038
|
const te = {};
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4039
|
+
function ar(e) {
|
|
4040
|
+
if (!Ze(e))
|
|
4055
4041
|
return e in te ? te[e] : Promise.resolve();
|
|
4056
|
-
const t =
|
|
4042
|
+
const t = _i(e);
|
|
4057
4043
|
return te[e] = Promise.all(
|
|
4058
4044
|
t.map(
|
|
4059
|
-
([r, n]) =>
|
|
4045
|
+
([r, n]) => Ei(r, n)
|
|
4060
4046
|
)
|
|
4061
4047
|
).then(() => {
|
|
4062
|
-
if (
|
|
4063
|
-
return
|
|
4048
|
+
if (Ze(e))
|
|
4049
|
+
return ar(e);
|
|
4064
4050
|
delete te[e];
|
|
4065
4051
|
}), te[e];
|
|
4066
4052
|
}
|
|
4067
|
-
const
|
|
4053
|
+
const xi = {
|
|
4068
4054
|
number: {
|
|
4069
4055
|
scientific: { notation: "scientific" },
|
|
4070
4056
|
engineering: { notation: "engineering" },
|
|
@@ -4093,57 +4079,57 @@ const Si = {
|
|
|
4093
4079
|
timeZoneName: "short"
|
|
4094
4080
|
}
|
|
4095
4081
|
}
|
|
4096
|
-
},
|
|
4082
|
+
}, wi = {
|
|
4097
4083
|
fallbackLocale: null,
|
|
4098
4084
|
loadingDelay: 200,
|
|
4099
|
-
formats:
|
|
4085
|
+
formats: xi,
|
|
4100
4086
|
warnOnMissingMessages: !0,
|
|
4101
4087
|
handleMissingMessage: void 0,
|
|
4102
4088
|
ignoreTag: !0
|
|
4103
|
-
},
|
|
4089
|
+
}, Si = wi;
|
|
4104
4090
|
function J() {
|
|
4105
|
-
return
|
|
4106
|
-
}
|
|
4107
|
-
const
|
|
4108
|
-
var
|
|
4109
|
-
for (var r in t
|
|
4110
|
-
|
|
4111
|
-
if (
|
|
4112
|
-
for (var r of
|
|
4113
|
-
|
|
4091
|
+
return Si;
|
|
4092
|
+
}
|
|
4093
|
+
const Ne = Ee(!1);
|
|
4094
|
+
var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
|
|
4095
|
+
for (var r in t)
|
|
4096
|
+
Pi.call(t, r) && Tt(e, r, t[r]);
|
|
4097
|
+
if (St)
|
|
4098
|
+
for (var r of St(t))
|
|
4099
|
+
Ai.call(t, r) && Tt(e, r, t[r]);
|
|
4114
4100
|
return e;
|
|
4115
|
-
},
|
|
4116
|
-
let
|
|
4101
|
+
}, Ii = (e, t) => Hi(e, Bi(t));
|
|
4102
|
+
let Qe;
|
|
4117
4103
|
const ye = Ee(null);
|
|
4118
|
-
function
|
|
4104
|
+
function Ht(e) {
|
|
4119
4105
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4120
4106
|
}
|
|
4121
4107
|
function we(e, t = J().fallbackLocale) {
|
|
4122
|
-
const r =
|
|
4123
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4108
|
+
const r = Ht(e);
|
|
4109
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
|
|
4124
4110
|
}
|
|
4125
4111
|
function G() {
|
|
4126
|
-
return
|
|
4112
|
+
return Qe != null ? Qe : void 0;
|
|
4127
4113
|
}
|
|
4128
4114
|
ye.subscribe((e) => {
|
|
4129
|
-
|
|
4115
|
+
Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4130
4116
|
});
|
|
4131
|
-
const
|
|
4132
|
-
if (e &&
|
|
4117
|
+
const Ni = (e) => {
|
|
4118
|
+
if (e && yi(e) && Ze(e)) {
|
|
4133
4119
|
const { loadingDelay: t } = J();
|
|
4134
4120
|
let r;
|
|
4135
4121
|
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
4136
|
-
() =>
|
|
4122
|
+
() => Ne.set(!0),
|
|
4137
4123
|
t
|
|
4138
|
-
) :
|
|
4124
|
+
) : Ne.set(!0), ar(e).then(() => {
|
|
4139
4125
|
ye.set(e);
|
|
4140
4126
|
}).finally(() => {
|
|
4141
|
-
clearTimeout(r),
|
|
4127
|
+
clearTimeout(r), Ne.set(!1);
|
|
4142
4128
|
});
|
|
4143
4129
|
}
|
|
4144
4130
|
return ye.set(e);
|
|
4145
|
-
}, K =
|
|
4146
|
-
set:
|
|
4131
|
+
}, K = Ii(Oi({}, ye), {
|
|
4132
|
+
set: Ni
|
|
4147
4133
|
}), Se = (e) => {
|
|
4148
4134
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4149
4135
|
return (n) => {
|
|
@@ -4151,20 +4137,20 @@ const Mi = (e) => {
|
|
|
4151
4137
|
return i in t ? t[i] : t[i] = e(n);
|
|
4152
4138
|
};
|
|
4153
4139
|
};
|
|
4154
|
-
var
|
|
4140
|
+
var Li = Object.defineProperty, ve = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4155
4141
|
for (var r in t || (t = {}))
|
|
4156
|
-
|
|
4142
|
+
ur.call(t, r) && Bt(e, r, t[r]);
|
|
4157
4143
|
if (ve)
|
|
4158
4144
|
for (var r of ve(t))
|
|
4159
|
-
|
|
4145
|
+
hr.call(t, r) && Bt(e, r, t[r]);
|
|
4160
4146
|
return e;
|
|
4161
4147
|
}, ee = (e, t) => {
|
|
4162
4148
|
var r = {};
|
|
4163
4149
|
for (var n in e)
|
|
4164
|
-
|
|
4150
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4165
4151
|
if (e != null && ve)
|
|
4166
4152
|
for (var n of ve(e))
|
|
4167
|
-
t.indexOf(n) < 0 &&
|
|
4153
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4168
4154
|
return r;
|
|
4169
4155
|
};
|
|
4170
4156
|
const se = (e, t) => {
|
|
@@ -4172,21 +4158,21 @@ const se = (e, t) => {
|
|
|
4172
4158
|
if (e in r && t in r[e])
|
|
4173
4159
|
return r[e][t];
|
|
4174
4160
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4175
|
-
},
|
|
4161
|
+
}, Mi = Se(
|
|
4176
4162
|
(e) => {
|
|
4177
4163
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4178
4164
|
if (r == null)
|
|
4179
4165
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4180
4166
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4181
4167
|
}
|
|
4182
|
-
),
|
|
4168
|
+
), Ci = Se(
|
|
4183
4169
|
(e) => {
|
|
4184
4170
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4185
4171
|
if (r == null)
|
|
4186
4172
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4187
4173
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4188
4174
|
}
|
|
4189
|
-
),
|
|
4175
|
+
), Ri = Se(
|
|
4190
4176
|
(e) => {
|
|
4191
4177
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4192
4178
|
if (r == null)
|
|
@@ -4195,33 +4181,33 @@ const se = (e, t) => {
|
|
|
4195
4181
|
);
|
|
4196
4182
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4197
4183
|
}
|
|
4198
|
-
),
|
|
4184
|
+
), $i = (e = {}) => {
|
|
4199
4185
|
var t = e, {
|
|
4200
4186
|
locale: r = G()
|
|
4201
4187
|
} = t, n = ee(t, [
|
|
4202
4188
|
"locale"
|
|
4203
4189
|
]);
|
|
4204
|
-
return
|
|
4205
|
-
},
|
|
4190
|
+
return Mi(et({ locale: r }, n));
|
|
4191
|
+
}, Ui = (e = {}) => {
|
|
4206
4192
|
var t = e, {
|
|
4207
4193
|
locale: r = G()
|
|
4208
4194
|
} = t, n = ee(t, [
|
|
4209
4195
|
"locale"
|
|
4210
4196
|
]);
|
|
4211
|
-
return
|
|
4212
|
-
},
|
|
4197
|
+
return Ci(et({ locale: r }, n));
|
|
4198
|
+
}, Di = (e = {}) => {
|
|
4213
4199
|
var t = e, {
|
|
4214
4200
|
locale: r = G()
|
|
4215
4201
|
} = t, n = ee(t, [
|
|
4216
4202
|
"locale"
|
|
4217
4203
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4204
|
+
return Ri(et({ locale: r }, n));
|
|
4205
|
+
}, Gi = Se(
|
|
4220
4206
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4221
|
-
(e, t = G()) => new
|
|
4207
|
+
(e, t = G()) => new di(e, t, J().formats, {
|
|
4222
4208
|
ignoreTag: J().ignoreTag
|
|
4223
4209
|
})
|
|
4224
|
-
),
|
|
4210
|
+
), Fi = (e, t = {}) => {
|
|
4225
4211
|
var r, n, i, o;
|
|
4226
4212
|
let s = t;
|
|
4227
4213
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4234,7 +4220,7 @@ const se = (e, t) => {
|
|
|
4234
4220
|
throw new Error(
|
|
4235
4221
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4236
4222
|
);
|
|
4237
|
-
let l =
|
|
4223
|
+
let l = nr(e, h);
|
|
4238
4224
|
if (!l)
|
|
4239
4225
|
l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4240
4226
|
else if (typeof l != "string")
|
|
@@ -4243,30 +4229,30 @@ const se = (e, t) => {
|
|
|
4243
4229
|
), l;
|
|
4244
4230
|
if (!a)
|
|
4245
4231
|
return l;
|
|
4246
|
-
let
|
|
4232
|
+
let f = l;
|
|
4247
4233
|
try {
|
|
4248
|
-
|
|
4249
|
-
} catch (
|
|
4250
|
-
|
|
4234
|
+
f = Gi(l, h).format(a);
|
|
4235
|
+
} catch (c) {
|
|
4236
|
+
c instanceof Error && console.warn(
|
|
4251
4237
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4252
|
-
|
|
4238
|
+
c.message
|
|
4253
4239
|
);
|
|
4254
4240
|
}
|
|
4255
|
-
return
|
|
4256
|
-
},
|
|
4241
|
+
return f;
|
|
4242
|
+
}, ji = (e, t) => Di(t).format(e), ki = (e, t) => Ui(t).format(e), Wi = (e, t) => $i(t).format(e), Vi = (e, t = G()) => nr(e, t), Xi = Y([K, he], () => Fi);
|
|
4243
|
+
Y([K], () => ji);
|
|
4244
|
+
Y([K], () => ki);
|
|
4257
4245
|
Y([K], () => Wi);
|
|
4258
|
-
Y([K], () => Vi);
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
function Ot(e, t) {
|
|
4264
|
-
ur(e, t);
|
|
4246
|
+
Y([K, he], () => Vi);
|
|
4247
|
+
window.emWidgets = { topic: on };
|
|
4248
|
+
const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4249
|
+
function Pt(e, t) {
|
|
4250
|
+
or(e, t);
|
|
4265
4251
|
}
|
|
4266
|
-
function
|
|
4252
|
+
function Zi(e) {
|
|
4267
4253
|
K.set(e);
|
|
4268
4254
|
}
|
|
4269
|
-
const
|
|
4255
|
+
const At = {
|
|
4270
4256
|
en: {
|
|
4271
4257
|
titlePlayerWithdrawal: "Withdrawal",
|
|
4272
4258
|
loading: "Loading, please wait ..."
|
|
@@ -4300,41 +4286,41 @@ const It = {
|
|
|
4300
4286
|
loading: "Loading, please wait ..."
|
|
4301
4287
|
}
|
|
4302
4288
|
};
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4289
|
+
function Qi(e) {
|
|
4290
|
+
_r(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
|
|
4305
4291
|
}
|
|
4306
|
-
function
|
|
4307
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4292
|
+
function Ji(e) {
|
|
4293
|
+
let t, r, n, i, o, s, a, h, u, l, f = (
|
|
4308
4294
|
/*$_*/
|
|
4309
4295
|
e[3]("titlePlayerWithdrawal") + ""
|
|
4310
|
-
),
|
|
4296
|
+
), c, d, m;
|
|
4311
4297
|
return {
|
|
4312
4298
|
c() {
|
|
4313
|
-
t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u =
|
|
4299
|
+
t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = N("h2"), c = ne(f), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
|
|
4314
4300
|
},
|
|
4315
4301
|
m(g, w) {
|
|
4316
|
-
ue(g, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l,
|
|
4302
|
+
ue(g, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, c), d || (m = wr(
|
|
4317
4303
|
t,
|
|
4318
4304
|
"click",
|
|
4319
4305
|
/*click_handler*/
|
|
4320
4306
|
e[16]
|
|
4321
|
-
),
|
|
4307
|
+
), d = !0);
|
|
4322
4308
|
},
|
|
4323
4309
|
p(g, w) {
|
|
4324
4310
|
w & /*$_*/
|
|
4325
|
-
8 &&
|
|
4326
|
-
g[3]("titlePlayerWithdrawal") + "") &&
|
|
4311
|
+
8 && f !== (f = /*$_*/
|
|
4312
|
+
g[3]("titlePlayerWithdrawal") + "") && qe(c, f);
|
|
4327
4313
|
},
|
|
4328
4314
|
d(g) {
|
|
4329
|
-
g && q(t),
|
|
4315
|
+
g && q(t), d = !1, m();
|
|
4330
4316
|
}
|
|
4331
4317
|
};
|
|
4332
4318
|
}
|
|
4333
|
-
function
|
|
4319
|
+
function qi(e) {
|
|
4334
4320
|
let t, r, n;
|
|
4335
4321
|
return {
|
|
4336
4322
|
c() {
|
|
4337
|
-
t = N("div"), r = N("iframe"),
|
|
4323
|
+
t = N("div"), r = N("iframe"), st(r.src, n = /*iframeUrl*/
|
|
4338
4324
|
e[2]) || E(r, "src", n), E(r, "title", "Withdrawal Iframe"), E(t, "class", "WithdrawalIframeWrapper");
|
|
4339
4325
|
},
|
|
4340
4326
|
m(i, o) {
|
|
@@ -4342,7 +4328,7 @@ function Ki(e) {
|
|
|
4342
4328
|
},
|
|
4343
4329
|
p(i, o) {
|
|
4344
4330
|
o & /*iframeUrl*/
|
|
4345
|
-
4 && !
|
|
4331
|
+
4 && !st(r.src, n = /*iframeUrl*/
|
|
4346
4332
|
i[2]) && E(r, "src", n);
|
|
4347
4333
|
},
|
|
4348
4334
|
d(i) {
|
|
@@ -4350,7 +4336,7 @@ function Ki(e) {
|
|
|
4350
4336
|
}
|
|
4351
4337
|
};
|
|
4352
4338
|
}
|
|
4353
|
-
function
|
|
4339
|
+
function Yi(e) {
|
|
4354
4340
|
let t, r = (
|
|
4355
4341
|
/*$_*/
|
|
4356
4342
|
e[3]("loading") + ""
|
|
@@ -4365,65 +4351,65 @@ function eo(e) {
|
|
|
4365
4351
|
p(i, o) {
|
|
4366
4352
|
o & /*$_*/
|
|
4367
4353
|
8 && r !== (r = /*$_*/
|
|
4368
|
-
i[3]("loading") + "") &&
|
|
4354
|
+
i[3]("loading") + "") && qe(n, r);
|
|
4369
4355
|
},
|
|
4370
4356
|
d(i) {
|
|
4371
4357
|
i && q(t);
|
|
4372
4358
|
}
|
|
4373
4359
|
};
|
|
4374
4360
|
}
|
|
4375
|
-
function
|
|
4361
|
+
function Ki(e) {
|
|
4376
4362
|
let t, r, n, i = (
|
|
4377
4363
|
/*$_*/
|
|
4378
4364
|
e[3]("titlePlayerWithdrawal") + ""
|
|
4379
4365
|
), o, s, a = (
|
|
4380
4366
|
/*isMobile*/
|
|
4381
|
-
e[4] &&
|
|
4367
|
+
e[4] && Ji(e)
|
|
4382
4368
|
);
|
|
4383
|
-
function h(
|
|
4369
|
+
function h(f, c) {
|
|
4384
4370
|
return (
|
|
4385
4371
|
/*isLoading*/
|
|
4386
|
-
|
|
4372
|
+
f[1] ? Yi : qi
|
|
4387
4373
|
);
|
|
4388
4374
|
}
|
|
4389
4375
|
let u = h(e), l = u(e);
|
|
4390
4376
|
return {
|
|
4391
4377
|
c() {
|
|
4392
|
-
t = N("div"), a && a.c(), r =
|
|
4378
|
+
t = N("div"), a && a.c(), r = Le(), n = N("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
|
|
4393
4379
|
(e[4] ? "WithdrawalTitleNone" : "")), E(t, "class", "WithdrawalWrapper " + /*isMobile*/
|
|
4394
4380
|
(e[4] ? "WithdrawalWrapperMobile" : ""));
|
|
4395
4381
|
},
|
|
4396
|
-
m(
|
|
4397
|
-
ue(
|
|
4382
|
+
m(f, c) {
|
|
4383
|
+
ue(f, t, c), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
|
|
4398
4384
|
},
|
|
4399
|
-
p(
|
|
4385
|
+
p(f, [c]) {
|
|
4400
4386
|
/*isMobile*/
|
|
4401
|
-
|
|
4387
|
+
f[4] && a.p(f, c), c & /*$_*/
|
|
4402
4388
|
8 && i !== (i = /*$_*/
|
|
4403
|
-
|
|
4389
|
+
f[3]("titlePlayerWithdrawal") + "") && qe(o, i), u === (u = h(f)) && l ? l.p(f, c) : (l.d(1), l = u(f), l && (l.c(), l.m(t, null)));
|
|
4404
4390
|
},
|
|
4405
4391
|
i: P,
|
|
4406
4392
|
o: P,
|
|
4407
|
-
d(
|
|
4408
|
-
|
|
4393
|
+
d(f) {
|
|
4394
|
+
f && q(t), a && a.d(), l.d(), e[17](null);
|
|
4409
4395
|
}
|
|
4410
4396
|
};
|
|
4411
4397
|
}
|
|
4412
|
-
function
|
|
4398
|
+
function eo(e, t, r) {
|
|
4413
4399
|
let n;
|
|
4414
|
-
|
|
4415
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource:
|
|
4400
|
+
vr(e, Xi, (p) => r(3, n = p));
|
|
4401
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: f } = t, { translationurl: c = "" } = t, { currency: d = "" } = t, m, g = window.navigator.userAgent, w = zi(g) !== "PC", M = !0, A = 0, T = "";
|
|
4416
4402
|
const U = () => {
|
|
4417
|
-
fetch(
|
|
4403
|
+
fetch(c).then((C) => C.json()).then((C) => {
|
|
4418
4404
|
Object.keys(C).forEach((R) => {
|
|
4419
|
-
|
|
4405
|
+
Pt(R, C[R]);
|
|
4420
4406
|
});
|
|
4421
4407
|
}).catch((C) => {
|
|
4422
4408
|
console.log(C);
|
|
4423
4409
|
});
|
|
4424
4410
|
};
|
|
4425
|
-
Object.keys(
|
|
4426
|
-
|
|
4411
|
+
Object.keys(At).forEach((p) => {
|
|
4412
|
+
Pt(p, At[p]);
|
|
4427
4413
|
});
|
|
4428
4414
|
const O = () => {
|
|
4429
4415
|
window.postMessage(
|
|
@@ -4433,14 +4419,14 @@ function ro(e, t, r) {
|
|
|
4433
4419
|
},
|
|
4434
4420
|
window.location.href
|
|
4435
4421
|
);
|
|
4436
|
-
}, D = (
|
|
4437
|
-
if (
|
|
4438
|
-
switch (
|
|
4422
|
+
}, D = (p) => {
|
|
4423
|
+
if (p.data) {
|
|
4424
|
+
switch (p.data.type) {
|
|
4439
4425
|
case "ProfileDetailsData":
|
|
4440
|
-
r(6,
|
|
4426
|
+
r(6, d = p.data.profileDetails.currency);
|
|
4441
4427
|
break;
|
|
4442
4428
|
}
|
|
4443
|
-
switch (
|
|
4429
|
+
switch (p.data.redirect) {
|
|
4444
4430
|
case "mm-hc-casino":
|
|
4445
4431
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
4446
4432
|
break;
|
|
@@ -4464,9 +4450,9 @@ function ro(e, t, r) {
|
|
|
4464
4450
|
}
|
|
4465
4451
|
}
|
|
4466
4452
|
}, le = () => {
|
|
4467
|
-
let
|
|
4468
|
-
if (
|
|
4469
|
-
switch (
|
|
4453
|
+
let p = new URL(`${i}/v1/player/${s}/hostedcashier/initializewithdraw`);
|
|
4454
|
+
if (p.searchParams.append("language", a), h)
|
|
4455
|
+
switch (d) {
|
|
4470
4456
|
case "USD":
|
|
4471
4457
|
A = 0.4;
|
|
4472
4458
|
break;
|
|
@@ -4478,14 +4464,14 @@ function ro(e, t, r) {
|
|
|
4478
4464
|
method: "POST",
|
|
4479
4465
|
headers: {
|
|
4480
4466
|
"X-SessionId": o,
|
|
4481
|
-
currency:
|
|
4467
|
+
currency: d || "EUR",
|
|
4482
4468
|
amount: A,
|
|
4483
4469
|
cashierMode: "Default",
|
|
4484
4470
|
IsShortCashier: !1,
|
|
4485
4471
|
accept: "application/json"
|
|
4486
4472
|
}
|
|
4487
4473
|
};
|
|
4488
|
-
fetch(
|
|
4474
|
+
fetch(p.href, C).then((R) => R.json()).then(
|
|
4489
4475
|
(R) => {
|
|
4490
4476
|
r(1, M = !1), r(2, T = R.CashierUrl);
|
|
4491
4477
|
},
|
|
@@ -4493,28 +4479,28 @@ function ro(e, t, r) {
|
|
|
4493
4479
|
console.error(R);
|
|
4494
4480
|
}
|
|
4495
4481
|
);
|
|
4496
|
-
},
|
|
4497
|
-
|
|
4482
|
+
}, lr = () => {
|
|
4483
|
+
Zi(a);
|
|
4498
4484
|
};
|
|
4499
|
-
|
|
4485
|
+
Br(() => (window.addEventListener("message", D, !1), () => {
|
|
4500
4486
|
window.removeEventListener("message", D);
|
|
4501
4487
|
}));
|
|
4502
|
-
const
|
|
4503
|
-
function
|
|
4504
|
-
|
|
4505
|
-
m =
|
|
4488
|
+
const fr = () => O();
|
|
4489
|
+
function cr(p) {
|
|
4490
|
+
Me[p ? "unshift" : "push"](() => {
|
|
4491
|
+
m = p, r(0, m);
|
|
4506
4492
|
});
|
|
4507
4493
|
}
|
|
4508
|
-
return e.$$set = (
|
|
4509
|
-
"endpoint" in
|
|
4494
|
+
return e.$$set = (p) => {
|
|
4495
|
+
"endpoint" in p && r(7, i = p.endpoint), "session" in p && r(8, o = p.session), "playerid" in p && r(9, s = p.playerid), "lang" in p && r(10, a = p.lang), "hasdefaultamount" in p && r(11, h = p.hasdefaultamount), "clientstyling" in p && r(12, u = p.clientstyling), "clientstylingurl" in p && r(13, l = p.clientstylingurl), "mbsource" in p && r(14, f = p.mbsource), "translationurl" in p && r(15, c = p.translationurl), "currency" in p && r(6, d = p.currency);
|
|
4510
4496
|
}, e.$$.update = () => {
|
|
4511
4497
|
e.$$.dirty & /*lang*/
|
|
4512
|
-
1024 && a &&
|
|
4513
|
-
4097 && u && m &&
|
|
4514
|
-
8193 && l && m &&
|
|
4515
|
-
16385 &&
|
|
4516
|
-
32768 &&
|
|
4517
|
-
1984 && o && s && i &&
|
|
4498
|
+
1024 && a && lr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4499
|
+
4097 && u && m && Fr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4500
|
+
8193 && l && m && jr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4501
|
+
16385 && f && m && kr(m, `${f}.Style`), e.$$.dirty & /*translationurl*/
|
|
4502
|
+
32768 && c && U(), e.$$.dirty & /*session, playerid, endpoint, currency, lang*/
|
|
4503
|
+
1984 && o && s && i && d && a && le();
|
|
4518
4504
|
}, [
|
|
4519
4505
|
m,
|
|
4520
4506
|
M,
|
|
@@ -4522,7 +4508,7 @@ function ro(e, t, r) {
|
|
|
4522
4508
|
n,
|
|
4523
4509
|
w,
|
|
4524
4510
|
O,
|
|
4525
|
-
|
|
4511
|
+
d,
|
|
4526
4512
|
i,
|
|
4527
4513
|
o,
|
|
4528
4514
|
s,
|
|
@@ -4530,20 +4516,20 @@ function ro(e, t, r) {
|
|
|
4530
4516
|
h,
|
|
4531
4517
|
u,
|
|
4532
4518
|
l,
|
|
4533
|
-
c,
|
|
4534
4519
|
f,
|
|
4535
|
-
|
|
4536
|
-
|
|
4520
|
+
c,
|
|
4521
|
+
fr,
|
|
4522
|
+
cr
|
|
4537
4523
|
];
|
|
4538
4524
|
}
|
|
4539
|
-
class
|
|
4525
|
+
class to extends Dr {
|
|
4540
4526
|
constructor(t) {
|
|
4541
|
-
super(),
|
|
4527
|
+
super(), $r(
|
|
4542
4528
|
this,
|
|
4543
4529
|
t,
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4530
|
+
eo,
|
|
4531
|
+
Ki,
|
|
4532
|
+
It,
|
|
4547
4533
|
{
|
|
4548
4534
|
endpoint: 7,
|
|
4549
4535
|
session: 8,
|
|
@@ -4556,7 +4542,7 @@ class no extends jr {
|
|
|
4556
4542
|
translationurl: 15,
|
|
4557
4543
|
currency: 6
|
|
4558
4544
|
},
|
|
4559
|
-
|
|
4545
|
+
Qi
|
|
4560
4546
|
);
|
|
4561
4547
|
}
|
|
4562
4548
|
get endpoint() {
|
|
@@ -4620,7 +4606,7 @@ class no extends jr {
|
|
|
4620
4606
|
this.$$set({ currency: t }), B();
|
|
4621
4607
|
}
|
|
4622
4608
|
}
|
|
4623
|
-
|
|
4609
|
+
Ur(to, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
|
|
4624
4610
|
export {
|
|
4625
|
-
|
|
4611
|
+
to as default
|
|
4626
4612
|
};
|