@everymatrix/player-account-gaming-limits-wrapper-2 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsHistory2-l_gdmE_g.js → PlayerAccountGamingLimitsHistory2-4KF7-RcC.js} +761 -739
- package/components/PlayerAccountGamingLimitsHistory2-7xNrE9YG.cjs +5 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CxmGhllJ.js → PlayerAccountGamingLimitsHistory2-CBvsOjCi.js} +575 -553
- package/components/{PlayerAccountGamingLimitsPage2Gm16-nqe1H7hN.cjs → PlayerAccountGamingLimitsPage2Gm16--q4xUQS8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CS_cMN_K.js → PlayerAccountGamingLimitsPage2Gm16-CuxJ8Xju.js} +7 -7
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cya5InpK.js → PlayerAccountGamingLimitsPage2Gm16-Dtq9wJaJ.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-BC56IZlM.cjs → PlayerAccountGamingLimitsWrapper2-BOn1tC_K.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DTn5bThi.js → PlayerAccountGamingLimitsWrapper2-Cjgpntyc.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2-BS1BW6sr.js → PlayerAccountGamingLimitsWrapper2-nKKqHfcg.js} +48 -48
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsHistory2--bcvcGzV.cjs +0 -5
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Re = (e, t, r) => t in e ?
|
|
1
|
+
var Fr = Object.defineProperty, jr = Object.defineProperties;
|
|
2
|
+
var kr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var pt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Vr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Re = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Vr.call(t, r) && Re(e, r, t[r]);
|
|
8
|
+
if (pt)
|
|
9
|
+
for (var r of pt(t))
|
|
10
|
+
Wr.call(t, r) && Re(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, dt = (e, t) => jr(e, kr(t));
|
|
13
13
|
var R = (e, t, r) => Re(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var yt = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
s(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
n(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
s(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
n(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
|
+
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Vt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function gt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function fe(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Vt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ut(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Wt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Xr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Xt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const i of t)
|
|
53
53
|
i(void 0);
|
|
@@ -56,27 +56,27 @@ function kt(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function zr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Xt(t, r));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function bt(e) {
|
|
63
63
|
return e == null ? "" : e;
|
|
64
64
|
}
|
|
65
|
-
const
|
|
65
|
+
const Io = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
66
66
|
// @ts-ignore Node typings have this
|
|
67
67
|
global
|
|
68
68
|
);
|
|
69
69
|
function L(e, t) {
|
|
70
70
|
e.appendChild(t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
const i =
|
|
72
|
+
function Zr(e, t, r) {
|
|
73
|
+
const i = Qr(e);
|
|
74
74
|
if (!i.getElementById(t)) {
|
|
75
75
|
const n = P("style");
|
|
76
|
-
n.id = t, n.textContent = r,
|
|
76
|
+
n.id = t, n.textContent = r, Yr(i, n);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Qr(e) {
|
|
80
80
|
if (!e) return document;
|
|
81
81
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
82
82
|
return t && /** @type {ShadowRoot} */
|
|
@@ -85,7 +85,7 @@ function Wr(e) {
|
|
|
85
85
|
t
|
|
86
86
|
) : e.ownerDocument;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Yr(e, t) {
|
|
89
89
|
return L(
|
|
90
90
|
/** @type {Document} */
|
|
91
91
|
e.head || e,
|
|
@@ -98,7 +98,7 @@ function X(e, t, r) {
|
|
|
98
98
|
function V(e) {
|
|
99
99
|
e.parentNode && e.parentNode.removeChild(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Jr(e, t) {
|
|
102
102
|
for (let r = 0; r < e.length; r += 1)
|
|
103
103
|
e[r] && e[r].d(t);
|
|
104
104
|
}
|
|
@@ -111,39 +111,39 @@ function Me(e) {
|
|
|
111
111
|
function M(e) {
|
|
112
112
|
return document.createTextNode(e);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Xe() {
|
|
115
115
|
return M(" ");
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Bo() {
|
|
118
118
|
return M("");
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function qr(e, t, r, i) {
|
|
121
121
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
122
122
|
}
|
|
123
123
|
function x(e, t, r) {
|
|
124
124
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Oo(e, t, r) {
|
|
127
127
|
const i = t.toLowerCase();
|
|
128
128
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Co(e) {
|
|
131
131
|
return e === "" ? null : +e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Kr(e) {
|
|
134
134
|
return Array.from(e.childNodes);
|
|
135
135
|
}
|
|
136
136
|
function k(e, t) {
|
|
137
137
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
138
138
|
t);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function No(e, t) {
|
|
141
141
|
e.value = t == null ? "" : t;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Ro(e, t, r, i) {
|
|
144
144
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Mo(e, t, r) {
|
|
147
147
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
148
148
|
const n = e.options[i];
|
|
149
149
|
if (n.__value === t) {
|
|
@@ -153,14 +153,14 @@ function Co(e, t, r) {
|
|
|
153
153
|
}
|
|
154
154
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Do(e) {
|
|
157
157
|
const t = e.querySelector(":checked");
|
|
158
158
|
return t && t.__value;
|
|
159
159
|
}
|
|
160
160
|
function ge(e, t, r) {
|
|
161
161
|
e.classList.toggle(t, !!r);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function ei(e) {
|
|
164
164
|
const t = {};
|
|
165
165
|
return e.childNodes.forEach(
|
|
166
166
|
/** @param {Element} node */
|
|
@@ -173,21 +173,21 @@ let le;
|
|
|
173
173
|
function ue(e) {
|
|
174
174
|
le = e;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ti() {
|
|
177
177
|
if (!le) throw new Error("Function called outside component initialization");
|
|
178
178
|
return le;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
|
|
180
|
+
function ri(e) {
|
|
181
|
+
ti().$$.on_mount.push(e);
|
|
182
182
|
}
|
|
183
183
|
const Y = [], Le = [];
|
|
184
184
|
let J = [];
|
|
185
|
-
const
|
|
186
|
-
let
|
|
187
|
-
function
|
|
188
|
-
|
|
185
|
+
const vt = [], ii = /* @__PURE__ */ Promise.resolve();
|
|
186
|
+
let ze = !1;
|
|
187
|
+
function ni() {
|
|
188
|
+
ze || (ze = !0, ii.then(C));
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ze(e) {
|
|
191
191
|
J.push(e);
|
|
192
192
|
}
|
|
193
193
|
const De = /* @__PURE__ */ new Set();
|
|
@@ -200,7 +200,7 @@ function C() {
|
|
|
200
200
|
try {
|
|
201
201
|
for (; Z < Y.length; ) {
|
|
202
202
|
const t = Y[Z];
|
|
203
|
-
Z++, ue(t),
|
|
203
|
+
Z++, ue(t), oi(t.$$);
|
|
204
204
|
}
|
|
205
205
|
} catch (t) {
|
|
206
206
|
throw Y.length = 0, Z = 0, t;
|
|
@@ -212,43 +212,43 @@ function C() {
|
|
|
212
212
|
}
|
|
213
213
|
J.length = 0;
|
|
214
214
|
} while (Y.length);
|
|
215
|
-
for (;
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
for (; vt.length; )
|
|
216
|
+
vt.pop()();
|
|
217
|
+
ze = !1, De.clear(), ue(e);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function oi(e) {
|
|
220
220
|
if (e.fragment !== null) {
|
|
221
221
|
e.update(), fe(e.before_update);
|
|
222
222
|
const t = e.dirty;
|
|
223
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
223
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function si(e) {
|
|
227
227
|
const t = [], r = [];
|
|
228
228
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
function
|
|
232
|
-
e && e.i && (
|
|
230
|
+
const ai = /* @__PURE__ */ new Set();
|
|
231
|
+
function ui(e, t) {
|
|
232
|
+
e && e.i && (ai.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Et(e) {
|
|
235
235
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function li(e, t, r) {
|
|
238
238
|
const { fragment: i, after_update: n } = e.$$;
|
|
239
|
-
i && i.m(t, r),
|
|
240
|
-
const o = e.$$.on_mount.map(
|
|
239
|
+
i && i.m(t, r), Ze(() => {
|
|
240
|
+
const o = e.$$.on_mount.map(Vt).filter(ut);
|
|
241
241
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
|
|
242
|
-
}), n.forEach(
|
|
242
|
+
}), n.forEach(Ze);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function hi(e, t) {
|
|
245
245
|
const r = e.$$;
|
|
246
|
-
r.fragment !== null && (
|
|
246
|
+
r.fragment !== null && (si(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
248
|
+
function ci(e, t) {
|
|
249
|
+
e.$$.dirty[0] === -1 && (Y.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function fi(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
252
252
|
const l = le;
|
|
253
253
|
ue(e);
|
|
254
254
|
const u = e.$$ = {
|
|
@@ -258,7 +258,7 @@ function ui(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
258
258
|
props: o,
|
|
259
259
|
update: O,
|
|
260
260
|
not_equal: n,
|
|
261
|
-
bound:
|
|
261
|
+
bound: gt(),
|
|
262
262
|
// lifecycle
|
|
263
263
|
on_mount: [],
|
|
264
264
|
on_destroy: [],
|
|
@@ -267,28 +267,28 @@ function ui(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
267
267
|
after_update: [],
|
|
268
268
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
269
269
|
// everything else
|
|
270
|
-
callbacks:
|
|
271
|
-
dirty:
|
|
270
|
+
callbacks: gt(),
|
|
271
|
+
dirty: s,
|
|
272
272
|
skip_bound: !1,
|
|
273
273
|
root: t.target || l.$$.root
|
|
274
274
|
};
|
|
275
|
-
|
|
275
|
+
a && a(u.root);
|
|
276
276
|
let h = !1;
|
|
277
277
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
278
278
|
const y = p.length ? p[0] : f;
|
|
279
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
279
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ci(e, c)), f;
|
|
280
280
|
}) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
281
281
|
if (t.hydrate) {
|
|
282
|
-
const c =
|
|
282
|
+
const c = Kr(t.target);
|
|
283
283
|
u.fragment && u.fragment.l(c), c.forEach(V);
|
|
284
284
|
} else
|
|
285
285
|
u.fragment && u.fragment.c();
|
|
286
|
-
t.intro &&
|
|
286
|
+
t.intro && ui(e.$$.fragment), li(e, t.target, t.anchor), C();
|
|
287
287
|
}
|
|
288
288
|
ue(l);
|
|
289
289
|
}
|
|
290
|
-
let
|
|
291
|
-
typeof HTMLElement == "function" && (
|
|
290
|
+
let zt;
|
|
291
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
292
292
|
constructor(t, r, i) {
|
|
293
293
|
super();
|
|
294
294
|
/** The Svelte component constructor */
|
|
@@ -325,42 +325,42 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
connectedCallback() {
|
|
328
|
-
return
|
|
328
|
+
return yt(this, null, function* () {
|
|
329
329
|
if (this.$$cn = !0, !this.$$c) {
|
|
330
330
|
let t = function(o) {
|
|
331
331
|
return () => {
|
|
332
|
-
let
|
|
332
|
+
let a;
|
|
333
333
|
return {
|
|
334
334
|
c: function() {
|
|
335
|
-
|
|
335
|
+
a = P("slot"), o !== "default" && x(a, "name", o);
|
|
336
336
|
},
|
|
337
337
|
/**
|
|
338
338
|
* @param {HTMLElement} target
|
|
339
339
|
* @param {HTMLElement} [anchor]
|
|
340
340
|
*/
|
|
341
341
|
m: function(u, h) {
|
|
342
|
-
X(u,
|
|
342
|
+
X(u, a, h);
|
|
343
343
|
},
|
|
344
344
|
d: function(u) {
|
|
345
|
-
u && V(
|
|
345
|
+
u && V(a);
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
350
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
351
351
|
return;
|
|
352
|
-
const r = {}, i =
|
|
352
|
+
const r = {}, i = ei(this);
|
|
353
353
|
for (const o of this.$$s)
|
|
354
354
|
o in i && (r[o] = [t(o)]);
|
|
355
355
|
for (const o of this.attributes) {
|
|
356
|
-
const
|
|
357
|
-
|
|
356
|
+
const a = this.$$g_p(o.name);
|
|
357
|
+
a in this.$$d || (this.$$d[a] = Ee(a, o.value, this.$$p_d, "toProp"));
|
|
358
358
|
}
|
|
359
359
|
for (const o in this.$$p_d)
|
|
360
360
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
361
361
|
this.$$c = new this.$$ctor({
|
|
362
362
|
target: this.shadowRoot || this,
|
|
363
|
-
props:
|
|
363
|
+
props: dt(ye({}, this.$$d), {
|
|
364
364
|
$$slots: r,
|
|
365
365
|
$$scope: {
|
|
366
366
|
ctx: []
|
|
@@ -371,21 +371,21 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
|
371
371
|
this.$$r = !0;
|
|
372
372
|
for (const o in this.$$p_d)
|
|
373
373
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
374
|
-
const
|
|
374
|
+
const a = Ee(
|
|
375
375
|
o,
|
|
376
376
|
this.$$d[o],
|
|
377
377
|
this.$$p_d,
|
|
378
378
|
"toAttribute"
|
|
379
379
|
);
|
|
380
|
-
|
|
380
|
+
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
|
381
381
|
}
|
|
382
382
|
this.$$r = !1;
|
|
383
383
|
};
|
|
384
384
|
this.$$c.$$.after_update.push(n), n();
|
|
385
385
|
for (const o in this.$$l)
|
|
386
|
-
for (const
|
|
387
|
-
const
|
|
388
|
-
this.$$l_u.set(
|
|
386
|
+
for (const a of this.$$l[o]) {
|
|
387
|
+
const s = this.$$c.$on(o, a);
|
|
388
|
+
this.$$l_u.set(a, s);
|
|
389
389
|
}
|
|
390
390
|
this.$$l = {};
|
|
391
391
|
}
|
|
@@ -438,38 +438,38 @@ function Ee(e, t, r, i) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
function
|
|
442
|
-
let
|
|
441
|
+
function mi(e, t, r, i, n, o) {
|
|
442
|
+
let a = class extends zt {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, r, n), this.$$p_d = t;
|
|
445
445
|
}
|
|
446
446
|
static get observedAttributes() {
|
|
447
447
|
return Object.keys(t).map(
|
|
448
|
-
(
|
|
448
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
449
449
|
);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
return Object.keys(t).forEach((
|
|
453
|
-
Object.defineProperty(
|
|
452
|
+
return Object.keys(t).forEach((s) => {
|
|
453
|
+
Object.defineProperty(a.prototype, s, {
|
|
454
454
|
get() {
|
|
455
|
-
return this.$$c &&
|
|
455
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
456
456
|
},
|
|
457
457
|
set(l) {
|
|
458
458
|
var u;
|
|
459
|
-
l = Ee(
|
|
459
|
+
l = Ee(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
|
-
}), i.forEach((
|
|
463
|
-
Object.defineProperty(
|
|
462
|
+
}), i.forEach((s) => {
|
|
463
|
+
Object.defineProperty(a.prototype, s, {
|
|
464
464
|
get() {
|
|
465
465
|
var l;
|
|
466
|
-
return (l = this.$$c) == null ? void 0 : l[
|
|
466
|
+
return (l = this.$$c) == null ? void 0 : l[s];
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
469
|
}), e.element = /** @type {any} */
|
|
470
|
-
|
|
470
|
+
a, a;
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class pi {
|
|
473
473
|
constructor() {
|
|
474
474
|
/**
|
|
475
475
|
* ### PRIVATE API
|
|
@@ -490,7 +490,7 @@ class hi {
|
|
|
490
490
|
}
|
|
491
491
|
/** @returns {void} */
|
|
492
492
|
$destroy() {
|
|
493
|
-
|
|
493
|
+
hi(this, 1), this.$destroy = O;
|
|
494
494
|
}
|
|
495
495
|
/**
|
|
496
496
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -499,7 +499,7 @@ class hi {
|
|
|
499
499
|
* @returns {() => void}
|
|
500
500
|
*/
|
|
501
501
|
$on(t, r) {
|
|
502
|
-
if (!
|
|
502
|
+
if (!ut(r))
|
|
503
503
|
return O;
|
|
504
504
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
505
505
|
return i.push(r), () => {
|
|
@@ -512,22 +512,22 @@ class hi {
|
|
|
512
512
|
* @returns {void}
|
|
513
513
|
*/
|
|
514
514
|
$set(t) {
|
|
515
|
-
this.$$set && !
|
|
515
|
+
this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
const
|
|
519
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
-
var
|
|
521
|
-
return
|
|
518
|
+
const di = "4";
|
|
519
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
|
|
520
|
+
var Qe = function(e, t) {
|
|
521
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
522
522
|
r.__proto__ = i;
|
|
523
523
|
} || function(r, i) {
|
|
524
524
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
525
|
-
},
|
|
525
|
+
}, Qe(e, t);
|
|
526
526
|
};
|
|
527
527
|
function F(e, t) {
|
|
528
528
|
if (typeof t != "function" && t !== null)
|
|
529
529
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
530
|
-
|
|
530
|
+
Qe(e, t);
|
|
531
531
|
function r() {
|
|
532
532
|
this.constructor = e;
|
|
533
533
|
}
|
|
@@ -542,7 +542,7 @@ var _ = function() {
|
|
|
542
542
|
return t;
|
|
543
543
|
}, _.apply(this, arguments);
|
|
544
544
|
};
|
|
545
|
-
function
|
|
545
|
+
function yi(e, t) {
|
|
546
546
|
var r = {};
|
|
547
547
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
548
548
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -550,7 +550,7 @@ function fi(e, t) {
|
|
|
550
550
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
551
551
|
return r;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Ye(e) {
|
|
554
554
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
555
555
|
if (r) return r.call(e);
|
|
556
556
|
if (e && typeof e.length == "number") return {
|
|
@@ -560,19 +560,19 @@ function Qe(e) {
|
|
|
560
560
|
};
|
|
561
561
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Je(e, t) {
|
|
564
564
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
565
565
|
if (!r) return e;
|
|
566
|
-
var i = r.call(e), n, o = [],
|
|
566
|
+
var i = r.call(e), n, o = [], a;
|
|
567
567
|
try {
|
|
568
568
|
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
|
|
569
|
-
} catch (
|
|
570
|
-
|
|
569
|
+
} catch (s) {
|
|
570
|
+
a = { error: s };
|
|
571
571
|
} finally {
|
|
572
572
|
try {
|
|
573
573
|
n && !n.done && (r = i.return) && r.call(i);
|
|
574
574
|
} finally {
|
|
575
|
-
if (
|
|
575
|
+
if (a) throw a.error;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
return o;
|
|
@@ -585,13 +585,13 @@ function q(e, t, r) {
|
|
|
585
585
|
function G(e) {
|
|
586
586
|
return typeof e == "function";
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Zt(e) {
|
|
589
589
|
var t = function(i) {
|
|
590
590
|
Error.call(i), i.stack = new Error().stack;
|
|
591
591
|
}, r = e(t);
|
|
592
592
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
593
593
|
}
|
|
594
|
-
var $e =
|
|
594
|
+
var $e = Zt(function(e) {
|
|
595
595
|
return function(r) {
|
|
596
596
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
597
597
|
` + r.map(function(i, n) {
|
|
@@ -600,7 +600,7 @@ var $e = Wt(function(e) {
|
|
|
600
600
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
601
601
|
};
|
|
602
602
|
});
|
|
603
|
-
function
|
|
603
|
+
function qe(e, t) {
|
|
604
604
|
if (e) {
|
|
605
605
|
var r = e.indexOf(t);
|
|
606
606
|
0 <= r && e.splice(r, 1);
|
|
@@ -614,11 +614,11 @@ var Ae = function() {
|
|
|
614
614
|
var t, r, i, n, o;
|
|
615
615
|
if (!this.closed) {
|
|
616
616
|
this.closed = !0;
|
|
617
|
-
var
|
|
618
|
-
if (
|
|
619
|
-
if (this._parentage = null, Array.isArray(
|
|
617
|
+
var a = this._parentage;
|
|
618
|
+
if (a)
|
|
619
|
+
if (this._parentage = null, Array.isArray(a))
|
|
620
620
|
try {
|
|
621
|
-
for (var
|
|
621
|
+
for (var s = Ye(a), l = s.next(); !l.done; l = s.next()) {
|
|
622
622
|
var u = l.value;
|
|
623
623
|
u.remove(this);
|
|
624
624
|
}
|
|
@@ -626,13 +626,13 @@ var Ae = function() {
|
|
|
626
626
|
t = { error: d };
|
|
627
627
|
} finally {
|
|
628
628
|
try {
|
|
629
|
-
l && !l.done && (r =
|
|
629
|
+
l && !l.done && (r = s.return) && r.call(s);
|
|
630
630
|
} finally {
|
|
631
631
|
if (t) throw t.error;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
else
|
|
635
|
-
|
|
635
|
+
a.remove(this);
|
|
636
636
|
var h = this.initialTeardown;
|
|
637
637
|
if (G(h))
|
|
638
638
|
try {
|
|
@@ -644,12 +644,12 @@ var Ae = function() {
|
|
|
644
644
|
if (c) {
|
|
645
645
|
this._finalizers = null;
|
|
646
646
|
try {
|
|
647
|
-
for (var f =
|
|
647
|
+
for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
|
|
648
648
|
var y = p.value;
|
|
649
649
|
try {
|
|
650
|
-
|
|
650
|
+
_t(y);
|
|
651
651
|
} catch (d) {
|
|
652
|
-
o = o != null ? o : [], d instanceof $e ? o = q(q([],
|
|
652
|
+
o = o != null ? o : [], d instanceof $e ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
} catch (d) {
|
|
@@ -669,7 +669,7 @@ var Ae = function() {
|
|
|
669
669
|
var r;
|
|
670
670
|
if (t && t !== this)
|
|
671
671
|
if (this.closed)
|
|
672
|
-
|
|
672
|
+
_t(t);
|
|
673
673
|
else {
|
|
674
674
|
if (t instanceof e) {
|
|
675
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -686,52 +686,56 @@ var Ae = function() {
|
|
|
686
686
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
687
687
|
}, e.prototype._removeParent = function(t) {
|
|
688
688
|
var r = this._parentage;
|
|
689
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
689
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
690
690
|
}, e.prototype.remove = function(t) {
|
|
691
691
|
var r = this._finalizers;
|
|
692
|
-
r &&
|
|
692
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
693
693
|
}, e.EMPTY = function() {
|
|
694
694
|
var t = new e();
|
|
695
695
|
return t.closed = !0, t;
|
|
696
696
|
}(), e;
|
|
697
|
-
}(),
|
|
698
|
-
function
|
|
697
|
+
}(), Qt = Ae.EMPTY;
|
|
698
|
+
function Yt(e) {
|
|
699
699
|
return e instanceof Ae || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function _t(e) {
|
|
702
702
|
G(e) ? e() : e.unsubscribe();
|
|
703
703
|
}
|
|
704
|
-
var
|
|
705
|
-
|
|
706
|
-
|
|
704
|
+
var Jt = {
|
|
705
|
+
onUnhandledError: null,
|
|
706
|
+
onStoppedNotification: null,
|
|
707
|
+
Promise: void 0,
|
|
708
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
709
|
+
useDeprecatedNextContext: !1
|
|
710
|
+
}, gi = {
|
|
707
711
|
setTimeout: function(e, t) {
|
|
708
712
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
709
713
|
r[i - 2] = arguments[i];
|
|
710
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
714
|
+
return setTimeout.apply(void 0, q([e, t], Je(r)));
|
|
711
715
|
},
|
|
712
716
|
clearTimeout: function(e) {
|
|
713
717
|
return clearTimeout(e);
|
|
714
718
|
},
|
|
715
719
|
delegate: void 0
|
|
716
720
|
};
|
|
717
|
-
function
|
|
718
|
-
|
|
721
|
+
function bi(e) {
|
|
722
|
+
gi.setTimeout(function() {
|
|
719
723
|
throw e;
|
|
720
724
|
});
|
|
721
725
|
}
|
|
722
|
-
function
|
|
726
|
+
function xt() {
|
|
723
727
|
}
|
|
724
728
|
function _e(e) {
|
|
725
729
|
e();
|
|
726
730
|
}
|
|
727
|
-
var
|
|
731
|
+
var qt = function(e) {
|
|
728
732
|
F(t, e);
|
|
729
733
|
function t(r) {
|
|
730
734
|
var i = e.call(this) || this;
|
|
731
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
735
|
+
return i.isStopped = !1, r ? (i.destination = r, Yt(r) && r.add(i)) : i.destination = xi, i;
|
|
732
736
|
}
|
|
733
737
|
return t.create = function(r, i, n) {
|
|
734
|
-
return new
|
|
738
|
+
return new Ke(r, i, n);
|
|
735
739
|
}, t.prototype.next = function(r) {
|
|
736
740
|
this.isStopped || this._next(r);
|
|
737
741
|
}, t.prototype.error = function(r) {
|
|
@@ -755,7 +759,11 @@ var Zt = function(e) {
|
|
|
755
759
|
this.unsubscribe();
|
|
756
760
|
}
|
|
757
761
|
}, t;
|
|
758
|
-
}(Ae),
|
|
762
|
+
}(Ae), vi = Function.prototype.bind;
|
|
763
|
+
function Ue(e, t) {
|
|
764
|
+
return vi.call(e, t);
|
|
765
|
+
}
|
|
766
|
+
var Ei = function() {
|
|
759
767
|
function e(t) {
|
|
760
768
|
this.partialObserver = t;
|
|
761
769
|
}
|
|
@@ -786,43 +794,55 @@ var Zt = function(e) {
|
|
|
786
794
|
be(r);
|
|
787
795
|
}
|
|
788
796
|
}, e;
|
|
789
|
-
}(),
|
|
797
|
+
}(), Ke = function(e) {
|
|
790
798
|
F(t, e);
|
|
791
799
|
function t(r, i, n) {
|
|
792
|
-
var o = e.call(this) || this,
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
800
|
+
var o = e.call(this) || this, a;
|
|
801
|
+
if (G(r) || !r)
|
|
802
|
+
a = {
|
|
803
|
+
next: r != null ? r : void 0,
|
|
804
|
+
error: i != null ? i : void 0,
|
|
805
|
+
complete: n != null ? n : void 0
|
|
806
|
+
};
|
|
807
|
+
else {
|
|
808
|
+
var s;
|
|
809
|
+
o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
810
|
+
return o.unsubscribe();
|
|
811
|
+
}, a = {
|
|
812
|
+
next: r.next && Ue(r.next, s),
|
|
813
|
+
error: r.error && Ue(r.error, s),
|
|
814
|
+
complete: r.complete && Ue(r.complete, s)
|
|
815
|
+
}) : a = r;
|
|
816
|
+
}
|
|
817
|
+
return o.destination = new Ei(a), o;
|
|
798
818
|
}
|
|
799
819
|
return t;
|
|
800
|
-
}(
|
|
820
|
+
}(qt);
|
|
801
821
|
function be(e) {
|
|
802
|
-
|
|
822
|
+
bi(e);
|
|
803
823
|
}
|
|
804
|
-
function
|
|
824
|
+
function _i(e) {
|
|
805
825
|
throw e;
|
|
806
826
|
}
|
|
807
|
-
var
|
|
827
|
+
var xi = {
|
|
808
828
|
closed: !0,
|
|
809
|
-
next:
|
|
810
|
-
error:
|
|
811
|
-
complete:
|
|
812
|
-
},
|
|
829
|
+
next: xt,
|
|
830
|
+
error: _i,
|
|
831
|
+
complete: xt
|
|
832
|
+
}, Ti = function() {
|
|
813
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
814
834
|
}();
|
|
815
|
-
function
|
|
835
|
+
function Li(e) {
|
|
816
836
|
return e;
|
|
817
837
|
}
|
|
818
|
-
function
|
|
819
|
-
return e.length === 0 ?
|
|
838
|
+
function Si(e) {
|
|
839
|
+
return e.length === 0 ? Li : e.length === 1 ? e[0] : function(r) {
|
|
820
840
|
return e.reduce(function(i, n) {
|
|
821
841
|
return n(i);
|
|
822
842
|
}, r);
|
|
823
843
|
};
|
|
824
844
|
}
|
|
825
|
-
var
|
|
845
|
+
var Tt = function() {
|
|
826
846
|
function e(t) {
|
|
827
847
|
t && (this._subscribe = t);
|
|
828
848
|
}
|
|
@@ -830,10 +850,10 @@ var Et = function() {
|
|
|
830
850
|
var r = new e();
|
|
831
851
|
return r.source = this, r.operator = t, r;
|
|
832
852
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
833
|
-
var n = this, o =
|
|
853
|
+
var n = this, o = Ai(t) ? t : new Ke(t, r, i);
|
|
834
854
|
return _e(function() {
|
|
835
|
-
var
|
|
836
|
-
o.add(
|
|
855
|
+
var a = n, s = a.operator, l = a.source;
|
|
856
|
+
o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
|
|
837
857
|
}), o;
|
|
838
858
|
}, e.prototype._trySubscribe = function(t) {
|
|
839
859
|
try {
|
|
@@ -843,37 +863,37 @@ var Et = function() {
|
|
|
843
863
|
}
|
|
844
864
|
}, e.prototype.forEach = function(t, r) {
|
|
845
865
|
var i = this;
|
|
846
|
-
return r =
|
|
847
|
-
var
|
|
848
|
-
next: function(
|
|
866
|
+
return r = Lt(r), new r(function(n, o) {
|
|
867
|
+
var a = new Ke({
|
|
868
|
+
next: function(s) {
|
|
849
869
|
try {
|
|
850
|
-
t(
|
|
870
|
+
t(s);
|
|
851
871
|
} catch (l) {
|
|
852
|
-
o(l),
|
|
872
|
+
o(l), a.unsubscribe();
|
|
853
873
|
}
|
|
854
874
|
},
|
|
855
875
|
error: o,
|
|
856
876
|
complete: n
|
|
857
877
|
});
|
|
858
|
-
i.subscribe(
|
|
878
|
+
i.subscribe(a);
|
|
859
879
|
});
|
|
860
880
|
}, e.prototype._subscribe = function(t) {
|
|
861
881
|
var r;
|
|
862
882
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
863
|
-
}, e.prototype[
|
|
883
|
+
}, e.prototype[Ti] = function() {
|
|
864
884
|
return this;
|
|
865
885
|
}, e.prototype.pipe = function() {
|
|
866
886
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
867
887
|
t[r] = arguments[r];
|
|
868
|
-
return
|
|
888
|
+
return Si(t)(this);
|
|
869
889
|
}, e.prototype.toPromise = function(t) {
|
|
870
890
|
var r = this;
|
|
871
|
-
return t =
|
|
891
|
+
return t = Lt(t), new t(function(i, n) {
|
|
872
892
|
var o;
|
|
873
|
-
r.subscribe(function(
|
|
874
|
-
return o =
|
|
875
|
-
}, function(
|
|
876
|
-
return n(
|
|
893
|
+
r.subscribe(function(a) {
|
|
894
|
+
return o = a;
|
|
895
|
+
}, function(a) {
|
|
896
|
+
return n(a);
|
|
877
897
|
}, function() {
|
|
878
898
|
return i(o);
|
|
879
899
|
});
|
|
@@ -882,32 +902,32 @@ var Et = function() {
|
|
|
882
902
|
return new e(t);
|
|
883
903
|
}, e;
|
|
884
904
|
}();
|
|
885
|
-
function
|
|
905
|
+
function Lt(e) {
|
|
886
906
|
var t;
|
|
887
|
-
return (t = e != null ? e :
|
|
907
|
+
return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
888
908
|
}
|
|
889
|
-
function
|
|
909
|
+
function wi(e) {
|
|
890
910
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
891
911
|
}
|
|
892
|
-
function
|
|
893
|
-
return e && e instanceof
|
|
912
|
+
function Ai(e) {
|
|
913
|
+
return e && e instanceof qt || wi(e) && Yt(e);
|
|
894
914
|
}
|
|
895
|
-
var
|
|
915
|
+
var Pi = Zt(function(e) {
|
|
896
916
|
return function() {
|
|
897
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
898
918
|
};
|
|
899
|
-
}),
|
|
919
|
+
}), Kt = function(e) {
|
|
900
920
|
F(t, e);
|
|
901
921
|
function t() {
|
|
902
922
|
var r = e.call(this) || this;
|
|
903
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
904
924
|
}
|
|
905
925
|
return t.prototype.lift = function(r) {
|
|
906
|
-
var i = new
|
|
926
|
+
var i = new St(this, this);
|
|
907
927
|
return i.operator = r, i;
|
|
908
928
|
}, t.prototype._throwIfClosed = function() {
|
|
909
929
|
if (this.closed)
|
|
910
|
-
throw new
|
|
930
|
+
throw new Pi();
|
|
911
931
|
}, t.prototype.next = function(r) {
|
|
912
932
|
var i = this;
|
|
913
933
|
_e(function() {
|
|
@@ -915,15 +935,15 @@ var Li = Wt(function(e) {
|
|
|
915
935
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
916
936
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
917
937
|
try {
|
|
918
|
-
for (var
|
|
919
|
-
var l =
|
|
938
|
+
for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
939
|
+
var l = s.value;
|
|
920
940
|
l.next(r);
|
|
921
941
|
}
|
|
922
942
|
} catch (u) {
|
|
923
943
|
n = { error: u };
|
|
924
944
|
} finally {
|
|
925
945
|
try {
|
|
926
|
-
|
|
946
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
927
947
|
} finally {
|
|
928
948
|
if (n) throw n.error;
|
|
929
949
|
}
|
|
@@ -962,20 +982,20 @@ var Li = Wt(function(e) {
|
|
|
962
982
|
}, t.prototype._subscribe = function(r) {
|
|
963
983
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
964
984
|
}, t.prototype._innerSubscribe = function(r) {
|
|
965
|
-
var i = this, n = this, o = n.hasError,
|
|
966
|
-
return o ||
|
|
967
|
-
i.currentObservers = null,
|
|
985
|
+
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
986
|
+
return o || a ? Qt : (this.currentObservers = null, s.push(r), new Ae(function() {
|
|
987
|
+
i.currentObservers = null, qe(s, r);
|
|
968
988
|
}));
|
|
969
989
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
970
|
-
var i = this, n = i.hasError, o = i.thrownError,
|
|
971
|
-
n ? r.error(o) :
|
|
990
|
+
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
991
|
+
n ? r.error(o) : a && r.complete();
|
|
972
992
|
}, t.prototype.asObservable = function() {
|
|
973
|
-
var r = new
|
|
993
|
+
var r = new Tt();
|
|
974
994
|
return r.source = this, r;
|
|
975
995
|
}, t.create = function(r, i) {
|
|
976
|
-
return new
|
|
996
|
+
return new St(r, i);
|
|
977
997
|
}, t;
|
|
978
|
-
}(
|
|
998
|
+
}(Tt), St = function(e) {
|
|
979
999
|
F(t, e);
|
|
980
1000
|
function t(r, i) {
|
|
981
1001
|
var n = e.call(this) || this;
|
|
@@ -992,45 +1012,45 @@ var Li = Wt(function(e) {
|
|
|
992
1012
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
993
1013
|
}, t.prototype._subscribe = function(r) {
|
|
994
1014
|
var i, n;
|
|
995
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1015
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
|
|
996
1016
|
}, t;
|
|
997
|
-
}(
|
|
1017
|
+
}(Kt), er = {
|
|
998
1018
|
now: function() {
|
|
999
|
-
return (
|
|
1019
|
+
return (er.delegate || Date).now();
|
|
1000
1020
|
},
|
|
1001
1021
|
delegate: void 0
|
|
1002
|
-
},
|
|
1022
|
+
}, Hi = function(e) {
|
|
1003
1023
|
F(t, e);
|
|
1004
1024
|
function t(r, i, n) {
|
|
1005
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1025
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = er);
|
|
1006
1026
|
var o = e.call(this) || this;
|
|
1007
1027
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1008
1028
|
}
|
|
1009
1029
|
return t.prototype.next = function(r) {
|
|
1010
|
-
var i = this, n = i.isStopped, o = i._buffer,
|
|
1011
|
-
n || (o.push(r), !
|
|
1030
|
+
var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
|
|
1031
|
+
n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1012
1032
|
}, t.prototype._subscribe = function(r) {
|
|
1013
1033
|
this._throwIfClosed(), this._trimBuffer();
|
|
1014
|
-
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow,
|
|
1015
|
-
r.next(
|
|
1034
|
+
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
|
|
1035
|
+
r.next(s[l]);
|
|
1016
1036
|
return this._checkFinalizedStatuses(r), i;
|
|
1017
1037
|
}, t.prototype._trimBuffer = function() {
|
|
1018
|
-
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer,
|
|
1019
|
-
if (i < 1 / 0 &&
|
|
1038
|
+
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
|
|
1039
|
+
if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1020
1040
|
for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1021
1041
|
u = h;
|
|
1022
1042
|
u && o.splice(0, u + 1);
|
|
1023
1043
|
}
|
|
1024
1044
|
}, t;
|
|
1025
|
-
}(
|
|
1026
|
-
const
|
|
1027
|
-
if (
|
|
1028
|
-
const r = new
|
|
1029
|
-
|
|
1045
|
+
}(Kt);
|
|
1046
|
+
const wt = [], At = {}, Ii = (e, t = 0) => {
|
|
1047
|
+
if (wt.indexOf(e) == -1) {
|
|
1048
|
+
const r = new Hi(t);
|
|
1049
|
+
At[e] = r, wt.push(e);
|
|
1030
1050
|
}
|
|
1031
|
-
return
|
|
1051
|
+
return At[e];
|
|
1032
1052
|
}, Q = [];
|
|
1033
|
-
function
|
|
1053
|
+
function Bi(e, t) {
|
|
1034
1054
|
return {
|
|
1035
1055
|
subscribe: Pe(e, t).subscribe
|
|
1036
1056
|
};
|
|
@@ -1038,8 +1058,8 @@ function Ai(e, t) {
|
|
|
1038
1058
|
function Pe(e, t = O) {
|
|
1039
1059
|
let r;
|
|
1040
1060
|
const i = /* @__PURE__ */ new Set();
|
|
1041
|
-
function n(
|
|
1042
|
-
if (
|
|
1061
|
+
function n(s) {
|
|
1062
|
+
if (Wt(e, s) && (e = s, r)) {
|
|
1043
1063
|
const l = !Q.length;
|
|
1044
1064
|
for (const u of i)
|
|
1045
1065
|
u[1](), Q.push(u, e);
|
|
@@ -1050,23 +1070,23 @@ function Pe(e, t = O) {
|
|
|
1050
1070
|
}
|
|
1051
1071
|
}
|
|
1052
1072
|
}
|
|
1053
|
-
function o(
|
|
1054
|
-
n(
|
|
1073
|
+
function o(s) {
|
|
1074
|
+
n(s(e));
|
|
1055
1075
|
}
|
|
1056
|
-
function s
|
|
1057
|
-
const u = [
|
|
1058
|
-
return i.add(u), i.size === 1 && (r = t(n, o) || O),
|
|
1076
|
+
function a(s, l = O) {
|
|
1077
|
+
const u = [s, l];
|
|
1078
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
|
|
1059
1079
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1060
1080
|
};
|
|
1061
1081
|
}
|
|
1062
|
-
return { set: n, update: o, subscribe:
|
|
1082
|
+
return { set: n, update: o, subscribe: a };
|
|
1063
1083
|
}
|
|
1064
1084
|
function ie(e, t, r) {
|
|
1065
1085
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1066
1086
|
if (!n.every(Boolean))
|
|
1067
1087
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1068
1088
|
const o = t.length < 2;
|
|
1069
|
-
return
|
|
1089
|
+
return Bi(r, (a, s) => {
|
|
1070
1090
|
let l = !1;
|
|
1071
1091
|
const u = [];
|
|
1072
1092
|
let h = 0, c = O;
|
|
@@ -1074,10 +1094,10 @@ function ie(e, t, r) {
|
|
|
1074
1094
|
if (h)
|
|
1075
1095
|
return;
|
|
1076
1096
|
c();
|
|
1077
|
-
const y = t(i ? u[0] : u,
|
|
1078
|
-
o ?
|
|
1097
|
+
const y = t(i ? u[0] : u, a, s);
|
|
1098
|
+
o ? a(y) : c = ut(y) ? y : O;
|
|
1079
1099
|
}, p = n.map(
|
|
1080
|
-
(y, d) =>
|
|
1100
|
+
(y, d) => Xt(
|
|
1081
1101
|
y,
|
|
1082
1102
|
(b) => {
|
|
1083
1103
|
u[d] = b, h &= ~(1 << d), l && f();
|
|
@@ -1092,70 +1112,70 @@ function ie(e, t, r) {
|
|
|
1092
1112
|
};
|
|
1093
1113
|
});
|
|
1094
1114
|
}
|
|
1095
|
-
function
|
|
1115
|
+
function Oi(e) {
|
|
1096
1116
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1097
1117
|
}
|
|
1098
|
-
var
|
|
1099
|
-
return
|
|
1118
|
+
var Ci = function(t) {
|
|
1119
|
+
return Ni(t) && !Ri(t);
|
|
1100
1120
|
};
|
|
1101
|
-
function
|
|
1121
|
+
function Ni(e) {
|
|
1102
1122
|
return !!e && typeof e == "object";
|
|
1103
1123
|
}
|
|
1104
|
-
function
|
|
1124
|
+
function Ri(e) {
|
|
1105
1125
|
var t = Object.prototype.toString.call(e);
|
|
1106
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1126
|
+
return t === "[object RegExp]" || t === "[object Date]" || $i(e);
|
|
1107
1127
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1110
|
-
return e.$$typeof ===
|
|
1128
|
+
var Mi = typeof Symbol == "function" && Symbol.for, Di = Mi ? Symbol.for("react.element") : 60103;
|
|
1129
|
+
function $i(e) {
|
|
1130
|
+
return e.$$typeof === Di;
|
|
1111
1131
|
}
|
|
1112
|
-
function
|
|
1132
|
+
function Ui(e) {
|
|
1113
1133
|
return Array.isArray(e) ? [] : {};
|
|
1114
1134
|
}
|
|
1115
1135
|
function he(e, t) {
|
|
1116
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
1136
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Ui(e), e, t) : e;
|
|
1117
1137
|
}
|
|
1118
|
-
function
|
|
1138
|
+
function Gi(e, t, r) {
|
|
1119
1139
|
return e.concat(t).map(function(i) {
|
|
1120
1140
|
return he(i, r);
|
|
1121
1141
|
});
|
|
1122
1142
|
}
|
|
1123
|
-
function
|
|
1143
|
+
function Fi(e, t) {
|
|
1124
1144
|
if (!t.customMerge)
|
|
1125
1145
|
return K;
|
|
1126
1146
|
var r = t.customMerge(e);
|
|
1127
1147
|
return typeof r == "function" ? r : K;
|
|
1128
1148
|
}
|
|
1129
|
-
function
|
|
1149
|
+
function ji(e) {
|
|
1130
1150
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1131
1151
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1132
1152
|
}) : [];
|
|
1133
1153
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return Object.keys(e).concat(
|
|
1154
|
+
function Pt(e) {
|
|
1155
|
+
return Object.keys(e).concat(ji(e));
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1157
|
+
function tr(e, t) {
|
|
1138
1158
|
try {
|
|
1139
1159
|
return t in e;
|
|
1140
1160
|
} catch (r) {
|
|
1141
1161
|
return !1;
|
|
1142
1162
|
}
|
|
1143
1163
|
}
|
|
1144
|
-
function
|
|
1145
|
-
return
|
|
1164
|
+
function ki(e, t) {
|
|
1165
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1146
1166
|
}
|
|
1147
|
-
function
|
|
1167
|
+
function Vi(e, t, r) {
|
|
1148
1168
|
var i = {};
|
|
1149
|
-
return r.isMergeableObject(e) &&
|
|
1169
|
+
return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
|
|
1150
1170
|
i[n] = he(e[n], r);
|
|
1151
|
-
}),
|
|
1152
|
-
|
|
1171
|
+
}), Pt(t).forEach(function(n) {
|
|
1172
|
+
ki(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Fi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
|
|
1153
1173
|
}), i;
|
|
1154
1174
|
}
|
|
1155
1175
|
function K(e, t, r) {
|
|
1156
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1176
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = he;
|
|
1157
1177
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1158
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1178
|
+
return o ? i ? r.arrayMerge(e, t, r) : Vi(e, t, r) : he(t, r);
|
|
1159
1179
|
}
|
|
1160
1180
|
K.all = function(t, r) {
|
|
1161
1181
|
if (!Array.isArray(t))
|
|
@@ -1164,56 +1184,58 @@ K.all = function(t, r) {
|
|
|
1164
1184
|
return K(i, n, r);
|
|
1165
1185
|
}, {});
|
|
1166
1186
|
};
|
|
1167
|
-
var
|
|
1168
|
-
const
|
|
1169
|
-
function
|
|
1170
|
-
var r = t && t.cache ? t.cache :
|
|
1187
|
+
var Wi = K, Xi = Wi;
|
|
1188
|
+
const zi = /* @__PURE__ */ Oi(Xi);
|
|
1189
|
+
function Ge(e, t) {
|
|
1190
|
+
var r = t && t.cache ? t.cache : Ki, i = t && t.serializer ? t.serializer : qi, n = t && t.strategy ? t.strategy : Qi;
|
|
1171
1191
|
return n(e, {
|
|
1172
1192
|
cache: r,
|
|
1173
1193
|
serializer: i
|
|
1174
1194
|
});
|
|
1175
1195
|
}
|
|
1176
|
-
function
|
|
1196
|
+
function Zi(e) {
|
|
1177
1197
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1178
1198
|
}
|
|
1179
|
-
function
|
|
1180
|
-
var n =
|
|
1199
|
+
function rr(e, t, r, i) {
|
|
1200
|
+
var n = Zi(i) ? i : r(i), o = t.get(n);
|
|
1181
1201
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1182
1202
|
}
|
|
1183
|
-
function
|
|
1203
|
+
function ir(e, t, r) {
|
|
1184
1204
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1185
1205
|
return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1186
1206
|
}
|
|
1187
|
-
function
|
|
1207
|
+
function lt(e, t, r, i, n) {
|
|
1188
1208
|
return r.bind(t, e, i, n);
|
|
1189
1209
|
}
|
|
1190
|
-
function
|
|
1191
|
-
var r = e.length === 1 ?
|
|
1192
|
-
return
|
|
1210
|
+
function Qi(e, t) {
|
|
1211
|
+
var r = e.length === 1 ? rr : ir;
|
|
1212
|
+
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1193
1213
|
}
|
|
1194
|
-
function
|
|
1195
|
-
return
|
|
1214
|
+
function Yi(e, t) {
|
|
1215
|
+
return lt(e, this, ir, t.cache.create(), t.serializer);
|
|
1196
1216
|
}
|
|
1197
|
-
|
|
1217
|
+
function Ji(e, t) {
|
|
1218
|
+
return lt(e, this, rr, t.cache.create(), t.serializer);
|
|
1219
|
+
}
|
|
1220
|
+
var qi = function() {
|
|
1198
1221
|
return JSON.stringify(arguments);
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
}()
|
|
1211
|
-
), Yi = {
|
|
1222
|
+
};
|
|
1223
|
+
function ht() {
|
|
1224
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1225
|
+
}
|
|
1226
|
+
ht.prototype.get = function(e) {
|
|
1227
|
+
return this.cache[e];
|
|
1228
|
+
};
|
|
1229
|
+
ht.prototype.set = function(e, t) {
|
|
1230
|
+
this.cache[e] = t;
|
|
1231
|
+
};
|
|
1232
|
+
var Ki = {
|
|
1212
1233
|
create: function() {
|
|
1213
|
-
return new
|
|
1234
|
+
return new ht();
|
|
1214
1235
|
}
|
|
1215
|
-
},
|
|
1216
|
-
variadic:
|
|
1236
|
+
}, Fe = {
|
|
1237
|
+
variadic: Yi,
|
|
1238
|
+
monadic: Ji
|
|
1217
1239
|
}, g;
|
|
1218
1240
|
(function(e) {
|
|
1219
1241
|
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";
|
|
@@ -1226,43 +1248,43 @@ var ee;
|
|
|
1226
1248
|
(function(e) {
|
|
1227
1249
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1228
1250
|
})(ee || (ee = {}));
|
|
1229
|
-
function
|
|
1251
|
+
function Ht(e) {
|
|
1230
1252
|
return e.type === S.literal;
|
|
1231
1253
|
}
|
|
1232
|
-
function
|
|
1254
|
+
function en(e) {
|
|
1233
1255
|
return e.type === S.argument;
|
|
1234
1256
|
}
|
|
1235
|
-
function
|
|
1257
|
+
function nr(e) {
|
|
1236
1258
|
return e.type === S.number;
|
|
1237
1259
|
}
|
|
1238
|
-
function
|
|
1260
|
+
function or(e) {
|
|
1239
1261
|
return e.type === S.date;
|
|
1240
1262
|
}
|
|
1241
|
-
function
|
|
1263
|
+
function sr(e) {
|
|
1242
1264
|
return e.type === S.time;
|
|
1243
1265
|
}
|
|
1244
|
-
function
|
|
1266
|
+
function ar(e) {
|
|
1245
1267
|
return e.type === S.select;
|
|
1246
1268
|
}
|
|
1247
|
-
function
|
|
1269
|
+
function ur(e) {
|
|
1248
1270
|
return e.type === S.plural;
|
|
1249
1271
|
}
|
|
1250
|
-
function
|
|
1272
|
+
function tn(e) {
|
|
1251
1273
|
return e.type === S.pound;
|
|
1252
1274
|
}
|
|
1253
|
-
function
|
|
1275
|
+
function lr(e) {
|
|
1254
1276
|
return e.type === S.tag;
|
|
1255
1277
|
}
|
|
1256
|
-
function
|
|
1278
|
+
function hr(e) {
|
|
1257
1279
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1258
1280
|
}
|
|
1259
|
-
function
|
|
1281
|
+
function et(e) {
|
|
1260
1282
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1261
1283
|
}
|
|
1262
|
-
var
|
|
1263
|
-
function
|
|
1284
|
+
var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
|
|
1285
|
+
function nn(e) {
|
|
1264
1286
|
var t = {};
|
|
1265
|
-
return e.replace(
|
|
1287
|
+
return e.replace(rn, function(r) {
|
|
1266
1288
|
var i = r.length;
|
|
1267
1289
|
switch (r[0]) {
|
|
1268
1290
|
case "G":
|
|
@@ -1351,36 +1373,36 @@ function en(e) {
|
|
|
1351
1373
|
return "";
|
|
1352
1374
|
}), t;
|
|
1353
1375
|
}
|
|
1354
|
-
var
|
|
1355
|
-
function
|
|
1376
|
+
var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1377
|
+
function sn(e) {
|
|
1356
1378
|
if (e.length === 0)
|
|
1357
1379
|
throw new Error("Number skeleton cannot be empty");
|
|
1358
|
-
for (var t = e.split(
|
|
1380
|
+
for (var t = e.split(on).filter(function(f) {
|
|
1359
1381
|
return f.length > 0;
|
|
1360
1382
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1361
|
-
var o = n[i],
|
|
1362
|
-
if (
|
|
1383
|
+
var o = n[i], a = o.split("/");
|
|
1384
|
+
if (a.length === 0)
|
|
1363
1385
|
throw new Error("Invalid number skeleton");
|
|
1364
|
-
for (var
|
|
1386
|
+
for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1365
1387
|
var c = h[u];
|
|
1366
1388
|
if (c.length === 0)
|
|
1367
1389
|
throw new Error("Invalid number skeleton");
|
|
1368
1390
|
}
|
|
1369
|
-
r.push({ stem:
|
|
1391
|
+
r.push({ stem: s, options: l });
|
|
1370
1392
|
}
|
|
1371
1393
|
return r;
|
|
1372
1394
|
}
|
|
1373
|
-
function
|
|
1395
|
+
function an(e) {
|
|
1374
1396
|
return e.replace(/^(.*?)-/, "");
|
|
1375
1397
|
}
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1398
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
1399
|
+
function Bt(e) {
|
|
1378
1400
|
var t = {};
|
|
1379
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1401
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
|
|
1380
1402
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1381
1403
|
}), t;
|
|
1382
1404
|
}
|
|
1383
|
-
function
|
|
1405
|
+
function pr(e) {
|
|
1384
1406
|
switch (e) {
|
|
1385
1407
|
case "sign-auto":
|
|
1386
1408
|
return {
|
|
@@ -1420,7 +1442,7 @@ function hr(e) {
|
|
|
1420
1442
|
};
|
|
1421
1443
|
}
|
|
1422
1444
|
}
|
|
1423
|
-
function
|
|
1445
|
+
function ln(e) {
|
|
1424
1446
|
var t;
|
|
1425
1447
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1426
1448
|
notation: "engineering"
|
|
@@ -1428,17 +1450,17 @@ function sn(e) {
|
|
|
1428
1450
|
notation: "scientific"
|
|
1429
1451
|
}, e = e.slice(1)), t) {
|
|
1430
1452
|
var r = e.slice(0, 2);
|
|
1431
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1453
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
|
1432
1454
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1433
1455
|
t.minimumIntegerDigits = e.length;
|
|
1434
1456
|
}
|
|
1435
1457
|
return t;
|
|
1436
1458
|
}
|
|
1437
|
-
function
|
|
1438
|
-
var t = {}, r =
|
|
1459
|
+
function Ot(e) {
|
|
1460
|
+
var t = {}, r = pr(e);
|
|
1439
1461
|
return r || t;
|
|
1440
1462
|
}
|
|
1441
|
-
function
|
|
1463
|
+
function hn(e) {
|
|
1442
1464
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1443
1465
|
var n = i[r];
|
|
1444
1466
|
switch (n.stem) {
|
|
@@ -1462,7 +1484,7 @@ function an(e) {
|
|
|
1462
1484
|
continue;
|
|
1463
1485
|
case "measure-unit":
|
|
1464
1486
|
case "unit":
|
|
1465
|
-
t.style = "unit", t.unit =
|
|
1487
|
+
t.style = "unit", t.unit = an(n.options[0]);
|
|
1466
1488
|
continue;
|
|
1467
1489
|
case "compact-short":
|
|
1468
1490
|
case "K":
|
|
@@ -1474,12 +1496,12 @@ function an(e) {
|
|
|
1474
1496
|
continue;
|
|
1475
1497
|
case "scientific":
|
|
1476
1498
|
t = _(_(_({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
|
|
1477
|
-
return _(_({}, l),
|
|
1499
|
+
return _(_({}, l), Ot(u));
|
|
1478
1500
|
}, {}));
|
|
1479
1501
|
continue;
|
|
1480
1502
|
case "engineering":
|
|
1481
1503
|
t = _(_(_({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
|
|
1482
|
-
return _(_({}, l),
|
|
1504
|
+
return _(_({}, l), Ot(u));
|
|
1483
1505
|
}, {}));
|
|
1484
1506
|
continue;
|
|
1485
1507
|
case "notation-simple":
|
|
@@ -1524,7 +1546,7 @@ function an(e) {
|
|
|
1524
1546
|
case "integer-width":
|
|
1525
1547
|
if (n.options.length > 1)
|
|
1526
1548
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1527
|
-
n.options[0].replace(
|
|
1549
|
+
n.options[0].replace(un, function(l, u, h, c, f, p) {
|
|
1528
1550
|
if (u)
|
|
1529
1551
|
t.minimumIntegerDigits = h.length;
|
|
1530
1552
|
else {
|
|
@@ -1537,28 +1559,28 @@ function an(e) {
|
|
|
1537
1559
|
});
|
|
1538
1560
|
continue;
|
|
1539
1561
|
}
|
|
1540
|
-
if (
|
|
1562
|
+
if (mr.test(n.stem)) {
|
|
1541
1563
|
t.minimumIntegerDigits = n.stem.length;
|
|
1542
1564
|
continue;
|
|
1543
1565
|
}
|
|
1544
|
-
if (
|
|
1566
|
+
if (It.test(n.stem)) {
|
|
1545
1567
|
if (n.options.length > 1)
|
|
1546
1568
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1547
|
-
n.stem.replace(
|
|
1569
|
+
n.stem.replace(It, function(l, u, h, c, f, p) {
|
|
1548
1570
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1549
1571
|
});
|
|
1550
1572
|
var o = n.options[0];
|
|
1551
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1573
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Bt(o)));
|
|
1552
1574
|
continue;
|
|
1553
1575
|
}
|
|
1554
|
-
if (
|
|
1555
|
-
t = _(_({}, t),
|
|
1576
|
+
if (fr.test(n.stem)) {
|
|
1577
|
+
t = _(_({}, t), Bt(n.stem));
|
|
1556
1578
|
continue;
|
|
1557
1579
|
}
|
|
1558
|
-
var
|
|
1559
|
-
s && (t = _(_({}, t), s));
|
|
1560
|
-
var a = sn(n.stem);
|
|
1580
|
+
var a = pr(n.stem);
|
|
1561
1581
|
a && (t = _(_({}, t), a));
|
|
1582
|
+
var s = ln(n.stem);
|
|
1583
|
+
s && (t = _(_({}, t), s));
|
|
1562
1584
|
}
|
|
1563
1585
|
return t;
|
|
1564
1586
|
}
|
|
@@ -2977,22 +2999,22 @@ var ve = {
|
|
|
2977
2999
|
"h"
|
|
2978
3000
|
]
|
|
2979
3001
|
};
|
|
2980
|
-
function
|
|
3002
|
+
function cn(e, t) {
|
|
2981
3003
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2982
3004
|
var n = e.charAt(i);
|
|
2983
3005
|
if (n === "j") {
|
|
2984
3006
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2985
3007
|
o++, i++;
|
|
2986
|
-
var
|
|
2987
|
-
for ((u == "H" || u == "k") && (
|
|
3008
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fn(t);
|
|
3009
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2988
3010
|
r += l;
|
|
2989
|
-
for (;
|
|
3011
|
+
for (; a-- > 0; )
|
|
2990
3012
|
r = u + r;
|
|
2991
3013
|
} else n === "J" ? r += "H" : r += n;
|
|
2992
3014
|
}
|
|
2993
3015
|
return r;
|
|
2994
3016
|
}
|
|
2995
|
-
function
|
|
3017
|
+
function fn(e) {
|
|
2996
3018
|
var t = e.hourCycle;
|
|
2997
3019
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2998
3020
|
e.hourCycles && // @ts-ignore
|
|
@@ -3014,20 +3036,20 @@ function ln(e) {
|
|
|
3014
3036
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3015
3037
|
return n[0];
|
|
3016
3038
|
}
|
|
3017
|
-
var
|
|
3039
|
+
var je, mn = new RegExp("^".concat(cr.source, "*")), pn = new RegExp("".concat(cr.source, "*$"));
|
|
3018
3040
|
function v(e, t) {
|
|
3019
3041
|
return { start: e, end: t };
|
|
3020
3042
|
}
|
|
3021
|
-
var
|
|
3043
|
+
var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, gn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
|
|
3022
3044
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3023
|
-
},
|
|
3045
|
+
}, tt = !0;
|
|
3024
3046
|
try {
|
|
3025
|
-
var
|
|
3026
|
-
|
|
3047
|
+
var Tn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3048
|
+
tt = ((je = Tn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3027
3049
|
} catch (e) {
|
|
3028
|
-
|
|
3050
|
+
tt = !1;
|
|
3029
3051
|
}
|
|
3030
|
-
var
|
|
3052
|
+
var Ct = dn ? (
|
|
3031
3053
|
// Native
|
|
3032
3054
|
function(t, r, i) {
|
|
3033
3055
|
return t.startsWith(r, i);
|
|
@@ -3037,31 +3059,31 @@ var It = fn ? (
|
|
|
3037
3059
|
function(t, r, i) {
|
|
3038
3060
|
return t.slice(i, i + r.length) === r;
|
|
3039
3061
|
}
|
|
3040
|
-
),
|
|
3062
|
+
), rt = yn ? String.fromCodePoint : (
|
|
3041
3063
|
// IE11
|
|
3042
3064
|
function() {
|
|
3043
3065
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3044
3066
|
t[r] = arguments[r];
|
|
3045
|
-
for (var i = "", n = t.length, o = 0,
|
|
3046
|
-
if (
|
|
3047
|
-
throw RangeError(
|
|
3048
|
-
i +=
|
|
3067
|
+
for (var i = "", n = t.length, o = 0, a; n > o; ) {
|
|
3068
|
+
if (a = t[o++], a > 1114111)
|
|
3069
|
+
throw RangeError(a + " is not a valid code point");
|
|
3070
|
+
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3049
3071
|
}
|
|
3050
3072
|
return i;
|
|
3051
3073
|
}
|
|
3052
|
-
),
|
|
3074
|
+
), Nt = (
|
|
3053
3075
|
// native
|
|
3054
|
-
|
|
3076
|
+
gn ? Object.fromEntries : (
|
|
3055
3077
|
// Ponyfill
|
|
3056
3078
|
function(t) {
|
|
3057
3079
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
3058
|
-
var o = n[i],
|
|
3059
|
-
r[
|
|
3080
|
+
var o = n[i], a = o[0], s = o[1];
|
|
3081
|
+
r[a] = s;
|
|
3060
3082
|
}
|
|
3061
3083
|
return r;
|
|
3062
3084
|
}
|
|
3063
3085
|
)
|
|
3064
|
-
),
|
|
3086
|
+
), dr = bn ? (
|
|
3065
3087
|
// Native
|
|
3066
3088
|
function(t, r) {
|
|
3067
3089
|
return t.codePointAt(r);
|
|
@@ -3075,7 +3097,7 @@ var It = fn ? (
|
|
|
3075
3097
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3076
3098
|
}
|
|
3077
3099
|
}
|
|
3078
|
-
),
|
|
3100
|
+
), Ln = vn ? (
|
|
3079
3101
|
// Native
|
|
3080
3102
|
function(t) {
|
|
3081
3103
|
return t.trimStart();
|
|
@@ -3083,9 +3105,9 @@ var It = fn ? (
|
|
|
3083
3105
|
) : (
|
|
3084
3106
|
// Ponyfill
|
|
3085
3107
|
function(t) {
|
|
3086
|
-
return t.replace(
|
|
3108
|
+
return t.replace(mn, "");
|
|
3087
3109
|
}
|
|
3088
|
-
),
|
|
3110
|
+
), Sn = En ? (
|
|
3089
3111
|
// Native
|
|
3090
3112
|
function(t) {
|
|
3091
3113
|
return t.trimEnd();
|
|
@@ -3093,32 +3115,32 @@ var It = fn ? (
|
|
|
3093
3115
|
) : (
|
|
3094
3116
|
// Ponyfill
|
|
3095
3117
|
function(t) {
|
|
3096
|
-
return t.replace(
|
|
3118
|
+
return t.replace(pn, "");
|
|
3097
3119
|
}
|
|
3098
3120
|
);
|
|
3099
|
-
function
|
|
3121
|
+
function yr(e, t) {
|
|
3100
3122
|
return new RegExp(e, t);
|
|
3101
3123
|
}
|
|
3102
|
-
var
|
|
3103
|
-
if (
|
|
3104
|
-
var
|
|
3105
|
-
|
|
3124
|
+
var it;
|
|
3125
|
+
if (tt) {
|
|
3126
|
+
var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3127
|
+
it = function(t, r) {
|
|
3106
3128
|
var i;
|
|
3107
|
-
|
|
3108
|
-
var n =
|
|
3129
|
+
Rt.lastIndex = r;
|
|
3130
|
+
var n = Rt.exec(t);
|
|
3109
3131
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3110
3132
|
};
|
|
3111
3133
|
} else
|
|
3112
|
-
|
|
3134
|
+
it = function(t, r) {
|
|
3113
3135
|
for (var i = []; ; ) {
|
|
3114
|
-
var n =
|
|
3115
|
-
if (n === void 0 ||
|
|
3136
|
+
var n = dr(t, r);
|
|
3137
|
+
if (n === void 0 || gr(n) || Hn(n))
|
|
3116
3138
|
break;
|
|
3117
3139
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3118
3140
|
}
|
|
3119
|
-
return
|
|
3141
|
+
return rt.apply(void 0, i);
|
|
3120
3142
|
};
|
|
3121
|
-
var
|
|
3143
|
+
var wn = (
|
|
3122
3144
|
/** @class */
|
|
3123
3145
|
function() {
|
|
3124
3146
|
function e(t, r) {
|
|
@@ -3132,33 +3154,33 @@ var Tn = (
|
|
|
3132
3154
|
for (var n = []; !this.isEOF(); ) {
|
|
3133
3155
|
var o = this.char();
|
|
3134
3156
|
if (o === 123) {
|
|
3135
|
-
var
|
|
3136
|
-
if (
|
|
3137
|
-
return
|
|
3138
|
-
n.push(
|
|
3157
|
+
var a = this.parseArgument(t, i);
|
|
3158
|
+
if (a.err)
|
|
3159
|
+
return a;
|
|
3160
|
+
n.push(a.val);
|
|
3139
3161
|
} else {
|
|
3140
3162
|
if (o === 125 && t > 0)
|
|
3141
3163
|
break;
|
|
3142
3164
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3143
|
-
var
|
|
3165
|
+
var s = this.clonePosition();
|
|
3144
3166
|
this.bump(), n.push({
|
|
3145
3167
|
type: S.pound,
|
|
3146
|
-
location: v(
|
|
3168
|
+
location: v(s, this.clonePosition())
|
|
3147
3169
|
});
|
|
3148
3170
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3149
3171
|
if (i)
|
|
3150
3172
|
break;
|
|
3151
3173
|
return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3152
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
return
|
|
3156
|
-
n.push(
|
|
3174
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3175
|
+
var a = this.parseTag(t, r);
|
|
3176
|
+
if (a.err)
|
|
3177
|
+
return a;
|
|
3178
|
+
n.push(a.val);
|
|
3157
3179
|
} else {
|
|
3158
|
-
var
|
|
3159
|
-
if (
|
|
3160
|
-
return
|
|
3161
|
-
n.push(
|
|
3180
|
+
var a = this.parseLiteral(t, r);
|
|
3181
|
+
if (a.err)
|
|
3182
|
+
return a;
|
|
3183
|
+
n.push(a.val);
|
|
3162
3184
|
}
|
|
3163
3185
|
}
|
|
3164
3186
|
}
|
|
@@ -3180,27 +3202,27 @@ var Tn = (
|
|
|
3180
3202
|
var o = this.parseMessage(t + 1, r, !0);
|
|
3181
3203
|
if (o.err)
|
|
3182
3204
|
return o;
|
|
3183
|
-
var
|
|
3205
|
+
var a = o.val, s = this.clonePosition();
|
|
3184
3206
|
if (this.bumpIf("</")) {
|
|
3185
|
-
if (this.isEOF() || !
|
|
3186
|
-
return this.error(g.INVALID_TAG, v(
|
|
3207
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3208
|
+
return this.error(g.INVALID_TAG, v(s, this.clonePosition()));
|
|
3187
3209
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3188
3210
|
return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3189
3211
|
val: {
|
|
3190
3212
|
type: S.tag,
|
|
3191
3213
|
value: n,
|
|
3192
|
-
children:
|
|
3214
|
+
children: a,
|
|
3193
3215
|
location: v(i, this.clonePosition())
|
|
3194
3216
|
},
|
|
3195
3217
|
err: null
|
|
3196
|
-
} : this.error(g.INVALID_TAG, v(
|
|
3218
|
+
} : this.error(g.INVALID_TAG, v(s, this.clonePosition())));
|
|
3197
3219
|
} else
|
|
3198
3220
|
return this.error(g.UNCLOSED_TAG, v(i, this.clonePosition()));
|
|
3199
3221
|
} else
|
|
3200
3222
|
return this.error(g.INVALID_TAG, v(i, this.clonePosition()));
|
|
3201
3223
|
}, e.prototype.parseTagName = function() {
|
|
3202
3224
|
var t = this.offset();
|
|
3203
|
-
for (this.bump(); !this.isEOF() &&
|
|
3225
|
+
for (this.bump(); !this.isEOF() && Pn(this.char()); )
|
|
3204
3226
|
this.bump();
|
|
3205
3227
|
return this.message.slice(t, this.offset());
|
|
3206
3228
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3210,16 +3232,16 @@ var Tn = (
|
|
|
3210
3232
|
n += o;
|
|
3211
3233
|
continue;
|
|
3212
3234
|
}
|
|
3213
|
-
var
|
|
3214
|
-
if (s) {
|
|
3215
|
-
n += s;
|
|
3216
|
-
continue;
|
|
3217
|
-
}
|
|
3218
|
-
var a = this.tryParseLeftAngleBracket();
|
|
3235
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3219
3236
|
if (a) {
|
|
3220
3237
|
n += a;
|
|
3221
3238
|
continue;
|
|
3222
3239
|
}
|
|
3240
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3241
|
+
if (s) {
|
|
3242
|
+
n += s;
|
|
3243
|
+
continue;
|
|
3244
|
+
}
|
|
3223
3245
|
break;
|
|
3224
3246
|
}
|
|
3225
3247
|
var l = v(i, this.clonePosition());
|
|
@@ -3229,7 +3251,7 @@ var Tn = (
|
|
|
3229
3251
|
};
|
|
3230
3252
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3231
3253
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3232
|
-
!
|
|
3254
|
+
!An(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3233
3255
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3234
3256
|
if (this.isEOF() || this.char() !== 39)
|
|
3235
3257
|
return null;
|
|
@@ -3263,12 +3285,12 @@ var Tn = (
|
|
|
3263
3285
|
r.push(i);
|
|
3264
3286
|
this.bump();
|
|
3265
3287
|
}
|
|
3266
|
-
return
|
|
3288
|
+
return rt.apply(void 0, r);
|
|
3267
3289
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3268
3290
|
if (this.isEOF())
|
|
3269
3291
|
return null;
|
|
3270
3292
|
var i = this.char();
|
|
3271
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3293
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
|
|
3272
3294
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3273
3295
|
var i = this.clonePosition();
|
|
3274
3296
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3297,15 +3319,15 @@ var Tn = (
|
|
|
3297
3319
|
return this.error(g.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
|
|
3298
3320
|
}
|
|
3299
3321
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3300
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3322
|
+
var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
|
|
3301
3323
|
this.bumpTo(n);
|
|
3302
|
-
var o = this.clonePosition(),
|
|
3303
|
-
return { value: i, location:
|
|
3324
|
+
var o = this.clonePosition(), a = v(t, o);
|
|
3325
|
+
return { value: i, location: a };
|
|
3304
3326
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3305
|
-
var o,
|
|
3306
|
-
switch (
|
|
3327
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3328
|
+
switch (s) {
|
|
3307
3329
|
case "":
|
|
3308
|
-
return this.error(g.EXPECT_ARGUMENT_TYPE, v(
|
|
3330
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, l));
|
|
3309
3331
|
case "number":
|
|
3310
3332
|
case "date":
|
|
3311
3333
|
case "time": {
|
|
@@ -3316,7 +3338,7 @@ var Tn = (
|
|
|
3316
3338
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3317
3339
|
if (c.err)
|
|
3318
3340
|
return c;
|
|
3319
|
-
var f =
|
|
3341
|
+
var f = Sn(c.val);
|
|
3320
3342
|
if (f.length === 0)
|
|
3321
3343
|
return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3322
3344
|
var p = v(h, this.clonePosition());
|
|
@@ -3326,9 +3348,9 @@ var Tn = (
|
|
|
3326
3348
|
if (y.err)
|
|
3327
3349
|
return y;
|
|
3328
3350
|
var d = v(n, this.clonePosition());
|
|
3329
|
-
if (u &&
|
|
3330
|
-
var b =
|
|
3331
|
-
if (
|
|
3351
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3352
|
+
var b = Ln(u.style.slice(2));
|
|
3353
|
+
if (s === "number") {
|
|
3332
3354
|
var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
|
|
3333
3355
|
return c.err ? c : {
|
|
3334
3356
|
val: { type: S.number, value: i, location: d, style: c.val },
|
|
@@ -3338,13 +3360,13 @@ var Tn = (
|
|
|
3338
3360
|
if (b.length === 0)
|
|
3339
3361
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
|
|
3340
3362
|
var w = b;
|
|
3341
|
-
this.locale && (w =
|
|
3363
|
+
this.locale && (w = cn(b, this.locale));
|
|
3342
3364
|
var f = {
|
|
3343
3365
|
type: ee.dateTime,
|
|
3344
3366
|
pattern: w,
|
|
3345
3367
|
location: u.styleLocation,
|
|
3346
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3347
|
-
}, E =
|
|
3368
|
+
parsedOptions: this.shouldParseSkeletons ? nn(w) : {}
|
|
3369
|
+
}, E = s === "date" ? S.date : S.time;
|
|
3348
3370
|
return {
|
|
3349
3371
|
val: { type: E, value: i, location: d, style: f },
|
|
3350
3372
|
err: null
|
|
@@ -3353,7 +3375,7 @@ var Tn = (
|
|
|
3353
3375
|
}
|
|
3354
3376
|
return {
|
|
3355
3377
|
val: {
|
|
3356
|
-
type:
|
|
3378
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3357
3379
|
value: i,
|
|
3358
3380
|
location: d,
|
|
3359
3381
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3369,7 +3391,7 @@ var Tn = (
|
|
|
3369
3391
|
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
|
|
3370
3392
|
this.bumpSpace();
|
|
3371
3393
|
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
3372
|
-
if (
|
|
3394
|
+
if (s !== "select" && D.value === "offset") {
|
|
3373
3395
|
if (!this.bumpIf(":"))
|
|
3374
3396
|
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3375
3397
|
this.bumpSpace();
|
|
@@ -3378,18 +3400,18 @@ var Tn = (
|
|
|
3378
3400
|
return c;
|
|
3379
3401
|
this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
|
|
3380
3402
|
}
|
|
3381
|
-
var $ = this.tryParsePluralOrSelectOptions(t,
|
|
3403
|
+
var $ = this.tryParsePluralOrSelectOptions(t, s, r, D);
|
|
3382
3404
|
if ($.err)
|
|
3383
3405
|
return $;
|
|
3384
3406
|
var y = this.tryParseArgumentClose(n);
|
|
3385
3407
|
if (y.err)
|
|
3386
3408
|
return y;
|
|
3387
3409
|
var W = v(n, this.clonePosition());
|
|
3388
|
-
return
|
|
3410
|
+
return s === "select" ? {
|
|
3389
3411
|
val: {
|
|
3390
3412
|
type: S.select,
|
|
3391
3413
|
value: i,
|
|
3392
|
-
options:
|
|
3414
|
+
options: Nt($.val),
|
|
3393
3415
|
location: W
|
|
3394
3416
|
},
|
|
3395
3417
|
err: null
|
|
@@ -3397,16 +3419,16 @@ var Tn = (
|
|
|
3397
3419
|
val: {
|
|
3398
3420
|
type: S.plural,
|
|
3399
3421
|
value: i,
|
|
3400
|
-
options:
|
|
3422
|
+
options: Nt($.val),
|
|
3401
3423
|
offset: N,
|
|
3402
|
-
pluralType:
|
|
3424
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3403
3425
|
location: W
|
|
3404
3426
|
},
|
|
3405
3427
|
err: null
|
|
3406
3428
|
};
|
|
3407
3429
|
}
|
|
3408
3430
|
default:
|
|
3409
|
-
return this.error(g.INVALID_ARGUMENT_TYPE, v(
|
|
3431
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
|
|
3410
3432
|
}
|
|
3411
3433
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3412
3434
|
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3448,7 +3470,7 @@ var Tn = (
|
|
|
3448
3470
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3449
3471
|
var i = [];
|
|
3450
3472
|
try {
|
|
3451
|
-
i =
|
|
3473
|
+
i = sn(t);
|
|
3452
3474
|
} catch (n) {
|
|
3453
3475
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3454
3476
|
}
|
|
@@ -3457,12 +3479,12 @@ var Tn = (
|
|
|
3457
3479
|
type: ee.number,
|
|
3458
3480
|
tokens: i,
|
|
3459
3481
|
location: r,
|
|
3460
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3482
|
+
parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
|
|
3461
3483
|
},
|
|
3462
3484
|
err: null
|
|
3463
3485
|
};
|
|
3464
3486
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3465
|
-
for (var o,
|
|
3487
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
|
|
3466
3488
|
if (u.length === 0) {
|
|
3467
3489
|
var c = this.clonePosition();
|
|
3468
3490
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3475,7 +3497,7 @@ var Tn = (
|
|
|
3475
3497
|
}
|
|
3476
3498
|
if (l.has(u))
|
|
3477
3499
|
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3478
|
-
u === "other" && (
|
|
3500
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3479
3501
|
var p = this.clonePosition();
|
|
3480
3502
|
if (!this.bumpIf("{"))
|
|
3481
3503
|
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -3485,7 +3507,7 @@ var Tn = (
|
|
|
3485
3507
|
var d = this.tryParseArgumentClose(p);
|
|
3486
3508
|
if (d.err)
|
|
3487
3509
|
return d;
|
|
3488
|
-
|
|
3510
|
+
s.push([
|
|
3489
3511
|
u,
|
|
3490
3512
|
{
|
|
3491
3513
|
value: y.val,
|
|
@@ -3493,19 +3515,19 @@ var Tn = (
|
|
|
3493
3515
|
}
|
|
3494
3516
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3495
3517
|
}
|
|
3496
|
-
return
|
|
3518
|
+
return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3497
3519
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3498
3520
|
var i = 1, n = this.clonePosition();
|
|
3499
3521
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3500
|
-
for (var o = !1,
|
|
3501
|
-
var
|
|
3502
|
-
if (
|
|
3503
|
-
o = !0,
|
|
3522
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3523
|
+
var s = this.char();
|
|
3524
|
+
if (s >= 48 && s <= 57)
|
|
3525
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3504
3526
|
else
|
|
3505
3527
|
break;
|
|
3506
3528
|
}
|
|
3507
3529
|
var l = v(n, this.clonePosition());
|
|
3508
|
-
return o ? (
|
|
3530
|
+
return o ? (a *= i, xn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3509
3531
|
}, e.prototype.offset = function() {
|
|
3510
3532
|
return this.position.offset;
|
|
3511
3533
|
}, e.prototype.isEOF = function() {
|
|
@@ -3520,7 +3542,7 @@ var Tn = (
|
|
|
3520
3542
|
var t = this.position.offset;
|
|
3521
3543
|
if (t >= this.message.length)
|
|
3522
3544
|
throw Error("out of bound");
|
|
3523
|
-
var r =
|
|
3545
|
+
var r = dr(this.message, t);
|
|
3524
3546
|
if (r === void 0)
|
|
3525
3547
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3526
3548
|
return r;
|
|
@@ -3539,7 +3561,7 @@ var Tn = (
|
|
|
3539
3561
|
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);
|
|
3540
3562
|
}
|
|
3541
3563
|
}, e.prototype.bumpIf = function(t) {
|
|
3542
|
-
if (
|
|
3564
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3543
3565
|
for (var r = 0; r < t.length; r++)
|
|
3544
3566
|
this.bump();
|
|
3545
3567
|
return !0;
|
|
@@ -3561,7 +3583,7 @@ var Tn = (
|
|
|
3561
3583
|
break;
|
|
3562
3584
|
}
|
|
3563
3585
|
}, e.prototype.bumpSpace = function() {
|
|
3564
|
-
for (; !this.isEOF() &&
|
|
3586
|
+
for (; !this.isEOF() && gr(this.char()); )
|
|
3565
3587
|
this.bump();
|
|
3566
3588
|
}, e.prototype.peek = function() {
|
|
3567
3589
|
if (this.isEOF())
|
|
@@ -3571,37 +3593,37 @@ var Tn = (
|
|
|
3571
3593
|
}, e;
|
|
3572
3594
|
}()
|
|
3573
3595
|
);
|
|
3574
|
-
function
|
|
3596
|
+
function nt(e) {
|
|
3575
3597
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3576
3598
|
}
|
|
3577
|
-
function
|
|
3578
|
-
return
|
|
3599
|
+
function An(e) {
|
|
3600
|
+
return nt(e) || e === 47;
|
|
3579
3601
|
}
|
|
3580
|
-
function
|
|
3602
|
+
function Pn(e) {
|
|
3581
3603
|
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;
|
|
3582
3604
|
}
|
|
3583
|
-
function
|
|
3605
|
+
function gr(e) {
|
|
3584
3606
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3585
3607
|
}
|
|
3586
|
-
function
|
|
3608
|
+
function Hn(e) {
|
|
3587
3609
|
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;
|
|
3588
3610
|
}
|
|
3589
|
-
function
|
|
3611
|
+
function ot(e) {
|
|
3590
3612
|
e.forEach(function(t) {
|
|
3591
|
-
if (delete t.location,
|
|
3613
|
+
if (delete t.location, ar(t) || ur(t))
|
|
3592
3614
|
for (var r in t.options)
|
|
3593
|
-
delete t.options[r].location,
|
|
3594
|
-
else
|
|
3615
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3616
|
+
else nr(t) && hr(t.style) || (or(t) || sr(t)) && et(t.style) ? delete t.style.location : lr(t) && ot(t.children);
|
|
3595
3617
|
});
|
|
3596
3618
|
}
|
|
3597
|
-
function
|
|
3619
|
+
function In(e, t) {
|
|
3598
3620
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3599
|
-
var r = new
|
|
3621
|
+
var r = new wn(e, t).parse();
|
|
3600
3622
|
if (r.err) {
|
|
3601
3623
|
var i = SyntaxError(g[r.err.kind]);
|
|
3602
3624
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3603
3625
|
}
|
|
3604
|
-
return t != null && t.captureLocation ||
|
|
3626
|
+
return t != null && t.captureLocation || ot(r.val), r.val;
|
|
3605
3627
|
}
|
|
3606
3628
|
var te;
|
|
3607
3629
|
(function(e) {
|
|
@@ -3619,7 +3641,7 @@ var He = (
|
|
|
3619
3641
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3620
3642
|
}, t;
|
|
3621
3643
|
}(Error)
|
|
3622
|
-
),
|
|
3644
|
+
), Mt = (
|
|
3623
3645
|
/** @class */
|
|
3624
3646
|
function(e) {
|
|
3625
3647
|
F(t, e);
|
|
@@ -3628,7 +3650,7 @@ var He = (
|
|
|
3628
3650
|
}
|
|
3629
3651
|
return t;
|
|
3630
3652
|
}(He)
|
|
3631
|
-
),
|
|
3653
|
+
), Bn = (
|
|
3632
3654
|
/** @class */
|
|
3633
3655
|
function(e) {
|
|
3634
3656
|
F(t, e);
|
|
@@ -3637,7 +3659,7 @@ var He = (
|
|
|
3637
3659
|
}
|
|
3638
3660
|
return t;
|
|
3639
3661
|
}(He)
|
|
3640
|
-
),
|
|
3662
|
+
), On = (
|
|
3641
3663
|
/** @class */
|
|
3642
3664
|
function(e) {
|
|
3643
3665
|
F(t, e);
|
|
@@ -3650,34 +3672,34 @@ var He = (
|
|
|
3650
3672
|
(function(e) {
|
|
3651
3673
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3652
3674
|
})(B || (B = {}));
|
|
3653
|
-
function
|
|
3675
|
+
function Cn(e) {
|
|
3654
3676
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3655
3677
|
var i = t[t.length - 1];
|
|
3656
3678
|
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3657
3679
|
}, []);
|
|
3658
3680
|
}
|
|
3659
|
-
function
|
|
3681
|
+
function Nn(e) {
|
|
3660
3682
|
return typeof e == "function";
|
|
3661
3683
|
}
|
|
3662
|
-
function xe(e, t, r, i, n, o,
|
|
3663
|
-
if (e.length === 1 &&
|
|
3684
|
+
function xe(e, t, r, i, n, o, a) {
|
|
3685
|
+
if (e.length === 1 && Ht(e[0]))
|
|
3664
3686
|
return [
|
|
3665
3687
|
{
|
|
3666
3688
|
type: B.literal,
|
|
3667
3689
|
value: e[0].value
|
|
3668
3690
|
}
|
|
3669
3691
|
];
|
|
3670
|
-
for (var
|
|
3692
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3671
3693
|
var h = u[l];
|
|
3672
|
-
if (
|
|
3673
|
-
|
|
3694
|
+
if (Ht(h)) {
|
|
3695
|
+
s.push({
|
|
3674
3696
|
type: B.literal,
|
|
3675
3697
|
value: h.value
|
|
3676
3698
|
});
|
|
3677
3699
|
continue;
|
|
3678
3700
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
typeof o == "number" &&
|
|
3701
|
+
if (tn(h)) {
|
|
3702
|
+
typeof o == "number" && s.push({
|
|
3681
3703
|
type: B.literal,
|
|
3682
3704
|
value: r.getNumberFormat(t).format(o)
|
|
3683
3705
|
});
|
|
@@ -3685,89 +3707,89 @@ function xe(e, t, r, i, n, o, s) {
|
|
|
3685
3707
|
}
|
|
3686
3708
|
var c = h.value;
|
|
3687
3709
|
if (!(n && c in n))
|
|
3688
|
-
throw new
|
|
3710
|
+
throw new On(c, a);
|
|
3689
3711
|
var f = n[c];
|
|
3690
|
-
if (
|
|
3691
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3712
|
+
if (en(h)) {
|
|
3713
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3692
3714
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3693
3715
|
value: f
|
|
3694
3716
|
});
|
|
3695
3717
|
continue;
|
|
3696
3718
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
var p = typeof h.style == "string" ? i.date[h.style] :
|
|
3699
|
-
|
|
3719
|
+
if (or(h)) {
|
|
3720
|
+
var p = typeof h.style == "string" ? i.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
|
|
3721
|
+
s.push({
|
|
3700
3722
|
type: B.literal,
|
|
3701
3723
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3702
3724
|
});
|
|
3703
3725
|
continue;
|
|
3704
3726
|
}
|
|
3705
|
-
if (
|
|
3706
|
-
var p = typeof h.style == "string" ? i.time[h.style] :
|
|
3707
|
-
|
|
3727
|
+
if (sr(h)) {
|
|
3728
|
+
var p = typeof h.style == "string" ? i.time[h.style] : et(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3729
|
+
s.push({
|
|
3708
3730
|
type: B.literal,
|
|
3709
3731
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3710
3732
|
});
|
|
3711
3733
|
continue;
|
|
3712
3734
|
}
|
|
3713
|
-
if (
|
|
3714
|
-
var p = typeof h.style == "string" ? i.number[h.style] :
|
|
3715
|
-
p && p.scale && (f = f * (p.scale || 1)),
|
|
3735
|
+
if (nr(h)) {
|
|
3736
|
+
var p = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
|
|
3737
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3716
3738
|
type: B.literal,
|
|
3717
3739
|
value: r.getNumberFormat(t, p).format(f)
|
|
3718
3740
|
});
|
|
3719
3741
|
continue;
|
|
3720
3742
|
}
|
|
3721
|
-
if (
|
|
3743
|
+
if (lr(h)) {
|
|
3722
3744
|
var y = h.children, d = h.value, b = n[d];
|
|
3723
|
-
if (!
|
|
3724
|
-
throw new
|
|
3745
|
+
if (!Nn(b))
|
|
3746
|
+
throw new Bn(d, "function", a);
|
|
3725
3747
|
var w = xe(y, t, r, i, n, o), E = b(w.map(function(N) {
|
|
3726
3748
|
return N.value;
|
|
3727
3749
|
}));
|
|
3728
|
-
Array.isArray(E) || (E = [E]),
|
|
3750
|
+
Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(N) {
|
|
3729
3751
|
return {
|
|
3730
3752
|
type: typeof N == "string" ? B.literal : B.object,
|
|
3731
3753
|
value: N
|
|
3732
3754
|
};
|
|
3733
3755
|
}));
|
|
3734
3756
|
}
|
|
3735
|
-
if (
|
|
3757
|
+
if (ar(h)) {
|
|
3736
3758
|
var H = h.options[f] || h.options.other;
|
|
3737
3759
|
if (!H)
|
|
3738
|
-
throw new
|
|
3739
|
-
|
|
3760
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
3761
|
+
s.push.apply(s, xe(H.value, t, r, i, n));
|
|
3740
3762
|
continue;
|
|
3741
3763
|
}
|
|
3742
|
-
if (
|
|
3764
|
+
if (ur(h)) {
|
|
3743
3765
|
var H = h.options["=".concat(f)];
|
|
3744
3766
|
if (!H) {
|
|
3745
3767
|
if (!Intl.PluralRules)
|
|
3746
3768
|
throw new He(`Intl.PluralRules is not available in this environment.
|
|
3747
3769
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3748
|
-
`, te.MISSING_INTL_API,
|
|
3770
|
+
`, te.MISSING_INTL_API, a);
|
|
3749
3771
|
var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3750
3772
|
H = h.options[D] || h.options.other;
|
|
3751
3773
|
}
|
|
3752
3774
|
if (!H)
|
|
3753
|
-
throw new
|
|
3754
|
-
|
|
3775
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
3776
|
+
s.push.apply(s, xe(H.value, t, r, i, n, f - (h.offset || 0)));
|
|
3755
3777
|
continue;
|
|
3756
3778
|
}
|
|
3757
3779
|
}
|
|
3758
|
-
return
|
|
3780
|
+
return Cn(s);
|
|
3759
3781
|
}
|
|
3760
|
-
function
|
|
3782
|
+
function Rn(e, t) {
|
|
3761
3783
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3762
3784
|
return r[i] = _(_({}, e[i]), t[i] || {}), r;
|
|
3763
3785
|
}, {})) : e;
|
|
3764
3786
|
}
|
|
3765
|
-
function
|
|
3787
|
+
function Mn(e, t) {
|
|
3766
3788
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3767
|
-
return r[i] =
|
|
3789
|
+
return r[i] = Rn(e[i], t[i]), r;
|
|
3768
3790
|
}, _({}, e)) : e;
|
|
3769
3791
|
}
|
|
3770
|
-
function
|
|
3792
|
+
function ke(e) {
|
|
3771
3793
|
return {
|
|
3772
3794
|
create: function() {
|
|
3773
3795
|
return {
|
|
@@ -3781,39 +3803,39 @@ function je(e) {
|
|
|
3781
3803
|
}
|
|
3782
3804
|
};
|
|
3783
3805
|
}
|
|
3784
|
-
function
|
|
3806
|
+
function Dn(e) {
|
|
3785
3807
|
return e === void 0 && (e = {
|
|
3786
3808
|
number: {},
|
|
3787
3809
|
dateTime: {},
|
|
3788
3810
|
pluralRules: {}
|
|
3789
3811
|
}), {
|
|
3790
|
-
getNumberFormat:
|
|
3812
|
+
getNumberFormat: Ge(function() {
|
|
3791
3813
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3792
3814
|
r[i] = arguments[i];
|
|
3793
3815
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3794
3816
|
}, {
|
|
3795
|
-
cache:
|
|
3796
|
-
strategy:
|
|
3817
|
+
cache: ke(e.number),
|
|
3818
|
+
strategy: Fe.variadic
|
|
3797
3819
|
}),
|
|
3798
|
-
getDateTimeFormat:
|
|
3820
|
+
getDateTimeFormat: Ge(function() {
|
|
3799
3821
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3800
3822
|
r[i] = arguments[i];
|
|
3801
3823
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3802
3824
|
}, {
|
|
3803
|
-
cache:
|
|
3804
|
-
strategy:
|
|
3825
|
+
cache: ke(e.dateTime),
|
|
3826
|
+
strategy: Fe.variadic
|
|
3805
3827
|
}),
|
|
3806
|
-
getPluralRules:
|
|
3828
|
+
getPluralRules: Ge(function() {
|
|
3807
3829
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3808
3830
|
r[i] = arguments[i];
|
|
3809
3831
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3810
3832
|
}, {
|
|
3811
|
-
cache:
|
|
3812
|
-
strategy:
|
|
3833
|
+
cache: ke(e.pluralRules),
|
|
3834
|
+
strategy: Fe.variadic
|
|
3813
3835
|
})
|
|
3814
3836
|
};
|
|
3815
3837
|
}
|
|
3816
|
-
var
|
|
3838
|
+
var $n = (
|
|
3817
3839
|
/** @class */
|
|
3818
3840
|
function() {
|
|
3819
3841
|
function e(t, r, i, n) {
|
|
@@ -3843,15 +3865,15 @@ var Rn = (
|
|
|
3843
3865
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3844
3866
|
if (this.message = t, !e.__parse)
|
|
3845
3867
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3846
|
-
var
|
|
3847
|
-
|
|
3848
|
-
var
|
|
3849
|
-
this.ast = e.__parse(t, _(_({},
|
|
3868
|
+
var a = n || {};
|
|
3869
|
+
a.formatters;
|
|
3870
|
+
var s = yi(a, ["formatters"]);
|
|
3871
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
3850
3872
|
} else
|
|
3851
3873
|
this.ast = t;
|
|
3852
3874
|
if (!Array.isArray(this.ast))
|
|
3853
3875
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3854
|
-
this.formats =
|
|
3876
|
+
this.formats = Mn(e.formats, i), this.formatters = n && n.formatters || Dn(this.formatterCache);
|
|
3855
3877
|
}
|
|
3856
3878
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3857
3879
|
get: function() {
|
|
@@ -3864,7 +3886,7 @@ var Rn = (
|
|
|
3864
3886
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3865
3887
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3866
3888
|
}
|
|
3867
|
-
}, e.__parse =
|
|
3889
|
+
}, e.__parse = In, e.formats = {
|
|
3868
3890
|
number: {
|
|
3869
3891
|
integer: {
|
|
3870
3892
|
maximumFractionDigits: 0
|
|
@@ -3925,7 +3947,7 @@ var Rn = (
|
|
|
3925
3947
|
}, e;
|
|
3926
3948
|
}()
|
|
3927
3949
|
);
|
|
3928
|
-
function
|
|
3950
|
+
function Un(e, t) {
|
|
3929
3951
|
if (t == null)
|
|
3930
3952
|
return;
|
|
3931
3953
|
if (t in e)
|
|
@@ -3946,92 +3968,92 @@ function Mn(e, t) {
|
|
|
3946
3968
|
i = void 0;
|
|
3947
3969
|
return i;
|
|
3948
3970
|
}
|
|
3949
|
-
const j = {},
|
|
3971
|
+
const j = {}, Gn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), br = (e, t) => {
|
|
3950
3972
|
if (t == null)
|
|
3951
3973
|
return;
|
|
3952
3974
|
if (t in j && e in j[t])
|
|
3953
3975
|
return j[t][e];
|
|
3954
3976
|
const r = Ie(t);
|
|
3955
3977
|
for (let i = 0; i < r.length; i++) {
|
|
3956
|
-
const n = r[i], o =
|
|
3978
|
+
const n = r[i], o = jn(n, e);
|
|
3957
3979
|
if (o)
|
|
3958
|
-
return
|
|
3980
|
+
return Gn(e, t, o);
|
|
3959
3981
|
}
|
|
3960
3982
|
};
|
|
3961
|
-
let
|
|
3983
|
+
let ct;
|
|
3962
3984
|
const me = Pe({});
|
|
3963
|
-
function
|
|
3964
|
-
return
|
|
3985
|
+
function Fn(e) {
|
|
3986
|
+
return ct[e] || null;
|
|
3965
3987
|
}
|
|
3966
|
-
function
|
|
3967
|
-
return e in
|
|
3988
|
+
function vr(e) {
|
|
3989
|
+
return e in ct;
|
|
3968
3990
|
}
|
|
3969
|
-
function
|
|
3970
|
-
if (!
|
|
3991
|
+
function jn(e, t) {
|
|
3992
|
+
if (!vr(e))
|
|
3971
3993
|
return null;
|
|
3972
|
-
const r =
|
|
3973
|
-
return
|
|
3994
|
+
const r = Fn(e);
|
|
3995
|
+
return Un(r, t);
|
|
3974
3996
|
}
|
|
3975
|
-
function
|
|
3997
|
+
function kn(e) {
|
|
3976
3998
|
if (e == null)
|
|
3977
3999
|
return;
|
|
3978
4000
|
const t = Ie(e);
|
|
3979
4001
|
for (let r = 0; r < t.length; r++) {
|
|
3980
4002
|
const i = t[r];
|
|
3981
|
-
if (
|
|
4003
|
+
if (vr(i))
|
|
3982
4004
|
return i;
|
|
3983
4005
|
}
|
|
3984
4006
|
}
|
|
3985
|
-
function
|
|
3986
|
-
delete j[e], me.update((r) => (r[e] =
|
|
4007
|
+
function Er(e, ...t) {
|
|
4008
|
+
delete j[e], me.update((r) => (r[e] = zi.all([r[e] || {}, ...t]), r));
|
|
3987
4009
|
}
|
|
3988
4010
|
ie(
|
|
3989
4011
|
[me],
|
|
3990
4012
|
([e]) => Object.keys(e)
|
|
3991
4013
|
);
|
|
3992
|
-
me.subscribe((e) =>
|
|
4014
|
+
me.subscribe((e) => ct = e);
|
|
3993
4015
|
const Te = {};
|
|
3994
|
-
function
|
|
4016
|
+
function Vn(e, t) {
|
|
3995
4017
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
3996
4018
|
}
|
|
3997
|
-
function
|
|
4019
|
+
function _r(e) {
|
|
3998
4020
|
return Te[e];
|
|
3999
4021
|
}
|
|
4000
|
-
function
|
|
4022
|
+
function Wn(e) {
|
|
4001
4023
|
return Ie(e).map((t) => {
|
|
4002
|
-
const r =
|
|
4024
|
+
const r = _r(t);
|
|
4003
4025
|
return [t, r ? [...r] : []];
|
|
4004
4026
|
}).filter(([, t]) => t.length > 0);
|
|
4005
4027
|
}
|
|
4006
|
-
function
|
|
4028
|
+
function st(e) {
|
|
4007
4029
|
return e == null ? !1 : Ie(e).some(
|
|
4008
4030
|
(t) => {
|
|
4009
4031
|
var r;
|
|
4010
|
-
return (r =
|
|
4032
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4011
4033
|
}
|
|
4012
4034
|
);
|
|
4013
4035
|
}
|
|
4014
|
-
function
|
|
4036
|
+
function Xn(e, t) {
|
|
4015
4037
|
return Promise.all(
|
|
4016
|
-
t.map((i) => (
|
|
4017
|
-
).then((i) =>
|
|
4038
|
+
t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
|
|
4039
|
+
).then((i) => Er(e, ...i));
|
|
4018
4040
|
}
|
|
4019
4041
|
const ae = {};
|
|
4020
|
-
function
|
|
4021
|
-
if (!
|
|
4042
|
+
function xr(e) {
|
|
4043
|
+
if (!st(e))
|
|
4022
4044
|
return e in ae ? ae[e] : Promise.resolve();
|
|
4023
|
-
const t =
|
|
4045
|
+
const t = Wn(e);
|
|
4024
4046
|
return ae[e] = Promise.all(
|
|
4025
4047
|
t.map(
|
|
4026
|
-
([r, i]) =>
|
|
4048
|
+
([r, i]) => Xn(r, i)
|
|
4027
4049
|
)
|
|
4028
4050
|
).then(() => {
|
|
4029
|
-
if (
|
|
4030
|
-
return
|
|
4051
|
+
if (st(e))
|
|
4052
|
+
return xr(e);
|
|
4031
4053
|
delete ae[e];
|
|
4032
4054
|
}), ae[e];
|
|
4033
4055
|
}
|
|
4034
|
-
const
|
|
4056
|
+
const zn = {
|
|
4035
4057
|
number: {
|
|
4036
4058
|
scientific: { notation: "scientific" },
|
|
4037
4059
|
engineering: { notation: "engineering" },
|
|
@@ -4060,57 +4082,57 @@ const Vn = {
|
|
|
4060
4082
|
timeZoneName: "short"
|
|
4061
4083
|
}
|
|
4062
4084
|
}
|
|
4063
|
-
},
|
|
4085
|
+
}, Zn = {
|
|
4064
4086
|
fallbackLocale: null,
|
|
4065
4087
|
loadingDelay: 200,
|
|
4066
|
-
formats:
|
|
4088
|
+
formats: zn,
|
|
4067
4089
|
warnOnMissingMessages: !0,
|
|
4068
4090
|
handleMissingMessage: void 0,
|
|
4069
4091
|
ignoreTag: !0
|
|
4070
|
-
},
|
|
4092
|
+
}, Qn = Zn;
|
|
4071
4093
|
function re() {
|
|
4072
|
-
return
|
|
4094
|
+
return Qn;
|
|
4073
4095
|
}
|
|
4074
|
-
const
|
|
4075
|
-
var
|
|
4096
|
+
const Ve = Pe(!1);
|
|
4097
|
+
var Yn = Object.defineProperty, Jn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
|
|
4076
4098
|
for (var r in t || (t = {}))
|
|
4077
|
-
|
|
4078
|
-
if (
|
|
4079
|
-
for (var r of
|
|
4080
|
-
|
|
4099
|
+
Kn.call(t, r) && $t(e, r, t[r]);
|
|
4100
|
+
if (Dt)
|
|
4101
|
+
for (var r of Dt(t))
|
|
4102
|
+
eo.call(t, r) && $t(e, r, t[r]);
|
|
4081
4103
|
return e;
|
|
4082
|
-
},
|
|
4083
|
-
let
|
|
4104
|
+
}, ro = (e, t) => Jn(e, qn(t));
|
|
4105
|
+
let at;
|
|
4084
4106
|
const Se = Pe(null);
|
|
4085
|
-
function
|
|
4107
|
+
function Ut(e) {
|
|
4086
4108
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4087
4109
|
}
|
|
4088
4110
|
function Ie(e, t = re().fallbackLocale) {
|
|
4089
|
-
const r =
|
|
4090
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4111
|
+
const r = Ut(e);
|
|
4112
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4091
4113
|
}
|
|
4092
4114
|
function z() {
|
|
4093
|
-
return
|
|
4115
|
+
return at != null ? at : void 0;
|
|
4094
4116
|
}
|
|
4095
4117
|
Se.subscribe((e) => {
|
|
4096
|
-
|
|
4118
|
+
at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4097
4119
|
});
|
|
4098
|
-
const
|
|
4099
|
-
if (e &&
|
|
4120
|
+
const io = (e) => {
|
|
4121
|
+
if (e && kn(e) && st(e)) {
|
|
4100
4122
|
const { loadingDelay: t } = re();
|
|
4101
4123
|
let r;
|
|
4102
4124
|
return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
|
|
4103
|
-
() =>
|
|
4125
|
+
() => Ve.set(!0),
|
|
4104
4126
|
t
|
|
4105
|
-
) :
|
|
4127
|
+
) : Ve.set(!0), xr(e).then(() => {
|
|
4106
4128
|
Se.set(e);
|
|
4107
4129
|
}).finally(() => {
|
|
4108
|
-
clearTimeout(r),
|
|
4130
|
+
clearTimeout(r), Ve.set(!1);
|
|
4109
4131
|
});
|
|
4110
4132
|
}
|
|
4111
4133
|
return Se.set(e);
|
|
4112
|
-
}, ne =
|
|
4113
|
-
set:
|
|
4134
|
+
}, ne = ro(to({}, Se), {
|
|
4135
|
+
set: io
|
|
4114
4136
|
}), Be = (e) => {
|
|
4115
4137
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4116
4138
|
return (i) => {
|
|
@@ -4118,20 +4140,20 @@ const eo = (e) => {
|
|
|
4118
4140
|
return n in t ? t[n] : t[n] = e(i);
|
|
4119
4141
|
};
|
|
4120
4142
|
};
|
|
4121
|
-
var
|
|
4143
|
+
var no = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
4122
4144
|
for (var r in t || (t = {}))
|
|
4123
|
-
|
|
4145
|
+
Tr.call(t, r) && Gt(e, r, t[r]);
|
|
4124
4146
|
if (we)
|
|
4125
4147
|
for (var r of we(t))
|
|
4126
|
-
|
|
4148
|
+
Lr.call(t, r) && Gt(e, r, t[r]);
|
|
4127
4149
|
return e;
|
|
4128
4150
|
}, oe = (e, t) => {
|
|
4129
4151
|
var r = {};
|
|
4130
4152
|
for (var i in e)
|
|
4131
|
-
|
|
4153
|
+
Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4132
4154
|
if (e != null && we)
|
|
4133
4155
|
for (var i of we(e))
|
|
4134
|
-
t.indexOf(i) < 0 &&
|
|
4156
|
+
t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
|
|
4135
4157
|
return r;
|
|
4136
4158
|
};
|
|
4137
4159
|
const ce = (e, t) => {
|
|
@@ -4139,21 +4161,21 @@ const ce = (e, t) => {
|
|
|
4139
4161
|
if (e in r && t in r[e])
|
|
4140
4162
|
return r[e][t];
|
|
4141
4163
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4142
|
-
},
|
|
4164
|
+
}, oo = Be(
|
|
4143
4165
|
(e) => {
|
|
4144
4166
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4145
4167
|
if (r == null)
|
|
4146
4168
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4147
4169
|
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
4148
4170
|
}
|
|
4149
|
-
),
|
|
4171
|
+
), so = Be(
|
|
4150
4172
|
(e) => {
|
|
4151
4173
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4152
4174
|
if (r == null)
|
|
4153
4175
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4154
4176
|
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4155
4177
|
}
|
|
4156
|
-
),
|
|
4178
|
+
), ao = Be(
|
|
4157
4179
|
(e) => {
|
|
4158
4180
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4159
4181
|
if (r == null)
|
|
@@ -4162,57 +4184,57 @@ const ce = (e, t) => {
|
|
|
4162
4184
|
);
|
|
4163
4185
|
return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4164
4186
|
}
|
|
4165
|
-
),
|
|
4187
|
+
), uo = (e = {}) => {
|
|
4166
4188
|
var t = e, {
|
|
4167
4189
|
locale: r = z()
|
|
4168
4190
|
} = t, i = oe(t, [
|
|
4169
4191
|
"locale"
|
|
4170
4192
|
]);
|
|
4171
|
-
return
|
|
4172
|
-
},
|
|
4193
|
+
return oo(ft({ locale: r }, i));
|
|
4194
|
+
}, lo = (e = {}) => {
|
|
4173
4195
|
var t = e, {
|
|
4174
4196
|
locale: r = z()
|
|
4175
4197
|
} = t, i = oe(t, [
|
|
4176
4198
|
"locale"
|
|
4177
4199
|
]);
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4200
|
+
return so(ft({ locale: r }, i));
|
|
4201
|
+
}, ho = (e = {}) => {
|
|
4180
4202
|
var t = e, {
|
|
4181
4203
|
locale: r = z()
|
|
4182
4204
|
} = t, i = oe(t, [
|
|
4183
4205
|
"locale"
|
|
4184
4206
|
]);
|
|
4185
|
-
return
|
|
4186
|
-
},
|
|
4207
|
+
return ao(ft({ locale: r }, i));
|
|
4208
|
+
}, co = Be(
|
|
4187
4209
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4188
|
-
(e, t = z()) => new
|
|
4210
|
+
(e, t = z()) => new $n(e, t, re().formats, {
|
|
4189
4211
|
ignoreTag: re().ignoreTag
|
|
4190
4212
|
})
|
|
4191
|
-
),
|
|
4213
|
+
), fo = (e, t = {}) => {
|
|
4192
4214
|
var r, i, n, o;
|
|
4193
|
-
let
|
|
4194
|
-
typeof e == "object" && (
|
|
4215
|
+
let a = t;
|
|
4216
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4195
4217
|
const {
|
|
4196
|
-
values:
|
|
4218
|
+
values: s,
|
|
4197
4219
|
locale: l = z(),
|
|
4198
4220
|
default: u
|
|
4199
|
-
} =
|
|
4221
|
+
} = a;
|
|
4200
4222
|
if (l == null)
|
|
4201
4223
|
throw new Error(
|
|
4202
4224
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4203
4225
|
);
|
|
4204
|
-
let h =
|
|
4226
|
+
let h = br(e, l);
|
|
4205
4227
|
if (!h)
|
|
4206
4228
|
h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4207
4229
|
else if (typeof h != "string")
|
|
4208
4230
|
return console.warn(
|
|
4209
4231
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4210
4232
|
), h;
|
|
4211
|
-
if (!
|
|
4233
|
+
if (!s)
|
|
4212
4234
|
return h;
|
|
4213
4235
|
let c = h;
|
|
4214
4236
|
try {
|
|
4215
|
-
c =
|
|
4237
|
+
c = co(h, l).format(s);
|
|
4216
4238
|
} catch (f) {
|
|
4217
4239
|
f instanceof Error && console.warn(
|
|
4218
4240
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4220,20 +4242,20 @@ const ce = (e, t) => {
|
|
|
4220
4242
|
);
|
|
4221
4243
|
}
|
|
4222
4244
|
return c;
|
|
4223
|
-
},
|
|
4224
|
-
ie([ne], () =>
|
|
4225
|
-
ie([ne], () =>
|
|
4226
|
-
ie([ne], () =>
|
|
4227
|
-
ie([ne, me], () =>
|
|
4228
|
-
window.emWidgets = { topic:
|
|
4229
|
-
const
|
|
4230
|
-
function
|
|
4231
|
-
|
|
4232
|
-
}
|
|
4233
|
-
function
|
|
4245
|
+
}, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), yo = (e, t) => uo(t).format(e), go = (e, t = z()) => br(e, t), bo = ie([ne, me], () => fo);
|
|
4246
|
+
ie([ne], () => mo);
|
|
4247
|
+
ie([ne], () => po);
|
|
4248
|
+
ie([ne], () => yo);
|
|
4249
|
+
ie([ne, me], () => go);
|
|
4250
|
+
window.emWidgets = { topic: Ii };
|
|
4251
|
+
const vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), $o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4252
|
+
function Ft(e, t) {
|
|
4253
|
+
Er(e, t);
|
|
4254
|
+
}
|
|
4255
|
+
function Eo(e) {
|
|
4234
4256
|
ne.set(e);
|
|
4235
4257
|
}
|
|
4236
|
-
const
|
|
4258
|
+
const We = {
|
|
4237
4259
|
en: {
|
|
4238
4260
|
expandLimits: "LIMIT HISTORY",
|
|
4239
4261
|
daily: "per day",
|
|
@@ -4484,30 +4506,30 @@ const Ve = {
|
|
|
4484
4506
|
historyLimitTypeLoss: "Loss Limit"
|
|
4485
4507
|
}
|
|
4486
4508
|
};
|
|
4487
|
-
function
|
|
4488
|
-
|
|
4509
|
+
function _o(e) {
|
|
4510
|
+
Zr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4489
4511
|
}
|
|
4490
|
-
function
|
|
4512
|
+
function jt(e, t, r) {
|
|
4491
4513
|
const i = e.slice();
|
|
4492
4514
|
return i[38] = t[r], i[39] = t, i[40] = r, i;
|
|
4493
4515
|
}
|
|
4494
|
-
function
|
|
4516
|
+
function xo(e) {
|
|
4495
4517
|
let t, r, i, n = (
|
|
4496
4518
|
/*$_*/
|
|
4497
4519
|
e[9]("expandLimits") + ""
|
|
4498
|
-
), o,
|
|
4520
|
+
), o, a, s, l, u, h, c, f, p, y = Et(
|
|
4499
4521
|
/*lazyShowedHistoryArray*/
|
|
4500
4522
|
e[7]
|
|
4501
4523
|
), d = [];
|
|
4502
4524
|
for (let b = 0; b < y.length; b += 1)
|
|
4503
|
-
d[b] =
|
|
4525
|
+
d[b] = kt(jt(e, y, b));
|
|
4504
4526
|
return {
|
|
4505
4527
|
c() {
|
|
4506
|
-
t = P("div"), r = P("div"), i = P("button"), o = M(n),
|
|
4528
|
+
t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Xe(), s = Me("svg"), l = Me("path"), u = Me("path"), h = Xe(), c = P("div");
|
|
4507
4529
|
for (let b = 0; b < d.length; b += 1)
|
|
4508
4530
|
d[b].c();
|
|
4509
|
-
x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(
|
|
4510
|
-
|
|
4531
|
+
x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
|
|
4532
|
+
s,
|
|
4511
4533
|
"extended",
|
|
4512
4534
|
/*extended*/
|
|
4513
4535
|
e[8]
|
|
@@ -4520,10 +4542,10 @@ function vo(e) {
|
|
|
4520
4542
|
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4521
4543
|
},
|
|
4522
4544
|
m(b, w) {
|
|
4523
|
-
X(b, t, w), L(t, r), L(r, i), L(i, o), L(i,
|
|
4545
|
+
X(b, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, l), L(s, u), L(r, h), L(r, c);
|
|
4524
4546
|
for (let E = 0; E < d.length; E += 1)
|
|
4525
4547
|
d[E] && d[E].m(c, null);
|
|
4526
|
-
f || (p =
|
|
4548
|
+
f || (p = qr(
|
|
4527
4549
|
i,
|
|
4528
4550
|
"click",
|
|
4529
4551
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4535,20 +4557,20 @@ function vo(e) {
|
|
|
4535
4557
|
512 && n !== (n = /*$_*/
|
|
4536
4558
|
b[9]("expandLimits") + "") && k(o, n), w[0] & /*extended*/
|
|
4537
4559
|
256 && ge(
|
|
4538
|
-
|
|
4560
|
+
s,
|
|
4539
4561
|
"extended",
|
|
4540
4562
|
/*extended*/
|
|
4541
4563
|
b[8]
|
|
4542
4564
|
), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4543
4565
|
650) {
|
|
4544
|
-
y =
|
|
4566
|
+
y = Et(
|
|
4545
4567
|
/*lazyShowedHistoryArray*/
|
|
4546
4568
|
b[7]
|
|
4547
4569
|
);
|
|
4548
4570
|
let E;
|
|
4549
4571
|
for (E = 0; E < y.length; E += 1) {
|
|
4550
|
-
const H =
|
|
4551
|
-
d[E] ? d[E].p(H, w) : (d[E] =
|
|
4572
|
+
const H = jt(b, y, E);
|
|
4573
|
+
d[E] ? d[E].p(H, w) : (d[E] = kt(H), d[E].c(), d[E].m(c, null));
|
|
4552
4574
|
}
|
|
4553
4575
|
for (; E < d.length; E += 1)
|
|
4554
4576
|
d[E].d(1);
|
|
@@ -4563,14 +4585,14 @@ function vo(e) {
|
|
|
4563
4585
|
);
|
|
4564
4586
|
},
|
|
4565
4587
|
d(b) {
|
|
4566
|
-
b && V(t),
|
|
4588
|
+
b && V(t), Jr(d, b), f = !1, p();
|
|
4567
4589
|
}
|
|
4568
4590
|
};
|
|
4569
4591
|
}
|
|
4570
|
-
function
|
|
4592
|
+
function To(e) {
|
|
4571
4593
|
return { c: O, m: O, p: O, d: O };
|
|
4572
4594
|
}
|
|
4573
|
-
function
|
|
4595
|
+
function Lo(e) {
|
|
4574
4596
|
let t, r = (
|
|
4575
4597
|
/*lang*/
|
|
4576
4598
|
(e[0] ? (
|
|
@@ -4598,11 +4620,11 @@ function _o(e) {
|
|
|
4598
4620
|
}
|
|
4599
4621
|
};
|
|
4600
4622
|
}
|
|
4601
|
-
function
|
|
4623
|
+
function So(e) {
|
|
4602
4624
|
let t, r, i, n = (
|
|
4603
4625
|
/*history*/
|
|
4604
4626
|
e[38].type + ""
|
|
4605
|
-
), o,
|
|
4627
|
+
), o, a, s = (
|
|
4606
4628
|
/*history*/
|
|
4607
4629
|
e[38].amount + ""
|
|
4608
4630
|
), l, u, h = (
|
|
@@ -4611,17 +4633,17 @@ function xo(e) {
|
|
|
4611
4633
|
), c;
|
|
4612
4634
|
return {
|
|
4613
4635
|
c() {
|
|
4614
|
-
t = P("div"), r = P("span"), i = P("span"), o = M(n),
|
|
4636
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4615
4637
|
},
|
|
4616
4638
|
m(f, p) {
|
|
4617
|
-
X(f, t, p), L(t, r), L(r, i), L(i, o), L(r,
|
|
4639
|
+
X(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
|
|
4618
4640
|
},
|
|
4619
4641
|
p(f, p) {
|
|
4620
4642
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4621
4643
|
128 && n !== (n = /*history*/
|
|
4622
4644
|
f[38].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4623
|
-
128 &&
|
|
4624
|
-
f[38].amount + "") && k(l,
|
|
4645
|
+
128 && s !== (s = /*history*/
|
|
4646
|
+
f[38].amount + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4625
4647
|
128 && h !== (h = /*history*/
|
|
4626
4648
|
f[38].date + "") && k(c, h);
|
|
4627
4649
|
},
|
|
@@ -4630,11 +4652,11 @@ function xo(e) {
|
|
|
4630
4652
|
}
|
|
4631
4653
|
};
|
|
4632
4654
|
}
|
|
4633
|
-
function
|
|
4655
|
+
function wo(e) {
|
|
4634
4656
|
let t, r, i, n = (
|
|
4635
4657
|
/*history*/
|
|
4636
4658
|
e[38].type + ""
|
|
4637
|
-
), o,
|
|
4659
|
+
), o, a, s = (
|
|
4638
4660
|
/*$_*/
|
|
4639
4661
|
e[9]("limitRemoved") + ""
|
|
4640
4662
|
), l, u, h = (
|
|
@@ -4643,17 +4665,17 @@ function To(e) {
|
|
|
4643
4665
|
), c;
|
|
4644
4666
|
return {
|
|
4645
4667
|
c() {
|
|
4646
|
-
t = P("div"), r = P("span"), i = P("span"), o = M(n),
|
|
4668
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4647
4669
|
},
|
|
4648
4670
|
m(f, p) {
|
|
4649
|
-
X(f, t, p), L(t, r), L(r, i), L(i, o), L(r,
|
|
4671
|
+
X(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
|
|
4650
4672
|
},
|
|
4651
4673
|
p(f, p) {
|
|
4652
4674
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4653
4675
|
128 && n !== (n = /*history*/
|
|
4654
4676
|
f[38].type + "") && k(o, n), p[0] & /*$_*/
|
|
4655
|
-
512 &&
|
|
4656
|
-
f[9]("limitRemoved") + "") && k(l,
|
|
4677
|
+
512 && s !== (s = /*$_*/
|
|
4678
|
+
f[9]("limitRemoved") + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4657
4679
|
128 && h !== (h = /*history*/
|
|
4658
4680
|
f[38].date + "") && k(c, h);
|
|
4659
4681
|
},
|
|
@@ -4662,7 +4684,7 @@ function To(e) {
|
|
|
4662
4684
|
}
|
|
4663
4685
|
};
|
|
4664
4686
|
}
|
|
4665
|
-
function
|
|
4687
|
+
function kt(e) {
|
|
4666
4688
|
let t, r, i, n = (
|
|
4667
4689
|
/*index*/
|
|
4668
4690
|
e[40]
|
|
@@ -4670,10 +4692,10 @@ function Gt(e) {
|
|
|
4670
4692
|
function o(h, c) {
|
|
4671
4693
|
return (
|
|
4672
4694
|
/*history*/
|
|
4673
|
-
h[38].removed ?
|
|
4695
|
+
h[38].removed ? wo : So
|
|
4674
4696
|
);
|
|
4675
4697
|
}
|
|
4676
|
-
let
|
|
4698
|
+
let a = o(e), s = a(e);
|
|
4677
4699
|
const l = () => (
|
|
4678
4700
|
/*div_binding*/
|
|
4679
4701
|
e[21](t, n)
|
|
@@ -4683,18 +4705,18 @@ function Gt(e) {
|
|
|
4683
4705
|
);
|
|
4684
4706
|
return {
|
|
4685
4707
|
c() {
|
|
4686
|
-
t = P("div"),
|
|
4708
|
+
t = P("div"), s.c(), r = Xe(), x(t, "class", i = bt(
|
|
4687
4709
|
/*index*/
|
|
4688
4710
|
e[40] > +/*numberofentries*/
|
|
4689
4711
|
e[1] ? "LimitContainer" : ""
|
|
4690
4712
|
) + " svelte-19ml84y");
|
|
4691
4713
|
},
|
|
4692
4714
|
m(h, c) {
|
|
4693
|
-
X(h, t, c),
|
|
4715
|
+
X(h, t, c), s.m(t, null), L(t, r), l();
|
|
4694
4716
|
},
|
|
4695
4717
|
p(h, c) {
|
|
4696
|
-
e = h,
|
|
4697
|
-
2 && i !== (i =
|
|
4718
|
+
e = h, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
4719
|
+
2 && i !== (i = bt(
|
|
4698
4720
|
/*index*/
|
|
4699
4721
|
e[40] > +/*numberofentries*/
|
|
4700
4722
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4703,18 +4725,18 @@ function Gt(e) {
|
|
|
4703
4725
|
e[40], l());
|
|
4704
4726
|
},
|
|
4705
4727
|
d(h) {
|
|
4706
|
-
h && V(t),
|
|
4728
|
+
h && V(t), s.d(), u();
|
|
4707
4729
|
}
|
|
4708
4730
|
};
|
|
4709
4731
|
}
|
|
4710
|
-
function
|
|
4732
|
+
function Ao(e) {
|
|
4711
4733
|
let t;
|
|
4712
|
-
function r(o,
|
|
4734
|
+
function r(o, a) {
|
|
4713
4735
|
return (
|
|
4714
4736
|
/*hasErrors*/
|
|
4715
|
-
o[6] ?
|
|
4737
|
+
o[6] ? Lo : (
|
|
4716
4738
|
/*isLoading*/
|
|
4717
|
-
o[4] ?
|
|
4739
|
+
o[4] ? To : xo
|
|
4718
4740
|
)
|
|
4719
4741
|
);
|
|
4720
4742
|
}
|
|
@@ -4723,11 +4745,11 @@ function Lo(e) {
|
|
|
4723
4745
|
c() {
|
|
4724
4746
|
t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
|
|
4725
4747
|
},
|
|
4726
|
-
m(o,
|
|
4727
|
-
X(o, t,
|
|
4748
|
+
m(o, a) {
|
|
4749
|
+
X(o, t, a), n.m(t, null), e[22](t);
|
|
4728
4750
|
},
|
|
4729
|
-
p(o,
|
|
4730
|
-
i === (i = r(o)) && n ? n.p(o,
|
|
4751
|
+
p(o, a) {
|
|
4752
|
+
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4731
4753
|
},
|
|
4732
4754
|
i: O,
|
|
4733
4755
|
o: O,
|
|
@@ -4736,24 +4758,24 @@ function Lo(e) {
|
|
|
4736
4758
|
}
|
|
4737
4759
|
};
|
|
4738
4760
|
}
|
|
4739
|
-
function
|
|
4761
|
+
function Po(e, t, r) {
|
|
4740
4762
|
let i;
|
|
4741
|
-
|
|
4742
|
-
let n = window.navigator.userAgent, o = !
|
|
4743
|
-
const
|
|
4763
|
+
zr(e, bo, (m) => r(9, i = m));
|
|
4764
|
+
let n = window.navigator.userAgent, o = !vo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: b = "" } = t, w, E = new Array(), H = parseInt(c, 10), D = !1, N = !0, $ = [], W = [], pe = !0, Oe = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4765
|
+
const wr = () => {
|
|
4744
4766
|
fetch(b).then((T) => T.json()).then((T) => {
|
|
4745
4767
|
Object.keys(T).forEach((I) => {
|
|
4746
|
-
|
|
4768
|
+
Ft(I, T[I]);
|
|
4747
4769
|
});
|
|
4748
4770
|
}).catch((T) => {
|
|
4749
4771
|
console.log(T);
|
|
4750
4772
|
});
|
|
4751
4773
|
};
|
|
4752
|
-
Object.keys(
|
|
4753
|
-
|
|
4774
|
+
Object.keys(We).forEach((m) => {
|
|
4775
|
+
Ft(m, We[m]);
|
|
4754
4776
|
});
|
|
4755
|
-
const
|
|
4756
|
-
let m = h === "gmcore" ? `/v2/player/${
|
|
4777
|
+
const Ar = () => {
|
|
4778
|
+
let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
|
|
4757
4779
|
T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
|
|
4758
4780
|
let I = {
|
|
4759
4781
|
method: "GET",
|
|
@@ -4765,14 +4787,14 @@ function So(e, t, r) {
|
|
|
4765
4787
|
return A.json();
|
|
4766
4788
|
}).then(
|
|
4767
4789
|
(A) => {
|
|
4768
|
-
A.length && ($ =
|
|
4790
|
+
A.length && ($ = Pr(A), r(7, W = $.slice(0, H))), r(4, N = !1);
|
|
4769
4791
|
},
|
|
4770
4792
|
(A) => {
|
|
4771
4793
|
console.error("There was an error", A), r(6, D = !0);
|
|
4772
4794
|
}
|
|
4773
4795
|
);
|
|
4774
|
-
},
|
|
4775
|
-
const T = !!
|
|
4796
|
+
}, Pr = (m) => {
|
|
4797
|
+
const T = !!We[a];
|
|
4776
4798
|
return m.map((A) => {
|
|
4777
4799
|
let U = {
|
|
4778
4800
|
amount: "",
|
|
@@ -4782,44 +4804,44 @@ function So(e, t, r) {
|
|
|
4782
4804
|
type: "",
|
|
4783
4805
|
removed: !1
|
|
4784
4806
|
};
|
|
4785
|
-
return U.amount =
|
|
4807
|
+
return U.amount = Hr(A), U.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
|
|
4786
4808
|
});
|
|
4787
|
-
},
|
|
4809
|
+
}, Hr = (m) => {
|
|
4788
4810
|
let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4789
4811
|
if (!p) {
|
|
4790
|
-
let
|
|
4791
|
-
return `${T}${
|
|
4812
|
+
let Gr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4813
|
+
return `${T}${Gr}`;
|
|
4792
4814
|
}
|
|
4793
4815
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4794
4816
|
const I = T.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4795
4817
|
let de = parseFloat(m.limitAmount).toFixed(A);
|
|
4796
|
-
const [
|
|
4797
|
-
let [Ne,
|
|
4798
|
-
return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
4818
|
+
const [$r, Ce] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4819
|
+
let [Ne, Ur] = de.split(".");
|
|
4820
|
+
return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g, $r), de = `${Ne}${Ce}${Ur}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ce)[0]).replace(
|
|
4799
4821
|
U,
|
|
4800
4822
|
de.split(Ce)[1]
|
|
4801
4823
|
), T;
|
|
4802
|
-
},
|
|
4824
|
+
}, Ir = () => {
|
|
4803
4825
|
r(5, pe = !pe), r(8, Oe = !Oe);
|
|
4804
4826
|
};
|
|
4805
|
-
let
|
|
4827
|
+
let mt = new IntersectionObserver((m) => {
|
|
4806
4828
|
m.forEach((T) => {
|
|
4807
4829
|
T.isIntersecting && (H += parseInt(c, 10) || 10, W.length < $.length && r(7, W = $.slice(0, H)));
|
|
4808
4830
|
});
|
|
4809
4831
|
});
|
|
4810
|
-
const
|
|
4811
|
-
|
|
4812
|
-
},
|
|
4832
|
+
const Br = () => {
|
|
4833
|
+
mt.observe(E[E.length - 1]);
|
|
4834
|
+
}, Or = () => {
|
|
4813
4835
|
if (!f) return;
|
|
4814
4836
|
let m = {};
|
|
4815
4837
|
f.split(",").forEach((T) => {
|
|
4816
4838
|
let I = T.split(":");
|
|
4817
4839
|
m[I[0].trim()] = I[1].trim();
|
|
4818
4840
|
}), se = ye(ye({}, se), m);
|
|
4819
|
-
},
|
|
4841
|
+
}, Cr = () => {
|
|
4820
4842
|
let m = document.createElement("style");
|
|
4821
4843
|
m.innerHTML = y, w.appendChild(m);
|
|
4822
|
-
},
|
|
4844
|
+
}, Nr = () => {
|
|
4823
4845
|
let m = new URL(d), T = document.createElement("style");
|
|
4824
4846
|
fetch(m.href).then((I) => I.text()).then((I) => {
|
|
4825
4847
|
T.innerHTML = I, w && (setTimeout(
|
|
@@ -4833,35 +4855,35 @@ function So(e, t, r) {
|
|
|
4833
4855
|
500
|
|
4834
4856
|
));
|
|
4835
4857
|
});
|
|
4836
|
-
},
|
|
4837
|
-
|
|
4858
|
+
}, Rr = () => {
|
|
4859
|
+
Eo(a);
|
|
4838
4860
|
};
|
|
4839
|
-
|
|
4840
|
-
|
|
4861
|
+
ri(() => () => {
|
|
4862
|
+
mt.unobserve(E[E.length - 1]);
|
|
4841
4863
|
});
|
|
4842
|
-
function
|
|
4864
|
+
function Mr(m, T) {
|
|
4843
4865
|
Le[m ? "unshift" : "push"](() => {
|
|
4844
4866
|
E[T] = m, r(3, E);
|
|
4845
4867
|
});
|
|
4846
4868
|
}
|
|
4847
|
-
function
|
|
4869
|
+
function Dr(m) {
|
|
4848
4870
|
Le[m ? "unshift" : "push"](() => {
|
|
4849
4871
|
w = m, r(2, w);
|
|
4850
4872
|
});
|
|
4851
4873
|
}
|
|
4852
4874
|
return e.$$set = (m) => {
|
|
4853
|
-
"lang" in m && r(0,
|
|
4875
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, b = m.translationurl);
|
|
4854
4876
|
}, e.$$.update = () => {
|
|
4855
4877
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4856
|
-
65536 && f &&
|
|
4857
|
-
61440 && u &&
|
|
4858
|
-
56 && E[0] && !N && !pe &&
|
|
4859
|
-
1 &&
|
|
4860
|
-
524288 && d &&
|
|
4861
|
-
262148 && y && w &&
|
|
4862
|
-
1048580 && b && w &&
|
|
4878
|
+
65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4879
|
+
61440 && u && s && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4880
|
+
56 && E[0] && !N && !pe && Br(), e.$$.dirty[0] & /*lang*/
|
|
4881
|
+
1 && a && Rr(), e.$$.dirty[0] & /*clientstylingurl*/
|
|
4882
|
+
524288 && d && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4883
|
+
262148 && y && w && Cr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4884
|
+
1048580 && b && w && wr();
|
|
4863
4885
|
}, [
|
|
4864
|
-
|
|
4886
|
+
a,
|
|
4865
4887
|
c,
|
|
4866
4888
|
w,
|
|
4867
4889
|
E,
|
|
@@ -4872,8 +4894,8 @@ function So(e, t, r) {
|
|
|
4872
4894
|
Oe,
|
|
4873
4895
|
i,
|
|
4874
4896
|
o,
|
|
4875
|
-
|
|
4876
|
-
|
|
4897
|
+
Ir,
|
|
4898
|
+
s,
|
|
4877
4899
|
l,
|
|
4878
4900
|
u,
|
|
4879
4901
|
h,
|
|
@@ -4882,18 +4904,18 @@ function So(e, t, r) {
|
|
|
4882
4904
|
y,
|
|
4883
4905
|
d,
|
|
4884
4906
|
b,
|
|
4885
|
-
|
|
4886
|
-
|
|
4907
|
+
Mr,
|
|
4908
|
+
Dr
|
|
4887
4909
|
];
|
|
4888
4910
|
}
|
|
4889
|
-
class
|
|
4911
|
+
class Sr extends pi {
|
|
4890
4912
|
constructor(t) {
|
|
4891
|
-
super(),
|
|
4913
|
+
super(), fi(
|
|
4892
4914
|
this,
|
|
4893
4915
|
t,
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4916
|
+
Po,
|
|
4917
|
+
Ao,
|
|
4918
|
+
Wt,
|
|
4897
4919
|
{
|
|
4898
4920
|
lang: 0,
|
|
4899
4921
|
userid: 12,
|
|
@@ -4907,7 +4929,7 @@ class _r extends hi {
|
|
|
4907
4929
|
clientstylingurl: 19,
|
|
4908
4930
|
translationurl: 20
|
|
4909
4931
|
},
|
|
4910
|
-
|
|
4932
|
+
_o,
|
|
4911
4933
|
[-1, -1]
|
|
4912
4934
|
);
|
|
4913
4935
|
}
|
|
@@ -4978,49 +5000,49 @@ class _r extends hi {
|
|
|
4978
5000
|
this.$$set({ translationurl: t }), C();
|
|
4979
5001
|
}
|
|
4980
5002
|
}
|
|
4981
|
-
|
|
4982
|
-
const
|
|
5003
|
+
mi(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
5004
|
+
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4983
5005
|
__proto__: null,
|
|
4984
|
-
default:
|
|
5006
|
+
default: Sr
|
|
4985
5007
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4986
5008
|
export {
|
|
4987
5009
|
ne as $,
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
5010
|
+
fe as A,
|
|
5011
|
+
Ze as B,
|
|
5012
|
+
Mo as C,
|
|
5013
|
+
bo as D,
|
|
5014
|
+
Me as E,
|
|
5015
|
+
Ro as F,
|
|
4994
5016
|
me as G,
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5017
|
+
$o as H,
|
|
5018
|
+
ri as I,
|
|
5019
|
+
Oo as J,
|
|
5020
|
+
Uo as P,
|
|
5021
|
+
pi as S,
|
|
5022
|
+
Er as a,
|
|
5023
|
+
Zr as b,
|
|
5024
|
+
mi as c,
|
|
5025
|
+
Xe as d,
|
|
5026
|
+
P as e,
|
|
5005
5027
|
C as f,
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5028
|
+
x as g,
|
|
5029
|
+
L as h,
|
|
5030
|
+
fi as i,
|
|
5031
|
+
X as j,
|
|
5032
|
+
V as k,
|
|
5033
|
+
zr as l,
|
|
5034
|
+
vo as m,
|
|
5013
5035
|
O as n,
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5036
|
+
Io as o,
|
|
5037
|
+
Do as p,
|
|
5038
|
+
Le as q,
|
|
5039
|
+
M as r,
|
|
5040
|
+
Wt as s,
|
|
5041
|
+
Co as t,
|
|
5042
|
+
Bo as u,
|
|
5043
|
+
qr as v,
|
|
5044
|
+
k as w,
|
|
5045
|
+
Et as x,
|
|
5046
|
+
No as y,
|
|
5047
|
+
Jr as z
|
|
5026
5048
|
};
|