@everymatrix/player-account-gaming-limits-page-2-gmcore 1.86.1 → 1.86.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-61TL3yMl.cjs +19 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-CDbMnJ9r.js → PlayerAccountGamingLimitsPage2Gmcore-BKD228bo.js} +979 -1000
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.js → PlayerAccountGamingLimitsPage2Gmcore-BljPvoTp.js} +1019 -1040
- 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-Cx5OiLHn.cjs +0 -19
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var cr = Object.defineProperty, hr = Object.defineProperties;
|
|
2
2
|
var mr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var Tt = Object.getOwnPropertySymbols;
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var We = (e, t, i) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, wt = (e, t) => {
|
|
6
6
|
for (var i in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
fr.call(t, i) && We(e, i, t[i]);
|
|
8
|
+
if (Tt)
|
|
9
|
+
for (var i of Tt(t))
|
|
10
|
+
pr.call(t, i) && We(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var V = (e, t, i) => (
|
|
14
|
-
var
|
|
12
|
+
}, St = (e, t) => hr(e, mr(t));
|
|
13
|
+
var V = (e, t, i) => (We(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
14
|
+
var Pt = (e, t, i) => new Promise((r, n) => {
|
|
15
15
|
var o = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
a(i.next(c));
|
|
@@ -27,49 +27,49 @@ var Bt = (e, t, i) => new Promise((r, n) => {
|
|
|
27
27
|
}, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, s);
|
|
28
28
|
a((i = i.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function U() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function hi(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function At() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ie(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(hi);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function dt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function mi(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function fi(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const r of t)
|
|
53
53
|
r(void 0);
|
|
54
|
-
return
|
|
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 br(e, t, i) {
|
|
60
|
+
e.$$.on_destroy.push(fi(t, i));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const r =
|
|
65
|
+
function gr(e, t, i) {
|
|
66
|
+
const r = yr(e);
|
|
67
67
|
if (!r.getElementById(t)) {
|
|
68
68
|
const n = v("style");
|
|
69
|
-
n.id = t, n.textContent = i,
|
|
69
|
+
n.id = t, n.textContent = i, vr(r, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function yr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,61 +79,61 @@ function vr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function vr(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function N(e, t, i) {
|
|
90
90
|
e.insertBefore(t, i || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function B(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Ce(e, t) {
|
|
96
96
|
for (let i = 0; i < e.length; i += 1)
|
|
97
97
|
e[i] && e[i].d(t);
|
|
98
98
|
}
|
|
99
99
|
function v(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function be(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function F(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function j() {
|
|
109
|
+
return F(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function _r() {
|
|
112
|
+
return F("");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Y(e, t, i, r) {
|
|
115
115
|
return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
|
|
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 pi(e) {
|
|
121
121
|
return e === "" ? null : +e;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Er(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function W(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ve(e, t) {
|
|
131
131
|
e.value = t == null ? "" : t;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Ve(e, t, i, r) {
|
|
134
134
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function He(e, t, i) {
|
|
137
137
|
for (let r = 0; r < e.options.length; r += 1) {
|
|
138
138
|
const n = e.options[r];
|
|
139
139
|
if (n.__value === t) {
|
|
@@ -143,11 +143,11 @@ function Ie(e, t, i) {
|
|
|
143
143
|
}
|
|
144
144
|
(!i || t !== void 0) && (e.selectedIndex = -1);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Bt(e) {
|
|
147
147
|
const t = e.querySelector(":checked");
|
|
148
148
|
return t && t.__value;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Lr(e) {
|
|
151
151
|
const t = {};
|
|
152
152
|
return e.childNodes.forEach(
|
|
153
153
|
/** @param {Element} node */
|
|
@@ -156,98 +156,98 @@ function xr(e) {
|
|
|
156
156
|
}
|
|
157
157
|
), t;
|
|
158
158
|
}
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
|
|
159
|
+
let _e;
|
|
160
|
+
function ye(e) {
|
|
161
|
+
_e = e;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
if (!
|
|
163
|
+
function xr() {
|
|
164
|
+
if (!_e)
|
|
165
165
|
throw new Error("Function called outside component initialization");
|
|
166
|
-
return
|
|
166
|
+
return _e;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
168
|
+
function Tr(e) {
|
|
169
|
+
xr().$$.on_mount.push(e);
|
|
170
170
|
}
|
|
171
|
-
const se = [],
|
|
171
|
+
const se = [], Oe = [];
|
|
172
172
|
let ae = [];
|
|
173
|
-
const
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
173
|
+
const Nt = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
174
|
+
let tt = !1;
|
|
175
|
+
function Sr() {
|
|
176
|
+
tt || (tt = !0, wr.then(X));
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Ee(e) {
|
|
179
179
|
ae.push(e);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const Xe = /* @__PURE__ */ new Set();
|
|
182
182
|
let ne = 0;
|
|
183
183
|
function X() {
|
|
184
184
|
if (ne !== 0)
|
|
185
185
|
return;
|
|
186
|
-
const e =
|
|
186
|
+
const e = _e;
|
|
187
187
|
do {
|
|
188
188
|
try {
|
|
189
189
|
for (; ne < se.length; ) {
|
|
190
190
|
const t = se[ne];
|
|
191
|
-
ne++,
|
|
191
|
+
ne++, ye(t), Pr(t.$$);
|
|
192
192
|
}
|
|
193
193
|
} catch (t) {
|
|
194
194
|
throw se.length = 0, ne = 0, t;
|
|
195
195
|
}
|
|
196
|
-
for (
|
|
197
|
-
|
|
196
|
+
for (ye(null), se.length = 0, ne = 0; Oe.length; )
|
|
197
|
+
Oe.pop()();
|
|
198
198
|
for (let t = 0; t < ae.length; t += 1) {
|
|
199
199
|
const i = ae[t];
|
|
200
|
-
|
|
200
|
+
Xe.has(i) || (Xe.add(i), i());
|
|
201
201
|
}
|
|
202
202
|
ae.length = 0;
|
|
203
203
|
} while (se.length);
|
|
204
|
-
for (;
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
for (; Nt.length; )
|
|
205
|
+
Nt.pop()();
|
|
206
|
+
tt = !1, Xe.clear(), ye(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Pr(e) {
|
|
209
209
|
if (e.fragment !== null) {
|
|
210
210
|
e.update(), ie(e.before_update);
|
|
211
211
|
const t = e.dirty;
|
|
212
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
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 Ar(e) {
|
|
216
216
|
const t = [], i = [];
|
|
217
217
|
ae.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), ae = t;
|
|
218
218
|
}
|
|
219
|
-
const
|
|
220
|
-
function
|
|
221
|
-
e && e.i && (
|
|
219
|
+
const Br = /* @__PURE__ */ new Set();
|
|
220
|
+
function Nr(e, t) {
|
|
221
|
+
e && e.i && (Br.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
226
|
function Ir(e, t, i) {
|
|
227
227
|
const { fragment: r, after_update: n } = e.$$;
|
|
228
|
-
r && r.m(t, i),
|
|
229
|
-
const o = e.$$.on_mount.map(
|
|
228
|
+
r && r.m(t, i), Ee(() => {
|
|
229
|
+
const o = e.$$.on_mount.map(hi).filter(dt);
|
|
230
230
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
231
|
-
}), n.forEach(
|
|
231
|
+
}), n.forEach(Ee);
|
|
232
232
|
}
|
|
233
233
|
function Hr(e, t) {
|
|
234
234
|
const i = e.$$;
|
|
235
|
-
i.fragment !== null && (
|
|
235
|
+
i.fragment !== null && (Ar(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 Or(e, t) {
|
|
238
|
+
e.$$.dirty[0] === -1 && (se.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
const c =
|
|
242
|
-
|
|
240
|
+
function Mr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
241
|
+
const c = _e;
|
|
242
|
+
ye(e);
|
|
243
243
|
const u = e.$$ = {
|
|
244
244
|
fragment: null,
|
|
245
245
|
ctx: [],
|
|
246
246
|
// state
|
|
247
247
|
props: o,
|
|
248
|
-
update:
|
|
248
|
+
update: U,
|
|
249
249
|
not_equal: n,
|
|
250
|
-
bound:
|
|
250
|
+
bound: At(),
|
|
251
251
|
// lifecycle
|
|
252
252
|
on_mount: [],
|
|
253
253
|
on_destroy: [],
|
|
@@ -256,28 +256,28 @@ function kr(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: At(),
|
|
260
260
|
dirty: a,
|
|
261
261
|
skip_bound: !1,
|
|
262
262
|
root: t.target || c.$$.root
|
|
263
263
|
};
|
|
264
264
|
s && s(u.root);
|
|
265
265
|
let l = !1;
|
|
266
|
-
if (u.ctx = i ? i(e, t.props || {}, (h,
|
|
267
|
-
const p =
|
|
268
|
-
return u.ctx && n(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l &&
|
|
266
|
+
if (u.ctx = i ? i(e, t.props || {}, (h, f, ...m) => {
|
|
267
|
+
const p = m.length ? m[0] : f;
|
|
268
|
+
return u.ctx && n(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l && Or(e, h)), f;
|
|
269
269
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
270
270
|
if (t.hydrate) {
|
|
271
|
-
const h =
|
|
272
|
-
u.fragment && u.fragment.l(h), h.forEach(
|
|
271
|
+
const h = Er(t.target);
|
|
272
|
+
u.fragment && u.fragment.l(h), h.forEach(B);
|
|
273
273
|
} else
|
|
274
274
|
u.fragment && u.fragment.c();
|
|
275
|
-
t.intro &&
|
|
275
|
+
t.intro && Nr(e.$$.fragment), Ir(e, t.target, t.anchor), X();
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
ye(c);
|
|
278
278
|
}
|
|
279
|
-
let
|
|
280
|
-
typeof HTMLElement == "function" && (
|
|
279
|
+
let di;
|
|
280
|
+
typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
281
281
|
constructor(t, i, r) {
|
|
282
282
|
super();
|
|
283
283
|
/** The Svelte component constructor */
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
connectedCallback() {
|
|
317
|
-
return
|
|
317
|
+
return Pt(this, null, function* () {
|
|
318
318
|
if (this.$$cn = !0, !this.$$c) {
|
|
319
319
|
let t = function(o) {
|
|
320
320
|
return () => {
|
|
@@ -328,17 +328,17 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
328
328
|
* @param {HTMLElement} [anchor]
|
|
329
329
|
*/
|
|
330
330
|
m: function(u, l) {
|
|
331
|
-
|
|
331
|
+
N(u, s, l);
|
|
332
332
|
},
|
|
333
333
|
d: function(u) {
|
|
334
|
-
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 = {}, r =
|
|
341
|
+
const i = {}, r = Lr(this);
|
|
342
342
|
for (const o of this.$$s)
|
|
343
343
|
o in r && (i[o] = [t(o)]);
|
|
344
344
|
for (const o of this.attributes) {
|
|
@@ -349,7 +349,7 @@ typeof HTMLElement == "function" && (gi = 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: St(wt({}, this.$$d), {
|
|
353
353
|
$$slots: i,
|
|
354
354
|
$$scope: {
|
|
355
355
|
ctx: []
|
|
@@ -427,8 +427,8 @@ function Ae(e, t, i, r) {
|
|
|
427
427
|
return t;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
let s = class extends
|
|
430
|
+
function kr(e, t, i, r, n, o) {
|
|
431
|
+
let s = class extends di {
|
|
432
432
|
constructor() {
|
|
433
433
|
super(e, i, n), this.$$p_d = t;
|
|
434
434
|
}
|
|
@@ -458,7 +458,7 @@ function Cr(e, t, i, r, n, o) {
|
|
|
458
458
|
}), e.element = /** @type {any} */
|
|
459
459
|
s, s;
|
|
460
460
|
}
|
|
461
|
-
class
|
|
461
|
+
class Cr {
|
|
462
462
|
constructor() {
|
|
463
463
|
/**
|
|
464
464
|
* ### PRIVATE API
|
|
@@ -479,7 +479,7 @@ class Dr {
|
|
|
479
479
|
}
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
Hr(this, 1), this.$destroy =
|
|
482
|
+
Hr(this, 1), this.$destroy = U;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -488,8 +488,8 @@ class Dr {
|
|
|
488
488
|
* @returns {() => void}
|
|
489
489
|
*/
|
|
490
490
|
$on(t, i) {
|
|
491
|
-
if (!
|
|
492
|
-
return
|
|
491
|
+
if (!dt(i))
|
|
492
|
+
return U;
|
|
493
493
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
494
494
|
return r.push(i), () => {
|
|
495
495
|
const n = r.indexOf(i);
|
|
@@ -501,11 +501,11 @@ class Dr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !dr(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 Dr = "4";
|
|
508
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
509
509
|
const Z = {
|
|
510
510
|
deposit: {
|
|
511
511
|
title: "Deposit Limit",
|
|
@@ -532,16 +532,16 @@ const Z = {
|
|
|
532
532
|
periods: ["Monthly"]
|
|
533
533
|
}
|
|
534
534
|
}, oe = [];
|
|
535
|
-
function
|
|
535
|
+
function Rr(e, t) {
|
|
536
536
|
return {
|
|
537
|
-
subscribe:
|
|
537
|
+
subscribe: De(e, t).subscribe
|
|
538
538
|
};
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function De(e, t = U) {
|
|
541
541
|
let i;
|
|
542
542
|
const r = /* @__PURE__ */ new Set();
|
|
543
543
|
function n(a) {
|
|
544
|
-
if (
|
|
544
|
+
if (mi(e, a) && (e = a, i)) {
|
|
545
545
|
const c = !oe.length;
|
|
546
546
|
for (const u of r)
|
|
547
547
|
u[1](), oe.push(u, e);
|
|
@@ -555,9 +555,9 @@ function Re(e, t = j) {
|
|
|
555
555
|
function o(a) {
|
|
556
556
|
n(a(e));
|
|
557
557
|
}
|
|
558
|
-
function s(a, c =
|
|
558
|
+
function s(a, c = U) {
|
|
559
559
|
const u = [a, c];
|
|
560
|
-
return r.add(u), r.size === 1 && (i = t(n, o) ||
|
|
560
|
+
return r.add(u), r.size === 1 && (i = t(n, o) || U), a(e), () => {
|
|
561
561
|
r.delete(u), r.size === 0 && i && (i(), i = null);
|
|
562
562
|
};
|
|
563
563
|
}
|
|
@@ -568,134 +568,148 @@ function fe(e, t, i) {
|
|
|
568
568
|
if (!n.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 Rr(i, (s, a) => {
|
|
572
572
|
let c = !1;
|
|
573
573
|
const u = [];
|
|
574
|
-
let l = 0, h =
|
|
575
|
-
const
|
|
574
|
+
let l = 0, h = U;
|
|
575
|
+
const f = () => {
|
|
576
576
|
if (l)
|
|
577
577
|
return;
|
|
578
578
|
h();
|
|
579
579
|
const p = t(r ? u[0] : u, s, a);
|
|
580
|
-
o ? s(p) : h =
|
|
581
|
-
},
|
|
582
|
-
(p, _) =>
|
|
580
|
+
o ? s(p) : h = dt(p) ? p : U;
|
|
581
|
+
}, m = n.map(
|
|
582
|
+
(p, _) => fi(
|
|
583
583
|
p,
|
|
584
584
|
(R) => {
|
|
585
|
-
u[_] = R, l &= ~(1 << _), c &&
|
|
585
|
+
u[_] = R, l &= ~(1 << _), c && f();
|
|
586
586
|
},
|
|
587
587
|
() => {
|
|
588
588
|
l |= 1 << _;
|
|
589
589
|
}
|
|
590
590
|
)
|
|
591
591
|
);
|
|
592
|
-
return c = !0,
|
|
593
|
-
ie(
|
|
592
|
+
return c = !0, f(), function() {
|
|
593
|
+
ie(m), h(), c = !1;
|
|
594
594
|
};
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
597
|
function Ur(e) {
|
|
598
598
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
599
599
|
}
|
|
600
|
-
var
|
|
601
|
-
return Fr(t) &&
|
|
600
|
+
var jr = function(t) {
|
|
601
|
+
return Fr(t) && !$r(t);
|
|
602
602
|
};
|
|
603
603
|
function Fr(e) {
|
|
604
604
|
return !!e && typeof e == "object";
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function $r(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]" || Wr(e);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
function
|
|
612
|
-
return e.$$typeof ===
|
|
610
|
+
var Gr = typeof Symbol == "function" && Symbol.for, zr = Gr ? Symbol.for("react.element") : 60103;
|
|
611
|
+
function Wr(e) {
|
|
612
|
+
return e.$$typeof === zr;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Vr(e) {
|
|
615
615
|
return Array.isArray(e) ? [] : {};
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
617
|
+
function Le(e, t) {
|
|
618
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Vr(e), e, t) : e;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Xr(e, t, i) {
|
|
621
621
|
return e.concat(t).map(function(r) {
|
|
622
|
-
return
|
|
622
|
+
return Le(r, i);
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Zr(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 Yr(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 It(e) {
|
|
637
|
+
return Object.keys(e).concat(Yr(e));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function bi(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 qr(e, t) {
|
|
647
|
+
return bi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Jr(e, t, i) {
|
|
650
650
|
var r = {};
|
|
651
|
-
return i.isMergeableObject(e) &&
|
|
652
|
-
r[n] =
|
|
653
|
-
}),
|
|
654
|
-
|
|
651
|
+
return i.isMergeableObject(e) && It(e).forEach(function(n) {
|
|
652
|
+
r[n] = Le(e[n], i);
|
|
653
|
+
}), It(t).forEach(function(n) {
|
|
654
|
+
qr(e, n) || (bi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Zr(n, i)(e[n], t[n], i) : r[n] = Le(t[n], i));
|
|
655
655
|
}), r;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
657
|
+
function le(e, t, i) {
|
|
658
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Xr, i.isMergeableObject = i.isMergeableObject || jr, i.cloneUnlessOtherwiseSpecified = Le;
|
|
659
659
|
var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
|
|
660
|
-
return o ? r ? i.arrayMerge(e, t, i) :
|
|
660
|
+
return o ? r ? i.arrayMerge(e, t, i) : Jr(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
665
|
return t.reduce(function(r, n) {
|
|
666
|
-
return
|
|
666
|
+
return le(r, n, i);
|
|
667
667
|
}, {});
|
|
668
668
|
};
|
|
669
|
-
var
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
669
|
+
var Qr = le, Kr = Qr;
|
|
670
|
+
const en = /* @__PURE__ */ Ur(Kr);
|
|
671
|
+
/*! *****************************************************************************
|
|
672
|
+
Copyright (c) Microsoft Corporation.
|
|
673
|
+
|
|
674
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
675
|
+
purpose with or without fee is hereby granted.
|
|
676
|
+
|
|
677
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
678
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
679
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
680
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
681
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
682
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
683
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
684
|
+
***************************************************************************** */
|
|
685
|
+
var it = function(e, t) {
|
|
686
|
+
return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
673
687
|
i.__proto__ = r;
|
|
674
688
|
} || function(i, r) {
|
|
675
689
|
for (var n in r)
|
|
676
690
|
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
677
|
-
},
|
|
691
|
+
}, it(e, t);
|
|
678
692
|
};
|
|
679
|
-
function
|
|
693
|
+
function Q(e, t) {
|
|
680
694
|
if (typeof t != "function" && t !== null)
|
|
681
695
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
682
|
-
|
|
696
|
+
it(e, t);
|
|
683
697
|
function i() {
|
|
684
698
|
this.constructor = e;
|
|
685
699
|
}
|
|
686
700
|
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
687
701
|
}
|
|
688
|
-
var
|
|
689
|
-
return
|
|
702
|
+
var S = function() {
|
|
703
|
+
return S = Object.assign || function(t) {
|
|
690
704
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
691
705
|
i = arguments[r];
|
|
692
706
|
for (var o in i)
|
|
693
707
|
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
694
708
|
}
|
|
695
709
|
return t;
|
|
696
|
-
},
|
|
710
|
+
}, S.apply(this, arguments);
|
|
697
711
|
};
|
|
698
|
-
function
|
|
712
|
+
function tn(e, t) {
|
|
699
713
|
var i = {};
|
|
700
714
|
for (var r in e)
|
|
701
715
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
@@ -704,119 +718,143 @@ function rn(e, t) {
|
|
|
704
718
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
705
719
|
return i;
|
|
706
720
|
}
|
|
707
|
-
function
|
|
721
|
+
function rt(e) {
|
|
722
|
+
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
723
|
+
if (i)
|
|
724
|
+
return i.call(e);
|
|
725
|
+
if (e && typeof e.length == "number")
|
|
726
|
+
return {
|
|
727
|
+
next: function() {
|
|
728
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
732
|
+
}
|
|
733
|
+
function nt(e, t) {
|
|
734
|
+
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
735
|
+
if (!i)
|
|
736
|
+
return e;
|
|
737
|
+
var r = i.call(e), n, o = [], s;
|
|
738
|
+
try {
|
|
739
|
+
for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
|
|
740
|
+
o.push(n.value);
|
|
741
|
+
} catch (a) {
|
|
742
|
+
s = { error: a };
|
|
743
|
+
} finally {
|
|
744
|
+
try {
|
|
745
|
+
n && !n.done && (i = r.return) && i.call(r);
|
|
746
|
+
} finally {
|
|
747
|
+
if (s)
|
|
748
|
+
throw s.error;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
return o;
|
|
752
|
+
}
|
|
753
|
+
function ue(e, t, i) {
|
|
708
754
|
if (i || arguments.length === 2)
|
|
709
755
|
for (var r = 0, n = t.length, o; r < n; r++)
|
|
710
756
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
711
|
-
return e.concat(o ||
|
|
757
|
+
return e.concat(o || t);
|
|
712
758
|
}
|
|
713
|
-
function
|
|
714
|
-
var i = t && t.cache ? t.cache :
|
|
759
|
+
function Ze(e, t) {
|
|
760
|
+
var i = t && t.cache ? t.cache : un, r = t && t.serializer ? t.serializer : an, n = t && t.strategy ? t.strategy : nn;
|
|
715
761
|
return n(e, {
|
|
716
762
|
cache: i,
|
|
717
763
|
serializer: r
|
|
718
764
|
});
|
|
719
765
|
}
|
|
720
|
-
function
|
|
766
|
+
function rn(e) {
|
|
721
767
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
722
768
|
}
|
|
723
|
-
function
|
|
724
|
-
var n =
|
|
769
|
+
function gi(e, t, i, r) {
|
|
770
|
+
var n = rn(r) ? r : i(r), o = t.get(n);
|
|
725
771
|
return typeof o == "undefined" && (o = e.call(this, r), t.set(n, o)), o;
|
|
726
772
|
}
|
|
727
|
-
function
|
|
773
|
+
function yi(e, t, i) {
|
|
728
774
|
var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
|
|
729
775
|
return typeof o == "undefined" && (o = e.apply(this, r), t.set(n, o)), o;
|
|
730
776
|
}
|
|
731
|
-
function
|
|
777
|
+
function bt(e, t, i, r, n) {
|
|
732
778
|
return i.bind(t, e, r, n);
|
|
733
779
|
}
|
|
734
|
-
function
|
|
735
|
-
var i = e.length === 1 ?
|
|
736
|
-
return
|
|
780
|
+
function nn(e, t) {
|
|
781
|
+
var i = e.length === 1 ? gi : yi;
|
|
782
|
+
return bt(e, this, i, t.cache.create(), t.serializer);
|
|
737
783
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
784
|
+
function on(e, t) {
|
|
785
|
+
return bt(e, this, yi, t.cache.create(), t.serializer);
|
|
740
786
|
}
|
|
741
|
-
|
|
787
|
+
function sn(e, t) {
|
|
788
|
+
return bt(e, this, gi, t.cache.create(), t.serializer);
|
|
789
|
+
}
|
|
790
|
+
var an = function() {
|
|
742
791
|
return JSON.stringify(arguments);
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}()
|
|
755
|
-
), cn = {
|
|
792
|
+
};
|
|
793
|
+
function gt() {
|
|
794
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
795
|
+
}
|
|
796
|
+
gt.prototype.get = function(e) {
|
|
797
|
+
return this.cache[e];
|
|
798
|
+
};
|
|
799
|
+
gt.prototype.set = function(e, t) {
|
|
800
|
+
this.cache[e] = t;
|
|
801
|
+
};
|
|
802
|
+
var un = {
|
|
756
803
|
create: function() {
|
|
757
|
-
return new
|
|
804
|
+
return new gt();
|
|
758
805
|
}
|
|
759
|
-
},
|
|
760
|
-
variadic:
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
764
|
-
i = arguments[r];
|
|
765
|
-
for (var o in i)
|
|
766
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
767
|
-
}
|
|
768
|
-
return t;
|
|
769
|
-
}, Me.apply(this, arguments);
|
|
770
|
-
};
|
|
771
|
-
var x;
|
|
806
|
+
}, Ye = {
|
|
807
|
+
variadic: on,
|
|
808
|
+
monadic: sn
|
|
809
|
+
}, x;
|
|
772
810
|
(function(e) {
|
|
773
811
|
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";
|
|
774
812
|
})(x || (x = {}));
|
|
775
|
-
var
|
|
813
|
+
var O;
|
|
776
814
|
(function(e) {
|
|
777
815
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
778
|
-
})(
|
|
779
|
-
var
|
|
816
|
+
})(O || (O = {}));
|
|
817
|
+
var ce;
|
|
780
818
|
(function(e) {
|
|
781
819
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
782
|
-
})(
|
|
783
|
-
function
|
|
784
|
-
return e.type ===
|
|
820
|
+
})(ce || (ce = {}));
|
|
821
|
+
function Ht(e) {
|
|
822
|
+
return e.type === O.literal;
|
|
823
|
+
}
|
|
824
|
+
function ln(e) {
|
|
825
|
+
return e.type === O.argument;
|
|
826
|
+
}
|
|
827
|
+
function vi(e) {
|
|
828
|
+
return e.type === O.number;
|
|
785
829
|
}
|
|
786
|
-
function
|
|
787
|
-
return e.type ===
|
|
830
|
+
function _i(e) {
|
|
831
|
+
return e.type === O.date;
|
|
788
832
|
}
|
|
789
833
|
function Ei(e) {
|
|
790
|
-
return e.type ===
|
|
834
|
+
return e.type === O.time;
|
|
791
835
|
}
|
|
792
836
|
function Li(e) {
|
|
793
|
-
return e.type ===
|
|
837
|
+
return e.type === O.select;
|
|
794
838
|
}
|
|
795
839
|
function xi(e) {
|
|
796
|
-
return e.type ===
|
|
840
|
+
return e.type === O.plural;
|
|
841
|
+
}
|
|
842
|
+
function cn(e) {
|
|
843
|
+
return e.type === O.pound;
|
|
797
844
|
}
|
|
798
845
|
function Ti(e) {
|
|
799
|
-
return e.type ===
|
|
846
|
+
return e.type === O.tag;
|
|
800
847
|
}
|
|
801
848
|
function wi(e) {
|
|
802
|
-
return e.type ===
|
|
803
|
-
}
|
|
804
|
-
function fn(e) {
|
|
805
|
-
return e.type === I.pound;
|
|
806
|
-
}
|
|
807
|
-
function Si(e) {
|
|
808
|
-
return e.type === I.tag;
|
|
809
|
-
}
|
|
810
|
-
function Pi(e) {
|
|
811
|
-
return !!(e && typeof e == "object" && e.type === le.number);
|
|
849
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
812
850
|
}
|
|
813
851
|
function ot(e) {
|
|
814
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
852
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
815
853
|
}
|
|
816
|
-
var
|
|
817
|
-
function
|
|
854
|
+
var Si = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
|
|
855
|
+
function mn(e) {
|
|
818
856
|
var t = {};
|
|
819
|
-
return e.replace(
|
|
857
|
+
return e.replace(hn, function(i) {
|
|
820
858
|
var r = i.length;
|
|
821
859
|
switch (i[0]) {
|
|
822
860
|
case "G":
|
|
@@ -905,22 +943,12 @@ function pn(e) {
|
|
|
905
943
|
return "";
|
|
906
944
|
}), t;
|
|
907
945
|
}
|
|
908
|
-
var
|
|
909
|
-
|
|
910
|
-
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
911
|
-
i = arguments[r];
|
|
912
|
-
for (var o in i)
|
|
913
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
914
|
-
}
|
|
915
|
-
return t;
|
|
916
|
-
}, C.apply(this, arguments);
|
|
917
|
-
};
|
|
918
|
-
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
919
|
-
function bn(e) {
|
|
946
|
+
var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
947
|
+
function pn(e) {
|
|
920
948
|
if (e.length === 0)
|
|
921
949
|
throw new Error("Number skeleton cannot be empty");
|
|
922
|
-
for (var t = e.split(
|
|
923
|
-
return
|
|
950
|
+
for (var t = e.split(fn).filter(function(f) {
|
|
951
|
+
return f.length > 0;
|
|
924
952
|
}), i = [], r = 0, n = t; r < n.length; r++) {
|
|
925
953
|
var o = n[r], s = o.split("/");
|
|
926
954
|
if (s.length === 0)
|
|
@@ -934,17 +962,17 @@ function bn(e) {
|
|
|
934
962
|
}
|
|
935
963
|
return i;
|
|
936
964
|
}
|
|
937
|
-
function
|
|
965
|
+
function dn(e) {
|
|
938
966
|
return e.replace(/^(.*?)-/, "");
|
|
939
967
|
}
|
|
940
|
-
var
|
|
941
|
-
function
|
|
968
|
+
var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pi = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ai = /^(0+)$/;
|
|
969
|
+
function Mt(e) {
|
|
942
970
|
var t = {};
|
|
943
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
971
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pi, function(i, r, n) {
|
|
944
972
|
return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
|
|
945
973
|
}), t;
|
|
946
974
|
}
|
|
947
|
-
function
|
|
975
|
+
function Bi(e) {
|
|
948
976
|
switch (e) {
|
|
949
977
|
case "sign-auto":
|
|
950
978
|
return {
|
|
@@ -984,7 +1012,7 @@ function Oi(e) {
|
|
|
984
1012
|
};
|
|
985
1013
|
}
|
|
986
1014
|
}
|
|
987
|
-
function
|
|
1015
|
+
function gn(e) {
|
|
988
1016
|
var t;
|
|
989
1017
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
990
1018
|
notation: "engineering"
|
|
@@ -992,17 +1020,17 @@ function vn(e) {
|
|
|
992
1020
|
notation: "scientific"
|
|
993
1021
|
}, e = e.slice(1)), t) {
|
|
994
1022
|
var i = e.slice(0, 2);
|
|
995
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1023
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ai.test(e))
|
|
996
1024
|
throw new Error("Malformed concise eng/scientific notation");
|
|
997
1025
|
t.minimumIntegerDigits = e.length;
|
|
998
1026
|
}
|
|
999
1027
|
return t;
|
|
1000
1028
|
}
|
|
1001
|
-
function
|
|
1002
|
-
var t = {}, i =
|
|
1029
|
+
function kt(e) {
|
|
1030
|
+
var t = {}, i = Bi(e);
|
|
1003
1031
|
return i || t;
|
|
1004
1032
|
}
|
|
1005
|
-
function
|
|
1033
|
+
function yn(e) {
|
|
1006
1034
|
for (var t = {}, i = 0, r = e; i < r.length; i++) {
|
|
1007
1035
|
var n = r[i];
|
|
1008
1036
|
switch (n.stem) {
|
|
@@ -1026,7 +1054,7 @@ function _n(e) {
|
|
|
1026
1054
|
continue;
|
|
1027
1055
|
case "measure-unit":
|
|
1028
1056
|
case "unit":
|
|
1029
|
-
t.style = "unit", t.unit =
|
|
1057
|
+
t.style = "unit", t.unit = dn(n.options[0]);
|
|
1030
1058
|
continue;
|
|
1031
1059
|
case "compact-short":
|
|
1032
1060
|
case "K":
|
|
@@ -1037,13 +1065,13 @@ function _n(e) {
|
|
|
1037
1065
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1038
1066
|
continue;
|
|
1039
1067
|
case "scientific":
|
|
1040
|
-
t =
|
|
1041
|
-
return
|
|
1068
|
+
t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(c, u) {
|
|
1069
|
+
return S(S({}, c), kt(u));
|
|
1042
1070
|
}, {}));
|
|
1043
1071
|
continue;
|
|
1044
1072
|
case "engineering":
|
|
1045
|
-
t =
|
|
1046
|
-
return
|
|
1073
|
+
t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(c, u) {
|
|
1074
|
+
return S(S({}, c), kt(u));
|
|
1047
1075
|
}, {}));
|
|
1048
1076
|
continue;
|
|
1049
1077
|
case "notation-simple":
|
|
@@ -1088,41 +1116,41 @@ function _n(e) {
|
|
|
1088
1116
|
case "integer-width":
|
|
1089
1117
|
if (n.options.length > 1)
|
|
1090
1118
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1091
|
-
n.options[0].replace(
|
|
1119
|
+
n.options[0].replace(bn, function(c, u, l, h, f, m) {
|
|
1092
1120
|
if (u)
|
|
1093
1121
|
t.minimumIntegerDigits = l.length;
|
|
1094
1122
|
else {
|
|
1095
|
-
if (h &&
|
|
1123
|
+
if (h && f)
|
|
1096
1124
|
throw new Error("We currently do not support maximum integer digits");
|
|
1097
|
-
if (
|
|
1125
|
+
if (m)
|
|
1098
1126
|
throw new Error("We currently do not support exact integer digits");
|
|
1099
1127
|
}
|
|
1100
1128
|
return "";
|
|
1101
1129
|
});
|
|
1102
1130
|
continue;
|
|
1103
1131
|
}
|
|
1104
|
-
if (
|
|
1132
|
+
if (Ai.test(n.stem)) {
|
|
1105
1133
|
t.minimumIntegerDigits = n.stem.length;
|
|
1106
1134
|
continue;
|
|
1107
1135
|
}
|
|
1108
|
-
if (
|
|
1136
|
+
if (Ot.test(n.stem)) {
|
|
1109
1137
|
if (n.options.length > 1)
|
|
1110
1138
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1111
|
-
n.stem.replace(
|
|
1112
|
-
return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length :
|
|
1139
|
+
n.stem.replace(Ot, function(c, u, l, h, f, m) {
|
|
1140
|
+
return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1113
1141
|
});
|
|
1114
1142
|
var o = n.options[0];
|
|
1115
|
-
o === "w" ? t =
|
|
1143
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Mt(o)));
|
|
1116
1144
|
continue;
|
|
1117
1145
|
}
|
|
1118
|
-
if (
|
|
1119
|
-
t =
|
|
1146
|
+
if (Pi.test(n.stem)) {
|
|
1147
|
+
t = S(S({}, t), Mt(n.stem));
|
|
1120
1148
|
continue;
|
|
1121
1149
|
}
|
|
1122
|
-
var s =
|
|
1123
|
-
s && (t =
|
|
1124
|
-
var a =
|
|
1125
|
-
a && (t =
|
|
1150
|
+
var s = Bi(n.stem);
|
|
1151
|
+
s && (t = S(S({}, t), s));
|
|
1152
|
+
var a = gn(n.stem);
|
|
1153
|
+
a && (t = S(S({}, t), a));
|
|
1126
1154
|
}
|
|
1127
1155
|
return t;
|
|
1128
1156
|
}
|
|
@@ -2541,13 +2569,13 @@ var Se = {
|
|
|
2541
2569
|
"h"
|
|
2542
2570
|
]
|
|
2543
2571
|
};
|
|
2544
|
-
function
|
|
2572
|
+
function vn(e, t) {
|
|
2545
2573
|
for (var i = "", r = 0; r < e.length; r++) {
|
|
2546
2574
|
var n = e.charAt(r);
|
|
2547
2575
|
if (n === "j") {
|
|
2548
2576
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
|
|
2549
2577
|
o++, r++;
|
|
2550
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u =
|
|
2578
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = _n(t);
|
|
2551
2579
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2552
2580
|
i += c;
|
|
2553
2581
|
for (; s-- > 0; )
|
|
@@ -2557,7 +2585,7 @@ function En(e, t) {
|
|
|
2557
2585
|
}
|
|
2558
2586
|
return i;
|
|
2559
2587
|
}
|
|
2560
|
-
function
|
|
2588
|
+
function _n(e) {
|
|
2561
2589
|
var t = e.hourCycle;
|
|
2562
2590
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2563
2591
|
e.hourCycles && // @ts-ignore
|
|
@@ -2579,20 +2607,20 @@ function Ln(e) {
|
|
|
2579
2607
|
var n = Se[r || ""] || Se[i || ""] || Se["".concat(i, "-001")] || Se["001"];
|
|
2580
2608
|
return n[0];
|
|
2581
2609
|
}
|
|
2582
|
-
var
|
|
2610
|
+
var qe, En = new RegExp("^".concat(Si.source, "*")), Ln = new RegExp("".concat(Si.source, "*$"));
|
|
2583
2611
|
function T(e, t) {
|
|
2584
2612
|
return { start: e, end: t };
|
|
2585
2613
|
}
|
|
2586
|
-
var
|
|
2614
|
+
var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Bn = !!Number.isSafeInteger, Nn = Bn ? Number.isSafeInteger : function(e) {
|
|
2587
2615
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2588
2616
|
}, st = !0;
|
|
2589
2617
|
try {
|
|
2590
|
-
var
|
|
2591
|
-
st = ((
|
|
2618
|
+
var In = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2619
|
+
st = ((qe = In.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
|
|
2592
2620
|
} catch (e) {
|
|
2593
2621
|
st = !1;
|
|
2594
2622
|
}
|
|
2595
|
-
var
|
|
2623
|
+
var Ct = xn ? (
|
|
2596
2624
|
// Native
|
|
2597
2625
|
function(t, i, r) {
|
|
2598
2626
|
return t.startsWith(i, r);
|
|
@@ -2602,7 +2630,7 @@ var Rt = wn ? (
|
|
|
2602
2630
|
function(t, i, r) {
|
|
2603
2631
|
return t.slice(r, r + i.length) === i;
|
|
2604
2632
|
}
|
|
2605
|
-
), at =
|
|
2633
|
+
), at = Tn ? String.fromCodePoint : (
|
|
2606
2634
|
// IE11
|
|
2607
2635
|
function() {
|
|
2608
2636
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2614,9 +2642,9 @@ var Rt = wn ? (
|
|
|
2614
2642
|
}
|
|
2615
2643
|
return r;
|
|
2616
2644
|
}
|
|
2617
|
-
),
|
|
2645
|
+
), Dt = (
|
|
2618
2646
|
// native
|
|
2619
|
-
|
|
2647
|
+
wn ? Object.fromEntries : (
|
|
2620
2648
|
// Ponyfill
|
|
2621
2649
|
function(t) {
|
|
2622
2650
|
for (var i = {}, r = 0, n = t; r < n.length; r++) {
|
|
@@ -2626,7 +2654,7 @@ var Rt = wn ? (
|
|
|
2626
2654
|
return i;
|
|
2627
2655
|
}
|
|
2628
2656
|
)
|
|
2629
|
-
),
|
|
2657
|
+
), Ni = Sn ? (
|
|
2630
2658
|
// Native
|
|
2631
2659
|
function(t, i) {
|
|
2632
2660
|
return t.codePointAt(i);
|
|
@@ -2640,7 +2668,7 @@ var Rt = wn ? (
|
|
|
2640
2668
|
return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2641
2669
|
}
|
|
2642
2670
|
}
|
|
2643
|
-
),
|
|
2671
|
+
), Hn = Pn ? (
|
|
2644
2672
|
// Native
|
|
2645
2673
|
function(t) {
|
|
2646
2674
|
return t.trimStart();
|
|
@@ -2648,9 +2676,9 @@ var Rt = wn ? (
|
|
|
2648
2676
|
) : (
|
|
2649
2677
|
// Ponyfill
|
|
2650
2678
|
function(t) {
|
|
2651
|
-
return t.replace(
|
|
2679
|
+
return t.replace(En, "");
|
|
2652
2680
|
}
|
|
2653
|
-
),
|
|
2681
|
+
), On = An ? (
|
|
2654
2682
|
// Native
|
|
2655
2683
|
function(t) {
|
|
2656
2684
|
return t.trimEnd();
|
|
@@ -2658,32 +2686,32 @@ var Rt = wn ? (
|
|
|
2658
2686
|
) : (
|
|
2659
2687
|
// Ponyfill
|
|
2660
2688
|
function(t) {
|
|
2661
|
-
return t.replace(
|
|
2689
|
+
return t.replace(Ln, "");
|
|
2662
2690
|
}
|
|
2663
2691
|
);
|
|
2664
|
-
function
|
|
2692
|
+
function Ii(e, t) {
|
|
2665
2693
|
return new RegExp(e, t);
|
|
2666
2694
|
}
|
|
2667
2695
|
var ut;
|
|
2668
2696
|
if (st) {
|
|
2669
|
-
var
|
|
2697
|
+
var Rt = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2670
2698
|
ut = function(t, i) {
|
|
2671
2699
|
var r;
|
|
2672
|
-
|
|
2673
|
-
var n =
|
|
2700
|
+
Rt.lastIndex = i;
|
|
2701
|
+
var n = Rt.exec(t);
|
|
2674
2702
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
2675
2703
|
};
|
|
2676
2704
|
} else
|
|
2677
2705
|
ut = function(t, i) {
|
|
2678
2706
|
for (var r = []; ; ) {
|
|
2679
|
-
var n =
|
|
2680
|
-
if (n === void 0 ||
|
|
2707
|
+
var n = Ni(t, i);
|
|
2708
|
+
if (n === void 0 || Hi(n) || Dn(n))
|
|
2681
2709
|
break;
|
|
2682
2710
|
r.push(n), i += n >= 65536 ? 2 : 1;
|
|
2683
2711
|
}
|
|
2684
2712
|
return at.apply(void 0, r);
|
|
2685
2713
|
};
|
|
2686
|
-
var
|
|
2714
|
+
var Mn = (
|
|
2687
2715
|
/** @class */
|
|
2688
2716
|
function() {
|
|
2689
2717
|
function e(t, i) {
|
|
@@ -2707,7 +2735,7 @@ var Cn = (
|
|
|
2707
2735
|
if (o === 35 && (i === "plural" || i === "selectordinal")) {
|
|
2708
2736
|
var a = this.clonePosition();
|
|
2709
2737
|
this.bump(), n.push({
|
|
2710
|
-
type:
|
|
2738
|
+
type: O.pound,
|
|
2711
2739
|
location: T(a, this.clonePosition())
|
|
2712
2740
|
});
|
|
2713
2741
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2735,7 +2763,7 @@ var Cn = (
|
|
|
2735
2763
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2736
2764
|
return {
|
|
2737
2765
|
val: {
|
|
2738
|
-
type:
|
|
2766
|
+
type: O.literal,
|
|
2739
2767
|
value: "<".concat(n, "/>"),
|
|
2740
2768
|
location: T(r, this.clonePosition())
|
|
2741
2769
|
},
|
|
@@ -2752,7 +2780,7 @@ var Cn = (
|
|
|
2752
2780
|
var c = this.clonePosition(), u = this.parseTagName();
|
|
2753
2781
|
return n !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2754
2782
|
val: {
|
|
2755
|
-
type:
|
|
2783
|
+
type: O.tag,
|
|
2756
2784
|
value: n,
|
|
2757
2785
|
children: s,
|
|
2758
2786
|
location: T(r, this.clonePosition())
|
|
@@ -2765,7 +2793,7 @@ var Cn = (
|
|
|
2765
2793
|
return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
|
|
2766
2794
|
}, e.prototype.parseTagName = function() {
|
|
2767
2795
|
var t = this.offset();
|
|
2768
|
-
for (this.bump(); !this.isEOF() &&
|
|
2796
|
+
for (this.bump(); !this.isEOF() && Cn(this.char()); )
|
|
2769
2797
|
this.bump();
|
|
2770
2798
|
return this.message.slice(t, this.offset());
|
|
2771
2799
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2789,12 +2817,12 @@ var Cn = (
|
|
|
2789
2817
|
}
|
|
2790
2818
|
var c = T(r, this.clonePosition());
|
|
2791
2819
|
return {
|
|
2792
|
-
val: { type:
|
|
2820
|
+
val: { type: O.literal, value: n, location: c },
|
|
2793
2821
|
err: null
|
|
2794
2822
|
};
|
|
2795
2823
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2796
2824
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2797
|
-
!
|
|
2825
|
+
!kn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2798
2826
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2799
2827
|
if (this.isEOF() || this.char() !== 39)
|
|
2800
2828
|
return null;
|
|
@@ -2849,7 +2877,7 @@ var Cn = (
|
|
|
2849
2877
|
case 125:
|
|
2850
2878
|
return this.bump(), {
|
|
2851
2879
|
val: {
|
|
2852
|
-
type:
|
|
2880
|
+
type: O.argument,
|
|
2853
2881
|
// value does not include the opening and closing braces.
|
|
2854
2882
|
value: n,
|
|
2855
2883
|
location: T(r, this.clonePosition())
|
|
@@ -2881,44 +2909,44 @@ var Cn = (
|
|
|
2881
2909
|
var l = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2882
2910
|
if (h.err)
|
|
2883
2911
|
return h;
|
|
2884
|
-
var
|
|
2885
|
-
if (
|
|
2912
|
+
var f = On(h.val);
|
|
2913
|
+
if (f.length === 0)
|
|
2886
2914
|
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
2887
|
-
var
|
|
2888
|
-
u = { style:
|
|
2915
|
+
var m = T(l, this.clonePosition());
|
|
2916
|
+
u = { style: f, styleLocation: m };
|
|
2889
2917
|
}
|
|
2890
2918
|
var p = this.tryParseArgumentClose(n);
|
|
2891
2919
|
if (p.err)
|
|
2892
2920
|
return p;
|
|
2893
2921
|
var _ = T(n, this.clonePosition());
|
|
2894
|
-
if (u &&
|
|
2895
|
-
var R =
|
|
2922
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
2923
|
+
var R = Hn(u.style.slice(2));
|
|
2896
2924
|
if (a === "number") {
|
|
2897
2925
|
var h = this.parseNumberSkeletonFromString(R, u.styleLocation);
|
|
2898
2926
|
return h.err ? h : {
|
|
2899
|
-
val: { type:
|
|
2927
|
+
val: { type: O.number, value: r, location: _, style: h.val },
|
|
2900
2928
|
err: null
|
|
2901
2929
|
};
|
|
2902
2930
|
} else {
|
|
2903
2931
|
if (R.length === 0)
|
|
2904
2932
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
|
2905
|
-
var
|
|
2906
|
-
this.locale && (
|
|
2907
|
-
var
|
|
2908
|
-
type:
|
|
2909
|
-
pattern:
|
|
2933
|
+
var P = R;
|
|
2934
|
+
this.locale && (P = vn(R, this.locale));
|
|
2935
|
+
var f = {
|
|
2936
|
+
type: ce.dateTime,
|
|
2937
|
+
pattern: P,
|
|
2910
2938
|
location: u.styleLocation,
|
|
2911
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2912
|
-
}, L = a === "date" ?
|
|
2939
|
+
parsedOptions: this.shouldParseSkeletons ? mn(P) : {}
|
|
2940
|
+
}, L = a === "date" ? O.date : O.time;
|
|
2913
2941
|
return {
|
|
2914
|
-
val: { type: L, value: r, location: _, style:
|
|
2942
|
+
val: { type: L, value: r, location: _, style: f },
|
|
2915
2943
|
err: null
|
|
2916
2944
|
};
|
|
2917
2945
|
}
|
|
2918
2946
|
}
|
|
2919
2947
|
return {
|
|
2920
2948
|
val: {
|
|
2921
|
-
type: a === "number" ?
|
|
2949
|
+
type: a === "number" ? O.number : a === "date" ? O.date : O.time,
|
|
2922
2950
|
value: r,
|
|
2923
2951
|
location: _,
|
|
2924
2952
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -2931,39 +2959,39 @@ var Cn = (
|
|
|
2931
2959
|
case "select": {
|
|
2932
2960
|
var w = this.clonePosition();
|
|
2933
2961
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2934
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w,
|
|
2962
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
|
|
2935
2963
|
this.bumpSpace();
|
|
2936
|
-
var
|
|
2937
|
-
if (a !== "select" &&
|
|
2964
|
+
var H = this.parseIdentifierIfPossible(), A = 0;
|
|
2965
|
+
if (a !== "select" && H.value === "offset") {
|
|
2938
2966
|
if (!this.bumpIf(":"))
|
|
2939
2967
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
2940
2968
|
this.bumpSpace();
|
|
2941
2969
|
var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2942
2970
|
if (h.err)
|
|
2943
2971
|
return h;
|
|
2944
|
-
this.bumpSpace(),
|
|
2972
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = h.val;
|
|
2945
2973
|
}
|
|
2946
|
-
var
|
|
2947
|
-
if (
|
|
2948
|
-
return
|
|
2974
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
|
|
2975
|
+
if (M.err)
|
|
2976
|
+
return M;
|
|
2949
2977
|
var p = this.tryParseArgumentClose(n);
|
|
2950
2978
|
if (p.err)
|
|
2951
2979
|
return p;
|
|
2952
2980
|
var D = T(n, this.clonePosition());
|
|
2953
2981
|
return a === "select" ? {
|
|
2954
2982
|
val: {
|
|
2955
|
-
type:
|
|
2983
|
+
type: O.select,
|
|
2956
2984
|
value: r,
|
|
2957
|
-
options:
|
|
2985
|
+
options: Dt(M.val),
|
|
2958
2986
|
location: D
|
|
2959
2987
|
},
|
|
2960
2988
|
err: null
|
|
2961
2989
|
} : {
|
|
2962
2990
|
val: {
|
|
2963
|
-
type:
|
|
2991
|
+
type: O.plural,
|
|
2964
2992
|
value: r,
|
|
2965
|
-
options:
|
|
2966
|
-
offset:
|
|
2993
|
+
options: Dt(M.val),
|
|
2994
|
+
offset: A,
|
|
2967
2995
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2968
2996
|
location: D
|
|
2969
2997
|
},
|
|
@@ -3013,16 +3041,16 @@ var Cn = (
|
|
|
3013
3041
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
3014
3042
|
var r = [];
|
|
3015
3043
|
try {
|
|
3016
|
-
r =
|
|
3044
|
+
r = pn(t);
|
|
3017
3045
|
} catch (n) {
|
|
3018
3046
|
return this.error(x.INVALID_NUMBER_SKELETON, i);
|
|
3019
3047
|
}
|
|
3020
3048
|
return {
|
|
3021
3049
|
val: {
|
|
3022
|
-
type:
|
|
3050
|
+
type: ce.number,
|
|
3023
3051
|
tokens: r,
|
|
3024
3052
|
location: i,
|
|
3025
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3053
|
+
parsedOptions: this.shouldParseSkeletons ? yn(r) : {}
|
|
3026
3054
|
},
|
|
3027
3055
|
err: null
|
|
3028
3056
|
};
|
|
@@ -3031,9 +3059,9 @@ var Cn = (
|
|
|
3031
3059
|
if (u.length === 0) {
|
|
3032
3060
|
var h = this.clonePosition();
|
|
3033
3061
|
if (i !== "select" && this.bumpIf("=")) {
|
|
3034
|
-
var
|
|
3035
|
-
if (
|
|
3036
|
-
return
|
|
3062
|
+
var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3063
|
+
if (f.err)
|
|
3064
|
+
return f;
|
|
3037
3065
|
l = T(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3038
3066
|
} else
|
|
3039
3067
|
break;
|
|
@@ -3041,20 +3069,20 @@ var Cn = (
|
|
|
3041
3069
|
if (c.has(u))
|
|
3042
3070
|
return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3043
3071
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3044
|
-
var
|
|
3072
|
+
var m = this.clonePosition();
|
|
3045
3073
|
if (!this.bumpIf("{"))
|
|
3046
3074
|
return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3047
3075
|
var p = this.parseMessage(t + 1, i, r);
|
|
3048
3076
|
if (p.err)
|
|
3049
3077
|
return p;
|
|
3050
|
-
var _ = this.tryParseArgumentClose(
|
|
3078
|
+
var _ = this.tryParseArgumentClose(m);
|
|
3051
3079
|
if (_.err)
|
|
3052
3080
|
return _;
|
|
3053
3081
|
a.push([
|
|
3054
3082
|
u,
|
|
3055
3083
|
{
|
|
3056
3084
|
value: p.val,
|
|
3057
|
-
location: T(
|
|
3085
|
+
location: T(m, this.clonePosition())
|
|
3058
3086
|
}
|
|
3059
3087
|
]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3060
3088
|
}
|
|
@@ -3070,7 +3098,7 @@ var Cn = (
|
|
|
3070
3098
|
break;
|
|
3071
3099
|
}
|
|
3072
3100
|
var c = T(n, this.clonePosition());
|
|
3073
|
-
return o ? (s *= r,
|
|
3101
|
+
return o ? (s *= r, Nn(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
|
|
3074
3102
|
}, e.prototype.offset = function() {
|
|
3075
3103
|
return this.position.offset;
|
|
3076
3104
|
}, e.prototype.isEOF = function() {
|
|
@@ -3085,7 +3113,7 @@ var Cn = (
|
|
|
3085
3113
|
var t = this.position.offset;
|
|
3086
3114
|
if (t >= this.message.length)
|
|
3087
3115
|
throw Error("out of bound");
|
|
3088
|
-
var i =
|
|
3116
|
+
var i = Ni(this.message, t);
|
|
3089
3117
|
if (i === void 0)
|
|
3090
3118
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3091
3119
|
return i;
|
|
@@ -3104,7 +3132,7 @@ var Cn = (
|
|
|
3104
3132
|
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);
|
|
3105
3133
|
}
|
|
3106
3134
|
}, e.prototype.bumpIf = function(t) {
|
|
3107
|
-
if (
|
|
3135
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3108
3136
|
for (var i = 0; i < t.length; i++)
|
|
3109
3137
|
this.bump();
|
|
3110
3138
|
return !0;
|
|
@@ -3126,7 +3154,7 @@ var Cn = (
|
|
|
3126
3154
|
break;
|
|
3127
3155
|
}
|
|
3128
3156
|
}, e.prototype.bumpSpace = function() {
|
|
3129
|
-
for (; !this.isEOF() &&
|
|
3157
|
+
for (; !this.isEOF() && Hi(this.char()); )
|
|
3130
3158
|
this.bump();
|
|
3131
3159
|
}, e.prototype.peek = function() {
|
|
3132
3160
|
if (this.isEOF())
|
|
@@ -3139,44 +3167,44 @@ var Cn = (
|
|
|
3139
3167
|
function lt(e) {
|
|
3140
3168
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3141
3169
|
}
|
|
3142
|
-
function
|
|
3170
|
+
function kn(e) {
|
|
3143
3171
|
return lt(e) || e === 47;
|
|
3144
3172
|
}
|
|
3145
|
-
function
|
|
3173
|
+
function Cn(e) {
|
|
3146
3174
|
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;
|
|
3147
3175
|
}
|
|
3148
|
-
function
|
|
3176
|
+
function Hi(e) {
|
|
3149
3177
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3150
3178
|
}
|
|
3151
|
-
function
|
|
3179
|
+
function Dn(e) {
|
|
3152
3180
|
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;
|
|
3153
3181
|
}
|
|
3154
3182
|
function ct(e) {
|
|
3155
3183
|
e.forEach(function(t) {
|
|
3156
|
-
if (delete t.location,
|
|
3184
|
+
if (delete t.location, Li(t) || xi(t))
|
|
3157
3185
|
for (var i in t.options)
|
|
3158
3186
|
delete t.options[i].location, ct(t.options[i].value);
|
|
3159
3187
|
else
|
|
3160
|
-
|
|
3188
|
+
vi(t) && wi(t.style) || (_i(t) || Ei(t)) && ot(t.style) ? delete t.style.location : Ti(t) && ct(t.children);
|
|
3161
3189
|
});
|
|
3162
3190
|
}
|
|
3163
|
-
function
|
|
3164
|
-
t === void 0 && (t = {}), t =
|
|
3165
|
-
var i = new
|
|
3191
|
+
function Rn(e, t) {
|
|
3192
|
+
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3193
|
+
var i = new Mn(e, t).parse();
|
|
3166
3194
|
if (i.err) {
|
|
3167
3195
|
var r = SyntaxError(x[i.err.kind]);
|
|
3168
3196
|
throw r.location = i.err.location, r.originalMessage = i.err.message, r;
|
|
3169
3197
|
}
|
|
3170
3198
|
return t != null && t.captureLocation || ct(i.val), i.val;
|
|
3171
3199
|
}
|
|
3172
|
-
var
|
|
3200
|
+
var he;
|
|
3173
3201
|
(function(e) {
|
|
3174
3202
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3175
|
-
})(
|
|
3176
|
-
var
|
|
3203
|
+
})(he || (he = {}));
|
|
3204
|
+
var Re = (
|
|
3177
3205
|
/** @class */
|
|
3178
3206
|
function(e) {
|
|
3179
|
-
|
|
3207
|
+
Q(t, e);
|
|
3180
3208
|
function t(i, r, n) {
|
|
3181
3209
|
var o = e.call(this, i) || this;
|
|
3182
3210
|
return o.code = r, o.originalMessage = n, o;
|
|
@@ -3185,48 +3213,48 @@ var Ue = (
|
|
|
3185
3213
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3186
3214
|
}, t;
|
|
3187
3215
|
}(Error)
|
|
3188
|
-
),
|
|
3216
|
+
), Ut = (
|
|
3189
3217
|
/** @class */
|
|
3190
3218
|
function(e) {
|
|
3191
|
-
|
|
3219
|
+
Q(t, e);
|
|
3192
3220
|
function t(i, r, n, o) {
|
|
3193
|
-
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3221
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3194
3222
|
}
|
|
3195
3223
|
return t;
|
|
3196
|
-
}(
|
|
3197
|
-
),
|
|
3224
|
+
}(Re)
|
|
3225
|
+
), Un = (
|
|
3198
3226
|
/** @class */
|
|
3199
3227
|
function(e) {
|
|
3200
|
-
|
|
3228
|
+
Q(t, e);
|
|
3201
3229
|
function t(i, r, n) {
|
|
3202
|
-
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r),
|
|
3230
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), he.INVALID_VALUE, n) || this;
|
|
3203
3231
|
}
|
|
3204
3232
|
return t;
|
|
3205
|
-
}(
|
|
3206
|
-
),
|
|
3233
|
+
}(Re)
|
|
3234
|
+
), jn = (
|
|
3207
3235
|
/** @class */
|
|
3208
3236
|
function(e) {
|
|
3209
|
-
|
|
3237
|
+
Q(t, e);
|
|
3210
3238
|
function t(i, r) {
|
|
3211
|
-
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'),
|
|
3239
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), he.MISSING_VALUE, r) || this;
|
|
3212
3240
|
}
|
|
3213
3241
|
return t;
|
|
3214
|
-
}(
|
|
3242
|
+
}(Re)
|
|
3215
3243
|
), z;
|
|
3216
3244
|
(function(e) {
|
|
3217
3245
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3218
3246
|
})(z || (z = {}));
|
|
3219
|
-
function
|
|
3247
|
+
function Fn(e) {
|
|
3220
3248
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3221
3249
|
var r = t[t.length - 1];
|
|
3222
3250
|
return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
|
|
3223
3251
|
}, []);
|
|
3224
3252
|
}
|
|
3225
|
-
function
|
|
3253
|
+
function $n(e) {
|
|
3226
3254
|
return typeof e == "function";
|
|
3227
3255
|
}
|
|
3228
3256
|
function Be(e, t, i, r, n, o, s) {
|
|
3229
|
-
if (e.length === 1 &&
|
|
3257
|
+
if (e.length === 1 && Ht(e[0]))
|
|
3230
3258
|
return [
|
|
3231
3259
|
{
|
|
3232
3260
|
type: z.literal,
|
|
@@ -3235,14 +3263,14 @@ function Be(e, t, i, r, n, o, s) {
|
|
|
3235
3263
|
];
|
|
3236
3264
|
for (var a = [], c = 0, u = e; c < u.length; c++) {
|
|
3237
3265
|
var l = u[c];
|
|
3238
|
-
if (
|
|
3266
|
+
if (Ht(l)) {
|
|
3239
3267
|
a.push({
|
|
3240
3268
|
type: z.literal,
|
|
3241
3269
|
value: l.value
|
|
3242
3270
|
});
|
|
3243
3271
|
continue;
|
|
3244
3272
|
}
|
|
3245
|
-
if (
|
|
3273
|
+
if (cn(l)) {
|
|
3246
3274
|
typeof o == "number" && a.push({
|
|
3247
3275
|
type: z.literal,
|
|
3248
3276
|
value: i.getNumberFormat(t).format(o)
|
|
@@ -3251,89 +3279,89 @@ function Be(e, t, i, r, n, o, s) {
|
|
|
3251
3279
|
}
|
|
3252
3280
|
var h = l.value;
|
|
3253
3281
|
if (!(n && h in n))
|
|
3254
|
-
throw new
|
|
3255
|
-
var
|
|
3256
|
-
if (
|
|
3257
|
-
(!
|
|
3258
|
-
type: typeof
|
|
3259
|
-
value:
|
|
3282
|
+
throw new jn(h, s);
|
|
3283
|
+
var f = n[h];
|
|
3284
|
+
if (ln(l)) {
|
|
3285
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3286
|
+
type: typeof f == "string" ? z.literal : z.object,
|
|
3287
|
+
value: f
|
|
3260
3288
|
});
|
|
3261
3289
|
continue;
|
|
3262
3290
|
}
|
|
3263
|
-
if (
|
|
3264
|
-
var
|
|
3291
|
+
if (_i(l)) {
|
|
3292
|
+
var m = typeof l.style == "string" ? r.date[l.style] : ot(l.style) ? l.style.parsedOptions : void 0;
|
|
3265
3293
|
a.push({
|
|
3266
3294
|
type: z.literal,
|
|
3267
|
-
value: i.getDateTimeFormat(t,
|
|
3295
|
+
value: i.getDateTimeFormat(t, m).format(f)
|
|
3268
3296
|
});
|
|
3269
3297
|
continue;
|
|
3270
3298
|
}
|
|
3271
|
-
if (
|
|
3272
|
-
var
|
|
3299
|
+
if (Ei(l)) {
|
|
3300
|
+
var m = typeof l.style == "string" ? r.time[l.style] : ot(l.style) ? l.style.parsedOptions : r.time.medium;
|
|
3273
3301
|
a.push({
|
|
3274
3302
|
type: z.literal,
|
|
3275
|
-
value: i.getDateTimeFormat(t,
|
|
3303
|
+
value: i.getDateTimeFormat(t, m).format(f)
|
|
3276
3304
|
});
|
|
3277
3305
|
continue;
|
|
3278
3306
|
}
|
|
3279
|
-
if (
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3307
|
+
if (vi(l)) {
|
|
3308
|
+
var m = typeof l.style == "string" ? r.number[l.style] : wi(l.style) ? l.style.parsedOptions : void 0;
|
|
3309
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3282
3310
|
type: z.literal,
|
|
3283
|
-
value: i.getNumberFormat(t,
|
|
3311
|
+
value: i.getNumberFormat(t, m).format(f)
|
|
3284
3312
|
});
|
|
3285
3313
|
continue;
|
|
3286
3314
|
}
|
|
3287
|
-
if (
|
|
3315
|
+
if (Ti(l)) {
|
|
3288
3316
|
var p = l.children, _ = l.value, R = n[_];
|
|
3289
|
-
if (
|
|
3290
|
-
throw new
|
|
3291
|
-
var
|
|
3292
|
-
return
|
|
3317
|
+
if (!$n(R))
|
|
3318
|
+
throw new Un(_, "function", s);
|
|
3319
|
+
var P = Be(p, t, i, r, n, o), L = R(P.map(function(A) {
|
|
3320
|
+
return A.value;
|
|
3293
3321
|
}));
|
|
3294
|
-
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(
|
|
3322
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
|
|
3295
3323
|
return {
|
|
3296
|
-
type: typeof
|
|
3297
|
-
value:
|
|
3324
|
+
type: typeof A == "string" ? z.literal : z.object,
|
|
3325
|
+
value: A
|
|
3298
3326
|
};
|
|
3299
3327
|
}));
|
|
3300
3328
|
}
|
|
3301
|
-
if (
|
|
3302
|
-
var w = l.options[
|
|
3329
|
+
if (Li(l)) {
|
|
3330
|
+
var w = l.options[f] || l.options.other;
|
|
3303
3331
|
if (!w)
|
|
3304
|
-
throw new
|
|
3332
|
+
throw new Ut(l.value, f, Object.keys(l.options), s);
|
|
3305
3333
|
a.push.apply(a, Be(w.value, t, i, r, n));
|
|
3306
3334
|
continue;
|
|
3307
3335
|
}
|
|
3308
|
-
if (
|
|
3309
|
-
var w = l.options["=".concat(
|
|
3336
|
+
if (xi(l)) {
|
|
3337
|
+
var w = l.options["=".concat(f)];
|
|
3310
3338
|
if (!w) {
|
|
3311
3339
|
if (!Intl.PluralRules)
|
|
3312
|
-
throw new
|
|
3340
|
+
throw new Re(`Intl.PluralRules is not available in this environment.
|
|
3313
3341
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3314
|
-
`,
|
|
3315
|
-
var
|
|
3316
|
-
w = l.options[
|
|
3342
|
+
`, he.MISSING_INTL_API, s);
|
|
3343
|
+
var H = i.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3344
|
+
w = l.options[H] || l.options.other;
|
|
3317
3345
|
}
|
|
3318
3346
|
if (!w)
|
|
3319
|
-
throw new
|
|
3320
|
-
a.push.apply(a, Be(w.value, t, i, r, n,
|
|
3347
|
+
throw new Ut(l.value, f, Object.keys(l.options), s);
|
|
3348
|
+
a.push.apply(a, Be(w.value, t, i, r, n, f - (l.offset || 0)));
|
|
3321
3349
|
continue;
|
|
3322
3350
|
}
|
|
3323
3351
|
}
|
|
3324
|
-
return
|
|
3352
|
+
return Fn(a);
|
|
3325
3353
|
}
|
|
3326
|
-
function
|
|
3327
|
-
return t ?
|
|
3328
|
-
return i[r] =
|
|
3354
|
+
function Gn(e, t) {
|
|
3355
|
+
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
|
|
3356
|
+
return i[r] = S(S({}, e[r]), t[r] || {}), i;
|
|
3329
3357
|
}, {})) : e;
|
|
3330
3358
|
}
|
|
3331
|
-
function
|
|
3359
|
+
function zn(e, t) {
|
|
3332
3360
|
return t ? Object.keys(e).reduce(function(i, r) {
|
|
3333
|
-
return i[r] =
|
|
3334
|
-
},
|
|
3361
|
+
return i[r] = Gn(e[r], t[r]), i;
|
|
3362
|
+
}, S({}, e)) : e;
|
|
3335
3363
|
}
|
|
3336
|
-
function
|
|
3364
|
+
function Je(e) {
|
|
3337
3365
|
return {
|
|
3338
3366
|
create: function() {
|
|
3339
3367
|
return {
|
|
@@ -3347,39 +3375,39 @@ function et(e) {
|
|
|
3347
3375
|
}
|
|
3348
3376
|
};
|
|
3349
3377
|
}
|
|
3350
|
-
function
|
|
3378
|
+
function Wn(e) {
|
|
3351
3379
|
return e === void 0 && (e = {
|
|
3352
3380
|
number: {},
|
|
3353
3381
|
dateTime: {},
|
|
3354
3382
|
pluralRules: {}
|
|
3355
3383
|
}), {
|
|
3356
|
-
getNumberFormat:
|
|
3384
|
+
getNumberFormat: Ze(function() {
|
|
3357
3385
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3358
3386
|
i[r] = arguments[r];
|
|
3359
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3387
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], i, !1)))();
|
|
3360
3388
|
}, {
|
|
3361
|
-
cache:
|
|
3362
|
-
strategy:
|
|
3389
|
+
cache: Je(e.number),
|
|
3390
|
+
strategy: Ye.variadic
|
|
3363
3391
|
}),
|
|
3364
|
-
getDateTimeFormat:
|
|
3392
|
+
getDateTimeFormat: Ze(function() {
|
|
3365
3393
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3366
3394
|
i[r] = arguments[r];
|
|
3367
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3395
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], i, !1)))();
|
|
3368
3396
|
}, {
|
|
3369
|
-
cache:
|
|
3370
|
-
strategy:
|
|
3397
|
+
cache: Je(e.dateTime),
|
|
3398
|
+
strategy: Ye.variadic
|
|
3371
3399
|
}),
|
|
3372
|
-
getPluralRules:
|
|
3400
|
+
getPluralRules: Ze(function() {
|
|
3373
3401
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3374
3402
|
i[r] = arguments[r];
|
|
3375
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3403
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], i, !1)))();
|
|
3376
3404
|
}, {
|
|
3377
|
-
cache:
|
|
3378
|
-
strategy:
|
|
3405
|
+
cache: Je(e.pluralRules),
|
|
3406
|
+
strategy: Ye.variadic
|
|
3379
3407
|
})
|
|
3380
3408
|
};
|
|
3381
3409
|
}
|
|
3382
|
-
var
|
|
3410
|
+
var Vn = (
|
|
3383
3411
|
/** @class */
|
|
3384
3412
|
function() {
|
|
3385
3413
|
function e(t, i, r, n) {
|
|
@@ -3393,8 +3421,8 @@ var Zn = (
|
|
|
3393
3421
|
var u = o.formatToParts(c);
|
|
3394
3422
|
if (u.length === 1)
|
|
3395
3423
|
return u[0].value;
|
|
3396
|
-
var l = u.reduce(function(h,
|
|
3397
|
-
return !h.length ||
|
|
3424
|
+
var l = u.reduce(function(h, f) {
|
|
3425
|
+
return !h.length || f.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
|
|
3398
3426
|
}, []);
|
|
3399
3427
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3400
3428
|
}, this.formatToParts = function(c) {
|
|
@@ -3411,13 +3439,13 @@ var Zn = (
|
|
|
3411
3439
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3412
3440
|
var s = n || {};
|
|
3413
3441
|
s.formatters;
|
|
3414
|
-
var a =
|
|
3415
|
-
this.ast = e.__parse(t,
|
|
3442
|
+
var a = tn(s, ["formatters"]);
|
|
3443
|
+
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3416
3444
|
} else
|
|
3417
3445
|
this.ast = t;
|
|
3418
3446
|
if (!Array.isArray(this.ast))
|
|
3419
3447
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3420
|
-
this.formats =
|
|
3448
|
+
this.formats = zn(e.formats, r), this.formatters = n && n.formatters || Wn(this.formatterCache);
|
|
3421
3449
|
}
|
|
3422
3450
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3423
3451
|
get: function() {
|
|
@@ -3430,7 +3458,7 @@ var Zn = (
|
|
|
3430
3458
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3431
3459
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3432
3460
|
}
|
|
3433
|
-
}, e.__parse =
|
|
3461
|
+
}, e.__parse = Rn, e.formats = {
|
|
3434
3462
|
number: {
|
|
3435
3463
|
integer: {
|
|
3436
3464
|
maximumFractionDigits: 0
|
|
@@ -3491,7 +3519,7 @@ var Zn = (
|
|
|
3491
3519
|
}, e;
|
|
3492
3520
|
}()
|
|
3493
3521
|
);
|
|
3494
|
-
function
|
|
3522
|
+
function Xn(e, t) {
|
|
3495
3523
|
if (t == null)
|
|
3496
3524
|
return;
|
|
3497
3525
|
if (t in e)
|
|
@@ -3512,92 +3540,92 @@ function Yn(e, t) {
|
|
|
3512
3540
|
r = void 0;
|
|
3513
3541
|
return r;
|
|
3514
3542
|
}
|
|
3515
|
-
const ee = {},
|
|
3543
|
+
const ee = {}, Zn = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), Oi = (e, t) => {
|
|
3516
3544
|
if (t == null)
|
|
3517
3545
|
return;
|
|
3518
3546
|
if (t in ee && e in ee[t])
|
|
3519
3547
|
return ee[t][e];
|
|
3520
|
-
const i =
|
|
3548
|
+
const i = Ue(t);
|
|
3521
3549
|
for (let r = 0; r < i.length; r++) {
|
|
3522
|
-
const n = i[r], o =
|
|
3550
|
+
const n = i[r], o = qn(n, e);
|
|
3523
3551
|
if (o)
|
|
3524
|
-
return
|
|
3552
|
+
return Zn(e, t, o);
|
|
3525
3553
|
}
|
|
3526
3554
|
};
|
|
3527
|
-
let
|
|
3528
|
-
const
|
|
3529
|
-
function
|
|
3530
|
-
return
|
|
3555
|
+
let yt;
|
|
3556
|
+
const Te = De({});
|
|
3557
|
+
function Yn(e) {
|
|
3558
|
+
return yt[e] || null;
|
|
3531
3559
|
}
|
|
3532
|
-
function
|
|
3533
|
-
return e in
|
|
3560
|
+
function Mi(e) {
|
|
3561
|
+
return e in yt;
|
|
3534
3562
|
}
|
|
3535
|
-
function
|
|
3536
|
-
if (!
|
|
3563
|
+
function qn(e, t) {
|
|
3564
|
+
if (!Mi(e))
|
|
3537
3565
|
return null;
|
|
3538
|
-
const i =
|
|
3539
|
-
return
|
|
3566
|
+
const i = Yn(e);
|
|
3567
|
+
return Xn(i, t);
|
|
3540
3568
|
}
|
|
3541
|
-
function
|
|
3569
|
+
function Jn(e) {
|
|
3542
3570
|
if (e == null)
|
|
3543
3571
|
return;
|
|
3544
|
-
const t =
|
|
3572
|
+
const t = Ue(e);
|
|
3545
3573
|
for (let i = 0; i < t.length; i++) {
|
|
3546
3574
|
const r = t[i];
|
|
3547
|
-
if (
|
|
3575
|
+
if (Mi(r))
|
|
3548
3576
|
return r;
|
|
3549
3577
|
}
|
|
3550
3578
|
}
|
|
3551
|
-
function
|
|
3552
|
-
delete ee[e],
|
|
3579
|
+
function ki(e, ...t) {
|
|
3580
|
+
delete ee[e], Te.update((i) => (i[e] = en.all([i[e] || {}, ...t]), i));
|
|
3553
3581
|
}
|
|
3554
3582
|
fe(
|
|
3555
|
-
[
|
|
3583
|
+
[Te],
|
|
3556
3584
|
([e]) => Object.keys(e)
|
|
3557
3585
|
);
|
|
3558
|
-
|
|
3586
|
+
Te.subscribe((e) => yt = e);
|
|
3559
3587
|
const Ne = {};
|
|
3560
|
-
function
|
|
3588
|
+
function Qn(e, t) {
|
|
3561
3589
|
Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
|
|
3562
3590
|
}
|
|
3563
|
-
function
|
|
3591
|
+
function Ci(e) {
|
|
3564
3592
|
return Ne[e];
|
|
3565
3593
|
}
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3568
|
-
const i =
|
|
3594
|
+
function Kn(e) {
|
|
3595
|
+
return Ue(e).map((t) => {
|
|
3596
|
+
const i = Ci(t);
|
|
3569
3597
|
return [t, i ? [...i] : []];
|
|
3570
3598
|
}).filter(([, t]) => t.length > 0);
|
|
3571
3599
|
}
|
|
3572
3600
|
function ht(e) {
|
|
3573
|
-
return e == null ? !1 :
|
|
3601
|
+
return e == null ? !1 : Ue(e).some(
|
|
3574
3602
|
(t) => {
|
|
3575
3603
|
var i;
|
|
3576
|
-
return (i =
|
|
3604
|
+
return (i = Ci(t)) == null ? void 0 : i.size;
|
|
3577
3605
|
}
|
|
3578
3606
|
);
|
|
3579
3607
|
}
|
|
3580
|
-
function
|
|
3608
|
+
function eo(e, t) {
|
|
3581
3609
|
return Promise.all(
|
|
3582
|
-
t.map((r) => (
|
|
3583
|
-
).then((r) =>
|
|
3610
|
+
t.map((r) => (Qn(e, r), r().then((n) => n.default || n)))
|
|
3611
|
+
).then((r) => ki(e, ...r));
|
|
3584
3612
|
}
|
|
3585
|
-
const
|
|
3586
|
-
function
|
|
3613
|
+
const ge = {};
|
|
3614
|
+
function Di(e) {
|
|
3587
3615
|
if (!ht(e))
|
|
3588
|
-
return e in
|
|
3589
|
-
const t =
|
|
3590
|
-
return
|
|
3616
|
+
return e in ge ? ge[e] : Promise.resolve();
|
|
3617
|
+
const t = Kn(e);
|
|
3618
|
+
return ge[e] = Promise.all(
|
|
3591
3619
|
t.map(
|
|
3592
|
-
([i, r]) =>
|
|
3620
|
+
([i, r]) => eo(i, r)
|
|
3593
3621
|
)
|
|
3594
3622
|
).then(() => {
|
|
3595
3623
|
if (ht(e))
|
|
3596
|
-
return
|
|
3597
|
-
delete
|
|
3598
|
-
}),
|
|
3624
|
+
return Di(e);
|
|
3625
|
+
delete ge[e];
|
|
3626
|
+
}), ge[e];
|
|
3599
3627
|
}
|
|
3600
|
-
const
|
|
3628
|
+
const to = {
|
|
3601
3629
|
number: {
|
|
3602
3630
|
scientific: { notation: "scientific" },
|
|
3603
3631
|
engineering: { notation: "engineering" },
|
|
@@ -3626,135 +3654,135 @@ const ro = {
|
|
|
3626
3654
|
timeZoneName: "short"
|
|
3627
3655
|
}
|
|
3628
3656
|
}
|
|
3629
|
-
},
|
|
3657
|
+
}, io = {
|
|
3630
3658
|
fallbackLocale: null,
|
|
3631
3659
|
loadingDelay: 200,
|
|
3632
|
-
formats:
|
|
3660
|
+
formats: to,
|
|
3633
3661
|
warnOnMissingMessages: !0,
|
|
3634
3662
|
handleMissingMessage: void 0,
|
|
3635
3663
|
ignoreTag: !0
|
|
3636
|
-
},
|
|
3637
|
-
function
|
|
3638
|
-
return
|
|
3664
|
+
}, ro = io;
|
|
3665
|
+
function me() {
|
|
3666
|
+
return ro;
|
|
3639
3667
|
}
|
|
3640
|
-
const
|
|
3641
|
-
var
|
|
3668
|
+
const Qe = De(!1);
|
|
3669
|
+
var no = Object.defineProperty, oo = Object.defineProperties, so = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, Ft = (e, t, i) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, lo = (e, t) => {
|
|
3642
3670
|
for (var i in t || (t = {}))
|
|
3643
|
-
|
|
3644
|
-
if (
|
|
3645
|
-
for (var i of
|
|
3646
|
-
|
|
3671
|
+
ao.call(t, i) && Ft(e, i, t[i]);
|
|
3672
|
+
if (jt)
|
|
3673
|
+
for (var i of jt(t))
|
|
3674
|
+
uo.call(t, i) && Ft(e, i, t[i]);
|
|
3647
3675
|
return e;
|
|
3648
|
-
},
|
|
3649
|
-
let
|
|
3650
|
-
const
|
|
3651
|
-
function
|
|
3676
|
+
}, co = (e, t) => oo(e, so(t));
|
|
3677
|
+
let mt;
|
|
3678
|
+
const Me = De(null);
|
|
3679
|
+
function $t(e) {
|
|
3652
3680
|
return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
|
|
3653
3681
|
}
|
|
3654
|
-
function
|
|
3655
|
-
const i =
|
|
3656
|
-
return t ? [.../* @__PURE__ */ new Set([...i,
|
|
3682
|
+
function Ue(e, t = me().fallbackLocale) {
|
|
3683
|
+
const i = $t(e);
|
|
3684
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...$t(t)])] : i;
|
|
3657
3685
|
}
|
|
3658
3686
|
function re() {
|
|
3659
|
-
return
|
|
3687
|
+
return mt != null ? mt : void 0;
|
|
3660
3688
|
}
|
|
3661
|
-
|
|
3662
|
-
|
|
3689
|
+
Me.subscribe((e) => {
|
|
3690
|
+
mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3663
3691
|
});
|
|
3664
|
-
const
|
|
3665
|
-
if (e &&
|
|
3666
|
-
const { loadingDelay: t } =
|
|
3692
|
+
const ho = (e) => {
|
|
3693
|
+
if (e && Jn(e) && ht(e)) {
|
|
3694
|
+
const { loadingDelay: t } = me();
|
|
3667
3695
|
let i;
|
|
3668
3696
|
return typeof window != "undefined" && re() != null && t ? i = window.setTimeout(
|
|
3669
|
-
() =>
|
|
3697
|
+
() => Qe.set(!0),
|
|
3670
3698
|
t
|
|
3671
|
-
) :
|
|
3672
|
-
|
|
3699
|
+
) : Qe.set(!0), Di(e).then(() => {
|
|
3700
|
+
Me.set(e);
|
|
3673
3701
|
}).finally(() => {
|
|
3674
|
-
clearTimeout(i),
|
|
3702
|
+
clearTimeout(i), Qe.set(!1);
|
|
3675
3703
|
});
|
|
3676
3704
|
}
|
|
3677
|
-
return
|
|
3678
|
-
},
|
|
3679
|
-
set:
|
|
3680
|
-
}),
|
|
3705
|
+
return Me.set(e);
|
|
3706
|
+
}, pe = co(lo({}, Me), {
|
|
3707
|
+
set: ho
|
|
3708
|
+
}), je = (e) => {
|
|
3681
3709
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3682
3710
|
return (r) => {
|
|
3683
3711
|
const n = JSON.stringify(r);
|
|
3684
3712
|
return n in t ? t[n] : t[n] = e(r);
|
|
3685
3713
|
};
|
|
3686
3714
|
};
|
|
3687
|
-
var
|
|
3715
|
+
var mo = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Gt = (e, t, i) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, vt = (e, t) => {
|
|
3688
3716
|
for (var i in t || (t = {}))
|
|
3689
|
-
|
|
3690
|
-
if (
|
|
3691
|
-
for (var i of
|
|
3692
|
-
|
|
3717
|
+
Ri.call(t, i) && Gt(e, i, t[i]);
|
|
3718
|
+
if (ke)
|
|
3719
|
+
for (var i of ke(t))
|
|
3720
|
+
Ui.call(t, i) && Gt(e, i, t[i]);
|
|
3693
3721
|
return e;
|
|
3694
|
-
},
|
|
3722
|
+
}, de = (e, t) => {
|
|
3695
3723
|
var i = {};
|
|
3696
3724
|
for (var r in e)
|
|
3697
|
-
|
|
3698
|
-
if (e != null &&
|
|
3699
|
-
for (var r of
|
|
3700
|
-
t.indexOf(r) < 0 &&
|
|
3725
|
+
Ri.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
3726
|
+
if (e != null && ke)
|
|
3727
|
+
for (var r of ke(e))
|
|
3728
|
+
t.indexOf(r) < 0 && Ui.call(e, r) && (i[r] = e[r]);
|
|
3701
3729
|
return i;
|
|
3702
3730
|
};
|
|
3703
|
-
const
|
|
3704
|
-
const { formats: i } =
|
|
3731
|
+
const xe = (e, t) => {
|
|
3732
|
+
const { formats: i } = me();
|
|
3705
3733
|
if (e in i && t in i[e])
|
|
3706
3734
|
return i[e][t];
|
|
3707
3735
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3708
|
-
},
|
|
3736
|
+
}, fo = je(
|
|
3709
3737
|
(e) => {
|
|
3710
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3738
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3711
3739
|
if (i == null)
|
|
3712
3740
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3713
|
-
return r && (n =
|
|
3741
|
+
return r && (n = xe("number", r)), new Intl.NumberFormat(i, n);
|
|
3714
3742
|
}
|
|
3715
|
-
),
|
|
3743
|
+
), po = je(
|
|
3716
3744
|
(e) => {
|
|
3717
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3745
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3718
3746
|
if (i == null)
|
|
3719
3747
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3720
|
-
return r ? n =
|
|
3748
|
+
return r ? n = xe("date", r) : Object.keys(n).length === 0 && (n = xe("date", "short")), new Intl.DateTimeFormat(i, n);
|
|
3721
3749
|
}
|
|
3722
|
-
),
|
|
3750
|
+
), bo = je(
|
|
3723
3751
|
(e) => {
|
|
3724
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3752
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3725
3753
|
if (i == null)
|
|
3726
3754
|
throw new Error(
|
|
3727
3755
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3728
3756
|
);
|
|
3729
|
-
return r ? n =
|
|
3757
|
+
return r ? n = xe("time", r) : Object.keys(n).length === 0 && (n = xe("time", "short")), new Intl.DateTimeFormat(i, n);
|
|
3730
3758
|
}
|
|
3731
|
-
),
|
|
3759
|
+
), go = (e = {}) => {
|
|
3732
3760
|
var t = e, {
|
|
3733
3761
|
locale: i = re()
|
|
3734
|
-
} = t, r =
|
|
3762
|
+
} = t, r = de(t, [
|
|
3735
3763
|
"locale"
|
|
3736
3764
|
]);
|
|
3737
|
-
return
|
|
3738
|
-
},
|
|
3765
|
+
return fo(vt({ locale: i }, r));
|
|
3766
|
+
}, yo = (e = {}) => {
|
|
3739
3767
|
var t = e, {
|
|
3740
3768
|
locale: i = re()
|
|
3741
|
-
} = t, r =
|
|
3769
|
+
} = t, r = de(t, [
|
|
3742
3770
|
"locale"
|
|
3743
3771
|
]);
|
|
3744
|
-
return
|
|
3745
|
-
},
|
|
3772
|
+
return po(vt({ locale: i }, r));
|
|
3773
|
+
}, vo = (e = {}) => {
|
|
3746
3774
|
var t = e, {
|
|
3747
3775
|
locale: i = re()
|
|
3748
|
-
} = t, r =
|
|
3776
|
+
} = t, r = de(t, [
|
|
3749
3777
|
"locale"
|
|
3750
3778
|
]);
|
|
3751
|
-
return
|
|
3752
|
-
},
|
|
3779
|
+
return bo(vt({ locale: i }, r));
|
|
3780
|
+
}, _o = je(
|
|
3753
3781
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3754
|
-
(e, t = re()) => new
|
|
3755
|
-
ignoreTag:
|
|
3782
|
+
(e, t = re()) => new Vn(e, t, me().formats, {
|
|
3783
|
+
ignoreTag: me().ignoreTag
|
|
3756
3784
|
})
|
|
3757
|
-
),
|
|
3785
|
+
), Eo = (e, t = {}) => {
|
|
3758
3786
|
var i, r, n, o;
|
|
3759
3787
|
let s = t;
|
|
3760
3788
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -3767,9 +3795,9 @@ const Le = (e, t) => {
|
|
|
3767
3795
|
throw new Error(
|
|
3768
3796
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3769
3797
|
);
|
|
3770
|
-
let l =
|
|
3798
|
+
let l = Oi(e, c);
|
|
3771
3799
|
if (!l)
|
|
3772
|
-
l = (o = (n = (r = (i =
|
|
3800
|
+
l = (o = (n = (r = (i = me()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
3773
3801
|
else if (typeof l != "string")
|
|
3774
3802
|
return console.warn(
|
|
3775
3803
|
`[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.`
|
|
@@ -3778,26 +3806,26 @@ const Le = (e, t) => {
|
|
|
3778
3806
|
return l;
|
|
3779
3807
|
let h = l;
|
|
3780
3808
|
try {
|
|
3781
|
-
h =
|
|
3782
|
-
} catch (
|
|
3783
|
-
|
|
3809
|
+
h = _o(l, c).format(a);
|
|
3810
|
+
} catch (f) {
|
|
3811
|
+
f instanceof Error && console.warn(
|
|
3784
3812
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3785
|
-
|
|
3813
|
+
f.message
|
|
3786
3814
|
);
|
|
3787
3815
|
}
|
|
3788
3816
|
return h;
|
|
3789
|
-
},
|
|
3790
|
-
fe([
|
|
3791
|
-
fe([
|
|
3792
|
-
fe([
|
|
3793
|
-
fe([
|
|
3794
|
-
function
|
|
3795
|
-
|
|
3796
|
-
}
|
|
3797
|
-
function
|
|
3798
|
-
|
|
3799
|
-
}
|
|
3800
|
-
const
|
|
3817
|
+
}, Lo = (e, t) => vo(t).format(e), xo = (e, t) => yo(t).format(e), To = (e, t) => go(t).format(e), wo = (e, t = re()) => Oi(e, t), So = fe([pe, Te], () => Eo);
|
|
3818
|
+
fe([pe], () => Lo);
|
|
3819
|
+
fe([pe], () => xo);
|
|
3820
|
+
fe([pe], () => To);
|
|
3821
|
+
fe([pe, Te], () => wo);
|
|
3822
|
+
function zt(e, t) {
|
|
3823
|
+
ki(e, t);
|
|
3824
|
+
}
|
|
3825
|
+
function Po(e) {
|
|
3826
|
+
pe.set(e);
|
|
3827
|
+
}
|
|
3828
|
+
const Wt = {
|
|
3801
3829
|
en: {
|
|
3802
3830
|
loadingText: "Loading, please wait...",
|
|
3803
3831
|
Monthly: "per month",
|
|
@@ -4250,85 +4278,16 @@ const Xt = {
|
|
|
4250
4278
|
closeButton: "CLOSE"
|
|
4251
4279
|
}
|
|
4252
4280
|
};
|
|
4253
|
-
|
|
4254
|
-
Copyright (c) Microsoft Corporation.
|
|
4255
|
-
|
|
4256
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4257
|
-
purpose with or without fee is hereby granted.
|
|
4258
|
-
|
|
4259
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
4260
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
4261
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
4262
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
4263
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
4264
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4265
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
4266
|
-
***************************************************************************** */
|
|
4267
|
-
var mt = function(e, t) {
|
|
4268
|
-
return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
4269
|
-
i.__proto__ = r;
|
|
4270
|
-
} || function(i, r) {
|
|
4271
|
-
for (var n in r)
|
|
4272
|
-
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
4273
|
-
}, mt(e, t);
|
|
4274
|
-
};
|
|
4275
|
-
function Te(e, t) {
|
|
4276
|
-
if (typeof t != "function" && t !== null)
|
|
4277
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
4278
|
-
mt(e, t);
|
|
4279
|
-
function i() {
|
|
4280
|
-
this.constructor = e;
|
|
4281
|
-
}
|
|
4282
|
-
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
4283
|
-
}
|
|
4284
|
-
function pt(e) {
|
|
4285
|
-
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
4286
|
-
if (i)
|
|
4287
|
-
return i.call(e);
|
|
4288
|
-
if (e && typeof e.length == "number")
|
|
4289
|
-
return {
|
|
4290
|
-
next: function() {
|
|
4291
|
-
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
4292
|
-
}
|
|
4293
|
-
};
|
|
4294
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4295
|
-
}
|
|
4296
|
-
function dt(e, t) {
|
|
4297
|
-
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4298
|
-
if (!i)
|
|
4299
|
-
return e;
|
|
4300
|
-
var r = i.call(e), n, o = [], s;
|
|
4301
|
-
try {
|
|
4302
|
-
for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
|
|
4303
|
-
o.push(n.value);
|
|
4304
|
-
} catch (a) {
|
|
4305
|
-
s = { error: a };
|
|
4306
|
-
} finally {
|
|
4307
|
-
try {
|
|
4308
|
-
n && !n.done && (i = r.return) && i.call(r);
|
|
4309
|
-
} finally {
|
|
4310
|
-
if (s)
|
|
4311
|
-
throw s.error;
|
|
4312
|
-
}
|
|
4313
|
-
}
|
|
4314
|
-
return o;
|
|
4315
|
-
}
|
|
4316
|
-
function bt(e, t, i) {
|
|
4317
|
-
if (arguments.length === 2)
|
|
4318
|
-
for (var r = 0, n = t.length, o; r < n; r++)
|
|
4319
|
-
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
4320
|
-
return e.concat(o || t);
|
|
4321
|
-
}
|
|
4322
|
-
function Q(e) {
|
|
4281
|
+
function J(e) {
|
|
4323
4282
|
return typeof e == "function";
|
|
4324
4283
|
}
|
|
4325
|
-
function
|
|
4284
|
+
function ji(e) {
|
|
4326
4285
|
var t = function(r) {
|
|
4327
4286
|
Error.call(r), r.stack = new Error().stack;
|
|
4328
4287
|
}, i = e(t);
|
|
4329
4288
|
return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
|
|
4330
4289
|
}
|
|
4331
|
-
var
|
|
4290
|
+
var Ke = ji(function(e) {
|
|
4332
4291
|
return function(i) {
|
|
4333
4292
|
e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
|
|
4334
4293
|
` + i.map(function(r, n) {
|
|
@@ -4337,13 +4296,13 @@ var it = Fi(function(e) {
|
|
|
4337
4296
|
`) : "", this.name = "UnsubscriptionError", this.errors = i;
|
|
4338
4297
|
};
|
|
4339
4298
|
});
|
|
4340
|
-
function
|
|
4299
|
+
function ft(e, t) {
|
|
4341
4300
|
if (e) {
|
|
4342
4301
|
var i = e.indexOf(t);
|
|
4343
4302
|
0 <= i && e.splice(i, 1);
|
|
4344
4303
|
}
|
|
4345
4304
|
}
|
|
4346
|
-
var
|
|
4305
|
+
var Fe = function() {
|
|
4347
4306
|
function e(t) {
|
|
4348
4307
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
4349
4308
|
}
|
|
@@ -4355,7 +4314,7 @@ var Ge = function() {
|
|
|
4355
4314
|
if (s)
|
|
4356
4315
|
if (this._parentage = null, Array.isArray(s))
|
|
4357
4316
|
try {
|
|
4358
|
-
for (var a =
|
|
4317
|
+
for (var a = rt(s), c = a.next(); !c.done; c = a.next()) {
|
|
4359
4318
|
var u = c.value;
|
|
4360
4319
|
u.remove(this);
|
|
4361
4320
|
}
|
|
@@ -4372,29 +4331,29 @@ var Ge = function() {
|
|
|
4372
4331
|
else
|
|
4373
4332
|
s.remove(this);
|
|
4374
4333
|
var l = this.initialTeardown;
|
|
4375
|
-
if (
|
|
4334
|
+
if (J(l))
|
|
4376
4335
|
try {
|
|
4377
4336
|
l();
|
|
4378
4337
|
} catch (_) {
|
|
4379
|
-
o = _ instanceof
|
|
4338
|
+
o = _ instanceof Ke ? _.errors : [_];
|
|
4380
4339
|
}
|
|
4381
4340
|
var h = this._finalizers;
|
|
4382
4341
|
if (h) {
|
|
4383
4342
|
this._finalizers = null;
|
|
4384
4343
|
try {
|
|
4385
|
-
for (var
|
|
4386
|
-
var p =
|
|
4344
|
+
for (var f = rt(h), m = f.next(); !m.done; m = f.next()) {
|
|
4345
|
+
var p = m.value;
|
|
4387
4346
|
try {
|
|
4388
|
-
|
|
4347
|
+
Vt(p);
|
|
4389
4348
|
} catch (_) {
|
|
4390
|
-
o = o != null ? o : [], _ instanceof
|
|
4349
|
+
o = o != null ? o : [], _ instanceof Ke ? o = ue(ue([], nt(o)), nt(_.errors)) : o.push(_);
|
|
4391
4350
|
}
|
|
4392
4351
|
}
|
|
4393
4352
|
} catch (_) {
|
|
4394
4353
|
r = { error: _ };
|
|
4395
4354
|
} finally {
|
|
4396
4355
|
try {
|
|
4397
|
-
|
|
4356
|
+
m && !m.done && (n = f.return) && n.call(f);
|
|
4398
4357
|
} finally {
|
|
4399
4358
|
if (r)
|
|
4400
4359
|
throw r.error;
|
|
@@ -4402,13 +4361,13 @@ var Ge = function() {
|
|
|
4402
4361
|
}
|
|
4403
4362
|
}
|
|
4404
4363
|
if (o)
|
|
4405
|
-
throw new
|
|
4364
|
+
throw new Ke(o);
|
|
4406
4365
|
}
|
|
4407
4366
|
}, e.prototype.add = function(t) {
|
|
4408
4367
|
var i;
|
|
4409
4368
|
if (t && t !== this)
|
|
4410
4369
|
if (this.closed)
|
|
4411
|
-
|
|
4370
|
+
Vt(t);
|
|
4412
4371
|
else {
|
|
4413
4372
|
if (t instanceof e) {
|
|
4414
4373
|
if (t.closed || t._hasParent(this))
|
|
@@ -4425,52 +4384,56 @@ var Ge = function() {
|
|
|
4425
4384
|
this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
|
|
4426
4385
|
}, e.prototype._removeParent = function(t) {
|
|
4427
4386
|
var i = this._parentage;
|
|
4428
|
-
i === t ? this._parentage = null : Array.isArray(i) &&
|
|
4387
|
+
i === t ? this._parentage = null : Array.isArray(i) && ft(i, t);
|
|
4429
4388
|
}, e.prototype.remove = function(t) {
|
|
4430
4389
|
var i = this._finalizers;
|
|
4431
|
-
i &&
|
|
4390
|
+
i && ft(i, t), t instanceof e && t._removeParent(this);
|
|
4432
4391
|
}, e.EMPTY = function() {
|
|
4433
4392
|
var t = new e();
|
|
4434
4393
|
return t.closed = !0, t;
|
|
4435
4394
|
}(), e;
|
|
4436
|
-
}(),
|
|
4437
|
-
function
|
|
4438
|
-
return e instanceof
|
|
4439
|
-
}
|
|
4440
|
-
function
|
|
4441
|
-
|
|
4442
|
-
}
|
|
4443
|
-
var
|
|
4444
|
-
|
|
4445
|
-
|
|
4395
|
+
}(), Fi = Fe.EMPTY;
|
|
4396
|
+
function $i(e) {
|
|
4397
|
+
return e instanceof Fe || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
|
|
4398
|
+
}
|
|
4399
|
+
function Vt(e) {
|
|
4400
|
+
J(e) ? e() : e.unsubscribe();
|
|
4401
|
+
}
|
|
4402
|
+
var Gi = {
|
|
4403
|
+
onUnhandledError: null,
|
|
4404
|
+
onStoppedNotification: null,
|
|
4405
|
+
Promise: void 0,
|
|
4406
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
4407
|
+
useDeprecatedNextContext: !1
|
|
4408
|
+
}, Ao = {
|
|
4446
4409
|
setTimeout: function(e, t) {
|
|
4447
4410
|
for (var i = [], r = 2; r < arguments.length; r++)
|
|
4448
4411
|
i[r - 2] = arguments[r];
|
|
4449
|
-
return setTimeout.apply(void 0,
|
|
4412
|
+
return setTimeout.apply(void 0, ue([e, t], nt(i)));
|
|
4450
4413
|
},
|
|
4451
4414
|
clearTimeout: function(e) {
|
|
4452
4415
|
return clearTimeout(e);
|
|
4453
4416
|
},
|
|
4454
4417
|
delegate: void 0
|
|
4455
4418
|
};
|
|
4456
|
-
function
|
|
4457
|
-
|
|
4419
|
+
function Bo(e) {
|
|
4420
|
+
Ao.setTimeout(function() {
|
|
4458
4421
|
throw e;
|
|
4459
4422
|
});
|
|
4460
4423
|
}
|
|
4461
|
-
function
|
|
4424
|
+
function Xt() {
|
|
4462
4425
|
}
|
|
4463
|
-
function
|
|
4426
|
+
function Ie(e) {
|
|
4464
4427
|
e();
|
|
4465
4428
|
}
|
|
4466
|
-
var
|
|
4467
|
-
|
|
4429
|
+
var zi = function(e) {
|
|
4430
|
+
Q(t, e);
|
|
4468
4431
|
function t(i) {
|
|
4469
4432
|
var r = e.call(this) || this;
|
|
4470
|
-
return r.isStopped = !1, i ? (r.destination = i,
|
|
4433
|
+
return r.isStopped = !1, i ? (r.destination = i, $i(i) && i.add(r)) : r.destination = Oo, r;
|
|
4471
4434
|
}
|
|
4472
4435
|
return t.create = function(i, r, n) {
|
|
4473
|
-
return new
|
|
4436
|
+
return new pt(i, r, n);
|
|
4474
4437
|
}, t.prototype.next = function(i) {
|
|
4475
4438
|
this.isStopped || this._next(i);
|
|
4476
4439
|
}, t.prototype.error = function(i) {
|
|
@@ -4494,7 +4457,11 @@ var Wi = function(e) {
|
|
|
4494
4457
|
this.unsubscribe();
|
|
4495
4458
|
}
|
|
4496
4459
|
}, t;
|
|
4497
|
-
}(
|
|
4460
|
+
}(Fe), No = Function.prototype.bind;
|
|
4461
|
+
function et(e, t) {
|
|
4462
|
+
return No.call(e, t);
|
|
4463
|
+
}
|
|
4464
|
+
var Io = function() {
|
|
4498
4465
|
function e(t) {
|
|
4499
4466
|
this.partialObserver = t;
|
|
4500
4467
|
}
|
|
@@ -4525,43 +4492,55 @@ var Wi = function(e) {
|
|
|
4525
4492
|
Pe(i);
|
|
4526
4493
|
}
|
|
4527
4494
|
}, e;
|
|
4528
|
-
}(),
|
|
4529
|
-
|
|
4495
|
+
}(), pt = function(e) {
|
|
4496
|
+
Q(t, e);
|
|
4530
4497
|
function t(i, r, n) {
|
|
4531
4498
|
var o = e.call(this) || this, s;
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4499
|
+
if (J(i) || !i)
|
|
4500
|
+
s = {
|
|
4501
|
+
next: i != null ? i : void 0,
|
|
4502
|
+
error: r != null ? r : void 0,
|
|
4503
|
+
complete: n != null ? n : void 0
|
|
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;
|
|
4537
4516
|
}
|
|
4538
4517
|
return t;
|
|
4539
|
-
}(
|
|
4518
|
+
}(zi);
|
|
4540
4519
|
function Pe(e) {
|
|
4541
|
-
|
|
4520
|
+
Bo(e);
|
|
4542
4521
|
}
|
|
4543
|
-
function
|
|
4522
|
+
function Ho(e) {
|
|
4544
4523
|
throw e;
|
|
4545
4524
|
}
|
|
4546
|
-
var
|
|
4525
|
+
var Oo = {
|
|
4547
4526
|
closed: !0,
|
|
4548
|
-
next:
|
|
4549
|
-
error:
|
|
4550
|
-
complete:
|
|
4551
|
-
},
|
|
4527
|
+
next: Xt,
|
|
4528
|
+
error: Ho,
|
|
4529
|
+
complete: Xt
|
|
4530
|
+
}, Mo = function() {
|
|
4552
4531
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4553
4532
|
}();
|
|
4554
|
-
function
|
|
4533
|
+
function ko(e) {
|
|
4555
4534
|
return e;
|
|
4556
4535
|
}
|
|
4557
|
-
function
|
|
4558
|
-
return e.length === 0 ?
|
|
4536
|
+
function Co(e) {
|
|
4537
|
+
return e.length === 0 ? ko : e.length === 1 ? e[0] : function(i) {
|
|
4559
4538
|
return e.reduce(function(r, n) {
|
|
4560
4539
|
return n(r);
|
|
4561
4540
|
}, i);
|
|
4562
4541
|
};
|
|
4563
4542
|
}
|
|
4564
|
-
var
|
|
4543
|
+
var Zt = function() {
|
|
4565
4544
|
function e(t) {
|
|
4566
4545
|
t && (this._subscribe = t);
|
|
4567
4546
|
}
|
|
@@ -4569,8 +4548,8 @@ var qt = function() {
|
|
|
4569
4548
|
var i = new e();
|
|
4570
4549
|
return i.source = this, i.operator = t, i;
|
|
4571
4550
|
}, e.prototype.subscribe = function(t, i, r) {
|
|
4572
|
-
var n = this, o =
|
|
4573
|
-
return
|
|
4551
|
+
var n = this, o = Ro(t) ? t : new pt(t, i, r);
|
|
4552
|
+
return Ie(function() {
|
|
4574
4553
|
var s = n, a = s.operator, c = s.source;
|
|
4575
4554
|
o.add(a ? a.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
|
|
4576
4555
|
}), o;
|
|
@@ -4582,8 +4561,8 @@ var qt = function() {
|
|
|
4582
4561
|
}
|
|
4583
4562
|
}, e.prototype.forEach = function(t, i) {
|
|
4584
4563
|
var r = this;
|
|
4585
|
-
return i =
|
|
4586
|
-
var s = new
|
|
4564
|
+
return i = Yt(i), new i(function(n, o) {
|
|
4565
|
+
var s = new pt({
|
|
4587
4566
|
next: function(a) {
|
|
4588
4567
|
try {
|
|
4589
4568
|
t(a);
|
|
@@ -4599,15 +4578,15 @@ var qt = function() {
|
|
|
4599
4578
|
}, e.prototype._subscribe = function(t) {
|
|
4600
4579
|
var i;
|
|
4601
4580
|
return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
|
|
4602
|
-
}, e.prototype[
|
|
4581
|
+
}, e.prototype[Mo] = function() {
|
|
4603
4582
|
return this;
|
|
4604
4583
|
}, e.prototype.pipe = function() {
|
|
4605
4584
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
4606
4585
|
t[i] = arguments[i];
|
|
4607
|
-
return
|
|
4586
|
+
return Co(t)(this);
|
|
4608
4587
|
}, e.prototype.toPromise = function(t) {
|
|
4609
4588
|
var i = this;
|
|
4610
|
-
return t =
|
|
4589
|
+
return t = Yt(t), new t(function(r, n) {
|
|
4611
4590
|
var o;
|
|
4612
4591
|
i.subscribe(function(s) {
|
|
4613
4592
|
return o = s;
|
|
@@ -4621,40 +4600,40 @@ var qt = function() {
|
|
|
4621
4600
|
return new e(t);
|
|
4622
4601
|
}, e;
|
|
4623
4602
|
}();
|
|
4624
|
-
function
|
|
4603
|
+
function Yt(e) {
|
|
4625
4604
|
var t;
|
|
4626
|
-
return (t = e != null ? e :
|
|
4605
|
+
return (t = e != null ? e : Gi.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4627
4606
|
}
|
|
4628
|
-
function
|
|
4629
|
-
return e &&
|
|
4607
|
+
function Do(e) {
|
|
4608
|
+
return e && J(e.next) && J(e.error) && J(e.complete);
|
|
4630
4609
|
}
|
|
4631
|
-
function
|
|
4632
|
-
return e && e instanceof
|
|
4610
|
+
function Ro(e) {
|
|
4611
|
+
return e && e instanceof zi || Do(e) && $i(e);
|
|
4633
4612
|
}
|
|
4634
|
-
var
|
|
4613
|
+
var Uo = ji(function(e) {
|
|
4635
4614
|
return function() {
|
|
4636
4615
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4637
4616
|
};
|
|
4638
|
-
}),
|
|
4639
|
-
|
|
4617
|
+
}), Wi = function(e) {
|
|
4618
|
+
Q(t, e);
|
|
4640
4619
|
function t() {
|
|
4641
4620
|
var i = e.call(this) || this;
|
|
4642
4621
|
return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
|
|
4643
4622
|
}
|
|
4644
4623
|
return t.prototype.lift = function(i) {
|
|
4645
|
-
var r = new
|
|
4624
|
+
var r = new qt(this, this);
|
|
4646
4625
|
return r.operator = i, r;
|
|
4647
4626
|
}, t.prototype._throwIfClosed = function() {
|
|
4648
4627
|
if (this.closed)
|
|
4649
|
-
throw new
|
|
4628
|
+
throw new Uo();
|
|
4650
4629
|
}, t.prototype.next = function(i) {
|
|
4651
4630
|
var r = this;
|
|
4652
|
-
|
|
4631
|
+
Ie(function() {
|
|
4653
4632
|
var n, o;
|
|
4654
4633
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4655
4634
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
4656
4635
|
try {
|
|
4657
|
-
for (var s =
|
|
4636
|
+
for (var s = rt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4658
4637
|
var c = a.value;
|
|
4659
4638
|
c.next(i);
|
|
4660
4639
|
}
|
|
@@ -4672,7 +4651,7 @@ var $o = Fi(function(e) {
|
|
|
4672
4651
|
});
|
|
4673
4652
|
}, t.prototype.error = function(i) {
|
|
4674
4653
|
var r = this;
|
|
4675
|
-
|
|
4654
|
+
Ie(function() {
|
|
4676
4655
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4677
4656
|
r.hasError = r.isStopped = !0, r.thrownError = i;
|
|
4678
4657
|
for (var n = r.observers; n.length; )
|
|
@@ -4681,7 +4660,7 @@ var $o = Fi(function(e) {
|
|
|
4681
4660
|
});
|
|
4682
4661
|
}, t.prototype.complete = function() {
|
|
4683
4662
|
var i = this;
|
|
4684
|
-
|
|
4663
|
+
Ie(function() {
|
|
4685
4664
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4686
4665
|
i.isStopped = !0;
|
|
4687
4666
|
for (var r = i.observers; r.length; )
|
|
@@ -4703,20 +4682,20 @@ var $o = Fi(function(e) {
|
|
|
4703
4682
|
return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
|
|
4704
4683
|
}, t.prototype._innerSubscribe = function(i) {
|
|
4705
4684
|
var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4706
|
-
return o || s ?
|
|
4707
|
-
r.currentObservers = null,
|
|
4685
|
+
return o || s ? Fi : (this.currentObservers = null, a.push(i), new Fe(function() {
|
|
4686
|
+
r.currentObservers = null, ft(a, i);
|
|
4708
4687
|
}));
|
|
4709
4688
|
}, t.prototype._checkFinalizedStatuses = function(i) {
|
|
4710
4689
|
var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
4711
4690
|
n ? i.error(o) : s && i.complete();
|
|
4712
4691
|
}, t.prototype.asObservable = function() {
|
|
4713
|
-
var i = new
|
|
4692
|
+
var i = new Zt();
|
|
4714
4693
|
return i.source = this, i;
|
|
4715
4694
|
}, t.create = function(i, r) {
|
|
4716
|
-
return new
|
|
4695
|
+
return new qt(i, r);
|
|
4717
4696
|
}, t;
|
|
4718
|
-
}(
|
|
4719
|
-
|
|
4697
|
+
}(Zt), qt = function(e) {
|
|
4698
|
+
Q(t, e);
|
|
4720
4699
|
function t(i, r) {
|
|
4721
4700
|
var n = e.call(this) || this;
|
|
4722
4701
|
return n.destination = i, n.source = r, n;
|
|
@@ -4732,17 +4711,17 @@ var $o = Fi(function(e) {
|
|
|
4732
4711
|
(r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
|
|
4733
4712
|
}, t.prototype._subscribe = function(i) {
|
|
4734
4713
|
var r, n;
|
|
4735
|
-
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n :
|
|
4714
|
+
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Fi;
|
|
4736
4715
|
}, t;
|
|
4737
|
-
}(
|
|
4716
|
+
}(Wi), Vi = {
|
|
4738
4717
|
now: function() {
|
|
4739
|
-
return (
|
|
4718
|
+
return (Vi.delegate || Date).now();
|
|
4740
4719
|
},
|
|
4741
4720
|
delegate: void 0
|
|
4742
|
-
},
|
|
4743
|
-
|
|
4721
|
+
}, jo = function(e) {
|
|
4722
|
+
Q(t, e);
|
|
4744
4723
|
function t(i, r, n) {
|
|
4745
|
-
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n =
|
|
4724
|
+
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Vi);
|
|
4746
4725
|
var o = e.call(this) || this;
|
|
4747
4726
|
return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
|
|
4748
4727
|
}
|
|
@@ -4762,24 +4741,24 @@ var $o = Fi(function(e) {
|
|
|
4762
4741
|
u && o.splice(0, u + 1);
|
|
4763
4742
|
}
|
|
4764
4743
|
}, t;
|
|
4765
|
-
}(
|
|
4766
|
-
const
|
|
4767
|
-
if (
|
|
4768
|
-
const i = new
|
|
4769
|
-
|
|
4744
|
+
}(Wi);
|
|
4745
|
+
const Jt = [], Qt = {}, Fo = (e, t = 0) => {
|
|
4746
|
+
if (Jt.indexOf(e) == -1) {
|
|
4747
|
+
const i = new jo(t);
|
|
4748
|
+
Qt[e] = i, Jt.push(e);
|
|
4770
4749
|
}
|
|
4771
|
-
return
|
|
4750
|
+
return Qt[e];
|
|
4772
4751
|
};
|
|
4773
|
-
window.emWidgets = { topic:
|
|
4774
|
-
const
|
|
4752
|
+
window.emWidgets = { topic: Fo };
|
|
4753
|
+
const $o = (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));
|
|
4775
4754
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4776
|
-
function
|
|
4755
|
+
function Go(e, t) {
|
|
4777
4756
|
if (e) {
|
|
4778
4757
|
const i = document.createElement("style");
|
|
4779
4758
|
i.innerHTML = t, e.appendChild(i);
|
|
4780
4759
|
}
|
|
4781
4760
|
}
|
|
4782
|
-
function
|
|
4761
|
+
function zo(e, t) {
|
|
4783
4762
|
if (!e || !t)
|
|
4784
4763
|
return;
|
|
4785
4764
|
const i = new URL(t);
|
|
@@ -4790,7 +4769,7 @@ function Vo(e, t) {
|
|
|
4790
4769
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4791
4770
|
});
|
|
4792
4771
|
}
|
|
4793
|
-
function
|
|
4772
|
+
function Wo(e, t, i) {
|
|
4794
4773
|
if (window.emMessageBus) {
|
|
4795
4774
|
const r = document.createElement("style");
|
|
4796
4775
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4798,31 +4777,31 @@ function Xo(e, t, i) {
|
|
|
4798
4777
|
});
|
|
4799
4778
|
}
|
|
4800
4779
|
}
|
|
4801
|
-
function
|
|
4802
|
-
|
|
4780
|
+
function Vo(e) {
|
|
4781
|
+
gr(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}');
|
|
4803
4782
|
}
|
|
4804
|
-
function
|
|
4783
|
+
function Kt(e, t, i) {
|
|
4805
4784
|
const r = e.slice();
|
|
4806
4785
|
return r[50] = t[i], r;
|
|
4807
4786
|
}
|
|
4808
|
-
function
|
|
4787
|
+
function ei(e, t, i) {
|
|
4809
4788
|
const r = e.slice();
|
|
4810
4789
|
return r[53] = t[i], r;
|
|
4811
4790
|
}
|
|
4812
|
-
function
|
|
4791
|
+
function ti(e, t, i) {
|
|
4813
4792
|
const r = e.slice();
|
|
4814
4793
|
return r[53] = t[i], r;
|
|
4815
4794
|
}
|
|
4816
|
-
function
|
|
4795
|
+
function ii(e, t, i) {
|
|
4817
4796
|
const r = e.slice();
|
|
4818
4797
|
return r[58] = t[i], r;
|
|
4819
4798
|
}
|
|
4820
|
-
function
|
|
4799
|
+
function ri(e) {
|
|
4821
4800
|
let t, i;
|
|
4822
4801
|
function r(s, a) {
|
|
4823
4802
|
return (
|
|
4824
4803
|
/*popupReady*/
|
|
4825
|
-
s[11] ?
|
|
4804
|
+
s[11] ? Xo : Zo
|
|
4826
4805
|
);
|
|
4827
4806
|
}
|
|
4828
4807
|
let n = r(e), o = n(e);
|
|
@@ -4832,38 +4811,38 @@ function oi(e) {
|
|
|
4832
4811
|
(e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
|
|
4833
4812
|
},
|
|
4834
4813
|
m(s, a) {
|
|
4835
|
-
|
|
4814
|
+
N(s, t, a), d(t, i), o.m(i, null);
|
|
4836
4815
|
},
|
|
4837
4816
|
p(s, a) {
|
|
4838
4817
|
n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
|
|
4839
4818
|
},
|
|
4840
4819
|
d(s) {
|
|
4841
|
-
s &&
|
|
4820
|
+
s && B(t), o.d();
|
|
4842
4821
|
}
|
|
4843
4822
|
};
|
|
4844
4823
|
}
|
|
4845
|
-
function
|
|
4824
|
+
function Xo(e) {
|
|
4846
4825
|
let t, i, r = (
|
|
4847
4826
|
/*$_*/
|
|
4848
4827
|
e[13]("popupTitle") + ""
|
|
4849
|
-
), n, o, s, a, c, u, l, h,
|
|
4850
|
-
e[9] &&
|
|
4828
|
+
), n, o, s, a, c, u, l, h, f, m, p, _, R, P = !/*limitError*/
|
|
4829
|
+
e[9] && ni(e);
|
|
4851
4830
|
return {
|
|
4852
4831
|
c() {
|
|
4853
|
-
t = v("div"), i = v("span"), n =
|
|
4832
|
+
t = v("div"), i = v("span"), n = F(r), o = j(), s = v("button"), s.textContent = "X", a = j(), c = v("div"), u = v("div"), P && P.c(), l = j(), h = v("p"), f = F(
|
|
4854
4833
|
/*popupContent*/
|
|
4855
4834
|
e[12]
|
|
4856
|
-
),
|
|
4835
|
+
), m = 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");
|
|
4857
4836
|
},
|
|
4858
4837
|
m(L, w) {
|
|
4859
|
-
|
|
4860
|
-
|
|
4838
|
+
N(L, t, w), d(t, i), d(i, n), 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, f), N(L, m, w), N(L, p, w), _ || (R = [
|
|
4839
|
+
Y(
|
|
4861
4840
|
s,
|
|
4862
4841
|
"click",
|
|
4863
4842
|
/*closePopup*/
|
|
4864
4843
|
e[20]
|
|
4865
4844
|
),
|
|
4866
|
-
|
|
4845
|
+
Y(
|
|
4867
4846
|
p,
|
|
4868
4847
|
"click",
|
|
4869
4848
|
/*closePopup*/
|
|
@@ -4875,57 +4854,57 @@ function Yo(e) {
|
|
|
4875
4854
|
w[0] & /*$_*/
|
|
4876
4855
|
8192 && r !== (r = /*$_*/
|
|
4877
4856
|
L[13]("popupTitle") + "") && W(n, r), /*limitError*/
|
|
4878
|
-
L[9] ?
|
|
4857
|
+
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = ni(L), P.c(), P.m(u, null)), w[0] & /*popupContent*/
|
|
4879
4858
|
4096 && W(
|
|
4880
|
-
|
|
4859
|
+
f,
|
|
4881
4860
|
/*popupContent*/
|
|
4882
4861
|
L[12]
|
|
4883
4862
|
);
|
|
4884
4863
|
},
|
|
4885
4864
|
d(L) {
|
|
4886
|
-
L && (
|
|
4865
|
+
L && (B(t), B(a), B(c), B(m), B(p)), P && P.d(), _ = !1, ie(R);
|
|
4887
4866
|
}
|
|
4888
4867
|
};
|
|
4889
4868
|
}
|
|
4890
|
-
function
|
|
4869
|
+
function Zo(e) {
|
|
4891
4870
|
let t;
|
|
4892
4871
|
return {
|
|
4893
4872
|
c() {
|
|
4894
4873
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
4895
4874
|
},
|
|
4896
4875
|
m(i, r) {
|
|
4897
|
-
|
|
4876
|
+
N(i, t, r);
|
|
4898
4877
|
},
|
|
4899
|
-
p:
|
|
4878
|
+
p: U,
|
|
4900
4879
|
d(i) {
|
|
4901
|
-
i &&
|
|
4880
|
+
i && B(t);
|
|
4902
4881
|
}
|
|
4903
4882
|
};
|
|
4904
4883
|
}
|
|
4905
|
-
function
|
|
4884
|
+
function ni(e) {
|
|
4906
4885
|
let t, i, r, n, o, s, a, c, u = (
|
|
4907
4886
|
/*$_*/
|
|
4908
4887
|
e[13]("popupSuccess") + ""
|
|
4909
4888
|
), l;
|
|
4910
4889
|
return {
|
|
4911
4890
|
c() {
|
|
4912
|
-
t =
|
|
4913
|
-
`), o =
|
|
4891
|
+
t = be("svg"), i = be("defs"), r = be("style"), n = F(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4892
|
+
`), o = be("g"), s = be("polygon"), a = j(), c = v("p"), l = F(u), g(r, "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");
|
|
4914
4893
|
},
|
|
4915
|
-
m(h,
|
|
4916
|
-
|
|
4894
|
+
m(h, f) {
|
|
4895
|
+
N(h, t, f), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), N(h, a, f), N(h, c, f), d(c, l);
|
|
4917
4896
|
},
|
|
4918
|
-
p(h,
|
|
4919
|
-
|
|
4897
|
+
p(h, f) {
|
|
4898
|
+
f[0] & /*$_*/
|
|
4920
4899
|
8192 && u !== (u = /*$_*/
|
|
4921
4900
|
h[13]("popupSuccess") + "") && W(l, u);
|
|
4922
4901
|
},
|
|
4923
4902
|
d(h) {
|
|
4924
|
-
h && (
|
|
4903
|
+
h && (B(t), B(a), B(c));
|
|
4925
4904
|
}
|
|
4926
4905
|
};
|
|
4927
4906
|
}
|
|
4928
|
-
function
|
|
4907
|
+
function Yo(e) {
|
|
4929
4908
|
let t, i, r, n, o, s, a, c, u, l = (
|
|
4930
4909
|
/*multiplePeriods*/
|
|
4931
4910
|
e[6] ? `${/*$_*/
|
|
@@ -4934,59 +4913,59 @@ function Jo(e) {
|
|
|
4934
4913
|
e[13](`gamingLimits.${/*selectedPeriod*/
|
|
4935
4914
|
e[2]}`)} ${/*$_*/
|
|
4936
4915
|
e[13]("limit")}`
|
|
4937
|
-
), h,
|
|
4916
|
+
), h, f, m, p, _, R = (
|
|
4938
4917
|
/*$_*/
|
|
4939
4918
|
e[13]("setLimit") + ""
|
|
4940
|
-
),
|
|
4919
|
+
), P, L, w, H = te(
|
|
4941
4920
|
/*availableLimits*/
|
|
4942
4921
|
e[15]
|
|
4943
|
-
),
|
|
4944
|
-
for (let E = 0; E <
|
|
4945
|
-
|
|
4946
|
-
let
|
|
4922
|
+
), A = [];
|
|
4923
|
+
for (let E = 0; E < H.length; E += 1)
|
|
4924
|
+
A[E] = si(ti(e, H, E));
|
|
4925
|
+
let M = (
|
|
4947
4926
|
/*multipleLimits*/
|
|
4948
|
-
e[5] &&
|
|
4927
|
+
e[5] && ai(e)
|
|
4949
4928
|
), D = (
|
|
4950
4929
|
/*multiplePeriods*/
|
|
4951
|
-
e[6] &&
|
|
4930
|
+
e[6] && li(e)
|
|
4952
4931
|
);
|
|
4953
4932
|
return {
|
|
4954
4933
|
c() {
|
|
4955
4934
|
t = v("div"), i = v("div"), r = v("div");
|
|
4956
|
-
for (let E = 0; E <
|
|
4957
|
-
|
|
4958
|
-
n =
|
|
4959
|
-
(e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(
|
|
4935
|
+
for (let E = 0; E < A.length; E += 1)
|
|
4936
|
+
A[E].c();
|
|
4937
|
+
n = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), c = v("label"), u = v("span"), h = F(l), f = j(), m = v("input"), p = j(), _ = v("button"), P = F(R), g(r, "class", "LimitsList " + /*isDesktop*/
|
|
4938
|
+
(e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(m, "type", "number"), g(m, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
4960
4939
|
(e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
|
|
4961
4940
|
},
|
|
4962
4941
|
m(E, G) {
|
|
4963
|
-
|
|
4964
|
-
for (let
|
|
4965
|
-
|
|
4966
|
-
d(i, n), d(i, o),
|
|
4967
|
-
|
|
4942
|
+
N(E, t, G), d(t, i), d(i, r);
|
|
4943
|
+
for (let k = 0; k < A.length; k += 1)
|
|
4944
|
+
A[k] && A[k].m(r, null);
|
|
4945
|
+
d(i, n), 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, f), d(o, m), ve(
|
|
4946
|
+
m,
|
|
4968
4947
|
/*inputAmount*/
|
|
4969
4948
|
e[3]
|
|
4970
|
-
), d(o, p), d(o, _), d(_,
|
|
4971
|
-
|
|
4972
|
-
|
|
4949
|
+
), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
|
|
4950
|
+
Y(
|
|
4951
|
+
m,
|
|
4973
4952
|
"input",
|
|
4974
4953
|
/*input_input_handler*/
|
|
4975
4954
|
e[34]
|
|
4976
4955
|
),
|
|
4977
|
-
|
|
4978
|
-
|
|
4956
|
+
Y(
|
|
4957
|
+
m,
|
|
4979
4958
|
"keyup",
|
|
4980
4959
|
/*updateInputValue*/
|
|
4981
4960
|
e[18]
|
|
4982
4961
|
),
|
|
4983
|
-
|
|
4962
|
+
Y(
|
|
4984
4963
|
_,
|
|
4985
4964
|
"click",
|
|
4986
4965
|
/*updateLimits*/
|
|
4987
4966
|
e[17]
|
|
4988
4967
|
),
|
|
4989
|
-
|
|
4968
|
+
Y(
|
|
4990
4969
|
o,
|
|
4991
4970
|
"submit",
|
|
4992
4971
|
/*updateLimits*/
|
|
@@ -4997,22 +4976,22 @@ function Jo(e) {
|
|
|
4997
4976
|
p(E, G) {
|
|
4998
4977
|
if (G[0] & /*isDesktop, availableLimits, removeLimit, $_*/
|
|
4999
4978
|
581632) {
|
|
5000
|
-
|
|
4979
|
+
H = te(
|
|
5001
4980
|
/*availableLimits*/
|
|
5002
4981
|
E[15]
|
|
5003
4982
|
);
|
|
5004
|
-
let
|
|
5005
|
-
for (
|
|
5006
|
-
const K =
|
|
5007
|
-
|
|
4983
|
+
let k;
|
|
4984
|
+
for (k = 0; k < H.length; k += 1) {
|
|
4985
|
+
const K = ti(E, H, k);
|
|
4986
|
+
A[k] ? A[k].p(K, G) : (A[k] = si(K), A[k].c(), A[k].m(r, null));
|
|
5008
4987
|
}
|
|
5009
|
-
for (;
|
|
5010
|
-
|
|
5011
|
-
|
|
4988
|
+
for (; k < A.length; k += 1)
|
|
4989
|
+
A[k].d(1);
|
|
4990
|
+
A.length = H.length;
|
|
5012
4991
|
}
|
|
5013
4992
|
/*multipleLimits*/
|
|
5014
|
-
E[5] ?
|
|
5015
|
-
E[6] ? D ? D.p(E, G) : (D =
|
|
4993
|
+
E[5] ? M ? M.p(E, G) : (M = ai(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
|
|
4994
|
+
E[6] ? D ? D.p(E, G) : (D = li(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
5016
4995
|
8260 && l !== (l = /*multiplePeriods*/
|
|
5017
4996
|
E[6] ? `${/*$_*/
|
|
5018
4997
|
E[13]("amount")}` : `${/*$_*/
|
|
@@ -5020,64 +4999,64 @@ function Jo(e) {
|
|
|
5020
4999
|
E[13](`gamingLimits.${/*selectedPeriod*/
|
|
5021
5000
|
E[2]}`)} ${/*$_*/
|
|
5022
5001
|
E[13]("limit")}`) && W(h, l), G[0] & /*inputAmount*/
|
|
5023
|
-
8 &&
|
|
5024
|
-
E[3] &&
|
|
5025
|
-
|
|
5002
|
+
8 && pi(m.value) !== /*inputAmount*/
|
|
5003
|
+
E[3] && ve(
|
|
5004
|
+
m,
|
|
5026
5005
|
/*inputAmount*/
|
|
5027
5006
|
E[3]
|
|
5028
5007
|
), G[0] & /*$_*/
|
|
5029
5008
|
8192 && R !== (R = /*$_*/
|
|
5030
|
-
E[13]("setLimit") + "") && W(
|
|
5009
|
+
E[13]("setLimit") + "") && W(P, R);
|
|
5031
5010
|
},
|
|
5032
5011
|
d(E) {
|
|
5033
|
-
E &&
|
|
5012
|
+
E && B(t), Ce(A, E), M && M.d(), D && D.d(), e[35](null), L = !1, ie(w);
|
|
5034
5013
|
}
|
|
5035
5014
|
};
|
|
5036
5015
|
}
|
|
5037
|
-
function
|
|
5016
|
+
function qo(e) {
|
|
5038
5017
|
let t;
|
|
5039
5018
|
return {
|
|
5040
5019
|
c() {
|
|
5041
5020
|
t = v("p"), t.textContent = "500 Server error";
|
|
5042
5021
|
},
|
|
5043
5022
|
m(i, r) {
|
|
5044
|
-
|
|
5023
|
+
N(i, t, r);
|
|
5045
5024
|
},
|
|
5046
|
-
p:
|
|
5025
|
+
p: U,
|
|
5047
5026
|
d(i) {
|
|
5048
|
-
i &&
|
|
5027
|
+
i && B(t);
|
|
5049
5028
|
}
|
|
5050
5029
|
};
|
|
5051
5030
|
}
|
|
5052
|
-
function
|
|
5053
|
-
return { c:
|
|
5031
|
+
function Jo(e) {
|
|
5032
|
+
return { c: U, m: U, p: U, d: U };
|
|
5054
5033
|
}
|
|
5055
|
-
function
|
|
5034
|
+
function Qo(e) {
|
|
5056
5035
|
let t;
|
|
5057
5036
|
return {
|
|
5058
5037
|
c() {
|
|
5059
5038
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
5060
5039
|
},
|
|
5061
5040
|
m(i, r) {
|
|
5062
|
-
|
|
5041
|
+
N(i, t, r);
|
|
5063
5042
|
},
|
|
5064
|
-
p:
|
|
5043
|
+
p: U,
|
|
5065
5044
|
d(i) {
|
|
5066
|
-
i &&
|
|
5045
|
+
i && B(t);
|
|
5067
5046
|
}
|
|
5068
5047
|
};
|
|
5069
5048
|
}
|
|
5070
|
-
function
|
|
5049
|
+
function Ko(e) {
|
|
5071
5050
|
let t, i, r, n = (
|
|
5072
5051
|
/*$_*/
|
|
5073
5052
|
e[13]("noLimitText") + ""
|
|
5074
5053
|
), o;
|
|
5075
5054
|
return {
|
|
5076
5055
|
c() {
|
|
5077
|
-
t = v("div"), i = v("div"), r = v("div"), o =
|
|
5056
|
+
t = v("div"), i = v("div"), r = v("div"), o = F(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
|
|
5078
5057
|
},
|
|
5079
5058
|
m(s, a) {
|
|
5080
|
-
|
|
5059
|
+
N(s, t, a), d(t, i), d(i, r), d(r, o);
|
|
5081
5060
|
},
|
|
5082
5061
|
p(s, a) {
|
|
5083
5062
|
a[0] & /*$_*/
|
|
@@ -5085,27 +5064,27 @@ function ts(e) {
|
|
|
5085
5064
|
s[13]("noLimitText") + "") && W(o, n);
|
|
5086
5065
|
},
|
|
5087
5066
|
d(s) {
|
|
5088
|
-
s &&
|
|
5067
|
+
s && B(t);
|
|
5089
5068
|
}
|
|
5090
5069
|
};
|
|
5091
5070
|
}
|
|
5092
|
-
function
|
|
5071
|
+
function es(e) {
|
|
5093
5072
|
let t, i = te(
|
|
5094
5073
|
/*limit*/
|
|
5095
5074
|
e[53].currentLimits
|
|
5096
5075
|
), r = [];
|
|
5097
5076
|
for (let n = 0; n < i.length; n += 1)
|
|
5098
|
-
r[n] =
|
|
5077
|
+
r[n] = oi(ii(e, i, n));
|
|
5099
5078
|
return {
|
|
5100
5079
|
c() {
|
|
5101
5080
|
for (let n = 0; n < r.length; n += 1)
|
|
5102
5081
|
r[n].c();
|
|
5103
|
-
t =
|
|
5082
|
+
t = _r();
|
|
5104
5083
|
},
|
|
5105
5084
|
m(n, o) {
|
|
5106
5085
|
for (let s = 0; s < r.length; s += 1)
|
|
5107
5086
|
r[s] && r[s].m(n, o);
|
|
5108
|
-
|
|
5087
|
+
N(n, t, o);
|
|
5109
5088
|
},
|
|
5110
5089
|
p(n, o) {
|
|
5111
5090
|
if (o[0] & /*removeLimit, availableLimits, $_*/
|
|
@@ -5116,8 +5095,8 @@ function is(e) {
|
|
|
5116
5095
|
);
|
|
5117
5096
|
let s;
|
|
5118
5097
|
for (s = 0; s < i.length; s += 1) {
|
|
5119
|
-
const a =
|
|
5120
|
-
r[s] ? r[s].p(a, o) : (r[s] =
|
|
5098
|
+
const a = ii(n, i, s);
|
|
5099
|
+
r[s] ? r[s].p(a, o) : (r[s] = oi(a), r[s].c(), r[s].m(t.parentNode, t));
|
|
5121
5100
|
}
|
|
5122
5101
|
for (; s < r.length; s += 1)
|
|
5123
5102
|
r[s].d(1);
|
|
@@ -5125,20 +5104,20 @@ function is(e) {
|
|
|
5125
5104
|
}
|
|
5126
5105
|
},
|
|
5127
5106
|
d(n) {
|
|
5128
|
-
n &&
|
|
5107
|
+
n && B(t), Ce(r, n);
|
|
5129
5108
|
}
|
|
5130
5109
|
};
|
|
5131
5110
|
}
|
|
5132
|
-
function
|
|
5111
|
+
function ts(e) {
|
|
5133
5112
|
let t, i = `${/*$_*/
|
|
5134
5113
|
e[13]("removedLimitText")} ${/*currentLimit*/
|
|
5135
5114
|
e[58].expiryDate}`, r;
|
|
5136
5115
|
return {
|
|
5137
5116
|
c() {
|
|
5138
|
-
t = v("div"), r =
|
|
5117
|
+
t = v("div"), r = F(i), g(t, "class", "PendingLimit");
|
|
5139
5118
|
},
|
|
5140
5119
|
m(n, o) {
|
|
5141
|
-
|
|
5120
|
+
N(n, t, o), d(t, r);
|
|
5142
5121
|
},
|
|
5143
5122
|
p(n, o) {
|
|
5144
5123
|
o[0] & /*$_*/
|
|
@@ -5147,11 +5126,11 @@ function rs(e) {
|
|
|
5147
5126
|
n[58].expiryDate}`) && W(r, i);
|
|
5148
5127
|
},
|
|
5149
5128
|
d(n) {
|
|
5150
|
-
n &&
|
|
5129
|
+
n && B(t);
|
|
5151
5130
|
}
|
|
5152
5131
|
};
|
|
5153
5132
|
}
|
|
5154
|
-
function
|
|
5133
|
+
function is(e) {
|
|
5155
5134
|
let t, i = `${/*currentLimit*/
|
|
5156
5135
|
e[58].updateAmount}${/*currentLimit*/
|
|
5157
5136
|
e[58].currency} ${/*$_*/
|
|
@@ -5161,10 +5140,10 @@ function ns(e) {
|
|
|
5161
5140
|
e[58].expiryDate}`, r;
|
|
5162
5141
|
return {
|
|
5163
5142
|
c() {
|
|
5164
|
-
t = v("div"), r =
|
|
5143
|
+
t = v("div"), r = F(i), g(t, "class", "PendingLimit");
|
|
5165
5144
|
},
|
|
5166
5145
|
m(n, o) {
|
|
5167
|
-
|
|
5146
|
+
N(n, t, o), d(t, r);
|
|
5168
5147
|
},
|
|
5169
5148
|
p(n, o) {
|
|
5170
5149
|
o[0] & /*$_*/
|
|
@@ -5177,11 +5156,11 @@ function ns(e) {
|
|
|
5177
5156
|
n[58].expiryDate}`) && W(r, i);
|
|
5178
5157
|
},
|
|
5179
5158
|
d(n) {
|
|
5180
|
-
n &&
|
|
5159
|
+
n && B(t);
|
|
5181
5160
|
}
|
|
5182
5161
|
};
|
|
5183
5162
|
}
|
|
5184
|
-
function
|
|
5163
|
+
function rs(e) {
|
|
5185
5164
|
let t, i = (
|
|
5186
5165
|
/*$_*/
|
|
5187
5166
|
e[13]("gamingLimits.removeLimit") + ""
|
|
@@ -5197,10 +5176,10 @@ function os(e) {
|
|
|
5197
5176
|
}
|
|
5198
5177
|
return {
|
|
5199
5178
|
c() {
|
|
5200
|
-
t = v("button"), r =
|
|
5179
|
+
t = v("button"), r = F(i), g(t, "class", "RemoveLimitButton");
|
|
5201
5180
|
},
|
|
5202
5181
|
m(a, c) {
|
|
5203
|
-
|
|
5182
|
+
N(a, t, c), d(t, r), n || (o = Y(t, "click", s), n = !0);
|
|
5204
5183
|
},
|
|
5205
5184
|
p(a, c) {
|
|
5206
5185
|
e = a, c[0] & /*$_*/
|
|
@@ -5208,53 +5187,53 @@ function os(e) {
|
|
|
5208
5187
|
e[13]("gamingLimits.removeLimit") + "") && W(r, i);
|
|
5209
5188
|
},
|
|
5210
5189
|
d(a) {
|
|
5211
|
-
a &&
|
|
5190
|
+
a && B(t), n = !1, o();
|
|
5212
5191
|
}
|
|
5213
5192
|
};
|
|
5214
5193
|
}
|
|
5215
|
-
function
|
|
5194
|
+
function oi(e) {
|
|
5216
5195
|
let t, i, r, n = `${/*currentLimit*/
|
|
5217
5196
|
e[58].amount}${/*currentLimit*/
|
|
5218
5197
|
e[58].currency} ${/*$_*/
|
|
5219
5198
|
e[13](`gamingLimits.${/*currentLimit*/
|
|
5220
5199
|
e[58].period}`)}`, o, s, a, c;
|
|
5221
|
-
function u(
|
|
5200
|
+
function u(m, p) {
|
|
5222
5201
|
if (
|
|
5223
5202
|
/*currentLimit*/
|
|
5224
|
-
|
|
5225
|
-
|
|
5203
|
+
m[58].isModified && /*currentLimit*/
|
|
5204
|
+
m[58].updateAmount != "-1"
|
|
5226
5205
|
)
|
|
5227
|
-
return
|
|
5206
|
+
return is;
|
|
5228
5207
|
if (
|
|
5229
5208
|
/*currentLimit*/
|
|
5230
|
-
|
|
5209
|
+
m[58].isModified
|
|
5231
5210
|
)
|
|
5232
|
-
return
|
|
5211
|
+
return ts;
|
|
5233
5212
|
}
|
|
5234
|
-
let l = u(e), h = l && l(e),
|
|
5235
|
-
e[58].isModified &&
|
|
5213
|
+
let l = u(e), h = l && l(e), f = !/*currentLimit*/
|
|
5214
|
+
e[58].isModified && rs(e);
|
|
5236
5215
|
return {
|
|
5237
5216
|
c() {
|
|
5238
|
-
t = v("div"), i = v("div"), r = v("div"), o =
|
|
5217
|
+
t = v("div"), i = v("div"), r = v("div"), o = F(n), s = j(), h && h.c(), a = j(), f && f.c(), c = j(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
|
|
5239
5218
|
},
|
|
5240
|
-
m(
|
|
5241
|
-
|
|
5219
|
+
m(m, p) {
|
|
5220
|
+
N(m, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), f && f.m(t, null), d(t, c);
|
|
5242
5221
|
},
|
|
5243
|
-
p(
|
|
5222
|
+
p(m, p) {
|
|
5244
5223
|
p[0] & /*$_*/
|
|
5245
5224
|
8192 && n !== (n = `${/*currentLimit*/
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5225
|
+
m[58].amount}${/*currentLimit*/
|
|
5226
|
+
m[58].currency} ${/*$_*/
|
|
5227
|
+
m[13](`gamingLimits.${/*currentLimit*/
|
|
5228
|
+
m[58].period}`)}`) && W(o, n), h && h.p(m, p), /*currentLimit*/
|
|
5229
|
+
m[58].isModified || f.p(m, p);
|
|
5251
5230
|
},
|
|
5252
|
-
d(
|
|
5253
|
-
|
|
5231
|
+
d(m) {
|
|
5232
|
+
m && B(t), h && h.d(), f && f.d();
|
|
5254
5233
|
}
|
|
5255
5234
|
};
|
|
5256
5235
|
}
|
|
5257
|
-
function
|
|
5236
|
+
function si(e) {
|
|
5258
5237
|
let t, i, r = (
|
|
5259
5238
|
/*$_*/
|
|
5260
5239
|
e[13](`gamingLimits.${/*limit*/
|
|
@@ -5263,17 +5242,17 @@ function ui(e) {
|
|
|
5263
5242
|
function a(l, h) {
|
|
5264
5243
|
return (
|
|
5265
5244
|
/*limit*/
|
|
5266
|
-
l[53].currentLimits.length > 0 ?
|
|
5245
|
+
l[53].currentLimits.length > 0 ? es : Ko
|
|
5267
5246
|
);
|
|
5268
5247
|
}
|
|
5269
5248
|
let u = a(e)(e);
|
|
5270
5249
|
return {
|
|
5271
5250
|
c() {
|
|
5272
|
-
t = v("div"), i = v("p"), n =
|
|
5251
|
+
t = v("div"), i = v("p"), n = F(r), o = j(), u.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
|
|
5273
5252
|
(e[14] ? "Desktop" : ""));
|
|
5274
5253
|
},
|
|
5275
5254
|
m(l, h) {
|
|
5276
|
-
|
|
5255
|
+
N(l, t, h), d(t, i), d(i, n), d(t, o), u.m(t, null), d(t, s);
|
|
5277
5256
|
},
|
|
5278
5257
|
p(l, h) {
|
|
5279
5258
|
h[0] & /*$_*/
|
|
@@ -5282,11 +5261,11 @@ function ui(e) {
|
|
|
5282
5261
|
l[53].value}`) + "") && W(n, r), u.p(l, h);
|
|
5283
5262
|
},
|
|
5284
5263
|
d(l) {
|
|
5285
|
-
l &&
|
|
5264
|
+
l && B(t), u.d();
|
|
5286
5265
|
}
|
|
5287
5266
|
};
|
|
5288
5267
|
}
|
|
5289
|
-
function
|
|
5268
|
+
function ai(e) {
|
|
5290
5269
|
let t, i, r = (
|
|
5291
5270
|
/*$_*/
|
|
5292
5271
|
e[13]("limitType") + ""
|
|
@@ -5295,35 +5274,35 @@ function li(e) {
|
|
|
5295
5274
|
e[15]
|
|
5296
5275
|
), l = [];
|
|
5297
5276
|
for (let h = 0; h < u.length; h += 1)
|
|
5298
|
-
l[h] =
|
|
5277
|
+
l[h] = ui(ei(e, u, h));
|
|
5299
5278
|
return {
|
|
5300
5279
|
c() {
|
|
5301
|
-
t = v("label"), i = v("span"), n =
|
|
5280
|
+
t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
|
|
5302
5281
|
for (let h = 0; h < l.length; h += 1)
|
|
5303
5282
|
l[h].c();
|
|
5304
5283
|
g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
|
|
5305
|
-
e[1] === void 0 &&
|
|
5284
|
+
e[1] === void 0 && Ee(() => (
|
|
5306
5285
|
/*select_change_handler*/
|
|
5307
5286
|
e[32].call(s)
|
|
5308
5287
|
)), g(t, "class", "LimitTypeDropdownWrapper");
|
|
5309
5288
|
},
|
|
5310
|
-
m(h,
|
|
5311
|
-
|
|
5312
|
-
for (let
|
|
5313
|
-
l[
|
|
5314
|
-
|
|
5289
|
+
m(h, f) {
|
|
5290
|
+
N(h, t, f), d(t, i), d(i, n), d(t, o), d(t, s);
|
|
5291
|
+
for (let m = 0; m < l.length; m += 1)
|
|
5292
|
+
l[m] && l[m].m(s, null);
|
|
5293
|
+
He(
|
|
5315
5294
|
s,
|
|
5316
5295
|
/*selectedLimit*/
|
|
5317
5296
|
e[1],
|
|
5318
5297
|
!0
|
|
5319
5298
|
), a || (c = [
|
|
5320
|
-
|
|
5299
|
+
Y(
|
|
5321
5300
|
s,
|
|
5322
5301
|
"change",
|
|
5323
5302
|
/*select_change_handler*/
|
|
5324
5303
|
e[32]
|
|
5325
5304
|
),
|
|
5326
|
-
|
|
5305
|
+
Y(
|
|
5327
5306
|
s,
|
|
5328
5307
|
"change",
|
|
5329
5308
|
/*updateLimitSelection*/
|
|
@@ -5331,56 +5310,56 @@ function li(e) {
|
|
|
5331
5310
|
)
|
|
5332
5311
|
], a = !0);
|
|
5333
5312
|
},
|
|
5334
|
-
p(h,
|
|
5335
|
-
if (
|
|
5313
|
+
p(h, f) {
|
|
5314
|
+
if (f[0] & /*$_*/
|
|
5336
5315
|
8192 && r !== (r = /*$_*/
|
|
5337
|
-
h[13]("limitType") + "") && W(n, r),
|
|
5316
|
+
h[13]("limitType") + "") && W(n, r), f[0] & /*availableLimits*/
|
|
5338
5317
|
32768) {
|
|
5339
5318
|
u = te(
|
|
5340
5319
|
/*availableLimits*/
|
|
5341
5320
|
h[15]
|
|
5342
5321
|
);
|
|
5343
|
-
let
|
|
5344
|
-
for (
|
|
5345
|
-
const p =
|
|
5346
|
-
l[
|
|
5322
|
+
let m;
|
|
5323
|
+
for (m = 0; m < u.length; m += 1) {
|
|
5324
|
+
const p = ei(h, u, m);
|
|
5325
|
+
l[m] ? l[m].p(p, f) : (l[m] = ui(p), l[m].c(), l[m].m(s, null));
|
|
5347
5326
|
}
|
|
5348
|
-
for (;
|
|
5349
|
-
l[
|
|
5327
|
+
for (; m < l.length; m += 1)
|
|
5328
|
+
l[m].d(1);
|
|
5350
5329
|
l.length = u.length;
|
|
5351
5330
|
}
|
|
5352
|
-
|
|
5353
|
-
32770 &&
|
|
5331
|
+
f[0] & /*selectedLimit, availableLimits*/
|
|
5332
|
+
32770 && He(
|
|
5354
5333
|
s,
|
|
5355
5334
|
/*selectedLimit*/
|
|
5356
5335
|
h[1]
|
|
5357
5336
|
);
|
|
5358
5337
|
},
|
|
5359
5338
|
d(h) {
|
|
5360
|
-
h &&
|
|
5339
|
+
h && B(t), Ce(l, h), a = !1, ie(c);
|
|
5361
5340
|
}
|
|
5362
5341
|
};
|
|
5363
5342
|
}
|
|
5364
|
-
function
|
|
5343
|
+
function ui(e) {
|
|
5365
5344
|
let t, i = (
|
|
5366
5345
|
/*limit*/
|
|
5367
5346
|
e[53].title + ""
|
|
5368
5347
|
), r;
|
|
5369
5348
|
return {
|
|
5370
5349
|
c() {
|
|
5371
|
-
t = v("option"), r =
|
|
5372
|
-
e[53].value,
|
|
5350
|
+
t = v("option"), r = F(i), t.__value = /*limit*/
|
|
5351
|
+
e[53].value, ve(t, t.__value);
|
|
5373
5352
|
},
|
|
5374
5353
|
m(n, o) {
|
|
5375
|
-
|
|
5354
|
+
N(n, t, o), d(t, r);
|
|
5376
5355
|
},
|
|
5377
|
-
p:
|
|
5356
|
+
p: U,
|
|
5378
5357
|
d(n) {
|
|
5379
|
-
n &&
|
|
5358
|
+
n && B(t);
|
|
5380
5359
|
}
|
|
5381
5360
|
};
|
|
5382
5361
|
}
|
|
5383
|
-
function
|
|
5362
|
+
function li(e) {
|
|
5384
5363
|
let t, i, r = (
|
|
5385
5364
|
/*$_*/
|
|
5386
5365
|
e[13]("period") + ""
|
|
@@ -5389,65 +5368,65 @@ function hi(e) {
|
|
|
5389
5368
|
e[1]
|
|
5390
5369
|
].periods), l = [];
|
|
5391
5370
|
for (let h = 0; h < u.length; h += 1)
|
|
5392
|
-
l[h] =
|
|
5371
|
+
l[h] = ci(Kt(e, u, h));
|
|
5393
5372
|
return {
|
|
5394
5373
|
c() {
|
|
5395
|
-
t = v("label"), i = v("span"), n =
|
|
5374
|
+
t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
|
|
5396
5375
|
for (let h = 0; h < l.length; h += 1)
|
|
5397
5376
|
l[h].c();
|
|
5398
5377
|
g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
|
|
5399
|
-
e[2] === void 0 &&
|
|
5378
|
+
e[2] === void 0 && Ee(() => (
|
|
5400
5379
|
/*select_change_handler_1*/
|
|
5401
5380
|
e[33].call(s)
|
|
5402
5381
|
));
|
|
5403
5382
|
},
|
|
5404
|
-
m(h,
|
|
5405
|
-
|
|
5406
|
-
for (let
|
|
5407
|
-
l[
|
|
5408
|
-
|
|
5383
|
+
m(h, f) {
|
|
5384
|
+
N(h, t, f), d(t, i), d(i, n), N(h, o, f), N(h, s, f);
|
|
5385
|
+
for (let m = 0; m < l.length; m += 1)
|
|
5386
|
+
l[m] && l[m].m(s, null);
|
|
5387
|
+
He(
|
|
5409
5388
|
s,
|
|
5410
5389
|
/*selectedPeriod*/
|
|
5411
5390
|
e[2],
|
|
5412
5391
|
!0
|
|
5413
|
-
), a || (c =
|
|
5392
|
+
), a || (c = Y(
|
|
5414
5393
|
s,
|
|
5415
5394
|
"change",
|
|
5416
5395
|
/*select_change_handler_1*/
|
|
5417
5396
|
e[33]
|
|
5418
5397
|
), a = !0);
|
|
5419
5398
|
},
|
|
5420
|
-
p(h,
|
|
5421
|
-
if (
|
|
5399
|
+
p(h, f) {
|
|
5400
|
+
if (f[0] & /*$_*/
|
|
5422
5401
|
8192 && r !== (r = /*$_*/
|
|
5423
|
-
h[13]("period") + "") && W(n, r),
|
|
5402
|
+
h[13]("period") + "") && W(n, r), f[0] & /*selectedLimit, $_*/
|
|
5424
5403
|
8194) {
|
|
5425
5404
|
u = te(Z[
|
|
5426
5405
|
/*selectedLimit*/
|
|
5427
5406
|
h[1]
|
|
5428
5407
|
].periods);
|
|
5429
|
-
let
|
|
5430
|
-
for (
|
|
5431
|
-
const p =
|
|
5432
|
-
l[
|
|
5408
|
+
let m;
|
|
5409
|
+
for (m = 0; m < u.length; m += 1) {
|
|
5410
|
+
const p = Kt(h, u, m);
|
|
5411
|
+
l[m] ? l[m].p(p, f) : (l[m] = ci(p), l[m].c(), l[m].m(s, null));
|
|
5433
5412
|
}
|
|
5434
|
-
for (;
|
|
5435
|
-
l[
|
|
5413
|
+
for (; m < l.length; m += 1)
|
|
5414
|
+
l[m].d(1);
|
|
5436
5415
|
l.length = u.length;
|
|
5437
5416
|
}
|
|
5438
|
-
|
|
5439
|
-
6 &&
|
|
5417
|
+
f[0] & /*selectedPeriod, selectedLimit*/
|
|
5418
|
+
6 && He(
|
|
5440
5419
|
s,
|
|
5441
5420
|
/*selectedPeriod*/
|
|
5442
5421
|
h[2]
|
|
5443
5422
|
);
|
|
5444
5423
|
},
|
|
5445
5424
|
d(h) {
|
|
5446
|
-
h && (
|
|
5425
|
+
h && (B(t), B(o), B(s)), Ce(l, h), a = !1, c();
|
|
5447
5426
|
}
|
|
5448
5427
|
};
|
|
5449
5428
|
}
|
|
5450
|
-
function
|
|
5429
|
+
function ci(e) {
|
|
5451
5430
|
let t, i = (
|
|
5452
5431
|
/*$_*/
|
|
5453
5432
|
e[13](`gamingLimits.${/*period*/
|
|
@@ -5455,11 +5434,11 @@ function fi(e) {
|
|
|
5455
5434
|
), r, n;
|
|
5456
5435
|
return {
|
|
5457
5436
|
c() {
|
|
5458
|
-
t = v("option"), r =
|
|
5459
|
-
e[50],
|
|
5437
|
+
t = v("option"), r = F(i), t.__value = n = /*period*/
|
|
5438
|
+
e[50], ve(t, t.__value), t.selected = !0;
|
|
5460
5439
|
},
|
|
5461
5440
|
m(o, s) {
|
|
5462
|
-
|
|
5441
|
+
N(o, t, s), d(t, r);
|
|
5463
5442
|
},
|
|
5464
5443
|
p(o, s) {
|
|
5465
5444
|
s[0] & /*$_, selectedLimit*/
|
|
@@ -5467,27 +5446,27 @@ function fi(e) {
|
|
|
5467
5446
|
o[13](`gamingLimits.${/*period*/
|
|
5468
5447
|
o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
|
|
5469
5448
|
32770 && n !== (n = /*period*/
|
|
5470
|
-
o[50]) && (t.__value = n,
|
|
5449
|
+
o[50]) && (t.__value = n, ve(t, t.__value));
|
|
5471
5450
|
},
|
|
5472
5451
|
d(o) {
|
|
5473
|
-
o &&
|
|
5452
|
+
o && B(t);
|
|
5474
5453
|
}
|
|
5475
5454
|
};
|
|
5476
5455
|
}
|
|
5477
|
-
function
|
|
5456
|
+
function ns(e) {
|
|
5478
5457
|
let t, i, r = (
|
|
5479
5458
|
/*popupVisible*/
|
|
5480
|
-
e[10] &&
|
|
5459
|
+
e[10] && ri(e)
|
|
5481
5460
|
);
|
|
5482
5461
|
function n(a, c) {
|
|
5483
5462
|
return (
|
|
5484
5463
|
/*isLoading*/
|
|
5485
5464
|
a[7] && !/*popupVisible*/
|
|
5486
|
-
a[10] ?
|
|
5465
|
+
a[10] ? Qo : (
|
|
5487
5466
|
/*isLoading*/
|
|
5488
|
-
a[7] ?
|
|
5467
|
+
a[7] ? Jo : (
|
|
5489
5468
|
/*fetchError*/
|
|
5490
|
-
a[8] ?
|
|
5469
|
+
a[8] ? qo : Yo
|
|
5491
5470
|
)
|
|
5492
5471
|
)
|
|
5493
5472
|
);
|
|
@@ -5495,48 +5474,48 @@ function ss(e) {
|
|
|
5495
5474
|
let o = n(e), s = o(e);
|
|
5496
5475
|
return {
|
|
5497
5476
|
c() {
|
|
5498
|
-
t = v("div"), r && r.c(), i =
|
|
5477
|
+
t = v("div"), r && r.c(), i = j(), s.c();
|
|
5499
5478
|
},
|
|
5500
5479
|
m(a, c) {
|
|
5501
|
-
|
|
5480
|
+
N(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
|
|
5502
5481
|
},
|
|
5503
5482
|
p(a, c) {
|
|
5504
5483
|
/*popupVisible*/
|
|
5505
|
-
a[10] ? r ? r.p(a, c) : (r =
|
|
5484
|
+
a[10] ? r ? r.p(a, c) : (r = ri(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
5506
5485
|
},
|
|
5507
|
-
i:
|
|
5508
|
-
o:
|
|
5486
|
+
i: U,
|
|
5487
|
+
o: U,
|
|
5509
5488
|
d(a) {
|
|
5510
|
-
a &&
|
|
5489
|
+
a && B(t), r && r.d(), s.d(), e[36](null);
|
|
5511
5490
|
}
|
|
5512
5491
|
};
|
|
5513
5492
|
}
|
|
5514
|
-
function
|
|
5493
|
+
function os(e, t, i) {
|
|
5515
5494
|
let r;
|
|
5516
|
-
|
|
5517
|
-
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl:
|
|
5518
|
-
const
|
|
5495
|
+
br(e, So, (b) => i(13, r = b));
|
|
5496
|
+
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !$o(_), P = [], L = "", w = "", H, A, M = !1, D = !1, E = !0, G = !1, k = !1, K = !1, $e = !1, Ge = "", we;
|
|
5497
|
+
const _t = { EUR: "€", RON: " lei" }, Xi = {
|
|
5519
5498
|
updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
|
|
5520
|
-
},
|
|
5521
|
-
fetch(
|
|
5522
|
-
Object.keys(y).forEach((
|
|
5523
|
-
|
|
5499
|
+
}, Zi = () => {
|
|
5500
|
+
fetch(f).then((y) => y.json()).then((y) => {
|
|
5501
|
+
Object.keys(y).forEach((I) => {
|
|
5502
|
+
zt(I, y[I]);
|
|
5524
5503
|
});
|
|
5525
5504
|
}).catch((y) => {
|
|
5526
5505
|
console.log(y);
|
|
5527
5506
|
});
|
|
5528
5507
|
};
|
|
5529
|
-
Object.keys(
|
|
5530
|
-
|
|
5508
|
+
Object.keys(Wt).forEach((b) => {
|
|
5509
|
+
zt(b, Wt[b]);
|
|
5531
5510
|
});
|
|
5532
|
-
const
|
|
5511
|
+
const Yi = () => {
|
|
5533
5512
|
s.split(" ").forEach((y) => {
|
|
5534
|
-
Z[y] ?
|
|
5535
|
-
}), i(1, L =
|
|
5536
|
-
},
|
|
5513
|
+
Z[y] ? P.push(Z[y]) : console.error(`Unknown limit: ${y}`);
|
|
5514
|
+
}), 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);
|
|
5515
|
+
}, qi = () => {
|
|
5537
5516
|
i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
|
|
5538
|
-
},
|
|
5539
|
-
if (!(
|
|
5517
|
+
}, Ji = () => {
|
|
5518
|
+
if (!(H > 0))
|
|
5540
5519
|
return;
|
|
5541
5520
|
i(10, K = !0), i(7, E = !0);
|
|
5542
5521
|
let b = new URL(`/v2/player/${c}/limits`, u);
|
|
@@ -5544,11 +5523,11 @@ function as(e, t, i) {
|
|
|
5544
5523
|
y[Z[L].callValue] = [
|
|
5545
5524
|
{
|
|
5546
5525
|
period: w,
|
|
5547
|
-
amount:
|
|
5526
|
+
amount: H,
|
|
5548
5527
|
currency: o
|
|
5549
5528
|
}
|
|
5550
5529
|
];
|
|
5551
|
-
let
|
|
5530
|
+
let I = {
|
|
5552
5531
|
method: "PUT",
|
|
5553
5532
|
headers: {
|
|
5554
5533
|
"X-SessionID": a,
|
|
@@ -5557,20 +5536,20 @@ function as(e, t, i) {
|
|
|
5557
5536
|
},
|
|
5558
5537
|
body: JSON.stringify(y)
|
|
5559
5538
|
};
|
|
5560
|
-
fetch(b.href,
|
|
5561
|
-
|
|
5562
|
-
}).catch((
|
|
5563
|
-
console.log(
|
|
5539
|
+
fetch(b.href, I).then((C) => (C.status >= 300 && i(9, k = !0), C.json())).then((C) => {
|
|
5540
|
+
ze(), k && Qi(C);
|
|
5541
|
+
}).catch((C) => {
|
|
5542
|
+
console.log(C), i(7, E = !1), i(8, G = !0);
|
|
5564
5543
|
});
|
|
5565
|
-
},
|
|
5544
|
+
}, Qi = (b) => {
|
|
5566
5545
|
const y = b.error.match(/errorCode:(.*)\)/)[1];
|
|
5567
5546
|
console.error(`API response error: ${y}`);
|
|
5568
|
-
let
|
|
5569
|
-
for (const [
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
},
|
|
5573
|
-
let b = new URL(`/v2/player/${c}/limits`, u), y = !
|
|
5547
|
+
let I;
|
|
5548
|
+
for (const [C, $] of Object.entries(Xi))
|
|
5549
|
+
$.includes(y) && (I = r(`gamingLimits.${C}`));
|
|
5550
|
+
I = I != null ? I : r("gamingLimits.genericError"), Et(y, I);
|
|
5551
|
+
}, ze = () => {
|
|
5552
|
+
let b = new URL(`/v2/player/${c}/limits`, u), y = !k, I = {
|
|
5574
5553
|
method: "GET",
|
|
5575
5554
|
headers: {
|
|
5576
5555
|
"X-SessionID": a,
|
|
@@ -5578,49 +5557,49 @@ function as(e, t, i) {
|
|
|
5578
5557
|
Accept: "application/json"
|
|
5579
5558
|
}
|
|
5580
5559
|
};
|
|
5581
|
-
fetch(b.href,
|
|
5582
|
-
if (
|
|
5560
|
+
fetch(b.href, I).then((C) => {
|
|
5561
|
+
if (C.status >= 300)
|
|
5583
5562
|
throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
|
|
5584
|
-
return
|
|
5585
|
-
}).then((
|
|
5586
|
-
we =
|
|
5587
|
-
}).catch((
|
|
5588
|
-
console.log(
|
|
5563
|
+
return C.json();
|
|
5564
|
+
}).then((C) => {
|
|
5565
|
+
we = C, K && y && Et(), Ki(we), i(7, E = !1), i(3, H = null);
|
|
5566
|
+
}).catch((C) => {
|
|
5567
|
+
console.log(C), i(7, E = !1), i(8, G = !0);
|
|
5589
5568
|
});
|
|
5590
|
-
},
|
|
5591
|
-
|
|
5592
|
-
var
|
|
5593
|
-
y.currentLimits = [], (
|
|
5594
|
-
var
|
|
5595
|
-
const
|
|
5596
|
-
y.currentLimits.push({}), y.currentLimits[
|
|
5597
|
-
}), y.currentLimits =
|
|
5569
|
+
}, Ki = (b) => {
|
|
5570
|
+
P.forEach((y) => {
|
|
5571
|
+
var I;
|
|
5572
|
+
y.currentLimits = [], (I = b[Z[y.value].callValue]) == null || I.forEach((C, $) => {
|
|
5573
|
+
var xt;
|
|
5574
|
+
const q = b[Z[y.value].callValue][$];
|
|
5575
|
+
y.currentLimits.push({}), y.currentLimits[$].limitType = y.value, y.currentLimits[$].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.amount), y.currentLimits[$].currency = (xt = _t[q.currency]) != null ? xt : q.currency, y.currentLimits[$].period = q.period, y.currentLimits[$].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.updateAmount), y.currentLimits[$].isModified = q.isModified, y.currentLimits[$].expiryDate = `${new Date(q.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
5576
|
+
}), y.currentLimits = er(y.currentLimits);
|
|
5598
5577
|
});
|
|
5599
|
-
},
|
|
5578
|
+
}, er = (b) => {
|
|
5600
5579
|
const y = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
5601
|
-
return b.sort((
|
|
5602
|
-
},
|
|
5603
|
-
|
|
5604
|
-
const y =
|
|
5605
|
-
|
|
5606
|
-
},
|
|
5580
|
+
return b.sort((I, C) => y[I.period] - y[C.period]), b;
|
|
5581
|
+
}, tr = () => {
|
|
5582
|
+
H > 999999999999999 && i(3, H = 999999999999999);
|
|
5583
|
+
const y = H - Math.floor(H) === 0;
|
|
5584
|
+
H > 0 && y ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
|
|
5585
|
+
}, Et = (b, y) => {
|
|
5607
5586
|
if (b)
|
|
5608
|
-
i(12,
|
|
5587
|
+
i(12, Ge = y);
|
|
5609
5588
|
else if (we) {
|
|
5610
|
-
const
|
|
5611
|
-
let
|
|
5612
|
-
i(12,
|
|
5589
|
+
const I = we[Z[L].callValue].filter((q) => q.period === w)[0], C = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.amount);
|
|
5590
|
+
let $ = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", C).replace("{currency}", _t[I.currency] || I.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
|
|
5591
|
+
i(12, Ge = I.isModified ? `${r("popupPendingUpdate")} ${new Date(I.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : $);
|
|
5613
5592
|
} else
|
|
5614
5593
|
console.error("Couldn't populate popupContent");
|
|
5615
|
-
i(11,
|
|
5616
|
-
},
|
|
5594
|
+
i(11, $e = !0);
|
|
5595
|
+
}, Lt = (b) => {
|
|
5617
5596
|
const y = {
|
|
5618
5597
|
wager: "wagering",
|
|
5619
5598
|
loss: "loss",
|
|
5620
5599
|
deposit: "deposit"
|
|
5621
5600
|
};
|
|
5622
5601
|
i(10, K = !0), i(7, E = !0);
|
|
5623
|
-
let
|
|
5602
|
+
let I = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), C = {
|
|
5624
5603
|
method: "DELETE",
|
|
5625
5604
|
headers: {
|
|
5626
5605
|
"X-SessionID": a,
|
|
@@ -5628,71 +5607,71 @@ function as(e, t, i) {
|
|
|
5628
5607
|
Accept: "application/json"
|
|
5629
5608
|
}
|
|
5630
5609
|
};
|
|
5631
|
-
fetch(
|
|
5632
|
-
|
|
5633
|
-
}).catch((
|
|
5634
|
-
console.log(
|
|
5610
|
+
fetch(I.href, C).then(($) => $.json()).then(($) => {
|
|
5611
|
+
ze();
|
|
5612
|
+
}).catch(($) => {
|
|
5613
|
+
console.log($), i(7, E = !1), i(8, G = !0);
|
|
5635
5614
|
});
|
|
5615
|
+
}, ir = () => {
|
|
5616
|
+
i(11, $e = i(10, K = !1));
|
|
5636
5617
|
}, rr = () => {
|
|
5637
|
-
|
|
5638
|
-
}, nr = () => {
|
|
5639
|
-
Bo(n);
|
|
5618
|
+
Po(n);
|
|
5640
5619
|
};
|
|
5641
|
-
|
|
5620
|
+
Tr(() => () => {
|
|
5642
5621
|
});
|
|
5643
|
-
const
|
|
5622
|
+
const nr = (b) => Lt(b);
|
|
5623
|
+
function or() {
|
|
5624
|
+
L = Bt(this), i(1, L), i(15, P);
|
|
5625
|
+
}
|
|
5644
5626
|
function sr() {
|
|
5645
|
-
|
|
5627
|
+
w = Bt(this), i(2, w), i(1, L);
|
|
5646
5628
|
}
|
|
5647
5629
|
function ar() {
|
|
5648
|
-
|
|
5649
|
-
}
|
|
5650
|
-
function ur() {
|
|
5651
|
-
O = bi(this.value), i(3, O);
|
|
5630
|
+
H = pi(this.value), i(3, H);
|
|
5652
5631
|
}
|
|
5653
|
-
function
|
|
5654
|
-
|
|
5655
|
-
|
|
5632
|
+
function ur(b) {
|
|
5633
|
+
Oe[b ? "unshift" : "push"](() => {
|
|
5634
|
+
A = b, i(4, A);
|
|
5656
5635
|
});
|
|
5657
5636
|
}
|
|
5658
|
-
function
|
|
5659
|
-
|
|
5637
|
+
function lr(b) {
|
|
5638
|
+
Oe[b ? "unshift" : "push"](() => {
|
|
5660
5639
|
p = b, i(0, p);
|
|
5661
5640
|
});
|
|
5662
5641
|
}
|
|
5663
5642
|
return e.$$set = (b) => {
|
|
5664
|
-
"lang" in b && i(21, n = 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,
|
|
5643
|
+
"lang" in b && i(21, n = 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, f = b.translationurl), "mbsource" in b && i(30, m = b.mbsource);
|
|
5665
5644
|
}, e.$$.update = () => {
|
|
5666
5645
|
e.$$.dirty[0] & /*limits*/
|
|
5667
|
-
8388608 && s &&
|
|
5668
|
-
2097152 && n &&
|
|
5669
|
-
117440512 && c && a && u &&
|
|
5670
|
-
134217729 && l && p &&
|
|
5671
|
-
268435457 && h && p &&
|
|
5672
|
-
1073741825 &&
|
|
5673
|
-
536870912 &&
|
|
5646
|
+
8388608 && s && Yi(), e.$$.dirty[0] & /*lang*/
|
|
5647
|
+
2097152 && n && rr(), e.$$.dirty[0] & /*userid, session, endpoint*/
|
|
5648
|
+
117440512 && c && a && u && ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5649
|
+
134217729 && l && p && Go(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5650
|
+
268435457 && h && p && zo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5651
|
+
1073741825 && m && p && Wo(p, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5652
|
+
536870912 && f && Zi();
|
|
5674
5653
|
}, [
|
|
5675
5654
|
p,
|
|
5676
5655
|
L,
|
|
5677
5656
|
w,
|
|
5678
|
-
O,
|
|
5679
|
-
P,
|
|
5680
5657
|
H,
|
|
5658
|
+
A,
|
|
5659
|
+
M,
|
|
5681
5660
|
D,
|
|
5682
5661
|
E,
|
|
5683
5662
|
G,
|
|
5684
|
-
|
|
5663
|
+
k,
|
|
5685
5664
|
K,
|
|
5686
|
-
|
|
5687
|
-
|
|
5665
|
+
$e,
|
|
5666
|
+
Ge,
|
|
5688
5667
|
r,
|
|
5689
5668
|
R,
|
|
5690
|
-
|
|
5669
|
+
P,
|
|
5670
|
+
qi,
|
|
5691
5671
|
Ji,
|
|
5692
|
-
|
|
5672
|
+
tr,
|
|
5673
|
+
Lt,
|
|
5693
5674
|
ir,
|
|
5694
|
-
Tt,
|
|
5695
|
-
rr,
|
|
5696
5675
|
n,
|
|
5697
5676
|
o,
|
|
5698
5677
|
s,
|
|
@@ -5701,24 +5680,24 @@ function as(e, t, i) {
|
|
|
5701
5680
|
u,
|
|
5702
5681
|
l,
|
|
5703
5682
|
h,
|
|
5704
|
-
m,
|
|
5705
5683
|
f,
|
|
5684
|
+
m,
|
|
5685
|
+
nr,
|
|
5706
5686
|
or,
|
|
5707
5687
|
sr,
|
|
5708
5688
|
ar,
|
|
5709
5689
|
ur,
|
|
5710
|
-
lr
|
|
5711
|
-
cr
|
|
5690
|
+
lr
|
|
5712
5691
|
];
|
|
5713
5692
|
}
|
|
5714
|
-
class
|
|
5693
|
+
class ss extends Cr {
|
|
5715
5694
|
constructor(t) {
|
|
5716
|
-
super(),
|
|
5695
|
+
super(), Mr(
|
|
5717
5696
|
this,
|
|
5718
5697
|
t,
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5698
|
+
os,
|
|
5699
|
+
ns,
|
|
5700
|
+
mi,
|
|
5722
5701
|
{
|
|
5723
5702
|
lang: 21,
|
|
5724
5703
|
currency: 22,
|
|
@@ -5731,7 +5710,7 @@ class us extends Dr {
|
|
|
5731
5710
|
translationurl: 29,
|
|
5732
5711
|
mbsource: 30
|
|
5733
5712
|
},
|
|
5734
|
-
|
|
5713
|
+
Vo,
|
|
5735
5714
|
[-1, -1]
|
|
5736
5715
|
);
|
|
5737
5716
|
}
|
|
@@ -5796,7 +5775,7 @@ class us extends Dr {
|
|
|
5796
5775
|
this.$$set({ mbsource: t }), X();
|
|
5797
5776
|
}
|
|
5798
5777
|
}
|
|
5799
|
-
|
|
5778
|
+
kr(ss, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5800
5779
|
export {
|
|
5801
|
-
|
|
5780
|
+
ss as default
|
|
5802
5781
|
};
|