@everymatrix/player-account-gaming-limits-page-2-gmcore 1.76.1 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-DoWdThJN.js → PlayerAccountGamingLimitsPage2Gmcore-DY42nN3p.js} +1244 -1258
- package/components/PlayerAccountGamingLimitsPage2Gmcore-nNvPRNrm.cjs +19 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-eaR5XfuV.js → PlayerAccountGamingLimitsPage2Gmcore-yW1IKrA5.js} +1222 -1236
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPage2Gmcore-D9PZouAB.cjs +0 -19
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var We = (e, t, i) => t in e ?
|
|
1
|
+
var un = Object.defineProperty, ln = Object.defineProperties;
|
|
2
|
+
var cn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var We = (e, t, i) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
|
|
6
6
|
for (var i in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
hn.call(t, i) && We(e, i, t[i]);
|
|
8
|
+
if (Lt)
|
|
9
|
+
for (var i of Lt(t))
|
|
10
|
+
fn.call(t, i) && We(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Tt = (e, t) => ln(e, cn(t));
|
|
13
13
|
var V = (e, t, i) => (We(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
14
|
-
var
|
|
14
|
+
var wt = (e, t, i) => new Promise((n, r) => {
|
|
15
15
|
var o = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
a(i.next(c));
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
18
|
+
} catch (u) {
|
|
19
|
+
r(u);
|
|
20
20
|
}
|
|
21
21
|
}, s = (c) => {
|
|
22
22
|
try {
|
|
23
23
|
a(i.throw(c));
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
24
|
+
} catch (u) {
|
|
25
|
+
r(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (c) => c.done ?
|
|
27
|
+
}, a = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, s);
|
|
28
28
|
a((i = i.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function U() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function li(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function St() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ie(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(li);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function pt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ci(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function mn(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function hi(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
|
-
for (const
|
|
53
|
-
|
|
52
|
+
for (const n of t)
|
|
53
|
+
n(void 0);
|
|
54
54
|
return U;
|
|
55
55
|
}
|
|
56
56
|
const i = e.subscribe(...t);
|
|
57
57
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function pn(e, t, i) {
|
|
60
|
+
e.$$.on_destroy.push(hi(t, i));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const
|
|
67
|
-
if (!
|
|
68
|
-
const
|
|
69
|
-
|
|
65
|
+
function dn(e, t, i) {
|
|
66
|
+
const n = bn(e);
|
|
67
|
+
if (!n.getElementById(t)) {
|
|
68
|
+
const r = v("style");
|
|
69
|
+
r.id = t, r.textContent = i, gn(n, r);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function bn(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function yr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function gn(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -102,25 +102,25 @@ function v(e) {
|
|
|
102
102
|
function be(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function $(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
108
|
function j() {
|
|
109
|
-
return
|
|
109
|
+
return $(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function yn() {
|
|
112
|
+
return $("");
|
|
113
113
|
}
|
|
114
|
-
function Y(e, t, i,
|
|
115
|
-
return e.addEventListener(t, i,
|
|
114
|
+
function Y(e, t, i, n) {
|
|
115
|
+
return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
|
|
116
116
|
}
|
|
117
117
|
function g(e, t, i) {
|
|
118
118
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function fi(e) {
|
|
121
121
|
return e === "" ? null : +e;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function vn(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function W(e, t) {
|
|
@@ -130,24 +130,24 @@ function W(e, t) {
|
|
|
130
130
|
function ve(e, t) {
|
|
131
131
|
e.value = t == null ? "" : t;
|
|
132
132
|
}
|
|
133
|
-
function Ve(e, t, i,
|
|
133
|
+
function Ve(e, t, i, n) {
|
|
134
134
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
135
135
|
}
|
|
136
136
|
function He(e, t, i) {
|
|
137
|
-
for (let
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
140
|
-
|
|
137
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
138
|
+
const r = e.options[n];
|
|
139
|
+
if (r.__value === t) {
|
|
140
|
+
r.selected = !0;
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
(!i || t !== void 0) && (e.selectedIndex = -1);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Pt(e) {
|
|
147
147
|
const t = e.querySelector(":checked");
|
|
148
148
|
return t && t.__value;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function _n(e) {
|
|
151
151
|
const t = {};
|
|
152
152
|
return e.childNodes.forEach(
|
|
153
153
|
/** @param {Element} node */
|
|
@@ -160,40 +160,40 @@ let _e;
|
|
|
160
160
|
function ye(e) {
|
|
161
161
|
_e = e;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function En() {
|
|
164
164
|
if (!_e)
|
|
165
165
|
throw new Error("Function called outside component initialization");
|
|
166
166
|
return _e;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
168
|
+
function Ln(e) {
|
|
169
|
+
En().$$.on_mount.push(e);
|
|
170
170
|
}
|
|
171
171
|
const se = [], Oe = [];
|
|
172
172
|
let ae = [];
|
|
173
|
-
const
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
173
|
+
const At = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
174
|
+
let et = !1;
|
|
175
|
+
function Tn() {
|
|
176
|
+
et || (et = !0, xn.then(X));
|
|
177
177
|
}
|
|
178
178
|
function Ee(e) {
|
|
179
179
|
ae.push(e);
|
|
180
180
|
}
|
|
181
181
|
const Xe = /* @__PURE__ */ new Set();
|
|
182
|
-
let
|
|
182
|
+
let re = 0;
|
|
183
183
|
function X() {
|
|
184
|
-
if (
|
|
184
|
+
if (re !== 0)
|
|
185
185
|
return;
|
|
186
186
|
const e = _e;
|
|
187
187
|
do {
|
|
188
188
|
try {
|
|
189
|
-
for (;
|
|
190
|
-
const t = se[
|
|
191
|
-
|
|
189
|
+
for (; re < se.length; ) {
|
|
190
|
+
const t = se[re];
|
|
191
|
+
re++, ye(t), wn(t.$$);
|
|
192
192
|
}
|
|
193
193
|
} catch (t) {
|
|
194
|
-
throw se.length = 0,
|
|
194
|
+
throw se.length = 0, re = 0, t;
|
|
195
195
|
}
|
|
196
|
-
for (ye(null), se.length = 0,
|
|
196
|
+
for (ye(null), se.length = 0, re = 0; Oe.length; )
|
|
197
197
|
Oe.pop()();
|
|
198
198
|
for (let t = 0; t < ae.length; t += 1) {
|
|
199
199
|
const i = ae[t];
|
|
@@ -201,53 +201,53 @@ function X() {
|
|
|
201
201
|
}
|
|
202
202
|
ae.length = 0;
|
|
203
203
|
} while (se.length);
|
|
204
|
-
for (;
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
for (; At.length; )
|
|
205
|
+
At.pop()();
|
|
206
|
+
et = !1, Xe.clear(), ye(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function wn(e) {
|
|
209
209
|
if (e.fragment !== null) {
|
|
210
210
|
e.update(), ie(e.before_update);
|
|
211
211
|
const t = e.dirty;
|
|
212
212
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Sn(e) {
|
|
216
216
|
const t = [], i = [];
|
|
217
|
-
ae.forEach((
|
|
217
|
+
ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ae = t;
|
|
218
218
|
}
|
|
219
|
-
const
|
|
220
|
-
function
|
|
221
|
-
e && e.i && (
|
|
219
|
+
const Pn = /* @__PURE__ */ new Set();
|
|
220
|
+
function An(e, t) {
|
|
221
|
+
e && e.i && (Pn.delete(e), e.i(t));
|
|
222
222
|
}
|
|
223
223
|
function te(e) {
|
|
224
224
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
const { fragment:
|
|
228
|
-
|
|
229
|
-
const o = e.$$.on_mount.map(
|
|
226
|
+
function Bn(e, t, i) {
|
|
227
|
+
const { fragment: n, after_update: r } = e.$$;
|
|
228
|
+
n && n.m(t, i), Ee(() => {
|
|
229
|
+
const o = e.$$.on_mount.map(li).filter(pt);
|
|
230
230
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
231
|
-
}),
|
|
231
|
+
}), r.forEach(Ee);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Nn(e, t) {
|
|
234
234
|
const i = e.$$;
|
|
235
|
-
i.fragment !== null && (
|
|
235
|
+
i.fragment !== null && (Sn(i.after_update), ie(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
e.$$.dirty[0] === -1 && (se.push(e),
|
|
237
|
+
function In(e, t) {
|
|
238
|
+
e.$$.dirty[0] === -1 && (se.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Hn(e, t, i, n, r, o, s = null, a = [-1]) {
|
|
241
241
|
const c = _e;
|
|
242
242
|
ye(e);
|
|
243
|
-
const
|
|
243
|
+
const u = e.$$ = {
|
|
244
244
|
fragment: null,
|
|
245
245
|
ctx: [],
|
|
246
246
|
// state
|
|
247
247
|
props: o,
|
|
248
248
|
update: U,
|
|
249
|
-
not_equal:
|
|
250
|
-
bound:
|
|
249
|
+
not_equal: r,
|
|
250
|
+
bound: St(),
|
|
251
251
|
// lifecycle
|
|
252
252
|
on_mount: [],
|
|
253
253
|
on_destroy: [],
|
|
@@ -256,29 +256,29 @@ function Mr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
256
256
|
after_update: [],
|
|
257
257
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
258
258
|
// everything else
|
|
259
|
-
callbacks:
|
|
259
|
+
callbacks: St(),
|
|
260
260
|
dirty: a,
|
|
261
261
|
skip_bound: !1,
|
|
262
262
|
root: t.target || c.$$.root
|
|
263
263
|
};
|
|
264
|
-
s && s(
|
|
265
|
-
let
|
|
266
|
-
if (
|
|
267
|
-
const p =
|
|
268
|
-
return
|
|
269
|
-
})
|
|
264
|
+
s && s(u.root);
|
|
265
|
+
let l = !1;
|
|
266
|
+
if (u.ctx = i(e, t.props || {}, (h, m, ...f) => {
|
|
267
|
+
const p = f.length ? f[0] : m;
|
|
268
|
+
return u.ctx && r(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l && In(e, h)), m;
|
|
269
|
+
}), u.update(), l = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
270
270
|
if (t.hydrate) {
|
|
271
|
-
const h =
|
|
272
|
-
|
|
271
|
+
const h = vn(t.target);
|
|
272
|
+
u.fragment && u.fragment.l(h), h.forEach(B);
|
|
273
273
|
} else
|
|
274
|
-
|
|
275
|
-
t.intro &&
|
|
274
|
+
u.fragment && u.fragment.c();
|
|
275
|
+
t.intro && An(e.$$.fragment), Bn(e, t.target, t.anchor), X();
|
|
276
276
|
}
|
|
277
277
|
ye(c);
|
|
278
278
|
}
|
|
279
|
-
let
|
|
280
|
-
typeof HTMLElement == "function" && (
|
|
281
|
-
constructor(t, i,
|
|
279
|
+
let mi;
|
|
280
|
+
typeof HTMLElement == "function" && (mi = class extends HTMLElement {
|
|
281
|
+
constructor(t, i, n) {
|
|
282
282
|
super();
|
|
283
283
|
/** The Svelte component constructor */
|
|
284
284
|
V(this, "$$ctor");
|
|
@@ -298,23 +298,23 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
298
298
|
V(this, "$$l", {});
|
|
299
299
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
300
300
|
V(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
301
|
-
this.$$ctor = t, this.$$s = i,
|
|
301
|
+
this.$$ctor = t, this.$$s = i, n && this.attachShadow({ mode: "open" });
|
|
302
302
|
}
|
|
303
|
-
addEventListener(t, i,
|
|
303
|
+
addEventListener(t, i, n) {
|
|
304
304
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(i), this.$$c) {
|
|
305
|
-
const
|
|
306
|
-
this.$$l_u.set(i,
|
|
305
|
+
const r = this.$$c.$on(t, i);
|
|
306
|
+
this.$$l_u.set(i, r);
|
|
307
307
|
}
|
|
308
|
-
super.addEventListener(t, i,
|
|
308
|
+
super.addEventListener(t, i, n);
|
|
309
309
|
}
|
|
310
|
-
removeEventListener(t, i,
|
|
311
|
-
if (super.removeEventListener(t, i,
|
|
312
|
-
const
|
|
313
|
-
|
|
310
|
+
removeEventListener(t, i, n) {
|
|
311
|
+
if (super.removeEventListener(t, i, n), this.$$c) {
|
|
312
|
+
const r = this.$$l_u.get(i);
|
|
313
|
+
r && (r(), this.$$l_u.delete(i));
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
connectedCallback() {
|
|
317
|
-
return
|
|
317
|
+
return wt(this, null, function* () {
|
|
318
318
|
if (this.$$cn = !0, !this.$$c) {
|
|
319
319
|
let t = function(o) {
|
|
320
320
|
return () => {
|
|
@@ -327,20 +327,20 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
327
327
|
* @param {HTMLElement} target
|
|
328
328
|
* @param {HTMLElement} [anchor]
|
|
329
329
|
*/
|
|
330
|
-
m: function(
|
|
331
|
-
N(
|
|
330
|
+
m: function(u, l) {
|
|
331
|
+
N(u, s, l);
|
|
332
332
|
},
|
|
333
|
-
d: function(
|
|
334
|
-
|
|
333
|
+
d: function(u) {
|
|
334
|
+
u && B(s);
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
340
340
|
return;
|
|
341
|
-
const i = {},
|
|
341
|
+
const i = {}, n = _n(this);
|
|
342
342
|
for (const o of this.$$s)
|
|
343
|
-
o in
|
|
343
|
+
o in n && (i[o] = [t(o)]);
|
|
344
344
|
for (const o of this.attributes) {
|
|
345
345
|
const s = this.$$g_p(o.name);
|
|
346
346
|
s in this.$$d || (this.$$d[s] = Ae(s, o.value, this.$$p_d, "toProp"));
|
|
@@ -349,14 +349,14 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
349
349
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
350
350
|
this.$$c = new this.$$ctor({
|
|
351
351
|
target: this.shadowRoot || this,
|
|
352
|
-
props:
|
|
352
|
+
props: Tt(xt({}, this.$$d), {
|
|
353
353
|
$$slots: i,
|
|
354
354
|
$$scope: {
|
|
355
355
|
ctx: []
|
|
356
356
|
}
|
|
357
357
|
})
|
|
358
358
|
});
|
|
359
|
-
const
|
|
359
|
+
const r = () => {
|
|
360
360
|
this.$$r = !0;
|
|
361
361
|
for (const o in this.$$p_d)
|
|
362
362
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
370
370
|
}
|
|
371
371
|
this.$$r = !1;
|
|
372
372
|
};
|
|
373
|
-
this.$$c.$$.after_update.push(
|
|
373
|
+
this.$$c.$$.after_update.push(r), r();
|
|
374
374
|
for (const o in this.$$l)
|
|
375
375
|
for (const s of this.$$l[o]) {
|
|
376
376
|
const a = this.$$c.$on(o, s);
|
|
@@ -382,9 +382,9 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
382
382
|
}
|
|
383
383
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
384
384
|
// and setting attributes through setAttribute etc, this is helpful
|
|
385
|
-
attributeChangedCallback(t, i,
|
|
386
|
-
var
|
|
387
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t,
|
|
385
|
+
attributeChangedCallback(t, i, n) {
|
|
386
|
+
var r;
|
|
387
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
388
388
|
}
|
|
389
389
|
disconnectedCallback() {
|
|
390
390
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -397,13 +397,13 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
397
397
|
) || t;
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
|
-
function Ae(e, t, i,
|
|
400
|
+
function Ae(e, t, i, n) {
|
|
401
401
|
var o;
|
|
402
|
-
const
|
|
403
|
-
if (t =
|
|
402
|
+
const r = (o = i[e]) == null ? void 0 : o.type;
|
|
403
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
|
|
404
404
|
return t;
|
|
405
|
-
if (
|
|
406
|
-
switch (
|
|
405
|
+
if (n === "toAttribute")
|
|
406
|
+
switch (r) {
|
|
407
407
|
case "Object":
|
|
408
408
|
case "Array":
|
|
409
409
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -415,7 +415,7 @@ function Ae(e, t, i, r) {
|
|
|
415
415
|
return t;
|
|
416
416
|
}
|
|
417
417
|
else
|
|
418
|
-
switch (
|
|
418
|
+
switch (r) {
|
|
419
419
|
case "Object":
|
|
420
420
|
case "Array":
|
|
421
421
|
return t && JSON.parse(t);
|
|
@@ -427,10 +427,10 @@ function Ae(e, t, i, r) {
|
|
|
427
427
|
return t;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
let s = class extends
|
|
430
|
+
function On(e, t, i, n, r, o) {
|
|
431
|
+
let s = class extends mi {
|
|
432
432
|
constructor() {
|
|
433
|
-
super(e, i,
|
|
433
|
+
super(e, i, r), this.$$p_d = t;
|
|
434
434
|
}
|
|
435
435
|
static get observedAttributes() {
|
|
436
436
|
return Object.keys(t).map(
|
|
@@ -444,11 +444,11 @@ function kr(e, t, i, r, n, o) {
|
|
|
444
444
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
445
445
|
},
|
|
446
446
|
set(c) {
|
|
447
|
-
var
|
|
448
|
-
c = Ae(a, c, t), this.$$d[a] = c, (
|
|
447
|
+
var u;
|
|
448
|
+
c = Ae(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
|
|
449
449
|
}
|
|
450
450
|
});
|
|
451
|
-
}),
|
|
451
|
+
}), n.forEach((a) => {
|
|
452
452
|
Object.defineProperty(s.prototype, a, {
|
|
453
453
|
get() {
|
|
454
454
|
var c;
|
|
@@ -458,7 +458,7 @@ function kr(e, t, i, r, n, o) {
|
|
|
458
458
|
}), e.element = /** @type {any} */
|
|
459
459
|
s, s;
|
|
460
460
|
}
|
|
461
|
-
class
|
|
461
|
+
class Mn {
|
|
462
462
|
constructor() {
|
|
463
463
|
/**
|
|
464
464
|
* ### PRIVATE API
|
|
@@ -479,7 +479,7 @@ class Cr {
|
|
|
479
479
|
}
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
|
|
482
|
+
Nn(this, 1), this.$destroy = U;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -488,12 +488,12 @@ class Cr {
|
|
|
488
488
|
* @returns {() => void}
|
|
489
489
|
*/
|
|
490
490
|
$on(t, i) {
|
|
491
|
-
if (!
|
|
491
|
+
if (!pt(i))
|
|
492
492
|
return U;
|
|
493
|
-
const
|
|
494
|
-
return
|
|
495
|
-
const
|
|
496
|
-
|
|
493
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
494
|
+
return n.push(i), () => {
|
|
495
|
+
const r = n.indexOf(i);
|
|
496
|
+
r !== -1 && n.splice(r, 1);
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
499
|
/**
|
|
@@ -501,11 +501,11 @@ class Cr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
507
|
+
const kn = "4";
|
|
508
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
|
|
509
509
|
const Z = {
|
|
510
510
|
deposit: {
|
|
511
511
|
title: "Deposit Limit",
|
|
@@ -532,142 +532,142 @@ const Z = {
|
|
|
532
532
|
periods: ["Monthly"]
|
|
533
533
|
}
|
|
534
534
|
}, oe = [];
|
|
535
|
-
function
|
|
535
|
+
function Cn(e, t) {
|
|
536
536
|
return {
|
|
537
537
|
subscribe: De(e, t).subscribe
|
|
538
538
|
};
|
|
539
539
|
}
|
|
540
540
|
function De(e, t = U) {
|
|
541
541
|
let i;
|
|
542
|
-
const
|
|
543
|
-
function
|
|
544
|
-
if (
|
|
542
|
+
const n = /* @__PURE__ */ new Set();
|
|
543
|
+
function r(a) {
|
|
544
|
+
if (ci(e, a) && (e = a, i)) {
|
|
545
545
|
const c = !oe.length;
|
|
546
|
-
for (const
|
|
547
|
-
|
|
546
|
+
for (const u of n)
|
|
547
|
+
u[1](), oe.push(u, e);
|
|
548
548
|
if (c) {
|
|
549
|
-
for (let
|
|
550
|
-
oe[
|
|
549
|
+
for (let u = 0; u < oe.length; u += 2)
|
|
550
|
+
oe[u][0](oe[u + 1]);
|
|
551
551
|
oe.length = 0;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
function o(a) {
|
|
556
|
-
|
|
556
|
+
r(a(e));
|
|
557
557
|
}
|
|
558
558
|
function s(a, c = U) {
|
|
559
|
-
const
|
|
560
|
-
return
|
|
561
|
-
|
|
559
|
+
const u = [a, c];
|
|
560
|
+
return n.add(u), n.size === 1 && (i = t(r, o) || U), a(e), () => {
|
|
561
|
+
n.delete(u), n.size === 0 && i && (i(), i = null);
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
|
-
return { set:
|
|
564
|
+
return { set: r, update: o, subscribe: s };
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
const
|
|
568
|
-
if (!
|
|
566
|
+
function me(e, t, i) {
|
|
567
|
+
const n = !Array.isArray(e), r = n ? [e] : e;
|
|
568
|
+
if (!r.every(Boolean))
|
|
569
569
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
570
570
|
const o = t.length < 2;
|
|
571
|
-
return
|
|
571
|
+
return Cn(i, (s, a) => {
|
|
572
572
|
let c = !1;
|
|
573
|
-
const
|
|
574
|
-
let
|
|
575
|
-
const
|
|
576
|
-
if (
|
|
573
|
+
const u = [];
|
|
574
|
+
let l = 0, h = U;
|
|
575
|
+
const m = () => {
|
|
576
|
+
if (l)
|
|
577
577
|
return;
|
|
578
578
|
h();
|
|
579
|
-
const p = t(
|
|
580
|
-
o ? s(p) : h =
|
|
581
|
-
},
|
|
582
|
-
(p, _) =>
|
|
579
|
+
const p = t(n ? u[0] : u, s, a);
|
|
580
|
+
o ? s(p) : h = pt(p) ? p : U;
|
|
581
|
+
}, f = r.map(
|
|
582
|
+
(p, _) => hi(
|
|
583
583
|
p,
|
|
584
584
|
(R) => {
|
|
585
|
-
|
|
585
|
+
u[_] = R, l &= ~(1 << _), c && m();
|
|
586
586
|
},
|
|
587
587
|
() => {
|
|
588
|
-
|
|
588
|
+
l |= 1 << _;
|
|
589
589
|
}
|
|
590
590
|
)
|
|
591
591
|
);
|
|
592
|
-
return c = !0,
|
|
593
|
-
ie(
|
|
592
|
+
return c = !0, m(), function() {
|
|
593
|
+
ie(f), h(), c = !1;
|
|
594
594
|
};
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function
|
|
598
|
-
return e
|
|
597
|
+
function Dn(e) {
|
|
598
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
599
599
|
}
|
|
600
|
-
var
|
|
601
|
-
return
|
|
600
|
+
var Rn = function(t) {
|
|
601
|
+
return Un(t) && !jn(t);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function Un(e) {
|
|
604
604
|
return !!e && typeof e == "object";
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function jn(e) {
|
|
607
607
|
var t = Object.prototype.toString.call(e);
|
|
608
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
608
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
function
|
|
612
|
-
return e.$$typeof ===
|
|
610
|
+
var $n = typeof Symbol == "function" && Symbol.for, Fn = $n ? Symbol.for("react.element") : 60103;
|
|
611
|
+
function Gn(e) {
|
|
612
|
+
return e.$$typeof === Fn;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function zn(e) {
|
|
615
615
|
return Array.isArray(e) ? [] : {};
|
|
616
616
|
}
|
|
617
617
|
function Le(e, t) {
|
|
618
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
618
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(zn(e), e, t) : e;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return e.concat(t).map(function(
|
|
622
|
-
return Le(
|
|
620
|
+
function Wn(e, t, i) {
|
|
621
|
+
return e.concat(t).map(function(n) {
|
|
622
|
+
return Le(n, i);
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Vn(e, t) {
|
|
626
626
|
if (!t.customMerge)
|
|
627
|
-
return
|
|
627
|
+
return le;
|
|
628
628
|
var i = t.customMerge(e);
|
|
629
|
-
return typeof i == "function" ? i :
|
|
629
|
+
return typeof i == "function" ? i : le;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function Xn(e) {
|
|
632
632
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
633
633
|
return Object.propertyIsEnumerable.call(e, t);
|
|
634
634
|
}) : [];
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return Object.keys(e).concat(
|
|
636
|
+
function Bt(e) {
|
|
637
|
+
return Object.keys(e).concat(Xn(e));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function pi(e, t) {
|
|
640
640
|
try {
|
|
641
641
|
return t in e;
|
|
642
642
|
} catch (i) {
|
|
643
643
|
return !1;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
function
|
|
647
|
-
return
|
|
646
|
+
function Zn(e, t) {
|
|
647
|
+
return pi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
648
648
|
}
|
|
649
|
-
function
|
|
650
|
-
var
|
|
651
|
-
return i.isMergeableObject(e) &&
|
|
652
|
-
r
|
|
653
|
-
}),
|
|
654
|
-
|
|
655
|
-
}),
|
|
649
|
+
function Yn(e, t, i) {
|
|
650
|
+
var n = {};
|
|
651
|
+
return i.isMergeableObject(e) && Bt(e).forEach(function(r) {
|
|
652
|
+
n[r] = Le(e[r], i);
|
|
653
|
+
}), Bt(t).forEach(function(r) {
|
|
654
|
+
Zn(e, r) || (pi(e, r) && i.isMergeableObject(t[r]) ? n[r] = Vn(r, i)(e[r], t[r], i) : n[r] = Le(t[r], i));
|
|
655
|
+
}), n;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
659
|
-
var
|
|
660
|
-
return o ?
|
|
657
|
+
function le(e, t, i) {
|
|
658
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Wn, i.isMergeableObject = i.isMergeableObject || Rn, i.cloneUnlessOtherwiseSpecified = Le;
|
|
659
|
+
var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
|
|
660
|
+
return o ? n ? i.arrayMerge(e, t, i) : Yn(e, t, i) : Le(t, i);
|
|
661
661
|
}
|
|
662
|
-
|
|
662
|
+
le.all = function(t, i) {
|
|
663
663
|
if (!Array.isArray(t))
|
|
664
664
|
throw new Error("first argument should be an array");
|
|
665
|
-
return t.reduce(function(
|
|
666
|
-
return
|
|
665
|
+
return t.reduce(function(n, r) {
|
|
666
|
+
return le(n, r, i);
|
|
667
667
|
}, {});
|
|
668
668
|
};
|
|
669
|
-
var
|
|
670
|
-
const
|
|
669
|
+
var qn = le, Jn = qn;
|
|
670
|
+
const Qn = /* @__PURE__ */ Dn(Jn);
|
|
671
671
|
/*! *****************************************************************************
|
|
672
672
|
Copyright (c) Microsoft Corporation.
|
|
673
673
|
|
|
@@ -682,18 +682,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
682
682
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
683
683
|
PERFORMANCE OF THIS SOFTWARE.
|
|
684
684
|
***************************************************************************** */
|
|
685
|
-
var
|
|
686
|
-
return
|
|
687
|
-
i.__proto__ =
|
|
688
|
-
} || function(i,
|
|
689
|
-
for (var
|
|
690
|
-
Object.prototype.hasOwnProperty.call(
|
|
691
|
-
},
|
|
685
|
+
var tt = function(e, t) {
|
|
686
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
|
|
687
|
+
i.__proto__ = n;
|
|
688
|
+
} || function(i, n) {
|
|
689
|
+
for (var r in n)
|
|
690
|
+
Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
|
|
691
|
+
}, tt(e, t);
|
|
692
692
|
};
|
|
693
693
|
function Q(e, t) {
|
|
694
694
|
if (typeof t != "function" && t !== null)
|
|
695
695
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
696
|
-
|
|
696
|
+
tt(e, t);
|
|
697
697
|
function i() {
|
|
698
698
|
this.constructor = e;
|
|
699
699
|
}
|
|
@@ -701,31 +701,31 @@ function Q(e, t) {
|
|
|
701
701
|
}
|
|
702
702
|
var S = function() {
|
|
703
703
|
return S = Object.assign || function(t) {
|
|
704
|
-
for (var i,
|
|
705
|
-
i = arguments[
|
|
704
|
+
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
705
|
+
i = arguments[n];
|
|
706
706
|
for (var o in i)
|
|
707
707
|
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
708
708
|
}
|
|
709
709
|
return t;
|
|
710
710
|
}, S.apply(this, arguments);
|
|
711
711
|
};
|
|
712
|
-
function
|
|
712
|
+
function Kn(e, t) {
|
|
713
713
|
var i = {};
|
|
714
|
-
for (var
|
|
715
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
714
|
+
for (var n in e)
|
|
715
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
716
716
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
717
|
-
for (var
|
|
718
|
-
t.indexOf(r
|
|
717
|
+
for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
718
|
+
t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
|
|
719
719
|
return i;
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t],
|
|
721
|
+
function it(e) {
|
|
722
|
+
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], n = 0;
|
|
723
723
|
if (i)
|
|
724
724
|
return i.call(e);
|
|
725
725
|
if (e && typeof e.length == "number")
|
|
726
726
|
return {
|
|
727
727
|
next: function() {
|
|
728
|
-
return e &&
|
|
728
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
729
729
|
}
|
|
730
730
|
};
|
|
731
731
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
@@ -734,15 +734,15 @@ function nt(e, t) {
|
|
|
734
734
|
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
735
735
|
if (!i)
|
|
736
736
|
return e;
|
|
737
|
-
var
|
|
737
|
+
var n = i.call(e), r, o = [], s;
|
|
738
738
|
try {
|
|
739
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
740
|
-
o.push(
|
|
739
|
+
for (; (t === void 0 || t-- > 0) && !(r = n.next()).done; )
|
|
740
|
+
o.push(r.value);
|
|
741
741
|
} catch (a) {
|
|
742
742
|
s = { error: a };
|
|
743
743
|
} finally {
|
|
744
744
|
try {
|
|
745
|
-
|
|
745
|
+
r && !r.done && (i = n.return) && i.call(n);
|
|
746
746
|
} finally {
|
|
747
747
|
if (s)
|
|
748
748
|
throw s.error;
|
|
@@ -750,62 +750,64 @@ function nt(e, t) {
|
|
|
750
750
|
}
|
|
751
751
|
return o;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function ue(e, t, i) {
|
|
754
754
|
if (i || arguments.length === 2)
|
|
755
|
-
for (var
|
|
756
|
-
(o || !(
|
|
755
|
+
for (var n = 0, r = t.length, o; n < r; n++)
|
|
756
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
757
757
|
return e.concat(o || t);
|
|
758
758
|
}
|
|
759
759
|
function Ze(e, t) {
|
|
760
|
-
var i = t && t.cache ? t.cache :
|
|
761
|
-
return
|
|
760
|
+
var i = t && t.cache ? t.cache : sr, n = t && t.serializer ? t.serializer : rr, r = t && t.strategy ? t.strategy : tr;
|
|
761
|
+
return r(e, {
|
|
762
762
|
cache: i,
|
|
763
|
-
serializer:
|
|
763
|
+
serializer: n
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function er(e) {
|
|
767
767
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
var
|
|
771
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
769
|
+
function di(e, t, i, n) {
|
|
770
|
+
var r = er(n) ? n : i(n), o = t.get(r);
|
|
771
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(r, o)), o;
|
|
772
772
|
}
|
|
773
|
-
function
|
|
774
|
-
var
|
|
775
|
-
return typeof o == "undefined" && (o = e.apply(this,
|
|
773
|
+
function bi(e, t, i) {
|
|
774
|
+
var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
|
|
775
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(r, o)), o;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
778
|
-
return i.bind(t, e,
|
|
777
|
+
function dt(e, t, i, n, r) {
|
|
778
|
+
return i.bind(t, e, n, r);
|
|
779
779
|
}
|
|
780
|
-
function
|
|
781
|
-
var i = e.length === 1 ?
|
|
782
|
-
return
|
|
780
|
+
function tr(e, t) {
|
|
781
|
+
var i = e.length === 1 ? di : bi;
|
|
782
|
+
return dt(e, this, i, t.cache.create(), t.serializer);
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
return
|
|
784
|
+
function ir(e, t) {
|
|
785
|
+
return dt(e, this, bi, t.cache.create(), t.serializer);
|
|
786
786
|
}
|
|
787
|
-
function
|
|
788
|
-
return
|
|
787
|
+
function nr(e, t) {
|
|
788
|
+
return dt(e, this, di, t.cache.create(), t.serializer);
|
|
789
789
|
}
|
|
790
|
-
var
|
|
790
|
+
var rr = function() {
|
|
791
791
|
return JSON.stringify(arguments);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
792
|
+
}, or = (
|
|
793
|
+
/** @class */
|
|
794
|
+
function() {
|
|
795
|
+
function e() {
|
|
796
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
797
|
+
}
|
|
798
|
+
return e.prototype.get = function(t) {
|
|
799
|
+
return this.cache[t];
|
|
800
|
+
}, e.prototype.set = function(t, i) {
|
|
801
|
+
this.cache[t] = i;
|
|
802
|
+
}, e;
|
|
803
|
+
}()
|
|
804
|
+
), sr = {
|
|
803
805
|
create: function() {
|
|
804
|
-
return new
|
|
806
|
+
return new or();
|
|
805
807
|
}
|
|
806
808
|
}, Ye = {
|
|
807
|
-
variadic:
|
|
808
|
-
monadic:
|
|
809
|
+
variadic: ir,
|
|
810
|
+
monadic: nr
|
|
809
811
|
}, x;
|
|
810
812
|
(function(e) {
|
|
811
813
|
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";
|
|
@@ -818,50 +820,50 @@ var ce;
|
|
|
818
820
|
(function(e) {
|
|
819
821
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
820
822
|
})(ce || (ce = {}));
|
|
821
|
-
function
|
|
823
|
+
function Nt(e) {
|
|
822
824
|
return e.type === O.literal;
|
|
823
825
|
}
|
|
824
|
-
function
|
|
826
|
+
function ar(e) {
|
|
825
827
|
return e.type === O.argument;
|
|
826
828
|
}
|
|
827
|
-
function
|
|
829
|
+
function gi(e) {
|
|
828
830
|
return e.type === O.number;
|
|
829
831
|
}
|
|
830
|
-
function
|
|
832
|
+
function yi(e) {
|
|
831
833
|
return e.type === O.date;
|
|
832
834
|
}
|
|
833
|
-
function
|
|
835
|
+
function vi(e) {
|
|
834
836
|
return e.type === O.time;
|
|
835
837
|
}
|
|
836
|
-
function
|
|
838
|
+
function _i(e) {
|
|
837
839
|
return e.type === O.select;
|
|
838
840
|
}
|
|
839
|
-
function
|
|
841
|
+
function Ei(e) {
|
|
840
842
|
return e.type === O.plural;
|
|
841
843
|
}
|
|
842
|
-
function
|
|
844
|
+
function ur(e) {
|
|
843
845
|
return e.type === O.pound;
|
|
844
846
|
}
|
|
845
|
-
function
|
|
847
|
+
function Li(e) {
|
|
846
848
|
return e.type === O.tag;
|
|
847
849
|
}
|
|
848
|
-
function
|
|
850
|
+
function xi(e) {
|
|
849
851
|
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
850
852
|
}
|
|
851
|
-
function
|
|
853
|
+
function rt(e) {
|
|
852
854
|
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
853
855
|
}
|
|
854
|
-
var
|
|
855
|
-
function
|
|
856
|
+
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, lr = /(?:[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;
|
|
857
|
+
function cr(e) {
|
|
856
858
|
var t = {};
|
|
857
|
-
return e.replace(
|
|
858
|
-
var
|
|
859
|
+
return e.replace(lr, function(i) {
|
|
860
|
+
var n = i.length;
|
|
859
861
|
switch (i[0]) {
|
|
860
862
|
case "G":
|
|
861
|
-
t.era =
|
|
863
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
862
864
|
break;
|
|
863
865
|
case "y":
|
|
864
|
-
t.year =
|
|
866
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
865
867
|
break;
|
|
866
868
|
case "Y":
|
|
867
869
|
case "u":
|
|
@@ -873,30 +875,30 @@ function mn(e) {
|
|
|
873
875
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
874
876
|
case "M":
|
|
875
877
|
case "L":
|
|
876
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
878
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
877
879
|
break;
|
|
878
880
|
case "w":
|
|
879
881
|
case "W":
|
|
880
882
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
881
883
|
case "d":
|
|
882
|
-
t.day = ["numeric", "2-digit"][
|
|
884
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
883
885
|
break;
|
|
884
886
|
case "D":
|
|
885
887
|
case "F":
|
|
886
888
|
case "g":
|
|
887
889
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
888
890
|
case "E":
|
|
889
|
-
t.weekday =
|
|
891
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
890
892
|
break;
|
|
891
893
|
case "e":
|
|
892
|
-
if (
|
|
894
|
+
if (n < 4)
|
|
893
895
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
894
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
896
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
895
897
|
break;
|
|
896
898
|
case "c":
|
|
897
|
-
if (
|
|
899
|
+
if (n < 4)
|
|
898
900
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
899
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
901
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
900
902
|
break;
|
|
901
903
|
case "a":
|
|
902
904
|
t.hour12 = !0;
|
|
@@ -905,32 +907,32 @@ function mn(e) {
|
|
|
905
907
|
case "B":
|
|
906
908
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
907
909
|
case "h":
|
|
908
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
910
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
909
911
|
break;
|
|
910
912
|
case "H":
|
|
911
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
913
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
912
914
|
break;
|
|
913
915
|
case "K":
|
|
914
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
916
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
915
917
|
break;
|
|
916
918
|
case "k":
|
|
917
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
919
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
918
920
|
break;
|
|
919
921
|
case "j":
|
|
920
922
|
case "J":
|
|
921
923
|
case "C":
|
|
922
924
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
923
925
|
case "m":
|
|
924
|
-
t.minute = ["numeric", "2-digit"][
|
|
926
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
925
927
|
break;
|
|
926
928
|
case "s":
|
|
927
|
-
t.second = ["numeric", "2-digit"][
|
|
929
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
928
930
|
break;
|
|
929
931
|
case "S":
|
|
930
932
|
case "A":
|
|
931
933
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
932
934
|
case "z":
|
|
933
|
-
t.timeZoneName =
|
|
935
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
934
936
|
break;
|
|
935
937
|
case "Z":
|
|
936
938
|
case "O":
|
|
@@ -943,18 +945,18 @@ function mn(e) {
|
|
|
943
945
|
return "";
|
|
944
946
|
}), t;
|
|
945
947
|
}
|
|
946
|
-
var
|
|
947
|
-
function
|
|
948
|
+
var hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
949
|
+
function fr(e) {
|
|
948
950
|
if (e.length === 0)
|
|
949
951
|
throw new Error("Number skeleton cannot be empty");
|
|
950
|
-
for (var t = e.split(
|
|
951
|
-
return
|
|
952
|
-
}), i = [],
|
|
953
|
-
var o = n
|
|
952
|
+
for (var t = e.split(hr).filter(function(m) {
|
|
953
|
+
return m.length > 0;
|
|
954
|
+
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
955
|
+
var o = r[n], s = o.split("/");
|
|
954
956
|
if (s.length === 0)
|
|
955
957
|
throw new Error("Invalid number skeleton");
|
|
956
|
-
for (var a = s[0], c = s.slice(1),
|
|
957
|
-
var h = u
|
|
958
|
+
for (var a = s[0], c = s.slice(1), u = 0, l = c; u < l.length; u++) {
|
|
959
|
+
var h = l[u];
|
|
958
960
|
if (h.length === 0)
|
|
959
961
|
throw new Error("Invalid number skeleton");
|
|
960
962
|
}
|
|
@@ -962,17 +964,17 @@ function pn(e) {
|
|
|
962
964
|
}
|
|
963
965
|
return i;
|
|
964
966
|
}
|
|
965
|
-
function
|
|
967
|
+
function mr(e) {
|
|
966
968
|
return e.replace(/^(.*?)-/, "");
|
|
967
969
|
}
|
|
968
|
-
var
|
|
969
|
-
function
|
|
970
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wi = /^(@+)?(\+|#+)?[rs]?$/g, pr = /(\*)(0+)|(#+)(0+)|(0+)/g, Si = /^(0+)$/;
|
|
971
|
+
function Ht(e) {
|
|
970
972
|
var t = {};
|
|
971
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
972
|
-
return typeof
|
|
973
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wi, function(i, n, r) {
|
|
974
|
+
return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
|
|
973
975
|
}), t;
|
|
974
976
|
}
|
|
975
|
-
function
|
|
977
|
+
function Pi(e) {
|
|
976
978
|
switch (e) {
|
|
977
979
|
case "sign-auto":
|
|
978
980
|
return {
|
|
@@ -1012,7 +1014,7 @@ function Bi(e) {
|
|
|
1012
1014
|
};
|
|
1013
1015
|
}
|
|
1014
1016
|
}
|
|
1015
|
-
function
|
|
1017
|
+
function dr(e) {
|
|
1016
1018
|
var t;
|
|
1017
1019
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1018
1020
|
notation: "engineering"
|
|
@@ -1020,20 +1022,20 @@ function gn(e) {
|
|
|
1020
1022
|
notation: "scientific"
|
|
1021
1023
|
}, e = e.slice(1)), t) {
|
|
1022
1024
|
var i = e.slice(0, 2);
|
|
1023
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1025
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Si.test(e))
|
|
1024
1026
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1025
1027
|
t.minimumIntegerDigits = e.length;
|
|
1026
1028
|
}
|
|
1027
1029
|
return t;
|
|
1028
1030
|
}
|
|
1029
|
-
function
|
|
1030
|
-
var t = {}, i =
|
|
1031
|
+
function Ot(e) {
|
|
1032
|
+
var t = {}, i = Pi(e);
|
|
1031
1033
|
return i || t;
|
|
1032
1034
|
}
|
|
1033
|
-
function
|
|
1034
|
-
for (var t = {}, i = 0,
|
|
1035
|
-
var
|
|
1036
|
-
switch (
|
|
1035
|
+
function br(e) {
|
|
1036
|
+
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
1037
|
+
var r = n[i];
|
|
1038
|
+
switch (r.stem) {
|
|
1037
1039
|
case "percent":
|
|
1038
1040
|
case "%":
|
|
1039
1041
|
t.style = "percent";
|
|
@@ -1042,7 +1044,7 @@ function yn(e) {
|
|
|
1042
1044
|
t.style = "percent", t.scale = 100;
|
|
1043
1045
|
continue;
|
|
1044
1046
|
case "currency":
|
|
1045
|
-
t.style = "currency", t.currency =
|
|
1047
|
+
t.style = "currency", t.currency = r.options[0];
|
|
1046
1048
|
continue;
|
|
1047
1049
|
case "group-off":
|
|
1048
1050
|
case ",_":
|
|
@@ -1054,7 +1056,7 @@ function yn(e) {
|
|
|
1054
1056
|
continue;
|
|
1055
1057
|
case "measure-unit":
|
|
1056
1058
|
case "unit":
|
|
1057
|
-
t.style = "unit", t.unit =
|
|
1059
|
+
t.style = "unit", t.unit = mr(r.options[0]);
|
|
1058
1060
|
continue;
|
|
1059
1061
|
case "compact-short":
|
|
1060
1062
|
case "K":
|
|
@@ -1065,13 +1067,13 @@ function yn(e) {
|
|
|
1065
1067
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1066
1068
|
continue;
|
|
1067
1069
|
case "scientific":
|
|
1068
|
-
t = S(S(S({}, t), { notation: "scientific" }),
|
|
1069
|
-
return S(S({}, c),
|
|
1070
|
+
t = S(S(S({}, t), { notation: "scientific" }), r.options.reduce(function(c, u) {
|
|
1071
|
+
return S(S({}, c), Ot(u));
|
|
1070
1072
|
}, {}));
|
|
1071
1073
|
continue;
|
|
1072
1074
|
case "engineering":
|
|
1073
|
-
t = S(S(S({}, t), { notation: "engineering" }),
|
|
1074
|
-
return S(S({}, c),
|
|
1075
|
+
t = S(S(S({}, t), { notation: "engineering" }), r.options.reduce(function(c, u) {
|
|
1076
|
+
return S(S({}, c), Ot(u));
|
|
1075
1077
|
}, {}));
|
|
1076
1078
|
continue;
|
|
1077
1079
|
case "notation-simple":
|
|
@@ -1090,7 +1092,7 @@ function yn(e) {
|
|
|
1090
1092
|
t.currencyDisplay = "symbol";
|
|
1091
1093
|
continue;
|
|
1092
1094
|
case "scale":
|
|
1093
|
-
t.scale = parseFloat(
|
|
1095
|
+
t.scale = parseFloat(r.options[0]);
|
|
1094
1096
|
continue;
|
|
1095
1097
|
case "rounding-mode-floor":
|
|
1096
1098
|
t.roundingMode = "floor";
|
|
@@ -1114,42 +1116,42 @@ function yn(e) {
|
|
|
1114
1116
|
t.roundingMode = "halfExpand";
|
|
1115
1117
|
continue;
|
|
1116
1118
|
case "integer-width":
|
|
1117
|
-
if (
|
|
1119
|
+
if (r.options.length > 1)
|
|
1118
1120
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1119
|
-
|
|
1120
|
-
if (
|
|
1121
|
-
t.minimumIntegerDigits =
|
|
1121
|
+
r.options[0].replace(pr, function(c, u, l, h, m, f) {
|
|
1122
|
+
if (u)
|
|
1123
|
+
t.minimumIntegerDigits = l.length;
|
|
1122
1124
|
else {
|
|
1123
|
-
if (h &&
|
|
1125
|
+
if (h && m)
|
|
1124
1126
|
throw new Error("We currently do not support maximum integer digits");
|
|
1125
|
-
if (
|
|
1127
|
+
if (f)
|
|
1126
1128
|
throw new Error("We currently do not support exact integer digits");
|
|
1127
1129
|
}
|
|
1128
1130
|
return "";
|
|
1129
1131
|
});
|
|
1130
1132
|
continue;
|
|
1131
1133
|
}
|
|
1132
|
-
if (
|
|
1133
|
-
t.minimumIntegerDigits =
|
|
1134
|
+
if (Si.test(r.stem)) {
|
|
1135
|
+
t.minimumIntegerDigits = r.stem.length;
|
|
1134
1136
|
continue;
|
|
1135
1137
|
}
|
|
1136
|
-
if (
|
|
1137
|
-
if (
|
|
1138
|
+
if (It.test(r.stem)) {
|
|
1139
|
+
if (r.options.length > 1)
|
|
1138
1140
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1139
|
-
|
|
1140
|
-
return
|
|
1141
|
+
r.stem.replace(It, function(c, u, l, h, m, f) {
|
|
1142
|
+
return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && f ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + f.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1141
1143
|
});
|
|
1142
|
-
var o =
|
|
1143
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
|
1144
|
+
var o = r.options[0];
|
|
1145
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ht(o)));
|
|
1144
1146
|
continue;
|
|
1145
1147
|
}
|
|
1146
|
-
if (
|
|
1147
|
-
t = S(S({}, t),
|
|
1148
|
+
if (wi.test(r.stem)) {
|
|
1149
|
+
t = S(S({}, t), Ht(r.stem));
|
|
1148
1150
|
continue;
|
|
1149
1151
|
}
|
|
1150
|
-
var s =
|
|
1152
|
+
var s = Pi(r.stem);
|
|
1151
1153
|
s && (t = S(S({}, t), s));
|
|
1152
|
-
var a =
|
|
1154
|
+
var a = dr(r.stem);
|
|
1153
1155
|
a && (t = S(S({}, t), a));
|
|
1154
1156
|
}
|
|
1155
1157
|
return t;
|
|
@@ -2569,23 +2571,23 @@ var Se = {
|
|
|
2569
2571
|
"h"
|
|
2570
2572
|
]
|
|
2571
2573
|
};
|
|
2572
|
-
function
|
|
2573
|
-
for (var i = "",
|
|
2574
|
-
var
|
|
2575
|
-
if (
|
|
2576
|
-
for (var o = 0;
|
|
2577
|
-
o++,
|
|
2578
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a",
|
|
2579
|
-
for ((
|
|
2574
|
+
function gr(e, t) {
|
|
2575
|
+
for (var i = "", n = 0; n < e.length; n++) {
|
|
2576
|
+
var r = e.charAt(n);
|
|
2577
|
+
if (r === "j") {
|
|
2578
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2579
|
+
o++, n++;
|
|
2580
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = yr(t);
|
|
2581
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2580
2582
|
i += c;
|
|
2581
2583
|
for (; s-- > 0; )
|
|
2582
|
-
i =
|
|
2584
|
+
i = u + i;
|
|
2583
2585
|
} else
|
|
2584
|
-
|
|
2586
|
+
r === "J" ? i += "H" : i += r;
|
|
2585
2587
|
}
|
|
2586
2588
|
return i;
|
|
2587
2589
|
}
|
|
2588
|
-
function
|
|
2590
|
+
function yr(e) {
|
|
2589
2591
|
var t = e.hourCycle;
|
|
2590
2592
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2591
2593
|
e.hourCycles && // @ts-ignore
|
|
@@ -2602,59 +2604,59 @@ function _n(e) {
|
|
|
2602
2604
|
default:
|
|
2603
2605
|
throw new Error("Invalid hourCycle");
|
|
2604
2606
|
}
|
|
2605
|
-
var i = e.language,
|
|
2606
|
-
i !== "root" && (
|
|
2607
|
-
var
|
|
2608
|
-
return
|
|
2607
|
+
var i = e.language, n;
|
|
2608
|
+
i !== "root" && (n = e.maximize().region);
|
|
2609
|
+
var r = Se[n || ""] || Se[i || ""] || Se["".concat(i, "-001")] || Se["001"];
|
|
2610
|
+
return r[0];
|
|
2609
2611
|
}
|
|
2610
|
-
var qe,
|
|
2612
|
+
var qe, vr = new RegExp("^".concat(Ti.source, "*")), _r = new RegExp("".concat(Ti.source, "*$"));
|
|
2611
2613
|
function T(e, t) {
|
|
2612
2614
|
return { start: e, end: t };
|
|
2613
2615
|
}
|
|
2614
|
-
var
|
|
2616
|
+
var Er = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lr = !!String.fromCodePoint, xr = !!Object.fromEntries, Tr = !!String.prototype.codePointAt, wr = !!String.prototype.trimStart, Sr = !!String.prototype.trimEnd, Pr = !!Number.isSafeInteger, Ar = Pr ? Number.isSafeInteger : function(e) {
|
|
2615
2617
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2616
|
-
},
|
|
2618
|
+
}, ot = !0;
|
|
2617
2619
|
try {
|
|
2618
|
-
var
|
|
2619
|
-
|
|
2620
|
+
var Br = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2621
|
+
ot = ((qe = Br.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
|
|
2620
2622
|
} catch (e) {
|
|
2621
|
-
|
|
2623
|
+
ot = !1;
|
|
2622
2624
|
}
|
|
2623
|
-
var
|
|
2625
|
+
var Mt = Er ? (
|
|
2624
2626
|
// Native
|
|
2625
|
-
function(t, i,
|
|
2626
|
-
return t.startsWith(i,
|
|
2627
|
+
function(t, i, n) {
|
|
2628
|
+
return t.startsWith(i, n);
|
|
2627
2629
|
}
|
|
2628
2630
|
) : (
|
|
2629
2631
|
// For IE11
|
|
2630
|
-
function(t, i,
|
|
2631
|
-
return t.slice(
|
|
2632
|
+
function(t, i, n) {
|
|
2633
|
+
return t.slice(n, n + i.length) === i;
|
|
2632
2634
|
}
|
|
2633
|
-
),
|
|
2635
|
+
), st = Lr ? String.fromCodePoint : (
|
|
2634
2636
|
// IE11
|
|
2635
2637
|
function() {
|
|
2636
2638
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
2637
2639
|
t[i] = arguments[i];
|
|
2638
|
-
for (var
|
|
2640
|
+
for (var n = "", r = t.length, o = 0, s; r > o; ) {
|
|
2639
2641
|
if (s = t[o++], s > 1114111)
|
|
2640
2642
|
throw RangeError(s + " is not a valid code point");
|
|
2641
|
-
|
|
2643
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2642
2644
|
}
|
|
2643
|
-
return
|
|
2645
|
+
return n;
|
|
2644
2646
|
}
|
|
2645
|
-
),
|
|
2647
|
+
), kt = (
|
|
2646
2648
|
// native
|
|
2647
|
-
|
|
2649
|
+
xr ? Object.fromEntries : (
|
|
2648
2650
|
// Ponyfill
|
|
2649
2651
|
function(t) {
|
|
2650
|
-
for (var i = {},
|
|
2651
|
-
var o = n
|
|
2652
|
+
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
2653
|
+
var o = r[n], s = o[0], a = o[1];
|
|
2652
2654
|
i[s] = a;
|
|
2653
2655
|
}
|
|
2654
2656
|
return i;
|
|
2655
2657
|
}
|
|
2656
2658
|
)
|
|
2657
|
-
),
|
|
2659
|
+
), Ai = Tr ? (
|
|
2658
2660
|
// Native
|
|
2659
2661
|
function(t, i) {
|
|
2660
2662
|
return t.codePointAt(i);
|
|
@@ -2662,13 +2664,13 @@ var Ct = xn ? (
|
|
|
2662
2664
|
) : (
|
|
2663
2665
|
// IE 11
|
|
2664
2666
|
function(t, i) {
|
|
2665
|
-
var
|
|
2666
|
-
if (!(i < 0 || i >=
|
|
2667
|
-
var
|
|
2668
|
-
return
|
|
2667
|
+
var n = t.length;
|
|
2668
|
+
if (!(i < 0 || i >= n)) {
|
|
2669
|
+
var r = t.charCodeAt(i), o;
|
|
2670
|
+
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2669
2671
|
}
|
|
2670
2672
|
}
|
|
2671
|
-
),
|
|
2673
|
+
), Nr = wr ? (
|
|
2672
2674
|
// Native
|
|
2673
2675
|
function(t) {
|
|
2674
2676
|
return t.trimStart();
|
|
@@ -2676,9 +2678,9 @@ var Ct = xn ? (
|
|
|
2676
2678
|
) : (
|
|
2677
2679
|
// Ponyfill
|
|
2678
2680
|
function(t) {
|
|
2679
|
-
return t.replace(
|
|
2681
|
+
return t.replace(vr, "");
|
|
2680
2682
|
}
|
|
2681
|
-
),
|
|
2683
|
+
), Ir = Sr ? (
|
|
2682
2684
|
// Native
|
|
2683
2685
|
function(t) {
|
|
2684
2686
|
return t.trimEnd();
|
|
@@ -2686,32 +2688,32 @@ var Ct = xn ? (
|
|
|
2686
2688
|
) : (
|
|
2687
2689
|
// Ponyfill
|
|
2688
2690
|
function(t) {
|
|
2689
|
-
return t.replace(
|
|
2691
|
+
return t.replace(_r, "");
|
|
2690
2692
|
}
|
|
2691
2693
|
);
|
|
2692
|
-
function
|
|
2694
|
+
function Bi(e, t) {
|
|
2693
2695
|
return new RegExp(e, t);
|
|
2694
2696
|
}
|
|
2695
|
-
var
|
|
2696
|
-
if (
|
|
2697
|
-
var
|
|
2698
|
-
|
|
2699
|
-
var
|
|
2700
|
-
|
|
2701
|
-
var
|
|
2702
|
-
return (
|
|
2697
|
+
var at;
|
|
2698
|
+
if (ot) {
|
|
2699
|
+
var Ct = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2700
|
+
at = function(t, i) {
|
|
2701
|
+
var n;
|
|
2702
|
+
Ct.lastIndex = i;
|
|
2703
|
+
var r = Ct.exec(t);
|
|
2704
|
+
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2703
2705
|
};
|
|
2704
2706
|
} else
|
|
2705
|
-
|
|
2706
|
-
for (var
|
|
2707
|
-
var
|
|
2708
|
-
if (
|
|
2707
|
+
at = function(t, i) {
|
|
2708
|
+
for (var n = []; ; ) {
|
|
2709
|
+
var r = Ai(t, i);
|
|
2710
|
+
if (r === void 0 || Ni(r) || kr(r))
|
|
2709
2711
|
break;
|
|
2710
|
-
|
|
2712
|
+
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2711
2713
|
}
|
|
2712
|
-
return
|
|
2714
|
+
return st.apply(void 0, n);
|
|
2713
2715
|
};
|
|
2714
|
-
var
|
|
2716
|
+
var Hr = (
|
|
2715
2717
|
/** @class */
|
|
2716
2718
|
function() {
|
|
2717
2719
|
function e(t, i) {
|
|
@@ -2721,51 +2723,51 @@ var Mn = (
|
|
|
2721
2723
|
if (this.offset() !== 0)
|
|
2722
2724
|
throw Error("parser can only be used once");
|
|
2723
2725
|
return this.parseMessage(0, "", !1);
|
|
2724
|
-
}, e.prototype.parseMessage = function(t, i,
|
|
2725
|
-
for (var
|
|
2726
|
+
}, e.prototype.parseMessage = function(t, i, n) {
|
|
2727
|
+
for (var r = []; !this.isEOF(); ) {
|
|
2726
2728
|
var o = this.char();
|
|
2727
2729
|
if (o === 123) {
|
|
2728
|
-
var s = this.parseArgument(t,
|
|
2730
|
+
var s = this.parseArgument(t, n);
|
|
2729
2731
|
if (s.err)
|
|
2730
2732
|
return s;
|
|
2731
|
-
|
|
2733
|
+
r.push(s.val);
|
|
2732
2734
|
} else {
|
|
2733
2735
|
if (o === 125 && t > 0)
|
|
2734
2736
|
break;
|
|
2735
2737
|
if (o === 35 && (i === "plural" || i === "selectordinal")) {
|
|
2736
2738
|
var a = this.clonePosition();
|
|
2737
|
-
this.bump(),
|
|
2739
|
+
this.bump(), r.push({
|
|
2738
2740
|
type: O.pound,
|
|
2739
2741
|
location: T(a, this.clonePosition())
|
|
2740
2742
|
});
|
|
2741
2743
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2742
|
-
if (
|
|
2744
|
+
if (n)
|
|
2743
2745
|
break;
|
|
2744
2746
|
return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
2745
2747
|
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
2746
2748
|
var s = this.parseTag(t, i);
|
|
2747
2749
|
if (s.err)
|
|
2748
2750
|
return s;
|
|
2749
|
-
|
|
2751
|
+
r.push(s.val);
|
|
2750
2752
|
} else {
|
|
2751
2753
|
var s = this.parseLiteral(t, i);
|
|
2752
2754
|
if (s.err)
|
|
2753
2755
|
return s;
|
|
2754
|
-
|
|
2756
|
+
r.push(s.val);
|
|
2755
2757
|
}
|
|
2756
2758
|
}
|
|
2757
2759
|
}
|
|
2758
|
-
return { val:
|
|
2760
|
+
return { val: r, err: null };
|
|
2759
2761
|
}, e.prototype.parseTag = function(t, i) {
|
|
2760
|
-
var
|
|
2762
|
+
var n = this.clonePosition();
|
|
2761
2763
|
this.bump();
|
|
2762
|
-
var
|
|
2764
|
+
var r = this.parseTagName();
|
|
2763
2765
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2764
2766
|
return {
|
|
2765
2767
|
val: {
|
|
2766
2768
|
type: O.literal,
|
|
2767
|
-
value: "<".concat(
|
|
2768
|
-
location: T(
|
|
2769
|
+
value: "<".concat(r, "/>"),
|
|
2770
|
+
location: T(n, this.clonePosition())
|
|
2769
2771
|
},
|
|
2770
2772
|
err: null
|
|
2771
2773
|
};
|
|
@@ -2777,52 +2779,52 @@ var Mn = (
|
|
|
2777
2779
|
if (this.bumpIf("</")) {
|
|
2778
2780
|
if (this.isEOF() || !ut(this.char()))
|
|
2779
2781
|
return this.error(x.INVALID_TAG, T(a, this.clonePosition()));
|
|
2780
|
-
var c = this.clonePosition(),
|
|
2781
|
-
return
|
|
2782
|
+
var c = this.clonePosition(), u = this.parseTagName();
|
|
2783
|
+
return r !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2782
2784
|
val: {
|
|
2783
2785
|
type: O.tag,
|
|
2784
|
-
value:
|
|
2786
|
+
value: r,
|
|
2785
2787
|
children: s,
|
|
2786
|
-
location: T(
|
|
2788
|
+
location: T(n, this.clonePosition())
|
|
2787
2789
|
},
|
|
2788
2790
|
err: null
|
|
2789
2791
|
} : this.error(x.INVALID_TAG, T(a, this.clonePosition())));
|
|
2790
2792
|
} else
|
|
2791
|
-
return this.error(x.UNCLOSED_TAG, T(
|
|
2793
|
+
return this.error(x.UNCLOSED_TAG, T(n, this.clonePosition()));
|
|
2792
2794
|
} else
|
|
2793
|
-
return this.error(x.INVALID_TAG, T(
|
|
2795
|
+
return this.error(x.INVALID_TAG, T(n, this.clonePosition()));
|
|
2794
2796
|
}, e.prototype.parseTagName = function() {
|
|
2795
2797
|
var t = this.offset();
|
|
2796
|
-
for (this.bump(); !this.isEOF() &&
|
|
2798
|
+
for (this.bump(); !this.isEOF() && Mr(this.char()); )
|
|
2797
2799
|
this.bump();
|
|
2798
2800
|
return this.message.slice(t, this.offset());
|
|
2799
2801
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
2800
|
-
for (var
|
|
2802
|
+
for (var n = this.clonePosition(), r = ""; ; ) {
|
|
2801
2803
|
var o = this.tryParseQuote(i);
|
|
2802
2804
|
if (o) {
|
|
2803
|
-
|
|
2805
|
+
r += o;
|
|
2804
2806
|
continue;
|
|
2805
2807
|
}
|
|
2806
2808
|
var s = this.tryParseUnquoted(t, i);
|
|
2807
2809
|
if (s) {
|
|
2808
|
-
|
|
2810
|
+
r += s;
|
|
2809
2811
|
continue;
|
|
2810
2812
|
}
|
|
2811
2813
|
var a = this.tryParseLeftAngleBracket();
|
|
2812
2814
|
if (a) {
|
|
2813
|
-
|
|
2815
|
+
r += a;
|
|
2814
2816
|
continue;
|
|
2815
2817
|
}
|
|
2816
2818
|
break;
|
|
2817
2819
|
}
|
|
2818
|
-
var c = T(
|
|
2820
|
+
var c = T(n, this.clonePosition());
|
|
2819
2821
|
return {
|
|
2820
|
-
val: { type: O.literal, value:
|
|
2822
|
+
val: { type: O.literal, value: r, location: c },
|
|
2821
2823
|
err: null
|
|
2822
2824
|
};
|
|
2823
2825
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2824
2826
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2825
|
-
!
|
|
2827
|
+
!Or(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2826
2828
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2827
2829
|
if (this.isEOF() || this.char() !== 39)
|
|
2828
2830
|
return null;
|
|
@@ -2844,8 +2846,8 @@ var Mn = (
|
|
|
2844
2846
|
this.bump();
|
|
2845
2847
|
var i = [this.char()];
|
|
2846
2848
|
for (this.bump(); !this.isEOF(); ) {
|
|
2847
|
-
var
|
|
2848
|
-
if (
|
|
2849
|
+
var n = this.char();
|
|
2850
|
+
if (n === 39)
|
|
2849
2851
|
if (this.peek() === 39)
|
|
2850
2852
|
i.push(39), this.bump();
|
|
2851
2853
|
else {
|
|
@@ -2853,48 +2855,48 @@ var Mn = (
|
|
|
2853
2855
|
break;
|
|
2854
2856
|
}
|
|
2855
2857
|
else
|
|
2856
|
-
i.push(
|
|
2858
|
+
i.push(n);
|
|
2857
2859
|
this.bump();
|
|
2858
2860
|
}
|
|
2859
|
-
return
|
|
2861
|
+
return st.apply(void 0, i);
|
|
2860
2862
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2861
2863
|
if (this.isEOF())
|
|
2862
2864
|
return null;
|
|
2863
|
-
var
|
|
2864
|
-
return
|
|
2865
|
+
var n = this.char();
|
|
2866
|
+
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
|
|
2865
2867
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2866
|
-
var
|
|
2868
|
+
var n = this.clonePosition();
|
|
2867
2869
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2868
|
-
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(
|
|
2870
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
2869
2871
|
if (this.char() === 125)
|
|
2870
|
-
return this.bump(), this.error(x.EMPTY_ARGUMENT, T(
|
|
2871
|
-
var
|
|
2872
|
-
if (!
|
|
2873
|
-
return this.error(x.MALFORMED_ARGUMENT, T(
|
|
2872
|
+
return this.bump(), this.error(x.EMPTY_ARGUMENT, T(n, this.clonePosition()));
|
|
2873
|
+
var r = this.parseIdentifierIfPossible().value;
|
|
2874
|
+
if (!r)
|
|
2875
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
2874
2876
|
if (this.bumpSpace(), this.isEOF())
|
|
2875
|
-
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(
|
|
2877
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
2876
2878
|
switch (this.char()) {
|
|
2877
2879
|
case 125:
|
|
2878
2880
|
return this.bump(), {
|
|
2879
2881
|
val: {
|
|
2880
2882
|
type: O.argument,
|
|
2881
2883
|
// value does not include the opening and closing braces.
|
|
2882
|
-
value:
|
|
2883
|
-
location: T(
|
|
2884
|
+
value: r,
|
|
2885
|
+
location: T(n, this.clonePosition())
|
|
2884
2886
|
},
|
|
2885
2887
|
err: null
|
|
2886
2888
|
};
|
|
2887
2889
|
case 44:
|
|
2888
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(
|
|
2890
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
|
|
2889
2891
|
default:
|
|
2890
|
-
return this.error(x.MALFORMED_ARGUMENT, T(
|
|
2892
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
2891
2893
|
}
|
|
2892
2894
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2893
|
-
var t = this.clonePosition(), i = this.offset(),
|
|
2894
|
-
this.bumpTo(
|
|
2895
|
+
var t = this.clonePosition(), i = this.offset(), n = at(this.message, i), r = i + n.length;
|
|
2896
|
+
this.bumpTo(r);
|
|
2895
2897
|
var o = this.clonePosition(), s = T(t, o);
|
|
2896
|
-
return { value:
|
|
2897
|
-
}, e.prototype.parseArgumentOptions = function(t, i,
|
|
2898
|
+
return { value: n, location: s };
|
|
2899
|
+
}, e.prototype.parseArgumentOptions = function(t, i, n, r) {
|
|
2898
2900
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2899
2901
|
switch (a) {
|
|
2900
2902
|
case "":
|
|
@@ -2903,43 +2905,43 @@ var Mn = (
|
|
|
2903
2905
|
case "date":
|
|
2904
2906
|
case "time": {
|
|
2905
2907
|
this.bumpSpace();
|
|
2906
|
-
var
|
|
2908
|
+
var u = null;
|
|
2907
2909
|
if (this.bumpIf(",")) {
|
|
2908
2910
|
this.bumpSpace();
|
|
2909
|
-
var
|
|
2911
|
+
var l = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2910
2912
|
if (h.err)
|
|
2911
2913
|
return h;
|
|
2912
|
-
var
|
|
2913
|
-
if (
|
|
2914
|
+
var m = Ir(h.val);
|
|
2915
|
+
if (m.length === 0)
|
|
2914
2916
|
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
2915
|
-
var
|
|
2916
|
-
|
|
2917
|
+
var f = T(l, this.clonePosition());
|
|
2918
|
+
u = { style: m, styleLocation: f };
|
|
2917
2919
|
}
|
|
2918
|
-
var p = this.tryParseArgumentClose(
|
|
2920
|
+
var p = this.tryParseArgumentClose(r);
|
|
2919
2921
|
if (p.err)
|
|
2920
2922
|
return p;
|
|
2921
|
-
var _ = T(
|
|
2922
|
-
if (
|
|
2923
|
-
var R =
|
|
2923
|
+
var _ = T(r, this.clonePosition());
|
|
2924
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2925
|
+
var R = Nr(u.style.slice(2));
|
|
2924
2926
|
if (a === "number") {
|
|
2925
|
-
var h = this.parseNumberSkeletonFromString(R,
|
|
2927
|
+
var h = this.parseNumberSkeletonFromString(R, u.styleLocation);
|
|
2926
2928
|
return h.err ? h : {
|
|
2927
|
-
val: { type: O.number, value:
|
|
2929
|
+
val: { type: O.number, value: n, location: _, style: h.val },
|
|
2928
2930
|
err: null
|
|
2929
2931
|
};
|
|
2930
2932
|
} else {
|
|
2931
2933
|
if (R.length === 0)
|
|
2932
2934
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
|
2933
2935
|
var P = R;
|
|
2934
|
-
this.locale && (P =
|
|
2935
|
-
var
|
|
2936
|
+
this.locale && (P = gr(R, this.locale));
|
|
2937
|
+
var m = {
|
|
2936
2938
|
type: ce.dateTime,
|
|
2937
2939
|
pattern: P,
|
|
2938
|
-
location:
|
|
2939
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2940
|
+
location: u.styleLocation,
|
|
2941
|
+
parsedOptions: this.shouldParseSkeletons ? cr(P) : {}
|
|
2940
2942
|
}, L = a === "date" ? O.date : O.time;
|
|
2941
2943
|
return {
|
|
2942
|
-
val: { type: L, value:
|
|
2944
|
+
val: { type: L, value: n, location: _, style: m },
|
|
2943
2945
|
err: null
|
|
2944
2946
|
};
|
|
2945
2947
|
}
|
|
@@ -2947,9 +2949,9 @@ var Mn = (
|
|
|
2947
2949
|
return {
|
|
2948
2950
|
val: {
|
|
2949
2951
|
type: a === "number" ? O.number : a === "date" ? O.date : O.time,
|
|
2950
|
-
value:
|
|
2952
|
+
value: n,
|
|
2951
2953
|
location: _,
|
|
2952
|
-
style: (o =
|
|
2954
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
2953
2955
|
},
|
|
2954
2956
|
err: null
|
|
2955
2957
|
};
|
|
@@ -2974,23 +2976,23 @@ var Mn = (
|
|
|
2974
2976
|
var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
|
|
2975
2977
|
if (M.err)
|
|
2976
2978
|
return M;
|
|
2977
|
-
var p = this.tryParseArgumentClose(
|
|
2979
|
+
var p = this.tryParseArgumentClose(r);
|
|
2978
2980
|
if (p.err)
|
|
2979
2981
|
return p;
|
|
2980
|
-
var D = T(
|
|
2982
|
+
var D = T(r, this.clonePosition());
|
|
2981
2983
|
return a === "select" ? {
|
|
2982
2984
|
val: {
|
|
2983
2985
|
type: O.select,
|
|
2984
|
-
value:
|
|
2985
|
-
options:
|
|
2986
|
+
value: n,
|
|
2987
|
+
options: kt(M.val),
|
|
2986
2988
|
location: D
|
|
2987
2989
|
},
|
|
2988
2990
|
err: null
|
|
2989
2991
|
} : {
|
|
2990
2992
|
val: {
|
|
2991
2993
|
type: O.plural,
|
|
2992
|
-
value:
|
|
2993
|
-
options:
|
|
2994
|
+
value: n,
|
|
2995
|
+
options: kt(M.val),
|
|
2994
2996
|
offset: A,
|
|
2995
2997
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2996
2998
|
location: D
|
|
@@ -3005,13 +3007,13 @@ var Mn = (
|
|
|
3005
3007
|
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3006
3008
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3007
3009
|
for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
|
|
3008
|
-
var
|
|
3009
|
-
switch (
|
|
3010
|
+
var n = this.char();
|
|
3011
|
+
switch (n) {
|
|
3010
3012
|
case 39: {
|
|
3011
3013
|
this.bump();
|
|
3012
|
-
var
|
|
3014
|
+
var r = this.clonePosition();
|
|
3013
3015
|
if (!this.bumpUntil("'"))
|
|
3014
|
-
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(
|
|
3016
|
+
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(r, this.clonePosition()));
|
|
3015
3017
|
this.bump();
|
|
3016
3018
|
break;
|
|
3017
3019
|
}
|
|
@@ -3039,57 +3041,57 @@ var Mn = (
|
|
|
3039
3041
|
err: null
|
|
3040
3042
|
};
|
|
3041
3043
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
3042
|
-
var
|
|
3044
|
+
var n = [];
|
|
3043
3045
|
try {
|
|
3044
|
-
|
|
3045
|
-
} catch (
|
|
3046
|
+
n = fr(t);
|
|
3047
|
+
} catch (r) {
|
|
3046
3048
|
return this.error(x.INVALID_NUMBER_SKELETON, i);
|
|
3047
3049
|
}
|
|
3048
3050
|
return {
|
|
3049
3051
|
val: {
|
|
3050
3052
|
type: ce.number,
|
|
3051
|
-
tokens:
|
|
3053
|
+
tokens: n,
|
|
3052
3054
|
location: i,
|
|
3053
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3055
|
+
parsedOptions: this.shouldParseSkeletons ? br(n) : {}
|
|
3054
3056
|
},
|
|
3055
3057
|
err: null
|
|
3056
3058
|
};
|
|
3057
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i,
|
|
3058
|
-
for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(),
|
|
3059
|
-
if (
|
|
3059
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
|
|
3060
|
+
for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = r.value, l = r.location; ; ) {
|
|
3061
|
+
if (u.length === 0) {
|
|
3060
3062
|
var h = this.clonePosition();
|
|
3061
3063
|
if (i !== "select" && this.bumpIf("=")) {
|
|
3062
|
-
var
|
|
3063
|
-
if (
|
|
3064
|
-
return
|
|
3065
|
-
|
|
3064
|
+
var m = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3065
|
+
if (m.err)
|
|
3066
|
+
return m;
|
|
3067
|
+
l = T(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3066
3068
|
} else
|
|
3067
3069
|
break;
|
|
3068
3070
|
}
|
|
3069
|
-
if (c.has(
|
|
3070
|
-
return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3071
|
-
|
|
3072
|
-
var
|
|
3071
|
+
if (c.has(u))
|
|
3072
|
+
return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3073
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3074
|
+
var f = this.clonePosition();
|
|
3073
3075
|
if (!this.bumpIf("{"))
|
|
3074
3076
|
return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3075
|
-
var p = this.parseMessage(t + 1, i,
|
|
3077
|
+
var p = this.parseMessage(t + 1, i, n);
|
|
3076
3078
|
if (p.err)
|
|
3077
3079
|
return p;
|
|
3078
|
-
var _ = this.tryParseArgumentClose(
|
|
3080
|
+
var _ = this.tryParseArgumentClose(f);
|
|
3079
3081
|
if (_.err)
|
|
3080
3082
|
return _;
|
|
3081
3083
|
a.push([
|
|
3082
|
-
|
|
3084
|
+
u,
|
|
3083
3085
|
{
|
|
3084
3086
|
value: p.val,
|
|
3085
|
-
location: T(
|
|
3087
|
+
location: T(f, this.clonePosition())
|
|
3086
3088
|
}
|
|
3087
|
-
]), c.add(
|
|
3089
|
+
]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3088
3090
|
}
|
|
3089
3091
|
return a.length === 0 ? this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3090
3092
|
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
3091
|
-
var
|
|
3092
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3093
|
+
var n = 1, r = this.clonePosition();
|
|
3094
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3093
3095
|
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3094
3096
|
var a = this.char();
|
|
3095
3097
|
if (a >= 48 && a <= 57)
|
|
@@ -3097,8 +3099,8 @@ var Mn = (
|
|
|
3097
3099
|
else
|
|
3098
3100
|
break;
|
|
3099
3101
|
}
|
|
3100
|
-
var c = T(
|
|
3101
|
-
return o ? (s *=
|
|
3102
|
+
var c = T(r, this.clonePosition());
|
|
3103
|
+
return o ? (s *= n, Ar(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
|
|
3102
3104
|
}, e.prototype.offset = function() {
|
|
3103
3105
|
return this.position.offset;
|
|
3104
3106
|
}, e.prototype.isEOF = function() {
|
|
@@ -3113,7 +3115,7 @@ var Mn = (
|
|
|
3113
3115
|
var t = this.position.offset;
|
|
3114
3116
|
if (t >= this.message.length)
|
|
3115
3117
|
throw Error("out of bound");
|
|
3116
|
-
var i =
|
|
3118
|
+
var i = Ai(this.message, t);
|
|
3117
3119
|
if (i === void 0)
|
|
3118
3120
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3119
3121
|
return i;
|
|
@@ -3132,15 +3134,15 @@ var Mn = (
|
|
|
3132
3134
|
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);
|
|
3133
3135
|
}
|
|
3134
3136
|
}, e.prototype.bumpIf = function(t) {
|
|
3135
|
-
if (
|
|
3137
|
+
if (Mt(this.message, t, this.offset())) {
|
|
3136
3138
|
for (var i = 0; i < t.length; i++)
|
|
3137
3139
|
this.bump();
|
|
3138
3140
|
return !0;
|
|
3139
3141
|
}
|
|
3140
3142
|
return !1;
|
|
3141
3143
|
}, e.prototype.bumpUntil = function(t) {
|
|
3142
|
-
var i = this.offset(),
|
|
3143
|
-
return
|
|
3144
|
+
var i = this.offset(), n = this.message.indexOf(t, i);
|
|
3145
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3144
3146
|
}, e.prototype.bumpTo = function(t) {
|
|
3145
3147
|
if (this.offset() > t)
|
|
3146
3148
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
@@ -3154,48 +3156,48 @@ var Mn = (
|
|
|
3154
3156
|
break;
|
|
3155
3157
|
}
|
|
3156
3158
|
}, e.prototype.bumpSpace = function() {
|
|
3157
|
-
for (; !this.isEOF() &&
|
|
3159
|
+
for (; !this.isEOF() && Ni(this.char()); )
|
|
3158
3160
|
this.bump();
|
|
3159
3161
|
}, e.prototype.peek = function() {
|
|
3160
3162
|
if (this.isEOF())
|
|
3161
3163
|
return null;
|
|
3162
|
-
var t = this.char(), i = this.offset(),
|
|
3163
|
-
return
|
|
3164
|
+
var t = this.char(), i = this.offset(), n = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
|
|
3165
|
+
return n != null ? n : null;
|
|
3164
3166
|
}, e;
|
|
3165
3167
|
}()
|
|
3166
3168
|
);
|
|
3167
3169
|
function ut(e) {
|
|
3168
3170
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3169
3171
|
}
|
|
3170
|
-
function
|
|
3172
|
+
function Or(e) {
|
|
3171
3173
|
return ut(e) || e === 47;
|
|
3172
3174
|
}
|
|
3173
|
-
function
|
|
3175
|
+
function Mr(e) {
|
|
3174
3176
|
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;
|
|
3175
3177
|
}
|
|
3176
|
-
function
|
|
3178
|
+
function Ni(e) {
|
|
3177
3179
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3178
3180
|
}
|
|
3179
|
-
function
|
|
3181
|
+
function kr(e) {
|
|
3180
3182
|
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;
|
|
3181
3183
|
}
|
|
3182
|
-
function
|
|
3184
|
+
function lt(e) {
|
|
3183
3185
|
e.forEach(function(t) {
|
|
3184
|
-
if (delete t.location,
|
|
3186
|
+
if (delete t.location, _i(t) || Ei(t))
|
|
3185
3187
|
for (var i in t.options)
|
|
3186
|
-
delete t.options[i].location,
|
|
3188
|
+
delete t.options[i].location, lt(t.options[i].value);
|
|
3187
3189
|
else
|
|
3188
|
-
|
|
3190
|
+
gi(t) && xi(t.style) || (yi(t) || vi(t)) && rt(t.style) ? delete t.style.location : Li(t) && lt(t.children);
|
|
3189
3191
|
});
|
|
3190
3192
|
}
|
|
3191
|
-
function
|
|
3193
|
+
function Cr(e, t) {
|
|
3192
3194
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3193
|
-
var i = new
|
|
3195
|
+
var i = new Hr(e, t).parse();
|
|
3194
3196
|
if (i.err) {
|
|
3195
|
-
var
|
|
3196
|
-
throw
|
|
3197
|
+
var n = SyntaxError(x[i.err.kind]);
|
|
3198
|
+
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
3197
3199
|
}
|
|
3198
|
-
return t != null && t.captureLocation ||
|
|
3200
|
+
return t != null && t.captureLocation || lt(i.val), i.val;
|
|
3199
3201
|
}
|
|
3200
3202
|
var he;
|
|
3201
3203
|
(function(e) {
|
|
@@ -3205,38 +3207,38 @@ var Re = (
|
|
|
3205
3207
|
/** @class */
|
|
3206
3208
|
function(e) {
|
|
3207
3209
|
Q(t, e);
|
|
3208
|
-
function t(i,
|
|
3210
|
+
function t(i, n, r) {
|
|
3209
3211
|
var o = e.call(this, i) || this;
|
|
3210
|
-
return o.code =
|
|
3212
|
+
return o.code = n, o.originalMessage = r, o;
|
|
3211
3213
|
}
|
|
3212
3214
|
return t.prototype.toString = function() {
|
|
3213
3215
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3214
3216
|
}, t;
|
|
3215
3217
|
}(Error)
|
|
3216
|
-
),
|
|
3218
|
+
), Dt = (
|
|
3217
3219
|
/** @class */
|
|
3218
3220
|
function(e) {
|
|
3219
3221
|
Q(t, e);
|
|
3220
|
-
function t(i,
|
|
3221
|
-
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(
|
|
3222
|
+
function t(i, n, r, o) {
|
|
3223
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3222
3224
|
}
|
|
3223
3225
|
return t;
|
|
3224
3226
|
}(Re)
|
|
3225
|
-
),
|
|
3227
|
+
), Dr = (
|
|
3226
3228
|
/** @class */
|
|
3227
3229
|
function(e) {
|
|
3228
3230
|
Q(t, e);
|
|
3229
|
-
function t(i,
|
|
3230
|
-
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(
|
|
3231
|
+
function t(i, n, r) {
|
|
3232
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), he.INVALID_VALUE, r) || this;
|
|
3231
3233
|
}
|
|
3232
3234
|
return t;
|
|
3233
3235
|
}(Re)
|
|
3234
|
-
),
|
|
3236
|
+
), Rr = (
|
|
3235
3237
|
/** @class */
|
|
3236
3238
|
function(e) {
|
|
3237
3239
|
Q(t, e);
|
|
3238
|
-
function t(i,
|
|
3239
|
-
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(
|
|
3240
|
+
function t(i, n) {
|
|
3241
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
|
3240
3242
|
}
|
|
3241
3243
|
return t;
|
|
3242
3244
|
}(Re)
|
|
@@ -3244,79 +3246,79 @@ var Re = (
|
|
|
3244
3246
|
(function(e) {
|
|
3245
3247
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3246
3248
|
})(z || (z = {}));
|
|
3247
|
-
function
|
|
3249
|
+
function Ur(e) {
|
|
3248
3250
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3249
|
-
var
|
|
3250
|
-
return !
|
|
3251
|
+
var n = t[t.length - 1];
|
|
3252
|
+
return !n || n.type !== z.literal || i.type !== z.literal ? t.push(i) : n.value += i.value, t;
|
|
3251
3253
|
}, []);
|
|
3252
3254
|
}
|
|
3253
|
-
function
|
|
3255
|
+
function jr(e) {
|
|
3254
3256
|
return typeof e == "function";
|
|
3255
3257
|
}
|
|
3256
|
-
function Be(e, t, i,
|
|
3257
|
-
if (e.length === 1 &&
|
|
3258
|
+
function Be(e, t, i, n, r, o, s) {
|
|
3259
|
+
if (e.length === 1 && Nt(e[0]))
|
|
3258
3260
|
return [
|
|
3259
3261
|
{
|
|
3260
3262
|
type: z.literal,
|
|
3261
3263
|
value: e[0].value
|
|
3262
3264
|
}
|
|
3263
3265
|
];
|
|
3264
|
-
for (var a = [], c = 0,
|
|
3265
|
-
var
|
|
3266
|
-
if (
|
|
3266
|
+
for (var a = [], c = 0, u = e; c < u.length; c++) {
|
|
3267
|
+
var l = u[c];
|
|
3268
|
+
if (Nt(l)) {
|
|
3267
3269
|
a.push({
|
|
3268
3270
|
type: z.literal,
|
|
3269
|
-
value:
|
|
3271
|
+
value: l.value
|
|
3270
3272
|
});
|
|
3271
3273
|
continue;
|
|
3272
3274
|
}
|
|
3273
|
-
if (
|
|
3275
|
+
if (ur(l)) {
|
|
3274
3276
|
typeof o == "number" && a.push({
|
|
3275
3277
|
type: z.literal,
|
|
3276
3278
|
value: i.getNumberFormat(t).format(o)
|
|
3277
3279
|
});
|
|
3278
3280
|
continue;
|
|
3279
3281
|
}
|
|
3280
|
-
var h =
|
|
3281
|
-
if (!(
|
|
3282
|
-
throw new
|
|
3283
|
-
var
|
|
3284
|
-
if (
|
|
3285
|
-
(!
|
|
3286
|
-
type: typeof
|
|
3287
|
-
value:
|
|
3282
|
+
var h = l.value;
|
|
3283
|
+
if (!(r && h in r))
|
|
3284
|
+
throw new Rr(h, s);
|
|
3285
|
+
var m = r[h];
|
|
3286
|
+
if (ar(l)) {
|
|
3287
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3288
|
+
type: typeof m == "string" ? z.literal : z.object,
|
|
3289
|
+
value: m
|
|
3288
3290
|
});
|
|
3289
3291
|
continue;
|
|
3290
3292
|
}
|
|
3291
|
-
if (
|
|
3292
|
-
var
|
|
3293
|
+
if (yi(l)) {
|
|
3294
|
+
var f = typeof l.style == "string" ? n.date[l.style] : rt(l.style) ? l.style.parsedOptions : void 0;
|
|
3293
3295
|
a.push({
|
|
3294
3296
|
type: z.literal,
|
|
3295
|
-
value: i.getDateTimeFormat(t,
|
|
3297
|
+
value: i.getDateTimeFormat(t, f).format(m)
|
|
3296
3298
|
});
|
|
3297
3299
|
continue;
|
|
3298
3300
|
}
|
|
3299
|
-
if (
|
|
3300
|
-
var
|
|
3301
|
+
if (vi(l)) {
|
|
3302
|
+
var f = typeof l.style == "string" ? n.time[l.style] : rt(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3301
3303
|
a.push({
|
|
3302
3304
|
type: z.literal,
|
|
3303
|
-
value: i.getDateTimeFormat(t,
|
|
3305
|
+
value: i.getDateTimeFormat(t, f).format(m)
|
|
3304
3306
|
});
|
|
3305
3307
|
continue;
|
|
3306
3308
|
}
|
|
3307
|
-
if (
|
|
3308
|
-
var
|
|
3309
|
-
|
|
3309
|
+
if (gi(l)) {
|
|
3310
|
+
var f = typeof l.style == "string" ? n.number[l.style] : xi(l.style) ? l.style.parsedOptions : void 0;
|
|
3311
|
+
f && f.scale && (m = m * (f.scale || 1)), a.push({
|
|
3310
3312
|
type: z.literal,
|
|
3311
|
-
value: i.getNumberFormat(t,
|
|
3313
|
+
value: i.getNumberFormat(t, f).format(m)
|
|
3312
3314
|
});
|
|
3313
3315
|
continue;
|
|
3314
3316
|
}
|
|
3315
|
-
if (
|
|
3316
|
-
var p =
|
|
3317
|
-
if (
|
|
3318
|
-
throw new
|
|
3319
|
-
var P = Be(p, t, i,
|
|
3317
|
+
if (Li(l)) {
|
|
3318
|
+
var p = l.children, _ = l.value, R = r[_];
|
|
3319
|
+
if (!jr(R))
|
|
3320
|
+
throw new Dr(_, "function", s);
|
|
3321
|
+
var P = Be(p, t, i, n, r, o), L = R(P.map(function(A) {
|
|
3320
3322
|
return A.value;
|
|
3321
3323
|
}));
|
|
3322
3324
|
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
|
|
@@ -3326,39 +3328,39 @@ function Be(e, t, i, r, n, o, s) {
|
|
|
3326
3328
|
};
|
|
3327
3329
|
}));
|
|
3328
3330
|
}
|
|
3329
|
-
if (
|
|
3330
|
-
var w =
|
|
3331
|
+
if (_i(l)) {
|
|
3332
|
+
var w = l.options[m] || l.options.other;
|
|
3331
3333
|
if (!w)
|
|
3332
|
-
throw new
|
|
3333
|
-
a.push.apply(a, Be(w.value, t, i,
|
|
3334
|
+
throw new Dt(l.value, m, Object.keys(l.options), s);
|
|
3335
|
+
a.push.apply(a, Be(w.value, t, i, n, r));
|
|
3334
3336
|
continue;
|
|
3335
3337
|
}
|
|
3336
|
-
if (
|
|
3337
|
-
var w =
|
|
3338
|
+
if (Ei(l)) {
|
|
3339
|
+
var w = l.options["=".concat(m)];
|
|
3338
3340
|
if (!w) {
|
|
3339
3341
|
if (!Intl.PluralRules)
|
|
3340
3342
|
throw new Re(`Intl.PluralRules is not available in this environment.
|
|
3341
3343
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3342
3344
|
`, he.MISSING_INTL_API, s);
|
|
3343
|
-
var H = i.getPluralRules(t, { type:
|
|
3344
|
-
w =
|
|
3345
|
+
var H = i.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3346
|
+
w = l.options[H] || l.options.other;
|
|
3345
3347
|
}
|
|
3346
3348
|
if (!w)
|
|
3347
|
-
throw new
|
|
3348
|
-
a.push.apply(a, Be(w.value, t, i,
|
|
3349
|
+
throw new Dt(l.value, m, Object.keys(l.options), s);
|
|
3350
|
+
a.push.apply(a, Be(w.value, t, i, n, r, m - (l.offset || 0)));
|
|
3349
3351
|
continue;
|
|
3350
3352
|
}
|
|
3351
3353
|
}
|
|
3352
|
-
return
|
|
3354
|
+
return Ur(a);
|
|
3353
3355
|
}
|
|
3354
|
-
function
|
|
3355
|
-
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i,
|
|
3356
|
-
return i[
|
|
3356
|
+
function $r(e, t) {
|
|
3357
|
+
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3358
|
+
return i[n] = S(S({}, e[n]), t[n] || {}), i;
|
|
3357
3359
|
}, {})) : e;
|
|
3358
3360
|
}
|
|
3359
|
-
function
|
|
3360
|
-
return t ? Object.keys(e).reduce(function(i,
|
|
3361
|
-
return i[
|
|
3361
|
+
function Fr(e, t) {
|
|
3362
|
+
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3363
|
+
return i[n] = $r(e[n], t[n]), i;
|
|
3362
3364
|
}, S({}, e)) : e;
|
|
3363
3365
|
}
|
|
3364
3366
|
function Je(e) {
|
|
@@ -3375,42 +3377,42 @@ function Je(e) {
|
|
|
3375
3377
|
}
|
|
3376
3378
|
};
|
|
3377
3379
|
}
|
|
3378
|
-
function
|
|
3380
|
+
function Gr(e) {
|
|
3379
3381
|
return e === void 0 && (e = {
|
|
3380
3382
|
number: {},
|
|
3381
3383
|
dateTime: {},
|
|
3382
3384
|
pluralRules: {}
|
|
3383
3385
|
}), {
|
|
3384
3386
|
getNumberFormat: Ze(function() {
|
|
3385
|
-
for (var t, i = [],
|
|
3386
|
-
i[
|
|
3387
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3387
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3388
|
+
i[n] = arguments[n];
|
|
3389
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], i, !1)))();
|
|
3388
3390
|
}, {
|
|
3389
3391
|
cache: Je(e.number),
|
|
3390
3392
|
strategy: Ye.variadic
|
|
3391
3393
|
}),
|
|
3392
3394
|
getDateTimeFormat: Ze(function() {
|
|
3393
|
-
for (var t, i = [],
|
|
3394
|
-
i[
|
|
3395
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3395
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3396
|
+
i[n] = arguments[n];
|
|
3397
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], i, !1)))();
|
|
3396
3398
|
}, {
|
|
3397
3399
|
cache: Je(e.dateTime),
|
|
3398
3400
|
strategy: Ye.variadic
|
|
3399
3401
|
}),
|
|
3400
3402
|
getPluralRules: Ze(function() {
|
|
3401
|
-
for (var t, i = [],
|
|
3402
|
-
i[
|
|
3403
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3403
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3404
|
+
i[n] = arguments[n];
|
|
3405
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], i, !1)))();
|
|
3404
3406
|
}, {
|
|
3405
3407
|
cache: Je(e.pluralRules),
|
|
3406
3408
|
strategy: Ye.variadic
|
|
3407
3409
|
})
|
|
3408
3410
|
};
|
|
3409
3411
|
}
|
|
3410
|
-
var
|
|
3412
|
+
var zr = (
|
|
3411
3413
|
/** @class */
|
|
3412
3414
|
function() {
|
|
3413
|
-
function e(t, i,
|
|
3415
|
+
function e(t, i, n, r) {
|
|
3414
3416
|
i === void 0 && (i = e.defaultLocale);
|
|
3415
3417
|
var o = this;
|
|
3416
3418
|
if (this.formatterCache = {
|
|
@@ -3418,13 +3420,13 @@ var Vn = (
|
|
|
3418
3420
|
dateTime: {},
|
|
3419
3421
|
pluralRules: {}
|
|
3420
3422
|
}, this.format = function(c) {
|
|
3421
|
-
var
|
|
3422
|
-
if (
|
|
3423
|
-
return
|
|
3424
|
-
var
|
|
3425
|
-
return !h.length ||
|
|
3423
|
+
var u = o.formatToParts(c);
|
|
3424
|
+
if (u.length === 1)
|
|
3425
|
+
return u[0].value;
|
|
3426
|
+
var l = u.reduce(function(h, m) {
|
|
3427
|
+
return !h.length || m.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(m.value) : h[h.length - 1] += m.value, h;
|
|
3426
3428
|
}, []);
|
|
3427
|
-
return
|
|
3429
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3428
3430
|
}, this.formatToParts = function(c) {
|
|
3429
3431
|
return Be(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3430
3432
|
}, this.resolvedOptions = function() {
|
|
@@ -3437,15 +3439,15 @@ var Vn = (
|
|
|
3437
3439
|
}, this.locales = i, this.resolvedLocale = e.resolveLocale(i), typeof t == "string") {
|
|
3438
3440
|
if (this.message = t, !e.__parse)
|
|
3439
3441
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3440
|
-
var s =
|
|
3442
|
+
var s = r || {};
|
|
3441
3443
|
s.formatters;
|
|
3442
|
-
var a =
|
|
3444
|
+
var a = Kn(s, ["formatters"]);
|
|
3443
3445
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3444
3446
|
} else
|
|
3445
3447
|
this.ast = t;
|
|
3446
3448
|
if (!Array.isArray(this.ast))
|
|
3447
3449
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3448
|
-
this.formats =
|
|
3450
|
+
this.formats = Fr(e.formats, n), this.formatters = r && r.formatters || Gr(this.formatterCache);
|
|
3449
3451
|
}
|
|
3450
3452
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3451
3453
|
get: function() {
|
|
@@ -3458,7 +3460,7 @@ var Vn = (
|
|
|
3458
3460
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3459
3461
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3460
3462
|
}
|
|
3461
|
-
}, e.__parse =
|
|
3463
|
+
}, e.__parse = Cr, e.formats = {
|
|
3462
3464
|
number: {
|
|
3463
3465
|
integer: {
|
|
3464
3466
|
maximumFractionDigits: 0
|
|
@@ -3519,113 +3521,113 @@ var Vn = (
|
|
|
3519
3521
|
}, e;
|
|
3520
3522
|
}()
|
|
3521
3523
|
);
|
|
3522
|
-
function
|
|
3524
|
+
function Wr(e, t) {
|
|
3523
3525
|
if (t == null)
|
|
3524
3526
|
return;
|
|
3525
3527
|
if (t in e)
|
|
3526
3528
|
return e[t];
|
|
3527
3529
|
const i = t.split(".");
|
|
3528
|
-
let
|
|
3529
|
-
for (let
|
|
3530
|
-
if (typeof
|
|
3531
|
-
if (
|
|
3532
|
-
const o = i.slice(
|
|
3533
|
-
if (o in
|
|
3534
|
-
|
|
3530
|
+
let n = e;
|
|
3531
|
+
for (let r = 0; r < i.length; r++)
|
|
3532
|
+
if (typeof n == "object") {
|
|
3533
|
+
if (r > 0) {
|
|
3534
|
+
const o = i.slice(r, i.length).join(".");
|
|
3535
|
+
if (o in n) {
|
|
3536
|
+
n = n[o];
|
|
3535
3537
|
break;
|
|
3536
3538
|
}
|
|
3537
3539
|
}
|
|
3538
|
-
|
|
3540
|
+
n = n[i[r]];
|
|
3539
3541
|
} else
|
|
3540
|
-
|
|
3541
|
-
return
|
|
3542
|
+
n = void 0;
|
|
3543
|
+
return n;
|
|
3542
3544
|
}
|
|
3543
|
-
const ee = {},
|
|
3545
|
+
const ee = {}, Vr = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), Ii = (e, t) => {
|
|
3544
3546
|
if (t == null)
|
|
3545
3547
|
return;
|
|
3546
3548
|
if (t in ee && e in ee[t])
|
|
3547
3549
|
return ee[t][e];
|
|
3548
3550
|
const i = Ue(t);
|
|
3549
|
-
for (let
|
|
3550
|
-
const
|
|
3551
|
+
for (let n = 0; n < i.length; n++) {
|
|
3552
|
+
const r = i[n], o = Zr(r, e);
|
|
3551
3553
|
if (o)
|
|
3552
|
-
return
|
|
3554
|
+
return Vr(e, t, o);
|
|
3553
3555
|
}
|
|
3554
3556
|
};
|
|
3555
|
-
let
|
|
3557
|
+
let bt;
|
|
3556
3558
|
const Te = De({});
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3559
|
+
function Xr(e) {
|
|
3560
|
+
return bt[e] || null;
|
|
3559
3561
|
}
|
|
3560
|
-
function
|
|
3561
|
-
return e in
|
|
3562
|
+
function Hi(e) {
|
|
3563
|
+
return e in bt;
|
|
3562
3564
|
}
|
|
3563
|
-
function
|
|
3564
|
-
if (!
|
|
3565
|
+
function Zr(e, t) {
|
|
3566
|
+
if (!Hi(e))
|
|
3565
3567
|
return null;
|
|
3566
|
-
const i =
|
|
3567
|
-
return
|
|
3568
|
+
const i = Xr(e);
|
|
3569
|
+
return Wr(i, t);
|
|
3568
3570
|
}
|
|
3569
|
-
function
|
|
3571
|
+
function Yr(e) {
|
|
3570
3572
|
if (e == null)
|
|
3571
3573
|
return;
|
|
3572
3574
|
const t = Ue(e);
|
|
3573
3575
|
for (let i = 0; i < t.length; i++) {
|
|
3574
|
-
const
|
|
3575
|
-
if (
|
|
3576
|
-
return
|
|
3576
|
+
const n = t[i];
|
|
3577
|
+
if (Hi(n))
|
|
3578
|
+
return n;
|
|
3577
3579
|
}
|
|
3578
3580
|
}
|
|
3579
|
-
function
|
|
3580
|
-
delete ee[e], Te.update((i) => (i[e] =
|
|
3581
|
+
function Oi(e, ...t) {
|
|
3582
|
+
delete ee[e], Te.update((i) => (i[e] = Qn.all([i[e] || {}, ...t]), i));
|
|
3581
3583
|
}
|
|
3582
|
-
|
|
3584
|
+
me(
|
|
3583
3585
|
[Te],
|
|
3584
3586
|
([e]) => Object.keys(e)
|
|
3585
3587
|
);
|
|
3586
|
-
Te.subscribe((e) =>
|
|
3588
|
+
Te.subscribe((e) => bt = e);
|
|
3587
3589
|
const Ne = {};
|
|
3588
|
-
function
|
|
3590
|
+
function qr(e, t) {
|
|
3589
3591
|
Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
|
|
3590
3592
|
}
|
|
3591
|
-
function
|
|
3593
|
+
function Mi(e) {
|
|
3592
3594
|
return Ne[e];
|
|
3593
3595
|
}
|
|
3594
|
-
function
|
|
3596
|
+
function Jr(e) {
|
|
3595
3597
|
return Ue(e).map((t) => {
|
|
3596
|
-
const i =
|
|
3598
|
+
const i = Mi(t);
|
|
3597
3599
|
return [t, i ? [...i] : []];
|
|
3598
3600
|
}).filter(([, t]) => t.length > 0);
|
|
3599
3601
|
}
|
|
3600
|
-
function
|
|
3602
|
+
function ct(e) {
|
|
3601
3603
|
return e == null ? !1 : Ue(e).some(
|
|
3602
3604
|
(t) => {
|
|
3603
3605
|
var i;
|
|
3604
|
-
return (i =
|
|
3606
|
+
return (i = Mi(t)) == null ? void 0 : i.size;
|
|
3605
3607
|
}
|
|
3606
3608
|
);
|
|
3607
3609
|
}
|
|
3608
|
-
function
|
|
3610
|
+
function Qr(e, t) {
|
|
3609
3611
|
return Promise.all(
|
|
3610
|
-
t.map((
|
|
3611
|
-
).then((
|
|
3612
|
+
t.map((n) => (qr(e, n), n().then((r) => r.default || r)))
|
|
3613
|
+
).then((n) => Oi(e, ...n));
|
|
3612
3614
|
}
|
|
3613
3615
|
const ge = {};
|
|
3614
|
-
function
|
|
3615
|
-
if (!
|
|
3616
|
+
function ki(e) {
|
|
3617
|
+
if (!ct(e))
|
|
3616
3618
|
return e in ge ? ge[e] : Promise.resolve();
|
|
3617
|
-
const t =
|
|
3619
|
+
const t = Jr(e);
|
|
3618
3620
|
return ge[e] = Promise.all(
|
|
3619
3621
|
t.map(
|
|
3620
|
-
([i,
|
|
3622
|
+
([i, n]) => Qr(i, n)
|
|
3621
3623
|
)
|
|
3622
3624
|
).then(() => {
|
|
3623
|
-
if (
|
|
3624
|
-
return
|
|
3625
|
+
if (ct(e))
|
|
3626
|
+
return ki(e);
|
|
3625
3627
|
delete ge[e];
|
|
3626
3628
|
}), ge[e];
|
|
3627
3629
|
}
|
|
3628
|
-
const
|
|
3630
|
+
const Kr = {
|
|
3629
3631
|
number: {
|
|
3630
3632
|
scientific: { notation: "scientific" },
|
|
3631
3633
|
engineering: { notation: "engineering" },
|
|
@@ -3654,178 +3656,178 @@ const to = {
|
|
|
3654
3656
|
timeZoneName: "short"
|
|
3655
3657
|
}
|
|
3656
3658
|
}
|
|
3657
|
-
},
|
|
3659
|
+
}, eo = {
|
|
3658
3660
|
fallbackLocale: null,
|
|
3659
3661
|
loadingDelay: 200,
|
|
3660
|
-
formats:
|
|
3662
|
+
formats: Kr,
|
|
3661
3663
|
warnOnMissingMessages: !0,
|
|
3662
3664
|
handleMissingMessage: void 0,
|
|
3663
3665
|
ignoreTag: !0
|
|
3664
|
-
},
|
|
3665
|
-
function
|
|
3666
|
-
return
|
|
3666
|
+
}, to = eo;
|
|
3667
|
+
function fe() {
|
|
3668
|
+
return to;
|
|
3667
3669
|
}
|
|
3668
3670
|
const Qe = De(!1);
|
|
3669
|
-
var
|
|
3670
|
-
for (var i in t
|
|
3671
|
-
|
|
3672
|
-
if (
|
|
3673
|
-
for (var i of
|
|
3674
|
-
|
|
3671
|
+
var io = Object.defineProperty, no = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Ut = (e, t, i) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ao = (e, t) => {
|
|
3672
|
+
for (var i in t)
|
|
3673
|
+
oo.call(t, i) && Ut(e, i, t[i]);
|
|
3674
|
+
if (Rt)
|
|
3675
|
+
for (var i of Rt(t))
|
|
3676
|
+
so.call(t, i) && Ut(e, i, t[i]);
|
|
3675
3677
|
return e;
|
|
3676
|
-
},
|
|
3677
|
-
let
|
|
3678
|
+
}, uo = (e, t) => no(e, ro(t));
|
|
3679
|
+
let ht;
|
|
3678
3680
|
const Me = De(null);
|
|
3679
|
-
function
|
|
3680
|
-
return e.split("-").map((t, i,
|
|
3681
|
+
function jt(e) {
|
|
3682
|
+
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3681
3683
|
}
|
|
3682
|
-
function Ue(e, t =
|
|
3683
|
-
const i =
|
|
3684
|
-
return t ? [.../* @__PURE__ */ new Set([...i,
|
|
3684
|
+
function Ue(e, t = fe().fallbackLocale) {
|
|
3685
|
+
const i = jt(e);
|
|
3686
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...jt(t)])] : i;
|
|
3685
3687
|
}
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3688
|
+
function ne() {
|
|
3689
|
+
return ht != null ? ht : void 0;
|
|
3688
3690
|
}
|
|
3689
3691
|
Me.subscribe((e) => {
|
|
3690
|
-
|
|
3692
|
+
ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3691
3693
|
});
|
|
3692
|
-
const
|
|
3693
|
-
if (e &&
|
|
3694
|
-
const { loadingDelay: t } =
|
|
3694
|
+
const lo = (e) => {
|
|
3695
|
+
if (e && Yr(e) && ct(e)) {
|
|
3696
|
+
const { loadingDelay: t } = fe();
|
|
3695
3697
|
let i;
|
|
3696
|
-
return typeof window != "undefined" &&
|
|
3698
|
+
return typeof window != "undefined" && ne() != null && t ? i = window.setTimeout(
|
|
3697
3699
|
() => Qe.set(!0),
|
|
3698
3700
|
t
|
|
3699
|
-
) : Qe.set(!0),
|
|
3701
|
+
) : Qe.set(!0), ki(e).then(() => {
|
|
3700
3702
|
Me.set(e);
|
|
3701
3703
|
}).finally(() => {
|
|
3702
3704
|
clearTimeout(i), Qe.set(!1);
|
|
3703
3705
|
});
|
|
3704
3706
|
}
|
|
3705
3707
|
return Me.set(e);
|
|
3706
|
-
}, pe =
|
|
3707
|
-
set:
|
|
3708
|
+
}, pe = uo(ao({}, Me), {
|
|
3709
|
+
set: lo
|
|
3708
3710
|
}), je = (e) => {
|
|
3709
3711
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3710
|
-
return (
|
|
3711
|
-
const
|
|
3712
|
-
return
|
|
3712
|
+
return (n) => {
|
|
3713
|
+
const r = JSON.stringify(n);
|
|
3714
|
+
return r in t ? t[r] : t[r] = e(n);
|
|
3713
3715
|
};
|
|
3714
3716
|
};
|
|
3715
|
-
var
|
|
3717
|
+
var co = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, $t = (e, t, i) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, gt = (e, t) => {
|
|
3716
3718
|
for (var i in t || (t = {}))
|
|
3717
|
-
|
|
3719
|
+
Ci.call(t, i) && $t(e, i, t[i]);
|
|
3718
3720
|
if (ke)
|
|
3719
3721
|
for (var i of ke(t))
|
|
3720
|
-
|
|
3722
|
+
Di.call(t, i) && $t(e, i, t[i]);
|
|
3721
3723
|
return e;
|
|
3722
3724
|
}, de = (e, t) => {
|
|
3723
3725
|
var i = {};
|
|
3724
|
-
for (var
|
|
3725
|
-
|
|
3726
|
+
for (var n in e)
|
|
3727
|
+
Ci.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3726
3728
|
if (e != null && ke)
|
|
3727
|
-
for (var
|
|
3728
|
-
t.indexOf(
|
|
3729
|
+
for (var n of ke(e))
|
|
3730
|
+
t.indexOf(n) < 0 && Di.call(e, n) && (i[n] = e[n]);
|
|
3729
3731
|
return i;
|
|
3730
3732
|
};
|
|
3731
3733
|
const xe = (e, t) => {
|
|
3732
|
-
const { formats: i } =
|
|
3734
|
+
const { formats: i } = fe();
|
|
3733
3735
|
if (e in i && t in i[e])
|
|
3734
3736
|
return i[e][t];
|
|
3735
3737
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3736
|
-
},
|
|
3738
|
+
}, ho = je(
|
|
3737
3739
|
(e) => {
|
|
3738
|
-
var t = e, { locale: i, format:
|
|
3740
|
+
var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
|
|
3739
3741
|
if (i == null)
|
|
3740
3742
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3741
|
-
return
|
|
3743
|
+
return n && (r = xe("number", n)), new Intl.NumberFormat(i, r);
|
|
3742
3744
|
}
|
|
3743
|
-
),
|
|
3745
|
+
), fo = je(
|
|
3744
3746
|
(e) => {
|
|
3745
|
-
var t = e, { locale: i, format:
|
|
3747
|
+
var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
|
|
3746
3748
|
if (i == null)
|
|
3747
3749
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3748
|
-
return
|
|
3750
|
+
return n ? r = xe("date", n) : Object.keys(r).length === 0 && (r = xe("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3749
3751
|
}
|
|
3750
|
-
),
|
|
3752
|
+
), mo = je(
|
|
3751
3753
|
(e) => {
|
|
3752
|
-
var t = e, { locale: i, format:
|
|
3754
|
+
var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
|
|
3753
3755
|
if (i == null)
|
|
3754
3756
|
throw new Error(
|
|
3755
3757
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3756
3758
|
);
|
|
3757
|
-
return
|
|
3759
|
+
return n ? r = xe("time", n) : Object.keys(r).length === 0 && (r = xe("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3758
3760
|
}
|
|
3759
|
-
),
|
|
3761
|
+
), po = (e = {}) => {
|
|
3760
3762
|
var t = e, {
|
|
3761
|
-
locale: i =
|
|
3762
|
-
} = t,
|
|
3763
|
+
locale: i = ne()
|
|
3764
|
+
} = t, n = de(t, [
|
|
3763
3765
|
"locale"
|
|
3764
3766
|
]);
|
|
3765
|
-
return
|
|
3766
|
-
},
|
|
3767
|
+
return ho(gt({ locale: i }, n));
|
|
3768
|
+
}, bo = (e = {}) => {
|
|
3767
3769
|
var t = e, {
|
|
3768
|
-
locale: i =
|
|
3769
|
-
} = t,
|
|
3770
|
+
locale: i = ne()
|
|
3771
|
+
} = t, n = de(t, [
|
|
3770
3772
|
"locale"
|
|
3771
3773
|
]);
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3774
|
+
return fo(gt({ locale: i }, n));
|
|
3775
|
+
}, go = (e = {}) => {
|
|
3774
3776
|
var t = e, {
|
|
3775
|
-
locale: i =
|
|
3776
|
-
} = t,
|
|
3777
|
+
locale: i = ne()
|
|
3778
|
+
} = t, n = de(t, [
|
|
3777
3779
|
"locale"
|
|
3778
3780
|
]);
|
|
3779
|
-
return
|
|
3780
|
-
},
|
|
3781
|
+
return mo(gt({ locale: i }, n));
|
|
3782
|
+
}, yo = je(
|
|
3781
3783
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3782
|
-
(e, t =
|
|
3783
|
-
ignoreTag:
|
|
3784
|
+
(e, t = ne()) => new zr(e, t, fe().formats, {
|
|
3785
|
+
ignoreTag: fe().ignoreTag
|
|
3784
3786
|
})
|
|
3785
|
-
),
|
|
3786
|
-
var i,
|
|
3787
|
+
), vo = (e, t = {}) => {
|
|
3788
|
+
var i, n, r, o;
|
|
3787
3789
|
let s = t;
|
|
3788
3790
|
typeof e == "object" && (s = e, e = s.id);
|
|
3789
3791
|
const {
|
|
3790
3792
|
values: a,
|
|
3791
|
-
locale: c =
|
|
3792
|
-
default:
|
|
3793
|
+
locale: c = ne(),
|
|
3794
|
+
default: u
|
|
3793
3795
|
} = s;
|
|
3794
3796
|
if (c == null)
|
|
3795
3797
|
throw new Error(
|
|
3796
3798
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3797
3799
|
);
|
|
3798
|
-
let
|
|
3799
|
-
if (!
|
|
3800
|
-
|
|
3801
|
-
else if (typeof
|
|
3800
|
+
let l = Ii(e, c);
|
|
3801
|
+
if (!l)
|
|
3802
|
+
l = (o = (r = (n = (i = fe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: c, id: e, defaultValue: u })) != null ? r : u) != null ? o : e;
|
|
3803
|
+
else if (typeof l != "string")
|
|
3802
3804
|
return console.warn(
|
|
3803
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3804
|
-
),
|
|
3805
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3806
|
+
), l;
|
|
3805
3807
|
if (!a)
|
|
3806
|
-
return
|
|
3807
|
-
let h =
|
|
3808
|
+
return l;
|
|
3809
|
+
let h = l;
|
|
3808
3810
|
try {
|
|
3809
|
-
h =
|
|
3810
|
-
} catch (
|
|
3811
|
-
|
|
3811
|
+
h = yo(l, c).format(a);
|
|
3812
|
+
} catch (m) {
|
|
3813
|
+
m instanceof Error && console.warn(
|
|
3812
3814
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3813
|
-
|
|
3815
|
+
m.message
|
|
3814
3816
|
);
|
|
3815
3817
|
}
|
|
3816
3818
|
return h;
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3823
|
-
|
|
3824
|
-
}
|
|
3825
|
-
function
|
|
3819
|
+
}, _o = (e, t) => go(t).format(e), Eo = (e, t) => bo(t).format(e), Lo = (e, t) => po(t).format(e), xo = (e, t = ne()) => Ii(e, t), To = me([pe, Te], () => vo);
|
|
3820
|
+
me([pe], () => _o);
|
|
3821
|
+
me([pe], () => Eo);
|
|
3822
|
+
me([pe], () => Lo);
|
|
3823
|
+
me([pe, Te], () => xo);
|
|
3824
|
+
function Ft(e, t) {
|
|
3825
|
+
Oi(e, t);
|
|
3826
|
+
}
|
|
3827
|
+
function wo(e) {
|
|
3826
3828
|
pe.set(e);
|
|
3827
3829
|
}
|
|
3828
|
-
const
|
|
3830
|
+
const Gt = {
|
|
3829
3831
|
en: {
|
|
3830
3832
|
loadingText: "Loading, please wait...",
|
|
3831
3833
|
Monthly: "per month",
|
|
@@ -4281,17 +4283,17 @@ const Wt = {
|
|
|
4281
4283
|
function J(e) {
|
|
4282
4284
|
return typeof e == "function";
|
|
4283
4285
|
}
|
|
4284
|
-
function
|
|
4285
|
-
var t = function(
|
|
4286
|
-
Error.call(
|
|
4286
|
+
function Ri(e) {
|
|
4287
|
+
var t = function(n) {
|
|
4288
|
+
Error.call(n), n.stack = new Error().stack;
|
|
4287
4289
|
}, i = e(t);
|
|
4288
4290
|
return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
|
|
4289
4291
|
}
|
|
4290
|
-
var Ke =
|
|
4292
|
+
var Ke = Ri(function(e) {
|
|
4291
4293
|
return function(i) {
|
|
4292
4294
|
e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
|
|
4293
|
-
` + i.map(function(
|
|
4294
|
-
return
|
|
4295
|
+
` + i.map(function(n, r) {
|
|
4296
|
+
return r + 1 + ") " + n.toString();
|
|
4295
4297
|
}).join(`
|
|
4296
4298
|
`) : "", this.name = "UnsubscriptionError", this.errors = i;
|
|
4297
4299
|
};
|
|
@@ -4302,21 +4304,21 @@ function ft(e, t) {
|
|
|
4302
4304
|
0 <= i && e.splice(i, 1);
|
|
4303
4305
|
}
|
|
4304
4306
|
}
|
|
4305
|
-
var
|
|
4307
|
+
var $e = function() {
|
|
4306
4308
|
function e(t) {
|
|
4307
4309
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
4308
4310
|
}
|
|
4309
4311
|
return e.prototype.unsubscribe = function() {
|
|
4310
|
-
var t, i,
|
|
4312
|
+
var t, i, n, r, o;
|
|
4311
4313
|
if (!this.closed) {
|
|
4312
4314
|
this.closed = !0;
|
|
4313
4315
|
var s = this._parentage;
|
|
4314
4316
|
if (s)
|
|
4315
4317
|
if (this._parentage = null, Array.isArray(s))
|
|
4316
4318
|
try {
|
|
4317
|
-
for (var a =
|
|
4318
|
-
var
|
|
4319
|
-
|
|
4319
|
+
for (var a = it(s), c = a.next(); !c.done; c = a.next()) {
|
|
4320
|
+
var u = c.value;
|
|
4321
|
+
u.remove(this);
|
|
4320
4322
|
}
|
|
4321
4323
|
} catch (_) {
|
|
4322
4324
|
t = { error: _ };
|
|
@@ -4330,10 +4332,10 @@ var Fe = function() {
|
|
|
4330
4332
|
}
|
|
4331
4333
|
else
|
|
4332
4334
|
s.remove(this);
|
|
4333
|
-
var
|
|
4334
|
-
if (J(
|
|
4335
|
+
var l = this.initialTeardown;
|
|
4336
|
+
if (J(l))
|
|
4335
4337
|
try {
|
|
4336
|
-
|
|
4338
|
+
l();
|
|
4337
4339
|
} catch (_) {
|
|
4338
4340
|
o = _ instanceof Ke ? _.errors : [_];
|
|
4339
4341
|
}
|
|
@@ -4341,22 +4343,22 @@ var Fe = function() {
|
|
|
4341
4343
|
if (h) {
|
|
4342
4344
|
this._finalizers = null;
|
|
4343
4345
|
try {
|
|
4344
|
-
for (var
|
|
4345
|
-
var p =
|
|
4346
|
+
for (var m = it(h), f = m.next(); !f.done; f = m.next()) {
|
|
4347
|
+
var p = f.value;
|
|
4346
4348
|
try {
|
|
4347
|
-
|
|
4349
|
+
zt(p);
|
|
4348
4350
|
} catch (_) {
|
|
4349
|
-
o = o != null ? o : [], _ instanceof Ke ? o =
|
|
4351
|
+
o = o != null ? o : [], _ instanceof Ke ? o = ue(ue([], nt(o)), nt(_.errors)) : o.push(_);
|
|
4350
4352
|
}
|
|
4351
4353
|
}
|
|
4352
4354
|
} catch (_) {
|
|
4353
|
-
|
|
4355
|
+
n = { error: _ };
|
|
4354
4356
|
} finally {
|
|
4355
4357
|
try {
|
|
4356
|
-
|
|
4358
|
+
f && !f.done && (r = m.return) && r.call(m);
|
|
4357
4359
|
} finally {
|
|
4358
|
-
if (
|
|
4359
|
-
throw
|
|
4360
|
+
if (n)
|
|
4361
|
+
throw n.error;
|
|
4360
4362
|
}
|
|
4361
4363
|
}
|
|
4362
4364
|
}
|
|
@@ -4367,7 +4369,7 @@ var Fe = function() {
|
|
|
4367
4369
|
var i;
|
|
4368
4370
|
if (t && t !== this)
|
|
4369
4371
|
if (this.closed)
|
|
4370
|
-
|
|
4372
|
+
zt(t);
|
|
4371
4373
|
else {
|
|
4372
4374
|
if (t instanceof e) {
|
|
4373
4375
|
if (t.closed || t._hasParent(this))
|
|
@@ -4392,48 +4394,48 @@ var Fe = function() {
|
|
|
4392
4394
|
var t = new e();
|
|
4393
4395
|
return t.closed = !0, t;
|
|
4394
4396
|
}(), e;
|
|
4395
|
-
}(),
|
|
4396
|
-
function
|
|
4397
|
-
return e instanceof
|
|
4397
|
+
}(), Ui = $e.EMPTY;
|
|
4398
|
+
function ji(e) {
|
|
4399
|
+
return e instanceof $e || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
|
|
4398
4400
|
}
|
|
4399
|
-
function
|
|
4401
|
+
function zt(e) {
|
|
4400
4402
|
J(e) ? e() : e.unsubscribe();
|
|
4401
4403
|
}
|
|
4402
|
-
var
|
|
4404
|
+
var So = {
|
|
4403
4405
|
onUnhandledError: null,
|
|
4404
4406
|
onStoppedNotification: null,
|
|
4405
4407
|
Promise: void 0,
|
|
4406
4408
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
4407
4409
|
useDeprecatedNextContext: !1
|
|
4408
|
-
},
|
|
4410
|
+
}, Po = {
|
|
4409
4411
|
setTimeout: function(e, t) {
|
|
4410
|
-
for (var i = [],
|
|
4411
|
-
i[
|
|
4412
|
-
return setTimeout.apply(void 0,
|
|
4412
|
+
for (var i = [], n = 2; n < arguments.length; n++)
|
|
4413
|
+
i[n - 2] = arguments[n];
|
|
4414
|
+
return setTimeout.apply(void 0, ue([e, t], nt(i)));
|
|
4413
4415
|
},
|
|
4414
4416
|
clearTimeout: function(e) {
|
|
4415
4417
|
return clearTimeout(e);
|
|
4416
4418
|
},
|
|
4417
4419
|
delegate: void 0
|
|
4418
4420
|
};
|
|
4419
|
-
function
|
|
4420
|
-
|
|
4421
|
+
function Ao(e) {
|
|
4422
|
+
Po.setTimeout(function() {
|
|
4421
4423
|
throw e;
|
|
4422
4424
|
});
|
|
4423
4425
|
}
|
|
4424
|
-
function
|
|
4426
|
+
function Wt() {
|
|
4425
4427
|
}
|
|
4426
4428
|
function Ie(e) {
|
|
4427
4429
|
e();
|
|
4428
4430
|
}
|
|
4429
|
-
var
|
|
4431
|
+
var $i = function(e) {
|
|
4430
4432
|
Q(t, e);
|
|
4431
4433
|
function t(i) {
|
|
4432
|
-
var
|
|
4433
|
-
return
|
|
4434
|
+
var n = e.call(this) || this;
|
|
4435
|
+
return n.isStopped = !1, i ? (n.destination = i, ji(i) && i.add(n)) : n.destination = Io, n;
|
|
4434
4436
|
}
|
|
4435
|
-
return t.create = function(i,
|
|
4436
|
-
return new
|
|
4437
|
+
return t.create = function(i, n, r) {
|
|
4438
|
+
return new mt(i, n, r);
|
|
4437
4439
|
}, t.prototype.next = function(i) {
|
|
4438
4440
|
this.isStopped || this._next(i);
|
|
4439
4441
|
}, t.prototype.error = function(i) {
|
|
@@ -4457,11 +4459,7 @@ var zi = function(e) {
|
|
|
4457
4459
|
this.unsubscribe();
|
|
4458
4460
|
}
|
|
4459
4461
|
}, t;
|
|
4460
|
-
}(
|
|
4461
|
-
function et(e, t) {
|
|
4462
|
-
return No.call(e, t);
|
|
4463
|
-
}
|
|
4464
|
-
var Io = function() {
|
|
4462
|
+
}($e), Bo = function() {
|
|
4465
4463
|
function e(t) {
|
|
4466
4464
|
this.partialObserver = t;
|
|
4467
4465
|
}
|
|
@@ -4470,16 +4468,16 @@ var Io = function() {
|
|
|
4470
4468
|
if (i.next)
|
|
4471
4469
|
try {
|
|
4472
4470
|
i.next(t);
|
|
4473
|
-
} catch (
|
|
4474
|
-
Pe(
|
|
4471
|
+
} catch (n) {
|
|
4472
|
+
Pe(n);
|
|
4475
4473
|
}
|
|
4476
4474
|
}, e.prototype.error = function(t) {
|
|
4477
4475
|
var i = this.partialObserver;
|
|
4478
4476
|
if (i.error)
|
|
4479
4477
|
try {
|
|
4480
4478
|
i.error(t);
|
|
4481
|
-
} catch (
|
|
4482
|
-
Pe(
|
|
4479
|
+
} catch (n) {
|
|
4480
|
+
Pe(n);
|
|
4483
4481
|
}
|
|
4484
4482
|
else
|
|
4485
4483
|
Pe(t);
|
|
@@ -4492,66 +4490,54 @@ var Io = function() {
|
|
|
4492
4490
|
Pe(i);
|
|
4493
4491
|
}
|
|
4494
4492
|
}, e;
|
|
4495
|
-
}(),
|
|
4493
|
+
}(), mt = function(e) {
|
|
4496
4494
|
Q(t, e);
|
|
4497
|
-
function t(i,
|
|
4495
|
+
function t(i, n, r) {
|
|
4498
4496
|
var o = e.call(this) || this, s;
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
};
|
|
4505
|
-
else {
|
|
4506
|
-
var a;
|
|
4507
|
-
o && Gi.useDeprecatedNextContext ? (a = Object.create(i), a.unsubscribe = function() {
|
|
4508
|
-
return o.unsubscribe();
|
|
4509
|
-
}, s = {
|
|
4510
|
-
next: i.next && et(i.next, a),
|
|
4511
|
-
error: i.error && et(i.error, a),
|
|
4512
|
-
complete: i.complete && et(i.complete, a)
|
|
4513
|
-
}) : s = i;
|
|
4514
|
-
}
|
|
4515
|
-
return o.destination = new Io(s), o;
|
|
4497
|
+
return J(i) || !i ? s = {
|
|
4498
|
+
next: i != null ? i : void 0,
|
|
4499
|
+
error: n != null ? n : void 0,
|
|
4500
|
+
complete: r != null ? r : void 0
|
|
4501
|
+
} : s = i, o.destination = new Bo(s), o;
|
|
4516
4502
|
}
|
|
4517
4503
|
return t;
|
|
4518
|
-
}(
|
|
4504
|
+
}($i);
|
|
4519
4505
|
function Pe(e) {
|
|
4520
|
-
|
|
4506
|
+
Ao(e);
|
|
4521
4507
|
}
|
|
4522
|
-
function
|
|
4508
|
+
function No(e) {
|
|
4523
4509
|
throw e;
|
|
4524
4510
|
}
|
|
4525
|
-
var
|
|
4511
|
+
var Io = {
|
|
4526
4512
|
closed: !0,
|
|
4527
|
-
next:
|
|
4528
|
-
error:
|
|
4529
|
-
complete:
|
|
4530
|
-
},
|
|
4513
|
+
next: Wt,
|
|
4514
|
+
error: No,
|
|
4515
|
+
complete: Wt
|
|
4516
|
+
}, Ho = function() {
|
|
4531
4517
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4532
4518
|
}();
|
|
4533
|
-
function
|
|
4519
|
+
function Oo(e) {
|
|
4534
4520
|
return e;
|
|
4535
4521
|
}
|
|
4536
|
-
function
|
|
4537
|
-
return e.length === 0 ?
|
|
4538
|
-
return e.reduce(function(
|
|
4539
|
-
return n
|
|
4522
|
+
function Mo(e) {
|
|
4523
|
+
return e.length === 0 ? Oo : e.length === 1 ? e[0] : function(i) {
|
|
4524
|
+
return e.reduce(function(n, r) {
|
|
4525
|
+
return r(n);
|
|
4540
4526
|
}, i);
|
|
4541
4527
|
};
|
|
4542
4528
|
}
|
|
4543
|
-
var
|
|
4529
|
+
var Vt = function() {
|
|
4544
4530
|
function e(t) {
|
|
4545
4531
|
t && (this._subscribe = t);
|
|
4546
4532
|
}
|
|
4547
4533
|
return e.prototype.lift = function(t) {
|
|
4548
4534
|
var i = new e();
|
|
4549
4535
|
return i.source = this, i.operator = t, i;
|
|
4550
|
-
}, e.prototype.subscribe = function(t, i,
|
|
4551
|
-
var
|
|
4536
|
+
}, e.prototype.subscribe = function(t, i, n) {
|
|
4537
|
+
var r = this, o = Co(t) ? t : new mt(t, i, n);
|
|
4552
4538
|
return Ie(function() {
|
|
4553
|
-
var s =
|
|
4554
|
-
o.add(a ? a.call(o, c) : c ?
|
|
4539
|
+
var s = r, a = s.operator, c = s.source;
|
|
4540
|
+
o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
|
|
4555
4541
|
}), o;
|
|
4556
4542
|
}, e.prototype._trySubscribe = function(t) {
|
|
4557
4543
|
try {
|
|
@@ -4560,9 +4546,9 @@ var Zt = function() {
|
|
|
4560
4546
|
t.error(i);
|
|
4561
4547
|
}
|
|
4562
4548
|
}, e.prototype.forEach = function(t, i) {
|
|
4563
|
-
var
|
|
4564
|
-
return i =
|
|
4565
|
-
var s = new
|
|
4549
|
+
var n = this;
|
|
4550
|
+
return i = Xt(i), new i(function(r, o) {
|
|
4551
|
+
var s = new mt({
|
|
4566
4552
|
next: function(a) {
|
|
4567
4553
|
try {
|
|
4568
4554
|
t(a);
|
|
@@ -4571,91 +4557,91 @@ var Zt = function() {
|
|
|
4571
4557
|
}
|
|
4572
4558
|
},
|
|
4573
4559
|
error: o,
|
|
4574
|
-
complete:
|
|
4560
|
+
complete: r
|
|
4575
4561
|
});
|
|
4576
|
-
|
|
4562
|
+
n.subscribe(s);
|
|
4577
4563
|
});
|
|
4578
4564
|
}, e.prototype._subscribe = function(t) {
|
|
4579
4565
|
var i;
|
|
4580
4566
|
return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
|
|
4581
|
-
}, e.prototype[
|
|
4567
|
+
}, e.prototype[Ho] = function() {
|
|
4582
4568
|
return this;
|
|
4583
4569
|
}, e.prototype.pipe = function() {
|
|
4584
4570
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
4585
4571
|
t[i] = arguments[i];
|
|
4586
|
-
return
|
|
4572
|
+
return Mo(t)(this);
|
|
4587
4573
|
}, e.prototype.toPromise = function(t) {
|
|
4588
4574
|
var i = this;
|
|
4589
|
-
return t =
|
|
4575
|
+
return t = Xt(t), new t(function(n, r) {
|
|
4590
4576
|
var o;
|
|
4591
4577
|
i.subscribe(function(s) {
|
|
4592
4578
|
return o = s;
|
|
4593
4579
|
}, function(s) {
|
|
4594
|
-
return
|
|
4580
|
+
return r(s);
|
|
4595
4581
|
}, function() {
|
|
4596
|
-
return
|
|
4582
|
+
return n(o);
|
|
4597
4583
|
});
|
|
4598
4584
|
});
|
|
4599
4585
|
}, e.create = function(t) {
|
|
4600
4586
|
return new e(t);
|
|
4601
4587
|
}, e;
|
|
4602
4588
|
}();
|
|
4603
|
-
function
|
|
4589
|
+
function Xt(e) {
|
|
4604
4590
|
var t;
|
|
4605
|
-
return (t = e != null ? e :
|
|
4591
|
+
return (t = e != null ? e : So.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4606
4592
|
}
|
|
4607
|
-
function
|
|
4593
|
+
function ko(e) {
|
|
4608
4594
|
return e && J(e.next) && J(e.error) && J(e.complete);
|
|
4609
4595
|
}
|
|
4610
|
-
function
|
|
4611
|
-
return e && e instanceof
|
|
4596
|
+
function Co(e) {
|
|
4597
|
+
return e && e instanceof $i || ko(e) && ji(e);
|
|
4612
4598
|
}
|
|
4613
|
-
var
|
|
4599
|
+
var Do = Ri(function(e) {
|
|
4614
4600
|
return function() {
|
|
4615
4601
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4616
4602
|
};
|
|
4617
|
-
}),
|
|
4603
|
+
}), Fi = function(e) {
|
|
4618
4604
|
Q(t, e);
|
|
4619
4605
|
function t() {
|
|
4620
4606
|
var i = e.call(this) || this;
|
|
4621
4607
|
return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
|
|
4622
4608
|
}
|
|
4623
4609
|
return t.prototype.lift = function(i) {
|
|
4624
|
-
var
|
|
4625
|
-
return
|
|
4610
|
+
var n = new Zt(this, this);
|
|
4611
|
+
return n.operator = i, n;
|
|
4626
4612
|
}, t.prototype._throwIfClosed = function() {
|
|
4627
4613
|
if (this.closed)
|
|
4628
|
-
throw new
|
|
4614
|
+
throw new Do();
|
|
4629
4615
|
}, t.prototype.next = function(i) {
|
|
4630
|
-
var
|
|
4616
|
+
var n = this;
|
|
4631
4617
|
Ie(function() {
|
|
4632
|
-
var
|
|
4633
|
-
if (
|
|
4634
|
-
|
|
4618
|
+
var r, o;
|
|
4619
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
4620
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
4635
4621
|
try {
|
|
4636
|
-
for (var s =
|
|
4622
|
+
for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4637
4623
|
var c = a.value;
|
|
4638
4624
|
c.next(i);
|
|
4639
4625
|
}
|
|
4640
|
-
} catch (
|
|
4641
|
-
|
|
4626
|
+
} catch (u) {
|
|
4627
|
+
r = { error: u };
|
|
4642
4628
|
} finally {
|
|
4643
4629
|
try {
|
|
4644
4630
|
a && !a.done && (o = s.return) && o.call(s);
|
|
4645
4631
|
} finally {
|
|
4646
|
-
if (
|
|
4647
|
-
throw
|
|
4632
|
+
if (r)
|
|
4633
|
+
throw r.error;
|
|
4648
4634
|
}
|
|
4649
4635
|
}
|
|
4650
4636
|
}
|
|
4651
4637
|
});
|
|
4652
4638
|
}, t.prototype.error = function(i) {
|
|
4653
|
-
var
|
|
4639
|
+
var n = this;
|
|
4654
4640
|
Ie(function() {
|
|
4655
|
-
if (
|
|
4656
|
-
|
|
4657
|
-
for (var
|
|
4658
|
-
|
|
4641
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
4642
|
+
n.hasError = n.isStopped = !0, n.thrownError = i;
|
|
4643
|
+
for (var r = n.observers; r.length; )
|
|
4644
|
+
r.shift().error(i);
|
|
4659
4645
|
}
|
|
4660
4646
|
});
|
|
4661
4647
|
}, t.prototype.complete = function() {
|
|
@@ -4663,8 +4649,8 @@ var Uo = ji(function(e) {
|
|
|
4663
4649
|
Ie(function() {
|
|
4664
4650
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4665
4651
|
i.isStopped = !0;
|
|
4666
|
-
for (var
|
|
4667
|
-
|
|
4652
|
+
for (var n = i.observers; n.length; )
|
|
4653
|
+
n.shift().complete();
|
|
4668
4654
|
}
|
|
4669
4655
|
});
|
|
4670
4656
|
}, t.prototype.unsubscribe = function() {
|
|
@@ -4681,127 +4667,127 @@ var Uo = ji(function(e) {
|
|
|
4681
4667
|
}, t.prototype._subscribe = function(i) {
|
|
4682
4668
|
return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
|
|
4683
4669
|
}, t.prototype._innerSubscribe = function(i) {
|
|
4684
|
-
var
|
|
4685
|
-
return o || s ?
|
|
4686
|
-
|
|
4670
|
+
var n = this, r = this, o = r.hasError, s = r.isStopped, a = r.observers;
|
|
4671
|
+
return o || s ? Ui : (this.currentObservers = null, a.push(i), new $e(function() {
|
|
4672
|
+
n.currentObservers = null, ft(a, i);
|
|
4687
4673
|
}));
|
|
4688
4674
|
}, t.prototype._checkFinalizedStatuses = function(i) {
|
|
4689
|
-
var
|
|
4690
|
-
|
|
4675
|
+
var n = this, r = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
4676
|
+
r ? i.error(o) : s && i.complete();
|
|
4691
4677
|
}, t.prototype.asObservable = function() {
|
|
4692
|
-
var i = new
|
|
4678
|
+
var i = new Vt();
|
|
4693
4679
|
return i.source = this, i;
|
|
4694
|
-
}, t.create = function(i,
|
|
4695
|
-
return new
|
|
4680
|
+
}, t.create = function(i, n) {
|
|
4681
|
+
return new Zt(i, n);
|
|
4696
4682
|
}, t;
|
|
4697
|
-
}(
|
|
4683
|
+
}(Vt), Zt = function(e) {
|
|
4698
4684
|
Q(t, e);
|
|
4699
|
-
function t(i,
|
|
4700
|
-
var
|
|
4701
|
-
return
|
|
4685
|
+
function t(i, n) {
|
|
4686
|
+
var r = e.call(this) || this;
|
|
4687
|
+
return r.destination = i, r.source = n, r;
|
|
4702
4688
|
}
|
|
4703
4689
|
return t.prototype.next = function(i) {
|
|
4704
|
-
var
|
|
4705
|
-
(
|
|
4690
|
+
var n, r;
|
|
4691
|
+
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || r === void 0 || r.call(n, i);
|
|
4706
4692
|
}, t.prototype.error = function(i) {
|
|
4707
|
-
var
|
|
4708
|
-
(
|
|
4693
|
+
var n, r;
|
|
4694
|
+
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || r === void 0 || r.call(n, i);
|
|
4709
4695
|
}, t.prototype.complete = function() {
|
|
4710
|
-
var i,
|
|
4711
|
-
(
|
|
4696
|
+
var i, n;
|
|
4697
|
+
(n = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || n === void 0 || n.call(i);
|
|
4712
4698
|
}, t.prototype._subscribe = function(i) {
|
|
4713
|
-
var
|
|
4714
|
-
return (
|
|
4699
|
+
var n, r;
|
|
4700
|
+
return (r = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(i)) !== null && r !== void 0 ? r : Ui;
|
|
4715
4701
|
}, t;
|
|
4716
|
-
}(
|
|
4702
|
+
}(Fi), Gi = {
|
|
4717
4703
|
now: function() {
|
|
4718
|
-
return (
|
|
4704
|
+
return (Gi.delegate || Date).now();
|
|
4719
4705
|
},
|
|
4720
4706
|
delegate: void 0
|
|
4721
|
-
},
|
|
4707
|
+
}, Ro = function(e) {
|
|
4722
4708
|
Q(t, e);
|
|
4723
|
-
function t(i,
|
|
4724
|
-
i === void 0 && (i = 1 / 0),
|
|
4709
|
+
function t(i, n, r) {
|
|
4710
|
+
i === void 0 && (i = 1 / 0), n === void 0 && (n = 1 / 0), r === void 0 && (r = Gi);
|
|
4725
4711
|
var o = e.call(this) || this;
|
|
4726
|
-
return o._bufferSize = i, o._windowTime =
|
|
4712
|
+
return o._bufferSize = i, o._windowTime = n, o._timestampProvider = r, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, n), o;
|
|
4727
4713
|
}
|
|
4728
4714
|
return t.prototype.next = function(i) {
|
|
4729
|
-
var
|
|
4730
|
-
|
|
4715
|
+
var n = this, r = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
|
|
4716
|
+
r || (o.push(i), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, i);
|
|
4731
4717
|
}, t.prototype._subscribe = function(i) {
|
|
4732
4718
|
this._throwIfClosed(), this._trimBuffer();
|
|
4733
|
-
for (var
|
|
4719
|
+
for (var n = this._innerSubscribe(i), r = this, o = r._infiniteTimeWindow, s = r._buffer, a = s.slice(), c = 0; c < a.length && !i.closed; c += o ? 1 : 2)
|
|
4734
4720
|
i.next(a[c]);
|
|
4735
|
-
return this._checkFinalizedStatuses(i),
|
|
4721
|
+
return this._checkFinalizedStatuses(i), n;
|
|
4736
4722
|
}, t.prototype._trimBuffer = function() {
|
|
4737
|
-
var i = this,
|
|
4738
|
-
if (
|
|
4739
|
-
for (var c =
|
|
4740
|
-
|
|
4741
|
-
|
|
4723
|
+
var i = this, n = i._bufferSize, r = i._timestampProvider, o = i._buffer, s = i._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
4724
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
4725
|
+
for (var c = r.now(), u = 0, l = 1; l < o.length && o[l] <= c; l += 2)
|
|
4726
|
+
u = l;
|
|
4727
|
+
u && o.splice(0, u + 1);
|
|
4742
4728
|
}
|
|
4743
4729
|
}, t;
|
|
4744
|
-
}(
|
|
4745
|
-
const
|
|
4746
|
-
if (
|
|
4747
|
-
const i = new
|
|
4748
|
-
|
|
4730
|
+
}(Fi);
|
|
4731
|
+
const Yt = [], qt = {}, Uo = (e, t = 0) => {
|
|
4732
|
+
if (Yt.indexOf(e) == -1) {
|
|
4733
|
+
const i = new Ro(t);
|
|
4734
|
+
qt[e] = i, Yt.push(e);
|
|
4749
4735
|
}
|
|
4750
|
-
return
|
|
4736
|
+
return qt[e];
|
|
4751
4737
|
};
|
|
4752
|
-
window.emWidgets = { topic:
|
|
4753
|
-
const
|
|
4754
|
-
function
|
|
4738
|
+
window.emWidgets = { topic: Uo };
|
|
4739
|
+
const jo = (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));
|
|
4740
|
+
function $o(e, t) {
|
|
4755
4741
|
if (e) {
|
|
4756
4742
|
const i = document.createElement("style");
|
|
4757
4743
|
i.innerHTML = t, e.appendChild(i);
|
|
4758
4744
|
}
|
|
4759
4745
|
}
|
|
4760
|
-
function
|
|
4746
|
+
function Fo(e, t) {
|
|
4761
4747
|
const i = new URL(t);
|
|
4762
|
-
fetch(i.href).then((
|
|
4763
|
-
const
|
|
4764
|
-
|
|
4765
|
-
}).catch((
|
|
4766
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4748
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
4749
|
+
const r = document.createElement("style");
|
|
4750
|
+
r.innerHTML = n, e && e.appendChild(r);
|
|
4751
|
+
}).catch((n) => {
|
|
4752
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4767
4753
|
});
|
|
4768
4754
|
}
|
|
4769
|
-
function
|
|
4755
|
+
function Go(e, t, i) {
|
|
4770
4756
|
if (window.emMessageBus) {
|
|
4771
|
-
const
|
|
4772
|
-
window.emMessageBus.subscribe(t, (
|
|
4773
|
-
|
|
4757
|
+
const n = document.createElement("style");
|
|
4758
|
+
window.emMessageBus.subscribe(t, (r) => {
|
|
4759
|
+
n.innerHTML = r, e && e.appendChild(n);
|
|
4774
4760
|
});
|
|
4775
4761
|
}
|
|
4776
4762
|
}
|
|
4777
|
-
function
|
|
4778
|
-
|
|
4763
|
+
function zo(e) {
|
|
4764
|
+
dn(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
|
|
4779
4765
|
}
|
|
4780
|
-
function
|
|
4781
|
-
const
|
|
4782
|
-
return
|
|
4766
|
+
function Jt(e, t, i) {
|
|
4767
|
+
const n = e.slice();
|
|
4768
|
+
return n[50] = t[i], n;
|
|
4783
4769
|
}
|
|
4784
|
-
function
|
|
4785
|
-
const
|
|
4786
|
-
return
|
|
4770
|
+
function Qt(e, t, i) {
|
|
4771
|
+
const n = e.slice();
|
|
4772
|
+
return n[53] = t[i], n;
|
|
4787
4773
|
}
|
|
4788
|
-
function
|
|
4789
|
-
const
|
|
4790
|
-
return
|
|
4774
|
+
function Kt(e, t, i) {
|
|
4775
|
+
const n = e.slice();
|
|
4776
|
+
return n[53] = t[i], n;
|
|
4791
4777
|
}
|
|
4792
|
-
function
|
|
4793
|
-
const
|
|
4794
|
-
return
|
|
4778
|
+
function ei(e, t, i) {
|
|
4779
|
+
const n = e.slice();
|
|
4780
|
+
return n[58] = t[i], n;
|
|
4795
4781
|
}
|
|
4796
|
-
function
|
|
4782
|
+
function ti(e) {
|
|
4797
4783
|
let t, i;
|
|
4798
|
-
function
|
|
4784
|
+
function n(s, a) {
|
|
4799
4785
|
return (
|
|
4800
4786
|
/*popupReady*/
|
|
4801
|
-
s[11] ?
|
|
4787
|
+
s[11] ? Wo : Vo
|
|
4802
4788
|
);
|
|
4803
4789
|
}
|
|
4804
|
-
let
|
|
4790
|
+
let r = n(e), o = r(e);
|
|
4805
4791
|
return {
|
|
4806
4792
|
c() {
|
|
4807
4793
|
t = v("div"), i = v("div"), o.c(), g(i, "class", "PopupContainer " + /*isDesktop*/
|
|
@@ -4811,28 +4797,28 @@ function ri(e) {
|
|
|
4811
4797
|
N(s, t, a), d(t, i), o.m(i, null);
|
|
4812
4798
|
},
|
|
4813
4799
|
p(s, a) {
|
|
4814
|
-
|
|
4800
|
+
r === (r = n(s)) && o ? o.p(s, a) : (o.d(1), o = r(s), o && (o.c(), o.m(i, null)));
|
|
4815
4801
|
},
|
|
4816
4802
|
d(s) {
|
|
4817
4803
|
s && B(t), o.d();
|
|
4818
4804
|
}
|
|
4819
4805
|
};
|
|
4820
4806
|
}
|
|
4821
|
-
function
|
|
4822
|
-
let t, i,
|
|
4807
|
+
function Wo(e) {
|
|
4808
|
+
let t, i, n = (
|
|
4823
4809
|
/*$_*/
|
|
4824
4810
|
e[13]("popupTitle") + ""
|
|
4825
|
-
),
|
|
4826
|
-
e[9] &&
|
|
4811
|
+
), r, o, s, a, c, u, l, h, m, f, p, _, R, P = !/*limitError*/
|
|
4812
|
+
e[9] && ii(e);
|
|
4827
4813
|
return {
|
|
4828
4814
|
c() {
|
|
4829
|
-
t = v("div"), i = v("span"),
|
|
4815
|
+
t = v("div"), i = v("span"), r = $(n), o = j(), s = v("button"), s.textContent = "X", a = j(), c = v("div"), u = v("div"), P && P.c(), l = j(), h = v("p"), m = $(
|
|
4830
4816
|
/*popupContent*/
|
|
4831
4817
|
e[12]
|
|
4832
|
-
),
|
|
4818
|
+
), f = j(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
|
|
4833
4819
|
},
|
|
4834
4820
|
m(L, w) {
|
|
4835
|
-
N(L, t, w), d(t, i), d(i,
|
|
4821
|
+
N(L, t, w), d(t, i), d(i, r), d(t, o), d(t, s), N(L, a, w), N(L, c, w), d(c, u), P && P.m(u, null), d(c, l), d(c, h), d(h, m), N(L, f, w), N(L, p, w), _ || (R = [
|
|
4836
4822
|
Y(
|
|
4837
4823
|
s,
|
|
4838
4824
|
"click",
|
|
@@ -4849,28 +4835,28 @@ function Xo(e) {
|
|
|
4849
4835
|
},
|
|
4850
4836
|
p(L, w) {
|
|
4851
4837
|
w[0] & /*$_*/
|
|
4852
|
-
8192 &&
|
|
4853
|
-
L[13]("popupTitle") + "") && W(
|
|
4854
|
-
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P =
|
|
4838
|
+
8192 && n !== (n = /*$_*/
|
|
4839
|
+
L[13]("popupTitle") + "") && W(r, n), /*limitError*/
|
|
4840
|
+
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = ii(L), P.c(), P.m(u, null)), w[0] & /*popupContent*/
|
|
4855
4841
|
4096 && W(
|
|
4856
|
-
|
|
4842
|
+
m,
|
|
4857
4843
|
/*popupContent*/
|
|
4858
4844
|
L[12]
|
|
4859
4845
|
);
|
|
4860
4846
|
},
|
|
4861
4847
|
d(L) {
|
|
4862
|
-
L && (B(t), B(a), B(c), B(
|
|
4848
|
+
L && (B(t), B(a), B(c), B(f), B(p)), P && P.d(), _ = !1, ie(R);
|
|
4863
4849
|
}
|
|
4864
4850
|
};
|
|
4865
4851
|
}
|
|
4866
|
-
function
|
|
4852
|
+
function Vo(e) {
|
|
4867
4853
|
let t;
|
|
4868
4854
|
return {
|
|
4869
4855
|
c() {
|
|
4870
4856
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
4871
4857
|
},
|
|
4872
|
-
m(i,
|
|
4873
|
-
N(i, t,
|
|
4858
|
+
m(i, n) {
|
|
4859
|
+
N(i, t, n);
|
|
4874
4860
|
},
|
|
4875
4861
|
p: U,
|
|
4876
4862
|
d(i) {
|
|
@@ -4878,31 +4864,31 @@ function Zo(e) {
|
|
|
4878
4864
|
}
|
|
4879
4865
|
};
|
|
4880
4866
|
}
|
|
4881
|
-
function
|
|
4882
|
-
let t, i,
|
|
4867
|
+
function ii(e) {
|
|
4868
|
+
let t, i, n, r, o, s, a, c, u = (
|
|
4883
4869
|
/*$_*/
|
|
4884
4870
|
e[13]("popupSuccess") + ""
|
|
4885
|
-
),
|
|
4871
|
+
), l;
|
|
4886
4872
|
return {
|
|
4887
4873
|
c() {
|
|
4888
|
-
t = be("svg"), i = be("defs"),
|
|
4889
|
-
`), o = be("g"), s = be("polygon"), a = j(), c = v("p"),
|
|
4874
|
+
t = be("svg"), i = be("defs"), n = be("style"), r = $(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4875
|
+
`), o = be("g"), s = be("polygon"), a = j(), c = v("p"), l = $(u), g(n, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ve(t, "shape-rendering", "geometricPrecision"), Ve(t, "text-rendering", "geometricPrecision"), Ve(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
|
|
4890
4876
|
},
|
|
4891
|
-
m(h,
|
|
4892
|
-
N(h, t,
|
|
4877
|
+
m(h, m) {
|
|
4878
|
+
N(h, t, m), d(t, i), d(i, n), d(n, r), d(t, o), d(o, s), N(h, a, m), N(h, c, m), d(c, l);
|
|
4893
4879
|
},
|
|
4894
|
-
p(h,
|
|
4895
|
-
|
|
4896
|
-
8192 &&
|
|
4897
|
-
h[13]("popupSuccess") + "") && W(
|
|
4880
|
+
p(h, m) {
|
|
4881
|
+
m[0] & /*$_*/
|
|
4882
|
+
8192 && u !== (u = /*$_*/
|
|
4883
|
+
h[13]("popupSuccess") + "") && W(l, u);
|
|
4898
4884
|
},
|
|
4899
4885
|
d(h) {
|
|
4900
4886
|
h && (B(t), B(a), B(c));
|
|
4901
4887
|
}
|
|
4902
4888
|
};
|
|
4903
4889
|
}
|
|
4904
|
-
function
|
|
4905
|
-
let t, i,
|
|
4890
|
+
function Xo(e) {
|
|
4891
|
+
let t, i, n, r, o, s, a, c, u, l = (
|
|
4906
4892
|
/*multiplePeriods*/
|
|
4907
4893
|
e[6] ? `${/*$_*/
|
|
4908
4894
|
e[13]("amount")}` : `${/*$_*/
|
|
@@ -4910,7 +4896,7 @@ function Yo(e) {
|
|
|
4910
4896
|
e[13](`gamingLimits.${/*selectedPeriod*/
|
|
4911
4897
|
e[2]}`)} ${/*$_*/
|
|
4912
4898
|
e[13]("limit")}`
|
|
4913
|
-
), h,
|
|
4899
|
+
), h, m, f, p, _, R = (
|
|
4914
4900
|
/*$_*/
|
|
4915
4901
|
e[13]("setLimit") + ""
|
|
4916
4902
|
), P, L, w, H = te(
|
|
@@ -4918,40 +4904,40 @@ function Yo(e) {
|
|
|
4918
4904
|
e[15]
|
|
4919
4905
|
), A = [];
|
|
4920
4906
|
for (let E = 0; E < H.length; E += 1)
|
|
4921
|
-
A[E] =
|
|
4907
|
+
A[E] = ri(Kt(e, H, E));
|
|
4922
4908
|
let M = (
|
|
4923
4909
|
/*multipleLimits*/
|
|
4924
|
-
e[5] &&
|
|
4910
|
+
e[5] && oi(e)
|
|
4925
4911
|
), D = (
|
|
4926
4912
|
/*multiplePeriods*/
|
|
4927
|
-
e[6] &&
|
|
4913
|
+
e[6] && ai(e)
|
|
4928
4914
|
);
|
|
4929
4915
|
return {
|
|
4930
4916
|
c() {
|
|
4931
|
-
t = v("div"), i = v("div"),
|
|
4917
|
+
t = v("div"), i = v("div"), n = v("div");
|
|
4932
4918
|
for (let E = 0; E < A.length; E += 1)
|
|
4933
4919
|
A[E].c();
|
|
4934
|
-
|
|
4935
|
-
(e[14] ? "Desktop" : "")), g(
|
|
4920
|
+
r = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), c = v("label"), u = v("span"), h = $(l), m = j(), f = v("input"), p = j(), _ = v("button"), P = $(R), g(n, "class", "LimitsList " + /*isDesktop*/
|
|
4921
|
+
(e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
4936
4922
|
(e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
|
|
4937
4923
|
},
|
|
4938
4924
|
m(E, G) {
|
|
4939
|
-
N(E, t, G), d(t, i), d(i,
|
|
4925
|
+
N(E, t, G), d(t, i), d(i, n);
|
|
4940
4926
|
for (let k = 0; k < A.length; k += 1)
|
|
4941
|
-
A[k] && A[k].m(
|
|
4942
|
-
d(i,
|
|
4943
|
-
|
|
4927
|
+
A[k] && A[k].m(n, null);
|
|
4928
|
+
d(i, r), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, m), d(o, f), ve(
|
|
4929
|
+
f,
|
|
4944
4930
|
/*inputAmount*/
|
|
4945
4931
|
e[3]
|
|
4946
4932
|
), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
|
|
4947
4933
|
Y(
|
|
4948
|
-
|
|
4934
|
+
f,
|
|
4949
4935
|
"input",
|
|
4950
4936
|
/*input_input_handler*/
|
|
4951
4937
|
e[34]
|
|
4952
4938
|
),
|
|
4953
4939
|
Y(
|
|
4954
|
-
|
|
4940
|
+
f,
|
|
4955
4941
|
"keyup",
|
|
4956
4942
|
/*updateInputValue*/
|
|
4957
4943
|
e[18]
|
|
@@ -4979,26 +4965,26 @@ function Yo(e) {
|
|
|
4979
4965
|
);
|
|
4980
4966
|
let k;
|
|
4981
4967
|
for (k = 0; k < H.length; k += 1) {
|
|
4982
|
-
const K =
|
|
4983
|
-
A[k] ? A[k].p(K, G) : (A[k] =
|
|
4968
|
+
const K = Kt(E, H, k);
|
|
4969
|
+
A[k] ? A[k].p(K, G) : (A[k] = ri(K), A[k].c(), A[k].m(n, null));
|
|
4984
4970
|
}
|
|
4985
4971
|
for (; k < A.length; k += 1)
|
|
4986
4972
|
A[k].d(1);
|
|
4987
4973
|
A.length = H.length;
|
|
4988
4974
|
}
|
|
4989
4975
|
/*multipleLimits*/
|
|
4990
|
-
E[5] ? M ? M.p(E, G) : (M =
|
|
4991
|
-
E[6] ? D ? D.p(E, G) : (D =
|
|
4992
|
-
8260 &&
|
|
4976
|
+
E[5] ? M ? M.p(E, G) : (M = oi(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
|
|
4977
|
+
E[6] ? D ? D.p(E, G) : (D = ai(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
4978
|
+
8260 && l !== (l = /*multiplePeriods*/
|
|
4993
4979
|
E[6] ? `${/*$_*/
|
|
4994
4980
|
E[13]("amount")}` : `${/*$_*/
|
|
4995
4981
|
E[13]("new")} ${/*$_*/
|
|
4996
4982
|
E[13](`gamingLimits.${/*selectedPeriod*/
|
|
4997
4983
|
E[2]}`)} ${/*$_*/
|
|
4998
|
-
E[13]("limit")}`) && W(h,
|
|
4999
|
-
8 &&
|
|
4984
|
+
E[13]("limit")}`) && W(h, l), G[0] & /*inputAmount*/
|
|
4985
|
+
8 && fi(f.value) !== /*inputAmount*/
|
|
5000
4986
|
E[3] && ve(
|
|
5001
|
-
|
|
4987
|
+
f,
|
|
5002
4988
|
/*inputAmount*/
|
|
5003
4989
|
E[3]
|
|
5004
4990
|
), G[0] & /*$_*/
|
|
@@ -5010,14 +4996,14 @@ function Yo(e) {
|
|
|
5010
4996
|
}
|
|
5011
4997
|
};
|
|
5012
4998
|
}
|
|
5013
|
-
function
|
|
4999
|
+
function Zo(e) {
|
|
5014
5000
|
let t;
|
|
5015
5001
|
return {
|
|
5016
5002
|
c() {
|
|
5017
5003
|
t = v("p"), t.textContent = "500 Server error";
|
|
5018
5004
|
},
|
|
5019
|
-
m(i,
|
|
5020
|
-
N(i, t,
|
|
5005
|
+
m(i, n) {
|
|
5006
|
+
N(i, t, n);
|
|
5021
5007
|
},
|
|
5022
5008
|
p: U,
|
|
5023
5009
|
d(i) {
|
|
@@ -5025,17 +5011,17 @@ function qo(e) {
|
|
|
5025
5011
|
}
|
|
5026
5012
|
};
|
|
5027
5013
|
}
|
|
5028
|
-
function
|
|
5014
|
+
function Yo(e) {
|
|
5029
5015
|
return { c: U, m: U, p: U, d: U };
|
|
5030
5016
|
}
|
|
5031
|
-
function
|
|
5017
|
+
function qo(e) {
|
|
5032
5018
|
let t;
|
|
5033
5019
|
return {
|
|
5034
5020
|
c() {
|
|
5035
5021
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
5036
5022
|
},
|
|
5037
|
-
m(i,
|
|
5038
|
-
N(i, t,
|
|
5023
|
+
m(i, n) {
|
|
5024
|
+
N(i, t, n);
|
|
5039
5025
|
},
|
|
5040
5026
|
p: U,
|
|
5041
5027
|
d(i) {
|
|
@@ -5043,125 +5029,125 @@ function Qo(e) {
|
|
|
5043
5029
|
}
|
|
5044
5030
|
};
|
|
5045
5031
|
}
|
|
5046
|
-
function
|
|
5047
|
-
let t, i,
|
|
5032
|
+
function Jo(e) {
|
|
5033
|
+
let t, i, n, r = (
|
|
5048
5034
|
/*$_*/
|
|
5049
5035
|
e[13]("noLimitText") + ""
|
|
5050
5036
|
), o;
|
|
5051
5037
|
return {
|
|
5052
5038
|
c() {
|
|
5053
|
-
t = v("div"), i = v("div"),
|
|
5039
|
+
t = v("div"), i = v("div"), n = v("div"), o = $(r), g(n, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
|
|
5054
5040
|
},
|
|
5055
5041
|
m(s, a) {
|
|
5056
|
-
N(s, t, a), d(t, i), d(i,
|
|
5042
|
+
N(s, t, a), d(t, i), d(i, n), d(n, o);
|
|
5057
5043
|
},
|
|
5058
5044
|
p(s, a) {
|
|
5059
5045
|
a[0] & /*$_*/
|
|
5060
|
-
8192 &&
|
|
5061
|
-
s[13]("noLimitText") + "") && W(o,
|
|
5046
|
+
8192 && r !== (r = /*$_*/
|
|
5047
|
+
s[13]("noLimitText") + "") && W(o, r);
|
|
5062
5048
|
},
|
|
5063
5049
|
d(s) {
|
|
5064
5050
|
s && B(t);
|
|
5065
5051
|
}
|
|
5066
5052
|
};
|
|
5067
5053
|
}
|
|
5068
|
-
function
|
|
5054
|
+
function Qo(e) {
|
|
5069
5055
|
let t, i = te(
|
|
5070
5056
|
/*limit*/
|
|
5071
5057
|
e[53].currentLimits
|
|
5072
|
-
),
|
|
5073
|
-
for (let
|
|
5074
|
-
r
|
|
5058
|
+
), n = [];
|
|
5059
|
+
for (let r = 0; r < i.length; r += 1)
|
|
5060
|
+
n[r] = ni(ei(e, i, r));
|
|
5075
5061
|
return {
|
|
5076
5062
|
c() {
|
|
5077
|
-
for (let
|
|
5078
|
-
r
|
|
5079
|
-
t =
|
|
5063
|
+
for (let r = 0; r < n.length; r += 1)
|
|
5064
|
+
n[r].c();
|
|
5065
|
+
t = yn();
|
|
5080
5066
|
},
|
|
5081
|
-
m(
|
|
5082
|
-
for (let s = 0; s <
|
|
5083
|
-
|
|
5084
|
-
N(
|
|
5067
|
+
m(r, o) {
|
|
5068
|
+
for (let s = 0; s < n.length; s += 1)
|
|
5069
|
+
n[s] && n[s].m(r, o);
|
|
5070
|
+
N(r, t, o);
|
|
5085
5071
|
},
|
|
5086
|
-
p(
|
|
5072
|
+
p(r, o) {
|
|
5087
5073
|
if (o[0] & /*removeLimit, availableLimits, $_*/
|
|
5088
5074
|
565248) {
|
|
5089
5075
|
i = te(
|
|
5090
5076
|
/*limit*/
|
|
5091
|
-
|
|
5077
|
+
r[53].currentLimits
|
|
5092
5078
|
);
|
|
5093
5079
|
let s;
|
|
5094
5080
|
for (s = 0; s < i.length; s += 1) {
|
|
5095
|
-
const a =
|
|
5096
|
-
|
|
5081
|
+
const a = ei(r, i, s);
|
|
5082
|
+
n[s] ? n[s].p(a, o) : (n[s] = ni(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
5097
5083
|
}
|
|
5098
|
-
for (; s <
|
|
5099
|
-
|
|
5100
|
-
|
|
5084
|
+
for (; s < n.length; s += 1)
|
|
5085
|
+
n[s].d(1);
|
|
5086
|
+
n.length = i.length;
|
|
5101
5087
|
}
|
|
5102
5088
|
},
|
|
5103
|
-
d(
|
|
5104
|
-
|
|
5089
|
+
d(r) {
|
|
5090
|
+
r && B(t), Ce(n, r);
|
|
5105
5091
|
}
|
|
5106
5092
|
};
|
|
5107
5093
|
}
|
|
5108
|
-
function
|
|
5094
|
+
function Ko(e) {
|
|
5109
5095
|
let t, i = `${/*$_*/
|
|
5110
5096
|
e[13]("removedLimitText")} ${/*currentLimit*/
|
|
5111
|
-
e[58].expiryDate}`,
|
|
5097
|
+
e[58].expiryDate}`, n;
|
|
5112
5098
|
return {
|
|
5113
5099
|
c() {
|
|
5114
|
-
t = v("div"),
|
|
5100
|
+
t = v("div"), n = $(i), g(t, "class", "PendingLimit");
|
|
5115
5101
|
},
|
|
5116
|
-
m(
|
|
5117
|
-
N(
|
|
5102
|
+
m(r, o) {
|
|
5103
|
+
N(r, t, o), d(t, n);
|
|
5118
5104
|
},
|
|
5119
|
-
p(
|
|
5105
|
+
p(r, o) {
|
|
5120
5106
|
o[0] & /*$_*/
|
|
5121
5107
|
8192 && i !== (i = `${/*$_*/
|
|
5122
|
-
|
|
5123
|
-
|
|
5108
|
+
r[13]("removedLimitText")} ${/*currentLimit*/
|
|
5109
|
+
r[58].expiryDate}`) && W(n, i);
|
|
5124
5110
|
},
|
|
5125
|
-
d(
|
|
5126
|
-
|
|
5111
|
+
d(r) {
|
|
5112
|
+
r && B(t);
|
|
5127
5113
|
}
|
|
5128
5114
|
};
|
|
5129
5115
|
}
|
|
5130
|
-
function
|
|
5116
|
+
function es(e) {
|
|
5131
5117
|
let t, i = `${/*currentLimit*/
|
|
5132
5118
|
e[58].updateAmount}${/*currentLimit*/
|
|
5133
5119
|
e[58].currency} ${/*$_*/
|
|
5134
5120
|
e[13](`gamingLimits.${/*currentLimit*/
|
|
5135
5121
|
e[58].period}`)} ${/*$_*/
|
|
5136
5122
|
e[13]("updateText")} ${/*currentLimit*/
|
|
5137
|
-
e[58].expiryDate}`,
|
|
5123
|
+
e[58].expiryDate}`, n;
|
|
5138
5124
|
return {
|
|
5139
5125
|
c() {
|
|
5140
|
-
t = v("div"),
|
|
5126
|
+
t = v("div"), n = $(i), g(t, "class", "PendingLimit");
|
|
5141
5127
|
},
|
|
5142
|
-
m(
|
|
5143
|
-
N(
|
|
5128
|
+
m(r, o) {
|
|
5129
|
+
N(r, t, o), d(t, n);
|
|
5144
5130
|
},
|
|
5145
|
-
p(
|
|
5131
|
+
p(r, o) {
|
|
5146
5132
|
o[0] & /*$_*/
|
|
5147
5133
|
8192 && i !== (i = `${/*currentLimit*/
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5134
|
+
r[58].updateAmount}${/*currentLimit*/
|
|
5135
|
+
r[58].currency} ${/*$_*/
|
|
5136
|
+
r[13](`gamingLimits.${/*currentLimit*/
|
|
5137
|
+
r[58].period}`)} ${/*$_*/
|
|
5138
|
+
r[13]("updateText")} ${/*currentLimit*/
|
|
5139
|
+
r[58].expiryDate}`) && W(n, i);
|
|
5154
5140
|
},
|
|
5155
|
-
d(
|
|
5156
|
-
|
|
5141
|
+
d(r) {
|
|
5142
|
+
r && B(t);
|
|
5157
5143
|
}
|
|
5158
5144
|
};
|
|
5159
5145
|
}
|
|
5160
|
-
function
|
|
5146
|
+
function ts(e) {
|
|
5161
5147
|
let t, i = (
|
|
5162
5148
|
/*$_*/
|
|
5163
5149
|
e[13]("gamingLimits.removeLimit") + ""
|
|
5164
|
-
),
|
|
5150
|
+
), n, r, o;
|
|
5165
5151
|
function s() {
|
|
5166
5152
|
return (
|
|
5167
5153
|
/*click_handler*/
|
|
@@ -5173,120 +5159,120 @@ function rs(e) {
|
|
|
5173
5159
|
}
|
|
5174
5160
|
return {
|
|
5175
5161
|
c() {
|
|
5176
|
-
t = v("button"),
|
|
5162
|
+
t = v("button"), n = $(i), g(t, "class", "RemoveLimitButton");
|
|
5177
5163
|
},
|
|
5178
5164
|
m(a, c) {
|
|
5179
|
-
N(a, t, c), d(t,
|
|
5165
|
+
N(a, t, c), d(t, n), r || (o = Y(t, "click", s), r = !0);
|
|
5180
5166
|
},
|
|
5181
5167
|
p(a, c) {
|
|
5182
5168
|
e = a, c[0] & /*$_*/
|
|
5183
5169
|
8192 && i !== (i = /*$_*/
|
|
5184
|
-
e[13]("gamingLimits.removeLimit") + "") && W(
|
|
5170
|
+
e[13]("gamingLimits.removeLimit") + "") && W(n, i);
|
|
5185
5171
|
},
|
|
5186
5172
|
d(a) {
|
|
5187
|
-
a && B(t),
|
|
5173
|
+
a && B(t), r = !1, o();
|
|
5188
5174
|
}
|
|
5189
5175
|
};
|
|
5190
5176
|
}
|
|
5191
|
-
function
|
|
5192
|
-
let t, i,
|
|
5177
|
+
function ni(e) {
|
|
5178
|
+
let t, i, n, r = `${/*currentLimit*/
|
|
5193
5179
|
e[58].amount}${/*currentLimit*/
|
|
5194
5180
|
e[58].currency} ${/*$_*/
|
|
5195
5181
|
e[13](`gamingLimits.${/*currentLimit*/
|
|
5196
5182
|
e[58].period}`)}`, o, s, a, c;
|
|
5197
|
-
function
|
|
5183
|
+
function u(f, p) {
|
|
5198
5184
|
if (
|
|
5199
5185
|
/*currentLimit*/
|
|
5200
|
-
|
|
5201
|
-
|
|
5186
|
+
f[58].isModified && /*currentLimit*/
|
|
5187
|
+
f[58].updateAmount != "-1"
|
|
5202
5188
|
)
|
|
5203
|
-
return
|
|
5189
|
+
return es;
|
|
5204
5190
|
if (
|
|
5205
5191
|
/*currentLimit*/
|
|
5206
|
-
|
|
5192
|
+
f[58].isModified
|
|
5207
5193
|
)
|
|
5208
|
-
return
|
|
5194
|
+
return Ko;
|
|
5209
5195
|
}
|
|
5210
|
-
let
|
|
5211
|
-
e[58].isModified &&
|
|
5196
|
+
let l = u(e), h = l && l(e), m = !/*currentLimit*/
|
|
5197
|
+
e[58].isModified && ts(e);
|
|
5212
5198
|
return {
|
|
5213
5199
|
c() {
|
|
5214
|
-
t = v("div"), i = v("div"),
|
|
5200
|
+
t = v("div"), i = v("div"), n = v("div"), o = $(r), s = j(), h && h.c(), a = j(), m && m.c(), c = j(), g(n, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
|
|
5215
5201
|
},
|
|
5216
|
-
m(
|
|
5217
|
-
N(
|
|
5202
|
+
m(f, p) {
|
|
5203
|
+
N(f, t, p), d(t, i), d(i, n), d(n, o), d(i, s), h && h.m(i, null), d(t, a), m && m.m(t, null), d(t, c);
|
|
5218
5204
|
},
|
|
5219
|
-
p(
|
|
5205
|
+
p(f, p) {
|
|
5220
5206
|
p[0] & /*$_*/
|
|
5221
|
-
8192 &&
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5207
|
+
8192 && r !== (r = `${/*currentLimit*/
|
|
5208
|
+
f[58].amount}${/*currentLimit*/
|
|
5209
|
+
f[58].currency} ${/*$_*/
|
|
5210
|
+
f[13](`gamingLimits.${/*currentLimit*/
|
|
5211
|
+
f[58].period}`)}`) && W(o, r), h && h.p(f, p), /*currentLimit*/
|
|
5212
|
+
f[58].isModified || m.p(f, p);
|
|
5227
5213
|
},
|
|
5228
|
-
d(
|
|
5229
|
-
|
|
5214
|
+
d(f) {
|
|
5215
|
+
f && B(t), h && h.d(), m && m.d();
|
|
5230
5216
|
}
|
|
5231
5217
|
};
|
|
5232
5218
|
}
|
|
5233
|
-
function
|
|
5234
|
-
let t, i,
|
|
5219
|
+
function ri(e) {
|
|
5220
|
+
let t, i, n = (
|
|
5235
5221
|
/*$_*/
|
|
5236
5222
|
e[13](`gamingLimits.${/*limit*/
|
|
5237
5223
|
e[53].value}`) + ""
|
|
5238
|
-
),
|
|
5239
|
-
function a(
|
|
5224
|
+
), r, o, s;
|
|
5225
|
+
function a(l, h) {
|
|
5240
5226
|
return (
|
|
5241
5227
|
/*limit*/
|
|
5242
|
-
|
|
5228
|
+
l[53].currentLimits.length > 0 ? Qo : Jo
|
|
5243
5229
|
);
|
|
5244
5230
|
}
|
|
5245
|
-
let
|
|
5231
|
+
let u = a(e)(e);
|
|
5246
5232
|
return {
|
|
5247
5233
|
c() {
|
|
5248
|
-
t = v("div"), i = v("p"),
|
|
5234
|
+
t = v("div"), i = v("p"), r = $(n), o = j(), u.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
|
|
5249
5235
|
(e[14] ? "Desktop" : ""));
|
|
5250
5236
|
},
|
|
5251
|
-
m(
|
|
5252
|
-
N(
|
|
5237
|
+
m(l, h) {
|
|
5238
|
+
N(l, t, h), d(t, i), d(i, r), d(t, o), u.m(t, null), d(t, s);
|
|
5253
5239
|
},
|
|
5254
|
-
p(
|
|
5240
|
+
p(l, h) {
|
|
5255
5241
|
h[0] & /*$_*/
|
|
5256
|
-
8192 &&
|
|
5257
|
-
|
|
5258
|
-
|
|
5242
|
+
8192 && n !== (n = /*$_*/
|
|
5243
|
+
l[13](`gamingLimits.${/*limit*/
|
|
5244
|
+
l[53].value}`) + "") && W(r, n), u.p(l, h);
|
|
5259
5245
|
},
|
|
5260
|
-
d(
|
|
5261
|
-
|
|
5246
|
+
d(l) {
|
|
5247
|
+
l && B(t), u.d();
|
|
5262
5248
|
}
|
|
5263
5249
|
};
|
|
5264
5250
|
}
|
|
5265
|
-
function
|
|
5266
|
-
let t, i,
|
|
5251
|
+
function oi(e) {
|
|
5252
|
+
let t, i, n = (
|
|
5267
5253
|
/*$_*/
|
|
5268
5254
|
e[13]("limitType") + ""
|
|
5269
|
-
),
|
|
5255
|
+
), r, o, s, a, c, u = te(
|
|
5270
5256
|
/*availableLimits*/
|
|
5271
5257
|
e[15]
|
|
5272
|
-
),
|
|
5273
|
-
for (let h = 0; h <
|
|
5274
|
-
|
|
5258
|
+
), l = [];
|
|
5259
|
+
for (let h = 0; h < u.length; h += 1)
|
|
5260
|
+
l[h] = si(Qt(e, u, h));
|
|
5275
5261
|
return {
|
|
5276
5262
|
c() {
|
|
5277
|
-
t = v("label"), i = v("span"),
|
|
5278
|
-
for (let h = 0; h <
|
|
5279
|
-
|
|
5263
|
+
t = v("label"), i = v("span"), r = $(n), o = j(), s = v("select");
|
|
5264
|
+
for (let h = 0; h < l.length; h += 1)
|
|
5265
|
+
l[h].c();
|
|
5280
5266
|
g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
|
|
5281
5267
|
e[1] === void 0 && Ee(() => (
|
|
5282
5268
|
/*select_change_handler*/
|
|
5283
5269
|
e[32].call(s)
|
|
5284
5270
|
)), g(t, "class", "LimitTypeDropdownWrapper");
|
|
5285
5271
|
},
|
|
5286
|
-
m(h,
|
|
5287
|
-
N(h, t,
|
|
5288
|
-
for (let
|
|
5289
|
-
|
|
5272
|
+
m(h, m) {
|
|
5273
|
+
N(h, t, m), d(t, i), d(i, r), d(t, o), d(t, s);
|
|
5274
|
+
for (let f = 0; f < l.length; f += 1)
|
|
5275
|
+
l[f] && l[f].m(s, null);
|
|
5290
5276
|
He(
|
|
5291
5277
|
s,
|
|
5292
5278
|
/*selectedLimit*/
|
|
@@ -5307,25 +5293,25 @@ function ai(e) {
|
|
|
5307
5293
|
)
|
|
5308
5294
|
], a = !0);
|
|
5309
5295
|
},
|
|
5310
|
-
p(h,
|
|
5311
|
-
if (
|
|
5312
|
-
8192 &&
|
|
5313
|
-
h[13]("limitType") + "") && W(
|
|
5296
|
+
p(h, m) {
|
|
5297
|
+
if (m[0] & /*$_*/
|
|
5298
|
+
8192 && n !== (n = /*$_*/
|
|
5299
|
+
h[13]("limitType") + "") && W(r, n), m[0] & /*availableLimits*/
|
|
5314
5300
|
32768) {
|
|
5315
|
-
|
|
5301
|
+
u = te(
|
|
5316
5302
|
/*availableLimits*/
|
|
5317
5303
|
h[15]
|
|
5318
5304
|
);
|
|
5319
|
-
let
|
|
5320
|
-
for (
|
|
5321
|
-
const p =
|
|
5322
|
-
|
|
5305
|
+
let f;
|
|
5306
|
+
for (f = 0; f < u.length; f += 1) {
|
|
5307
|
+
const p = Qt(h, u, f);
|
|
5308
|
+
l[f] ? l[f].p(p, m) : (l[f] = si(p), l[f].c(), l[f].m(s, null));
|
|
5323
5309
|
}
|
|
5324
|
-
for (;
|
|
5325
|
-
|
|
5326
|
-
|
|
5310
|
+
for (; f < l.length; f += 1)
|
|
5311
|
+
l[f].d(1);
|
|
5312
|
+
l.length = u.length;
|
|
5327
5313
|
}
|
|
5328
|
-
|
|
5314
|
+
m[0] & /*selectedLimit, availableLimits*/
|
|
5329
5315
|
32770 && He(
|
|
5330
5316
|
s,
|
|
5331
5317
|
/*selectedLimit*/
|
|
@@ -5333,54 +5319,54 @@ function ai(e) {
|
|
|
5333
5319
|
);
|
|
5334
5320
|
},
|
|
5335
5321
|
d(h) {
|
|
5336
|
-
h && B(t), Ce(
|
|
5322
|
+
h && B(t), Ce(l, h), a = !1, ie(c);
|
|
5337
5323
|
}
|
|
5338
5324
|
};
|
|
5339
5325
|
}
|
|
5340
|
-
function
|
|
5326
|
+
function si(e) {
|
|
5341
5327
|
let t, i = (
|
|
5342
5328
|
/*limit*/
|
|
5343
5329
|
e[53].title + ""
|
|
5344
|
-
),
|
|
5330
|
+
), n;
|
|
5345
5331
|
return {
|
|
5346
5332
|
c() {
|
|
5347
|
-
t = v("option"),
|
|
5333
|
+
t = v("option"), n = $(i), t.__value = /*limit*/
|
|
5348
5334
|
e[53].value, ve(t, t.__value);
|
|
5349
5335
|
},
|
|
5350
|
-
m(
|
|
5351
|
-
N(
|
|
5336
|
+
m(r, o) {
|
|
5337
|
+
N(r, t, o), d(t, n);
|
|
5352
5338
|
},
|
|
5353
5339
|
p: U,
|
|
5354
|
-
d(
|
|
5355
|
-
|
|
5340
|
+
d(r) {
|
|
5341
|
+
r && B(t);
|
|
5356
5342
|
}
|
|
5357
5343
|
};
|
|
5358
5344
|
}
|
|
5359
|
-
function
|
|
5360
|
-
let t, i,
|
|
5345
|
+
function ai(e) {
|
|
5346
|
+
let t, i, n = (
|
|
5361
5347
|
/*$_*/
|
|
5362
5348
|
e[13]("period") + ""
|
|
5363
|
-
),
|
|
5349
|
+
), r, o, s, a, c, u = te(Z[
|
|
5364
5350
|
/*selectedLimit*/
|
|
5365
5351
|
e[1]
|
|
5366
|
-
].periods),
|
|
5367
|
-
for (let h = 0; h <
|
|
5368
|
-
|
|
5352
|
+
].periods), l = [];
|
|
5353
|
+
for (let h = 0; h < u.length; h += 1)
|
|
5354
|
+
l[h] = ui(Jt(e, u, h));
|
|
5369
5355
|
return {
|
|
5370
5356
|
c() {
|
|
5371
|
-
t = v("label"), i = v("span"),
|
|
5372
|
-
for (let h = 0; h <
|
|
5373
|
-
|
|
5357
|
+
t = v("label"), i = v("span"), r = $(n), o = j(), s = v("select");
|
|
5358
|
+
for (let h = 0; h < l.length; h += 1)
|
|
5359
|
+
l[h].c();
|
|
5374
5360
|
g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
|
|
5375
5361
|
e[2] === void 0 && Ee(() => (
|
|
5376
5362
|
/*select_change_handler_1*/
|
|
5377
5363
|
e[33].call(s)
|
|
5378
5364
|
));
|
|
5379
5365
|
},
|
|
5380
|
-
m(h,
|
|
5381
|
-
N(h, t,
|
|
5382
|
-
for (let
|
|
5383
|
-
|
|
5366
|
+
m(h, m) {
|
|
5367
|
+
N(h, t, m), d(t, i), d(i, r), N(h, o, m), N(h, s, m);
|
|
5368
|
+
for (let f = 0; f < l.length; f += 1)
|
|
5369
|
+
l[f] && l[f].m(s, null);
|
|
5384
5370
|
He(
|
|
5385
5371
|
s,
|
|
5386
5372
|
/*selectedPeriod*/
|
|
@@ -5393,25 +5379,25 @@ function ui(e) {
|
|
|
5393
5379
|
e[33]
|
|
5394
5380
|
), a = !0);
|
|
5395
5381
|
},
|
|
5396
|
-
p(h,
|
|
5397
|
-
if (
|
|
5398
|
-
8192 &&
|
|
5399
|
-
h[13]("period") + "") && W(
|
|
5382
|
+
p(h, m) {
|
|
5383
|
+
if (m[0] & /*$_*/
|
|
5384
|
+
8192 && n !== (n = /*$_*/
|
|
5385
|
+
h[13]("period") + "") && W(r, n), m[0] & /*selectedLimit, $_*/
|
|
5400
5386
|
8194) {
|
|
5401
|
-
|
|
5387
|
+
u = te(Z[
|
|
5402
5388
|
/*selectedLimit*/
|
|
5403
5389
|
h[1]
|
|
5404
5390
|
].periods);
|
|
5405
|
-
let
|
|
5406
|
-
for (
|
|
5407
|
-
const p =
|
|
5408
|
-
|
|
5391
|
+
let f;
|
|
5392
|
+
for (f = 0; f < u.length; f += 1) {
|
|
5393
|
+
const p = Jt(h, u, f);
|
|
5394
|
+
l[f] ? l[f].p(p, m) : (l[f] = ui(p), l[f].c(), l[f].m(s, null));
|
|
5409
5395
|
}
|
|
5410
|
-
for (;
|
|
5411
|
-
|
|
5412
|
-
|
|
5396
|
+
for (; f < l.length; f += 1)
|
|
5397
|
+
l[f].d(1);
|
|
5398
|
+
l.length = u.length;
|
|
5413
5399
|
}
|
|
5414
|
-
|
|
5400
|
+
m[0] & /*selectedPeriod, selectedLimit*/
|
|
5415
5401
|
6 && He(
|
|
5416
5402
|
s,
|
|
5417
5403
|
/*selectedPeriod*/
|
|
@@ -5419,103 +5405,103 @@ function ui(e) {
|
|
|
5419
5405
|
);
|
|
5420
5406
|
},
|
|
5421
5407
|
d(h) {
|
|
5422
|
-
h && (B(t), B(o), B(s)), Ce(
|
|
5408
|
+
h && (B(t), B(o), B(s)), Ce(l, h), a = !1, c();
|
|
5423
5409
|
}
|
|
5424
5410
|
};
|
|
5425
5411
|
}
|
|
5426
|
-
function
|
|
5412
|
+
function ui(e) {
|
|
5427
5413
|
let t, i = (
|
|
5428
5414
|
/*$_*/
|
|
5429
5415
|
e[13](`gamingLimits.${/*period*/
|
|
5430
5416
|
e[50]}`) + ""
|
|
5431
|
-
),
|
|
5417
|
+
), n, r;
|
|
5432
5418
|
return {
|
|
5433
5419
|
c() {
|
|
5434
|
-
t = v("option"),
|
|
5420
|
+
t = v("option"), n = $(i), t.__value = r = /*period*/
|
|
5435
5421
|
e[50], ve(t, t.__value), t.selected = !0;
|
|
5436
5422
|
},
|
|
5437
5423
|
m(o, s) {
|
|
5438
|
-
N(o, t, s), d(t,
|
|
5424
|
+
N(o, t, s), d(t, n);
|
|
5439
5425
|
},
|
|
5440
5426
|
p(o, s) {
|
|
5441
5427
|
s[0] & /*$_, selectedLimit*/
|
|
5442
5428
|
8194 && i !== (i = /*$_*/
|
|
5443
5429
|
o[13](`gamingLimits.${/*period*/
|
|
5444
|
-
o[50]}`) + "") && W(
|
|
5445
|
-
32770 &&
|
|
5446
|
-
o[50]) && (t.__value =
|
|
5430
|
+
o[50]}`) + "") && W(n, i), s[0] & /*selectedLimit, availableLimits*/
|
|
5431
|
+
32770 && r !== (r = /*period*/
|
|
5432
|
+
o[50]) && (t.__value = r, ve(t, t.__value));
|
|
5447
5433
|
},
|
|
5448
5434
|
d(o) {
|
|
5449
5435
|
o && B(t);
|
|
5450
5436
|
}
|
|
5451
5437
|
};
|
|
5452
5438
|
}
|
|
5453
|
-
function
|
|
5454
|
-
let t, i,
|
|
5439
|
+
function is(e) {
|
|
5440
|
+
let t, i, n = (
|
|
5455
5441
|
/*popupVisible*/
|
|
5456
|
-
e[10] &&
|
|
5442
|
+
e[10] && ti(e)
|
|
5457
5443
|
);
|
|
5458
|
-
function
|
|
5444
|
+
function r(a, c) {
|
|
5459
5445
|
return (
|
|
5460
5446
|
/*isLoading*/
|
|
5461
5447
|
a[7] && !/*popupVisible*/
|
|
5462
|
-
a[10] ?
|
|
5448
|
+
a[10] ? qo : (
|
|
5463
5449
|
/*isLoading*/
|
|
5464
|
-
a[7] ?
|
|
5450
|
+
a[7] ? Yo : (
|
|
5465
5451
|
/*fetchError*/
|
|
5466
|
-
a[8] ?
|
|
5452
|
+
a[8] ? Zo : Xo
|
|
5467
5453
|
)
|
|
5468
5454
|
)
|
|
5469
5455
|
);
|
|
5470
5456
|
}
|
|
5471
|
-
let o =
|
|
5457
|
+
let o = r(e), s = o(e);
|
|
5472
5458
|
return {
|
|
5473
5459
|
c() {
|
|
5474
|
-
t = v("div"),
|
|
5460
|
+
t = v("div"), n && n.c(), i = j(), s.c();
|
|
5475
5461
|
},
|
|
5476
5462
|
m(a, c) {
|
|
5477
|
-
N(a, t, c),
|
|
5463
|
+
N(a, t, c), n && n.m(t, null), d(t, i), s.m(t, null), e[36](t);
|
|
5478
5464
|
},
|
|
5479
5465
|
p(a, c) {
|
|
5480
5466
|
/*popupVisible*/
|
|
5481
|
-
a[10] ?
|
|
5467
|
+
a[10] ? n ? n.p(a, c) : (n = ti(a), n.c(), n.m(t, i)) : n && (n.d(1), n = null), o === (o = r(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
5482
5468
|
},
|
|
5483
5469
|
i: U,
|
|
5484
5470
|
o: U,
|
|
5485
5471
|
d(a) {
|
|
5486
|
-
a && B(t),
|
|
5472
|
+
a && B(t), n && n.d(), s.d(), e[36](null);
|
|
5487
5473
|
}
|
|
5488
5474
|
};
|
|
5489
5475
|
}
|
|
5490
|
-
function
|
|
5491
|
-
let
|
|
5492
|
-
|
|
5493
|
-
let { lang:
|
|
5494
|
-
const
|
|
5476
|
+
function ns(e, t, i) {
|
|
5477
|
+
let n;
|
|
5478
|
+
pn(e, To, (b) => i(13, n = b));
|
|
5479
|
+
let { lang: r = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !jo(_), P = [], L = "", w = "", H, A, M = !1, D = !1, E = !0, G = !1, k = !1, K = !1, Fe = !1, Ge = "", we;
|
|
5480
|
+
const yt = { EUR: "€", RON: " lei" }, zi = {
|
|
5495
5481
|
updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
|
|
5496
|
-
},
|
|
5497
|
-
fetch(
|
|
5482
|
+
}, Wi = () => {
|
|
5483
|
+
fetch(m).then((y) => y.json()).then((y) => {
|
|
5498
5484
|
Object.keys(y).forEach((I) => {
|
|
5499
|
-
|
|
5485
|
+
Ft(I, y[I]);
|
|
5500
5486
|
});
|
|
5501
5487
|
}).catch((y) => {
|
|
5502
5488
|
console.log(y);
|
|
5503
5489
|
});
|
|
5504
5490
|
};
|
|
5505
|
-
Object.keys(
|
|
5506
|
-
|
|
5491
|
+
Object.keys(Gt).forEach((b) => {
|
|
5492
|
+
Ft(b, Gt[b]);
|
|
5507
5493
|
});
|
|
5508
|
-
const
|
|
5494
|
+
const Vi = () => {
|
|
5509
5495
|
s.split(" ").forEach((y) => {
|
|
5510
5496
|
Z[y] ? P.push(Z[y]) : console.error(`Unknown limit: ${y}`);
|
|
5511
5497
|
}), i(1, L = P[0].value), i(2, w = Z[L].periods[0]), i(5, M = P.length > 1), i(6, D = Z[L].periods.length > 1);
|
|
5512
|
-
},
|
|
5498
|
+
}, Xi = () => {
|
|
5513
5499
|
i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
|
|
5514
|
-
},
|
|
5500
|
+
}, Zi = () => {
|
|
5515
5501
|
if (!(H > 0))
|
|
5516
5502
|
return;
|
|
5517
5503
|
i(10, K = !0), i(7, E = !0);
|
|
5518
|
-
let b = new URL(`/v2/player/${c}/limits`,
|
|
5504
|
+
let b = new URL(`/v2/player/${c}/limits`, u);
|
|
5519
5505
|
const y = {};
|
|
5520
5506
|
y[Z[L].callValue] = [
|
|
5521
5507
|
{
|
|
@@ -5534,19 +5520,19 @@ function os(e, t, i) {
|
|
|
5534
5520
|
body: JSON.stringify(y)
|
|
5535
5521
|
};
|
|
5536
5522
|
fetch(b.href, I).then((C) => (C.status >= 300 && i(9, k = !0), C.json())).then((C) => {
|
|
5537
|
-
ze(), k &&
|
|
5523
|
+
ze(), k && Yi(C);
|
|
5538
5524
|
}).catch((C) => {
|
|
5539
5525
|
console.log(C), i(7, E = !1), i(8, G = !0);
|
|
5540
5526
|
});
|
|
5541
|
-
},
|
|
5527
|
+
}, Yi = (b) => {
|
|
5542
5528
|
const y = b.error.match(/errorCode:(.*)\)/)[1];
|
|
5543
5529
|
console.error(`API response error: ${y}`);
|
|
5544
5530
|
let I;
|
|
5545
|
-
for (const [C,
|
|
5546
|
-
|
|
5547
|
-
I = I != null ? I :
|
|
5531
|
+
for (const [C, F] of Object.entries(zi))
|
|
5532
|
+
F.includes(y) && (I = n(`gamingLimits.${C}`));
|
|
5533
|
+
I = I != null ? I : n("gamingLimits.genericError"), vt(y, I);
|
|
5548
5534
|
}, ze = () => {
|
|
5549
|
-
let b = new URL(`/v2/player/${c}/limits`,
|
|
5535
|
+
let b = new URL(`/v2/player/${c}/limits`, u), y = !k, I = {
|
|
5550
5536
|
method: "GET",
|
|
5551
5537
|
headers: {
|
|
5552
5538
|
"X-SessionID": a,
|
|
@@ -5559,44 +5545,44 @@ function os(e, t, i) {
|
|
|
5559
5545
|
throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
|
|
5560
5546
|
return C.json();
|
|
5561
5547
|
}).then((C) => {
|
|
5562
|
-
we = C, K && y &&
|
|
5548
|
+
we = C, K && y && vt(), qi(we), i(7, E = !1), i(3, H = null);
|
|
5563
5549
|
}).catch((C) => {
|
|
5564
5550
|
console.log(C), i(7, E = !1), i(8, G = !0);
|
|
5565
5551
|
});
|
|
5566
|
-
},
|
|
5552
|
+
}, qi = (b) => {
|
|
5567
5553
|
P.forEach((y) => {
|
|
5568
5554
|
var I;
|
|
5569
|
-
y.currentLimits = [], (I = b[Z[y.value].callValue]) == null || I.forEach((C,
|
|
5570
|
-
var
|
|
5571
|
-
const q = b[Z[y.value].callValue][
|
|
5572
|
-
y.currentLimits.push({}), y.currentLimits[
|
|
5573
|
-
}), y.currentLimits =
|
|
5555
|
+
y.currentLimits = [], (I = b[Z[y.value].callValue]) == null || I.forEach((C, F) => {
|
|
5556
|
+
var Et;
|
|
5557
|
+
const q = b[Z[y.value].callValue][F];
|
|
5558
|
+
y.currentLimits.push({}), y.currentLimits[F].limitType = y.value, y.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.amount), y.currentLimits[F].currency = (Et = yt[q.currency]) != null ? Et : q.currency, y.currentLimits[F].period = q.period, y.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.updateAmount), y.currentLimits[F].isModified = q.isModified, y.currentLimits[F].expiryDate = `${new Date(q.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
5559
|
+
}), y.currentLimits = Ji(y.currentLimits);
|
|
5574
5560
|
});
|
|
5575
|
-
},
|
|
5561
|
+
}, Ji = (b) => {
|
|
5576
5562
|
const y = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
5577
5563
|
return b.sort((I, C) => y[I.period] - y[C.period]), b;
|
|
5578
|
-
},
|
|
5564
|
+
}, Qi = () => {
|
|
5579
5565
|
H > 999999999999999 && i(3, H = 999999999999999);
|
|
5580
5566
|
const y = H - Math.floor(H) === 0;
|
|
5581
5567
|
H > 0 && y ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
|
|
5582
|
-
},
|
|
5568
|
+
}, vt = (b, y) => {
|
|
5583
5569
|
if (b)
|
|
5584
5570
|
i(12, Ge = y);
|
|
5585
5571
|
else if (we) {
|
|
5586
5572
|
const I = we[Z[L].callValue].filter((q) => q.period === w)[0], C = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.amount);
|
|
5587
|
-
let
|
|
5588
|
-
i(12, Ge = I.isModified ? `${
|
|
5573
|
+
let F = n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", n(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", C).replace("{currency}", yt[I.currency] || I.currency).replace("{selectedPeriod}", n(`gamingLimits.${w}`).toLowerCase());
|
|
5574
|
+
i(12, Ge = I.isModified ? `${n("popupPendingUpdate")} ${new Date(I.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
|
|
5589
5575
|
} else
|
|
5590
5576
|
console.error("Couldn't populate popupContent");
|
|
5591
|
-
i(11,
|
|
5592
|
-
},
|
|
5577
|
+
i(11, Fe = !0);
|
|
5578
|
+
}, _t = (b) => {
|
|
5593
5579
|
const y = {
|
|
5594
5580
|
wager: "wagering",
|
|
5595
5581
|
loss: "loss",
|
|
5596
5582
|
deposit: "deposit"
|
|
5597
5583
|
};
|
|
5598
5584
|
i(10, K = !0), i(7, E = !0);
|
|
5599
|
-
let I = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`,
|
|
5585
|
+
let I = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), C = {
|
|
5600
5586
|
method: "DELETE",
|
|
5601
5587
|
headers: {
|
|
5602
5588
|
"X-SessionID": a,
|
|
@@ -5604,49 +5590,49 @@ function os(e, t, i) {
|
|
|
5604
5590
|
Accept: "application/json"
|
|
5605
5591
|
}
|
|
5606
5592
|
};
|
|
5607
|
-
fetch(I.href, C).then((
|
|
5593
|
+
fetch(I.href, C).then((F) => F.json()).then((F) => {
|
|
5608
5594
|
ze();
|
|
5609
|
-
}).catch((
|
|
5610
|
-
console.log(
|
|
5595
|
+
}).catch((F) => {
|
|
5596
|
+
console.log(F), i(7, E = !1), i(8, G = !0);
|
|
5611
5597
|
});
|
|
5612
|
-
},
|
|
5613
|
-
i(11,
|
|
5614
|
-
},
|
|
5615
|
-
|
|
5598
|
+
}, Ki = () => {
|
|
5599
|
+
i(11, Fe = i(10, K = !1));
|
|
5600
|
+
}, en = () => {
|
|
5601
|
+
wo(r);
|
|
5616
5602
|
};
|
|
5617
|
-
|
|
5603
|
+
Ln(() => () => {
|
|
5618
5604
|
});
|
|
5619
|
-
const
|
|
5620
|
-
function
|
|
5621
|
-
L =
|
|
5605
|
+
const tn = (b) => _t(b);
|
|
5606
|
+
function nn() {
|
|
5607
|
+
L = Pt(this), i(1, L), i(15, P);
|
|
5622
5608
|
}
|
|
5623
|
-
function
|
|
5624
|
-
w =
|
|
5609
|
+
function rn() {
|
|
5610
|
+
w = Pt(this), i(2, w), i(1, L);
|
|
5625
5611
|
}
|
|
5626
|
-
function
|
|
5627
|
-
H =
|
|
5612
|
+
function on() {
|
|
5613
|
+
H = fi(this.value), i(3, H);
|
|
5628
5614
|
}
|
|
5629
|
-
function
|
|
5615
|
+
function sn(b) {
|
|
5630
5616
|
Oe[b ? "unshift" : "push"](() => {
|
|
5631
5617
|
A = b, i(4, A);
|
|
5632
5618
|
});
|
|
5633
5619
|
}
|
|
5634
|
-
function
|
|
5620
|
+
function an(b) {
|
|
5635
5621
|
Oe[b ? "unshift" : "push"](() => {
|
|
5636
5622
|
p = b, i(0, p);
|
|
5637
5623
|
});
|
|
5638
5624
|
}
|
|
5639
5625
|
return e.$$set = (b) => {
|
|
5640
|
-
"lang" in b && i(21,
|
|
5626
|
+
"lang" in b && i(21, r = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
|
|
5641
5627
|
}, e.$$.update = () => {
|
|
5642
5628
|
e.$$.dirty[0] & /*limits*/
|
|
5643
|
-
8388608 && s &&
|
|
5644
|
-
2097152 &&
|
|
5645
|
-
117440512 && c && a &&
|
|
5646
|
-
134217729 &&
|
|
5647
|
-
268435457 && h && p &&
|
|
5648
|
-
1073741825 &&
|
|
5649
|
-
536870912 &&
|
|
5629
|
+
8388608 && s && Vi(), e.$$.dirty[0] & /*lang*/
|
|
5630
|
+
2097152 && r && en(), e.$$.dirty[0] & /*userid, session, endpoint*/
|
|
5631
|
+
117440512 && c && a && u && ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5632
|
+
134217729 && l && p && $o(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5633
|
+
268435457 && h && p && Fo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5634
|
+
1073741825 && f && p && Go(p, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5635
|
+
536870912 && m && Wi();
|
|
5650
5636
|
}, [
|
|
5651
5637
|
p,
|
|
5652
5638
|
L,
|
|
@@ -5659,42 +5645,42 @@ function os(e, t, i) {
|
|
|
5659
5645
|
G,
|
|
5660
5646
|
k,
|
|
5661
5647
|
K,
|
|
5662
|
-
|
|
5648
|
+
Fe,
|
|
5663
5649
|
Ge,
|
|
5664
|
-
|
|
5650
|
+
n,
|
|
5665
5651
|
R,
|
|
5666
5652
|
P,
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5653
|
+
Xi,
|
|
5654
|
+
Zi,
|
|
5655
|
+
Qi,
|
|
5656
|
+
_t,
|
|
5657
|
+
Ki,
|
|
5658
|
+
r,
|
|
5673
5659
|
o,
|
|
5674
5660
|
s,
|
|
5675
5661
|
a,
|
|
5676
5662
|
c,
|
|
5677
|
-
l,
|
|
5678
5663
|
u,
|
|
5664
|
+
l,
|
|
5679
5665
|
h,
|
|
5680
|
-
f,
|
|
5681
5666
|
m,
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5667
|
+
f,
|
|
5668
|
+
tn,
|
|
5669
|
+
nn,
|
|
5670
|
+
rn,
|
|
5671
|
+
on,
|
|
5672
|
+
sn,
|
|
5673
|
+
an
|
|
5688
5674
|
];
|
|
5689
5675
|
}
|
|
5690
|
-
class
|
|
5676
|
+
class rs extends Mn {
|
|
5691
5677
|
constructor(t) {
|
|
5692
|
-
super(),
|
|
5678
|
+
super(), Hn(
|
|
5693
5679
|
this,
|
|
5694
5680
|
t,
|
|
5695
|
-
os,
|
|
5696
5681
|
ns,
|
|
5697
|
-
|
|
5682
|
+
is,
|
|
5683
|
+
ci,
|
|
5698
5684
|
{
|
|
5699
5685
|
lang: 21,
|
|
5700
5686
|
currency: 22,
|
|
@@ -5707,7 +5693,7 @@ class ss extends Cr {
|
|
|
5707
5693
|
translationurl: 29,
|
|
5708
5694
|
mbsource: 30
|
|
5709
5695
|
},
|
|
5710
|
-
|
|
5696
|
+
zo,
|
|
5711
5697
|
[-1, -1]
|
|
5712
5698
|
);
|
|
5713
5699
|
}
|
|
@@ -5772,7 +5758,7 @@ class ss extends Cr {
|
|
|
5772
5758
|
this.$$set({ mbsource: t }), X();
|
|
5773
5759
|
}
|
|
5774
5760
|
}
|
|
5775
|
-
|
|
5761
|
+
On(rs, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5776
5762
|
export {
|
|
5777
|
-
|
|
5763
|
+
rs as default
|
|
5778
5764
|
};
|