@everymatrix/player-account-gaming-limits-confirmation-modal 1.77.18 → 1.77.20
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/PlayerAccountGamingLimitsConfirmationModal-CIwDvjpF.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DPTWXl6u.js → PlayerAccountGamingLimitsConfirmationModal-CxE0zESi.js} +716 -759
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BFEycNl5.js → PlayerAccountGamingLimitsConfirmationModal-KpD2K9-u.js} +732 -775
- package/es2015/player-account-gaming-limits-confirmation-modal.cjs +1 -1
- package/es2015/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/esnext/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-D-Dyivi3.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, dr = Object.defineProperties;
|
|
2
|
+
var br = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var et = Object.getOwnPropertySymbols;
|
|
4
|
+
var gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
gr.call(t, r) && Ee(e, r, t[r]);
|
|
8
|
+
if (et)
|
|
9
|
+
for (var r of et(t))
|
|
10
|
+
vr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, rt = (e, t) => dr(e, br(t));
|
|
13
|
+
var O = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var nt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -27,9 +27,9 @@ var ut = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function yr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,46 +37,46 @@ function Sr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Pt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function it() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function J(e) {
|
|
47
|
+
e.forEach(Pt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Qe(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Lt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function xr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Ot(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
62
|
-
return
|
|
62
|
+
return I;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function _r(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Ot(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Er(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = It(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function It(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? yr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function wr(e, t, r, n) {
|
|
80
80
|
if (e[2] && n) {
|
|
81
81
|
const i = e[2](n(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
@@ -91,13 +91,13 @@ function Cr(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Sr(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = It(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Tr(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let n = 0; n < r; n++)
|
|
@@ -109,14 +109,14 @@ function Pr(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Hr(e, t, r) {
|
|
113
|
+
const n = Br(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
|
-
const i =
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
const i = M("style");
|
|
116
|
+
i.id = t, i.textContent = r, Cr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Br(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,45 +126,45 @@ function Lr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Cr(e, t) {
|
|
130
130
|
return B(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Je(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function be(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function M(e) {
|
|
143
143
|
return document.createElement(e);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ot(e) {
|
|
146
146
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
147
147
|
}
|
|
148
148
|
function ue(e) {
|
|
149
149
|
return document.createTextNode(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function we() {
|
|
152
152
|
return ue(" ");
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Se(e, t, r, n) {
|
|
155
155
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
156
156
|
}
|
|
157
157
|
function S(e, t, r) {
|
|
158
158
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Ar(e) {
|
|
161
161
|
return Array.from(e.childNodes);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Te(e, t) {
|
|
164
164
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
165
165
|
t);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Pr(e) {
|
|
168
168
|
const t = {};
|
|
169
169
|
return e.childNodes.forEach(
|
|
170
170
|
/** @param {Element} node */
|
|
@@ -173,105 +173,105 @@ function Nr(e) {
|
|
|
173
173
|
}
|
|
174
174
|
), t;
|
|
175
175
|
}
|
|
176
|
-
let
|
|
177
|
-
function
|
|
178
|
-
|
|
176
|
+
let re;
|
|
177
|
+
function te(e) {
|
|
178
|
+
re = e;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
if (!
|
|
180
|
+
function Lr() {
|
|
181
|
+
if (!re)
|
|
182
182
|
throw new Error("Function called outside component initialization");
|
|
183
|
-
return
|
|
183
|
+
return re;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function Or(e) {
|
|
186
|
+
Lr().$$.on_mount.push(e);
|
|
187
187
|
}
|
|
188
|
-
const k = [],
|
|
188
|
+
const k = [], Ie = [];
|
|
189
189
|
let V = [];
|
|
190
|
-
const
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
190
|
+
const st = [], Ir = /* @__PURE__ */ Promise.resolve();
|
|
191
|
+
let Me = !1;
|
|
192
|
+
function Mr() {
|
|
193
|
+
Me || (Me = !0, Ir.then(N));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Ne(e) {
|
|
196
196
|
V.push(e);
|
|
197
197
|
}
|
|
198
|
-
const
|
|
198
|
+
const He = /* @__PURE__ */ new Set();
|
|
199
199
|
let F = 0;
|
|
200
|
-
function
|
|
200
|
+
function N() {
|
|
201
201
|
if (F !== 0)
|
|
202
202
|
return;
|
|
203
|
-
const e =
|
|
203
|
+
const e = re;
|
|
204
204
|
do {
|
|
205
205
|
try {
|
|
206
206
|
for (; F < k.length; ) {
|
|
207
207
|
const t = k[F];
|
|
208
|
-
F++,
|
|
208
|
+
F++, te(t), Nr(t.$$);
|
|
209
209
|
}
|
|
210
210
|
} catch (t) {
|
|
211
211
|
throw k.length = 0, F = 0, t;
|
|
212
212
|
}
|
|
213
|
-
for (
|
|
214
|
-
|
|
213
|
+
for (te(null), k.length = 0, F = 0; Ie.length; )
|
|
214
|
+
Ie.pop()();
|
|
215
215
|
for (let t = 0; t < V.length; t += 1) {
|
|
216
216
|
const r = V[t];
|
|
217
|
-
|
|
217
|
+
He.has(r) || (He.add(r), r());
|
|
218
218
|
}
|
|
219
219
|
V.length = 0;
|
|
220
220
|
} while (k.length);
|
|
221
|
-
for (;
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
for (; st.length; )
|
|
222
|
+
st.pop()();
|
|
223
|
+
Me = !1, He.clear(), te(e);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Nr(e) {
|
|
226
226
|
if (e.fragment !== null) {
|
|
227
|
-
e.update(),
|
|
227
|
+
e.update(), J(e.before_update);
|
|
228
228
|
const t = e.dirty;
|
|
229
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Rr(e) {
|
|
233
233
|
const t = [], r = [];
|
|
234
234
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
235
235
|
}
|
|
236
236
|
const he = /* @__PURE__ */ new Set();
|
|
237
|
-
let
|
|
238
|
-
function
|
|
237
|
+
let $r;
|
|
238
|
+
function Mt(e, t) {
|
|
239
239
|
e && e.i && (he.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Gr(e, t, r, n) {
|
|
242
242
|
if (e && e.o) {
|
|
243
243
|
if (he.has(e))
|
|
244
244
|
return;
|
|
245
|
-
he.add(e),
|
|
245
|
+
he.add(e), $r.c.push(() => {
|
|
246
246
|
he.delete(e);
|
|
247
247
|
}), e.o(t);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Ur(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const o = e.$$.on_mount.map(
|
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
255
|
-
}), i.forEach(
|
|
252
|
+
n && n.m(t, r), Ne(() => {
|
|
253
|
+
const o = e.$$.on_mount.map(Pt).filter(Qe);
|
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
255
|
+
}), i.forEach(Ne);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Dr(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (Rr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
261
|
+
function Fr(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (k.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const h =
|
|
266
|
-
|
|
264
|
+
function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
265
|
+
const h = re;
|
|
266
|
+
te(e);
|
|
267
267
|
const u = e.$$ = {
|
|
268
268
|
fragment: null,
|
|
269
269
|
ctx: [],
|
|
270
270
|
// state
|
|
271
271
|
props: o,
|
|
272
|
-
update:
|
|
272
|
+
update: I,
|
|
273
273
|
not_equal: i,
|
|
274
|
-
bound:
|
|
274
|
+
bound: it(),
|
|
275
275
|
// lifecycle
|
|
276
276
|
on_mount: [],
|
|
277
277
|
on_destroy: [],
|
|
@@ -280,7 +280,7 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
280
280
|
after_update: [],
|
|
281
281
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
282
282
|
// everything else
|
|
283
|
-
callbacks:
|
|
283
|
+
callbacks: it(),
|
|
284
284
|
dirty: a,
|
|
285
285
|
skip_bound: !1,
|
|
286
286
|
root: t.target || h.$$.root
|
|
@@ -289,39 +289,39 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
289
289
|
let l = !1;
|
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
291
291
|
const m = p.length ? p[0] : f;
|
|
292
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l &&
|
|
293
|
-
}) : [], u.update(), l = !0,
|
|
292
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Fr(e, c)), f;
|
|
293
|
+
}) : [], u.update(), l = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
|
-
const c =
|
|
296
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
295
|
+
const c = Ar(t.target);
|
|
296
|
+
u.fragment && u.fragment.l(c), c.forEach(be);
|
|
297
297
|
} else
|
|
298
298
|
u.fragment && u.fragment.c();
|
|
299
|
-
t.intro &&
|
|
299
|
+
t.intro && Mt(e.$$.fragment), Ur(e, t.target, t.anchor), N();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
te(h);
|
|
302
302
|
}
|
|
303
|
-
let
|
|
304
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let Nt;
|
|
304
|
+
typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
305
305
|
constructor(t, r, n) {
|
|
306
306
|
super();
|
|
307
307
|
/** The Svelte component constructor */
|
|
308
|
-
|
|
308
|
+
O(this, "$$ctor");
|
|
309
309
|
/** Slots */
|
|
310
|
-
|
|
310
|
+
O(this, "$$s");
|
|
311
311
|
/** The Svelte component instance */
|
|
312
|
-
|
|
312
|
+
O(this, "$$c");
|
|
313
313
|
/** Whether or not the custom element is connected */
|
|
314
|
-
|
|
314
|
+
O(this, "$$cn", !1);
|
|
315
315
|
/** Component props data */
|
|
316
|
-
|
|
316
|
+
O(this, "$$d", {});
|
|
317
317
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
318
|
-
|
|
318
|
+
O(this, "$$r", !1);
|
|
319
319
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
320
|
-
|
|
320
|
+
O(this, "$$p_d", {});
|
|
321
321
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
322
|
-
|
|
322
|
+
O(this, "$$l", {});
|
|
323
323
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
324
|
-
|
|
324
|
+
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
325
325
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
326
326
|
}
|
|
327
327
|
addEventListener(t, r, n) {
|
|
@@ -338,31 +338,31 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
connectedCallback() {
|
|
341
|
-
return
|
|
341
|
+
return nt(this, null, function* () {
|
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
343
343
|
let t = function(o) {
|
|
344
344
|
return () => {
|
|
345
345
|
let s;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
s =
|
|
348
|
+
s = M("slot"), o !== "default" && S(s, "name", o);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
354
|
m: function(u, l) {
|
|
355
|
-
|
|
355
|
+
Je(u, s, l);
|
|
356
356
|
},
|
|
357
357
|
d: function(u) {
|
|
358
|
-
u &&
|
|
358
|
+
u && be(s);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = Pr(this);
|
|
366
366
|
for (const o of this.$$s)
|
|
367
367
|
o in n && (r[o] = [t(o)]);
|
|
368
368
|
for (const o of this.attributes) {
|
|
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
373
373
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
374
374
|
this.$$c = new this.$$ctor({
|
|
375
375
|
target: this.shadowRoot || this,
|
|
376
|
-
props:
|
|
376
|
+
props: rt(tt({}, this.$$d), {
|
|
377
377
|
$$slots: r,
|
|
378
378
|
$$scope: {
|
|
379
379
|
ctx: []
|
|
@@ -451,8 +451,8 @@ function le(e, t, r, n) {
|
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
let s = class extends
|
|
454
|
+
function kr(e, t, r, n, i, o) {
|
|
455
|
+
let s = class extends Nt {
|
|
456
456
|
constructor() {
|
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
|
458
458
|
}
|
|
@@ -482,7 +482,7 @@ function Zr(e, t, r, n, i, o) {
|
|
|
482
482
|
}), e.element = /** @type {any} */
|
|
483
483
|
s, s;
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class Vr {
|
|
486
486
|
constructor() {
|
|
487
487
|
/**
|
|
488
488
|
* ### PRIVATE API
|
|
@@ -491,7 +491,7 @@ class Qr {
|
|
|
491
491
|
*
|
|
492
492
|
* @type {any}
|
|
493
493
|
*/
|
|
494
|
-
|
|
494
|
+
O(this, "$$");
|
|
495
495
|
/**
|
|
496
496
|
* ### PRIVATE API
|
|
497
497
|
*
|
|
@@ -499,11 +499,11 @@ class Qr {
|
|
|
499
499
|
*
|
|
500
500
|
* @type {any}
|
|
501
501
|
*/
|
|
502
|
-
|
|
502
|
+
O(this, "$$set");
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
|
|
506
|
+
Dr(this, 1), this.$destroy = I;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,8 +512,8 @@ class Qr {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
516
|
-
return
|
|
515
|
+
if (!Qe(r))
|
|
516
|
+
return I;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
519
519
|
const i = n.indexOf(r);
|
|
@@ -525,11 +525,11 @@ class Qr {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
531
|
+
const Xr = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xr);
|
|
533
533
|
/*! *****************************************************************************
|
|
534
534
|
Copyright (c) Microsoft Corporation.
|
|
535
535
|
|
|
@@ -544,24 +544,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
|
546
546
|
***************************************************************************** */
|
|
547
|
-
var
|
|
548
|
-
return
|
|
547
|
+
var Re = function(e, t) {
|
|
548
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
549
549
|
r.__proto__ = n;
|
|
550
550
|
} || function(r, n) {
|
|
551
551
|
for (var i in n)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
-
},
|
|
553
|
+
}, Re(e, t);
|
|
554
554
|
};
|
|
555
|
-
function
|
|
555
|
+
function $(e, t) {
|
|
556
556
|
if (typeof t != "function" && t !== null)
|
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
558
|
-
|
|
558
|
+
Re(e, t);
|
|
559
559
|
function r() {
|
|
560
560
|
this.constructor = e;
|
|
561
561
|
}
|
|
562
562
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
var y = function() {
|
|
565
|
+
return y = Object.assign || function(t) {
|
|
566
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
567
|
+
r = arguments[n];
|
|
568
|
+
for (var o in r)
|
|
569
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
570
|
+
}
|
|
571
|
+
return t;
|
|
572
|
+
}, y.apply(this, arguments);
|
|
573
|
+
};
|
|
574
|
+
function Wr(e, t) {
|
|
575
|
+
var r = {};
|
|
576
|
+
for (var n in e)
|
|
577
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
578
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
579
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
580
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
581
|
+
return r;
|
|
582
|
+
}
|
|
583
|
+
function $e(e) {
|
|
565
584
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
566
585
|
if (r)
|
|
567
586
|
return r.call(e);
|
|
@@ -573,7 +592,7 @@ function De(e) {
|
|
|
573
592
|
};
|
|
574
593
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
575
594
|
}
|
|
576
|
-
function
|
|
595
|
+
function Ge(e, t) {
|
|
577
596
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
578
597
|
if (!r)
|
|
579
598
|
return e;
|
|
@@ -593,8 +612,8 @@ function Fe(e, t) {
|
|
|
593
612
|
}
|
|
594
613
|
return o;
|
|
595
614
|
}
|
|
596
|
-
function
|
|
597
|
-
if (arguments.length === 2)
|
|
615
|
+
function X(e, t, r) {
|
|
616
|
+
if (r || arguments.length === 2)
|
|
598
617
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
599
618
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
600
619
|
return e.concat(o || t);
|
|
@@ -602,13 +621,13 @@ function je(e, t, r) {
|
|
|
602
621
|
function R(e) {
|
|
603
622
|
return typeof e == "function";
|
|
604
623
|
}
|
|
605
|
-
function
|
|
624
|
+
function Rt(e) {
|
|
606
625
|
var t = function(n) {
|
|
607
626
|
Error.call(n), n.stack = new Error().stack;
|
|
608
627
|
}, r = e(t);
|
|
609
628
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
610
629
|
}
|
|
611
|
-
var
|
|
630
|
+
var Be = Rt(function(e) {
|
|
612
631
|
return function(r) {
|
|
613
632
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
614
633
|
` + r.map(function(n, i) {
|
|
@@ -617,13 +636,13 @@ var Ae = Ft(function(e) {
|
|
|
617
636
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
618
637
|
};
|
|
619
638
|
});
|
|
620
|
-
function
|
|
639
|
+
function Ue(e, t) {
|
|
621
640
|
if (e) {
|
|
622
641
|
var r = e.indexOf(t);
|
|
623
642
|
0 <= r && e.splice(r, 1);
|
|
624
643
|
}
|
|
625
644
|
}
|
|
626
|
-
var
|
|
645
|
+
var ge = function() {
|
|
627
646
|
function e(t) {
|
|
628
647
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
629
648
|
}
|
|
@@ -635,12 +654,12 @@ var ye = function() {
|
|
|
635
654
|
if (s)
|
|
636
655
|
if (this._parentage = null, Array.isArray(s))
|
|
637
656
|
try {
|
|
638
|
-
for (var a =
|
|
657
|
+
for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
|
|
639
658
|
var u = h.value;
|
|
640
659
|
u.remove(this);
|
|
641
660
|
}
|
|
642
|
-
} catch (
|
|
643
|
-
t = { error:
|
|
661
|
+
} catch (v) {
|
|
662
|
+
t = { error: v };
|
|
644
663
|
} finally {
|
|
645
664
|
try {
|
|
646
665
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -655,23 +674,23 @@ var ye = function() {
|
|
|
655
674
|
if (R(l))
|
|
656
675
|
try {
|
|
657
676
|
l();
|
|
658
|
-
} catch (
|
|
659
|
-
o =
|
|
677
|
+
} catch (v) {
|
|
678
|
+
o = v instanceof Be ? v.errors : [v];
|
|
660
679
|
}
|
|
661
680
|
var c = this._finalizers;
|
|
662
681
|
if (c) {
|
|
663
682
|
this._finalizers = null;
|
|
664
683
|
try {
|
|
665
|
-
for (var f =
|
|
684
|
+
for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
|
|
666
685
|
var m = p.value;
|
|
667
686
|
try {
|
|
668
|
-
|
|
669
|
-
} catch (
|
|
670
|
-
o = o != null ? o : [],
|
|
687
|
+
at(m);
|
|
688
|
+
} catch (v) {
|
|
689
|
+
o = o != null ? o : [], v instanceof Be ? o = X(X([], Ge(o)), Ge(v.errors)) : o.push(v);
|
|
671
690
|
}
|
|
672
691
|
}
|
|
673
|
-
} catch (
|
|
674
|
-
n = { error:
|
|
692
|
+
} catch (v) {
|
|
693
|
+
n = { error: v };
|
|
675
694
|
} finally {
|
|
676
695
|
try {
|
|
677
696
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -682,13 +701,13 @@ var ye = function() {
|
|
|
682
701
|
}
|
|
683
702
|
}
|
|
684
703
|
if (o)
|
|
685
|
-
throw new
|
|
704
|
+
throw new Be(o);
|
|
686
705
|
}
|
|
687
706
|
}, e.prototype.add = function(t) {
|
|
688
707
|
var r;
|
|
689
708
|
if (t && t !== this)
|
|
690
709
|
if (this.closed)
|
|
691
|
-
|
|
710
|
+
at(t);
|
|
692
711
|
else {
|
|
693
712
|
if (t instanceof e) {
|
|
694
713
|
if (t.closed || t._hasParent(this))
|
|
@@ -705,52 +724,52 @@ var ye = function() {
|
|
|
705
724
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
706
725
|
}, e.prototype._removeParent = function(t) {
|
|
707
726
|
var r = this._parentage;
|
|
708
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
727
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
|
|
709
728
|
}, e.prototype.remove = function(t) {
|
|
710
729
|
var r = this._finalizers;
|
|
711
|
-
r &&
|
|
730
|
+
r && Ue(r, t), t instanceof e && t._removeParent(this);
|
|
712
731
|
}, e.EMPTY = function() {
|
|
713
732
|
var t = new e();
|
|
714
733
|
return t.closed = !0, t;
|
|
715
734
|
}(), e;
|
|
716
|
-
}(),
|
|
717
|
-
function
|
|
718
|
-
return e instanceof
|
|
735
|
+
}(), $t = ge.EMPTY;
|
|
736
|
+
function Gt(e) {
|
|
737
|
+
return e instanceof ge || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
719
738
|
}
|
|
720
|
-
function
|
|
739
|
+
function at(e) {
|
|
721
740
|
R(e) ? e() : e.unsubscribe();
|
|
722
741
|
}
|
|
723
|
-
var
|
|
742
|
+
var zr = {
|
|
724
743
|
Promise: void 0
|
|
725
|
-
},
|
|
744
|
+
}, Zr = {
|
|
726
745
|
setTimeout: function(e, t) {
|
|
727
746
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
728
747
|
r[n - 2] = arguments[n];
|
|
729
|
-
return setTimeout.apply(void 0,
|
|
748
|
+
return setTimeout.apply(void 0, X([e, t], Ge(r)));
|
|
730
749
|
},
|
|
731
750
|
clearTimeout: function(e) {
|
|
732
751
|
return clearTimeout(e);
|
|
733
752
|
},
|
|
734
753
|
delegate: void 0
|
|
735
754
|
};
|
|
736
|
-
function
|
|
737
|
-
|
|
755
|
+
function Qr(e) {
|
|
756
|
+
Zr.setTimeout(function() {
|
|
738
757
|
throw e;
|
|
739
758
|
});
|
|
740
759
|
}
|
|
741
|
-
function
|
|
760
|
+
function ut() {
|
|
742
761
|
}
|
|
743
762
|
function ce(e) {
|
|
744
763
|
e();
|
|
745
764
|
}
|
|
746
|
-
var
|
|
747
|
-
|
|
765
|
+
var Ut = function(e) {
|
|
766
|
+
$(t, e);
|
|
748
767
|
function t(r) {
|
|
749
768
|
var n = e.call(this) || this;
|
|
750
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
769
|
+
return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = qr, n;
|
|
751
770
|
}
|
|
752
771
|
return t.create = function(r, n, i) {
|
|
753
|
-
return new
|
|
772
|
+
return new De(r, n, i);
|
|
754
773
|
}, t.prototype.next = function(r) {
|
|
755
774
|
this.isStopped || this._next(r);
|
|
756
775
|
}, t.prototype.error = function(r) {
|
|
@@ -774,7 +793,7 @@ var Vt = function(e) {
|
|
|
774
793
|
this.unsubscribe();
|
|
775
794
|
}
|
|
776
795
|
}, t;
|
|
777
|
-
}(
|
|
796
|
+
}(ge), Jr = function() {
|
|
778
797
|
function e(t) {
|
|
779
798
|
this.partialObserver = t;
|
|
780
799
|
}
|
|
@@ -805,43 +824,43 @@ var Vt = function(e) {
|
|
|
805
824
|
se(r);
|
|
806
825
|
}
|
|
807
826
|
}, e;
|
|
808
|
-
}(),
|
|
809
|
-
|
|
827
|
+
}(), De = function(e) {
|
|
828
|
+
$(t, e);
|
|
810
829
|
function t(r, n, i) {
|
|
811
830
|
var o = e.call(this) || this, s;
|
|
812
831
|
return R(r) || !r ? s = {
|
|
813
832
|
next: r != null ? r : void 0,
|
|
814
833
|
error: n != null ? n : void 0,
|
|
815
834
|
complete: i != null ? i : void 0
|
|
816
|
-
} : s = r, o.destination = new
|
|
835
|
+
} : s = r, o.destination = new Jr(s), o;
|
|
817
836
|
}
|
|
818
837
|
return t;
|
|
819
|
-
}(
|
|
838
|
+
}(Ut);
|
|
820
839
|
function se(e) {
|
|
821
|
-
|
|
840
|
+
Qr(e);
|
|
822
841
|
}
|
|
823
|
-
function
|
|
842
|
+
function Yr(e) {
|
|
824
843
|
throw e;
|
|
825
844
|
}
|
|
826
|
-
var
|
|
845
|
+
var qr = {
|
|
827
846
|
closed: !0,
|
|
828
|
-
next:
|
|
829
|
-
error:
|
|
830
|
-
complete:
|
|
831
|
-
},
|
|
847
|
+
next: ut,
|
|
848
|
+
error: Yr,
|
|
849
|
+
complete: ut
|
|
850
|
+
}, Kr = function() {
|
|
832
851
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
833
852
|
}();
|
|
834
|
-
function
|
|
853
|
+
function en(e) {
|
|
835
854
|
return e;
|
|
836
855
|
}
|
|
837
|
-
function
|
|
838
|
-
return e.length === 0 ?
|
|
856
|
+
function tn(e) {
|
|
857
|
+
return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
|
|
839
858
|
return e.reduce(function(n, i) {
|
|
840
859
|
return i(n);
|
|
841
860
|
}, r);
|
|
842
861
|
};
|
|
843
862
|
}
|
|
844
|
-
var
|
|
863
|
+
var ht = function() {
|
|
845
864
|
function e(t) {
|
|
846
865
|
t && (this._subscribe = t);
|
|
847
866
|
}
|
|
@@ -849,7 +868,7 @@ var pt = function() {
|
|
|
849
868
|
var r = new e();
|
|
850
869
|
return r.source = this, r.operator = t, r;
|
|
851
870
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
852
|
-
var i = this, o =
|
|
871
|
+
var i = this, o = nn(t) ? t : new De(t, r, n);
|
|
853
872
|
return ce(function() {
|
|
854
873
|
var s = i, a = s.operator, h = s.source;
|
|
855
874
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -862,8 +881,8 @@ var pt = function() {
|
|
|
862
881
|
}
|
|
863
882
|
}, e.prototype.forEach = function(t, r) {
|
|
864
883
|
var n = this;
|
|
865
|
-
return r =
|
|
866
|
-
var s = new
|
|
884
|
+
return r = lt(r), new r(function(i, o) {
|
|
885
|
+
var s = new De({
|
|
867
886
|
next: function(a) {
|
|
868
887
|
try {
|
|
869
888
|
t(a);
|
|
@@ -879,15 +898,15 @@ var pt = function() {
|
|
|
879
898
|
}, e.prototype._subscribe = function(t) {
|
|
880
899
|
var r;
|
|
881
900
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
882
|
-
}, e.prototype[
|
|
901
|
+
}, e.prototype[Kr] = function() {
|
|
883
902
|
return this;
|
|
884
903
|
}, e.prototype.pipe = function() {
|
|
885
904
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
886
905
|
t[r] = arguments[r];
|
|
887
|
-
return
|
|
906
|
+
return tn(t)(this);
|
|
888
907
|
}, e.prototype.toPromise = function(t) {
|
|
889
908
|
var r = this;
|
|
890
|
-
return t =
|
|
909
|
+
return t = lt(t), new t(function(n, i) {
|
|
891
910
|
var o;
|
|
892
911
|
r.subscribe(function(s) {
|
|
893
912
|
return o = s;
|
|
@@ -901,32 +920,32 @@ var pt = function() {
|
|
|
901
920
|
return new e(t);
|
|
902
921
|
}, e;
|
|
903
922
|
}();
|
|
904
|
-
function
|
|
923
|
+
function lt(e) {
|
|
905
924
|
var t;
|
|
906
|
-
return (t = e != null ? e :
|
|
925
|
+
return (t = e != null ? e : zr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
907
926
|
}
|
|
908
|
-
function
|
|
927
|
+
function rn(e) {
|
|
909
928
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
910
929
|
}
|
|
911
|
-
function
|
|
912
|
-
return e && e instanceof
|
|
930
|
+
function nn(e) {
|
|
931
|
+
return e && e instanceof Ut || rn(e) && Gt(e);
|
|
913
932
|
}
|
|
914
|
-
var
|
|
933
|
+
var on = Rt(function(e) {
|
|
915
934
|
return function() {
|
|
916
935
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
917
936
|
};
|
|
918
|
-
}),
|
|
919
|
-
|
|
937
|
+
}), Dt = function(e) {
|
|
938
|
+
$(t, e);
|
|
920
939
|
function t() {
|
|
921
940
|
var r = e.call(this) || this;
|
|
922
941
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
923
942
|
}
|
|
924
943
|
return t.prototype.lift = function(r) {
|
|
925
|
-
var n = new
|
|
944
|
+
var n = new ct(this, this);
|
|
926
945
|
return n.operator = r, n;
|
|
927
946
|
}, t.prototype._throwIfClosed = function() {
|
|
928
947
|
if (this.closed)
|
|
929
|
-
throw new
|
|
948
|
+
throw new on();
|
|
930
949
|
}, t.prototype.next = function(r) {
|
|
931
950
|
var n = this;
|
|
932
951
|
ce(function() {
|
|
@@ -934,7 +953,7 @@ var hn = Ft(function(e) {
|
|
|
934
953
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
935
954
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
936
955
|
try {
|
|
937
|
-
for (var s =
|
|
956
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
938
957
|
var h = a.value;
|
|
939
958
|
h.next(r);
|
|
940
959
|
}
|
|
@@ -983,20 +1002,20 @@ var hn = Ft(function(e) {
|
|
|
983
1002
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
984
1003
|
}, t.prototype._innerSubscribe = function(r) {
|
|
985
1004
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
986
|
-
return o || s ?
|
|
987
|
-
n.currentObservers = null,
|
|
1005
|
+
return o || s ? $t : (this.currentObservers = null, a.push(r), new ge(function() {
|
|
1006
|
+
n.currentObservers = null, Ue(a, r);
|
|
988
1007
|
}));
|
|
989
1008
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
990
1009
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
991
1010
|
i ? r.error(o) : s && r.complete();
|
|
992
1011
|
}, t.prototype.asObservable = function() {
|
|
993
|
-
var r = new
|
|
1012
|
+
var r = new ht();
|
|
994
1013
|
return r.source = this, r;
|
|
995
1014
|
}, t.create = function(r, n) {
|
|
996
|
-
return new
|
|
1015
|
+
return new ct(r, n);
|
|
997
1016
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
|
|
1017
|
+
}(ht), ct = function(e) {
|
|
1018
|
+
$(t, e);
|
|
1000
1019
|
function t(r, n) {
|
|
1001
1020
|
var i = e.call(this) || this;
|
|
1002
1021
|
return i.destination = r, i.source = n, i;
|
|
@@ -1012,17 +1031,17 @@ var hn = Ft(function(e) {
|
|
|
1012
1031
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1013
1032
|
}, t.prototype._subscribe = function(r) {
|
|
1014
1033
|
var n, i;
|
|
1015
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1034
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
1016
1035
|
}, t;
|
|
1017
|
-
}(
|
|
1036
|
+
}(Dt), Ft = {
|
|
1018
1037
|
now: function() {
|
|
1019
|
-
return (
|
|
1038
|
+
return (Ft.delegate || Date).now();
|
|
1020
1039
|
},
|
|
1021
1040
|
delegate: void 0
|
|
1022
|
-
},
|
|
1023
|
-
|
|
1041
|
+
}, sn = function(e) {
|
|
1042
|
+
$(t, e);
|
|
1024
1043
|
function t(r, n, i) {
|
|
1025
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1044
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
|
|
1026
1045
|
var o = e.call(this) || this;
|
|
1027
1046
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1028
1047
|
}
|
|
@@ -1042,24 +1061,24 @@ var hn = Ft(function(e) {
|
|
|
1042
1061
|
u && o.splice(0, u + 1);
|
|
1043
1062
|
}
|
|
1044
1063
|
}, t;
|
|
1045
|
-
}(
|
|
1046
|
-
const
|
|
1047
|
-
if (
|
|
1048
|
-
const r = new
|
|
1049
|
-
|
|
1064
|
+
}(Dt);
|
|
1065
|
+
const ft = [], mt = {}, an = (e, t = 0) => {
|
|
1066
|
+
if (ft.indexOf(e) == -1) {
|
|
1067
|
+
const r = new sn(t);
|
|
1068
|
+
mt[e] = r, ft.push(e);
|
|
1050
1069
|
}
|
|
1051
|
-
return
|
|
1070
|
+
return mt[e];
|
|
1052
1071
|
}, j = [];
|
|
1053
|
-
function
|
|
1072
|
+
function un(e, t) {
|
|
1054
1073
|
return {
|
|
1055
1074
|
subscribe: ve(e, t).subscribe
|
|
1056
1075
|
};
|
|
1057
1076
|
}
|
|
1058
|
-
function ve(e, t =
|
|
1077
|
+
function ve(e, t = I) {
|
|
1059
1078
|
let r;
|
|
1060
1079
|
const n = /* @__PURE__ */ new Set();
|
|
1061
1080
|
function i(a) {
|
|
1062
|
-
if (
|
|
1081
|
+
if (Lt(e, a) && (e = a, r)) {
|
|
1063
1082
|
const h = !j.length;
|
|
1064
1083
|
for (const u of n)
|
|
1065
1084
|
u[1](), j.push(u, e);
|
|
@@ -1073,192 +1092,150 @@ function ve(e, t = M) {
|
|
|
1073
1092
|
function o(a) {
|
|
1074
1093
|
i(a(e));
|
|
1075
1094
|
}
|
|
1076
|
-
function s(a, h =
|
|
1095
|
+
function s(a, h = I) {
|
|
1077
1096
|
const u = [a, h];
|
|
1078
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1097
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
|
1079
1098
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1080
1099
|
};
|
|
1081
1100
|
}
|
|
1082
1101
|
return { set: i, update: o, subscribe: s };
|
|
1083
1102
|
}
|
|
1084
|
-
function
|
|
1103
|
+
function Y(e, t, r) {
|
|
1085
1104
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1086
1105
|
if (!i.every(Boolean))
|
|
1087
1106
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1088
1107
|
const o = t.length < 2;
|
|
1089
|
-
return
|
|
1108
|
+
return un(r, (s, a) => {
|
|
1090
1109
|
let h = !1;
|
|
1091
1110
|
const u = [];
|
|
1092
|
-
let l = 0, c =
|
|
1111
|
+
let l = 0, c = I;
|
|
1093
1112
|
const f = () => {
|
|
1094
1113
|
if (l)
|
|
1095
1114
|
return;
|
|
1096
1115
|
c();
|
|
1097
1116
|
const m = t(n ? u[0] : u, s, a);
|
|
1098
|
-
o ? s(m) : c =
|
|
1117
|
+
o ? s(m) : c = Qe(m) ? m : I;
|
|
1099
1118
|
}, p = i.map(
|
|
1100
|
-
(m,
|
|
1119
|
+
(m, v) => Ot(
|
|
1101
1120
|
m,
|
|
1102
1121
|
(E) => {
|
|
1103
|
-
u[
|
|
1122
|
+
u[v] = E, l &= ~(1 << v), h && f();
|
|
1104
1123
|
},
|
|
1105
1124
|
() => {
|
|
1106
|
-
l |= 1 <<
|
|
1125
|
+
l |= 1 << v;
|
|
1107
1126
|
}
|
|
1108
1127
|
)
|
|
1109
1128
|
);
|
|
1110
1129
|
return h = !0, f(), function() {
|
|
1111
|
-
|
|
1130
|
+
J(p), c(), h = !1;
|
|
1112
1131
|
};
|
|
1113
1132
|
});
|
|
1114
1133
|
}
|
|
1115
|
-
function
|
|
1134
|
+
function hn(e) {
|
|
1116
1135
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1117
1136
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1137
|
+
var ln = function(t) {
|
|
1138
|
+
return cn(t) && !fn(t);
|
|
1120
1139
|
};
|
|
1121
|
-
function
|
|
1140
|
+
function cn(e) {
|
|
1122
1141
|
return !!e && typeof e == "object";
|
|
1123
1142
|
}
|
|
1124
|
-
function
|
|
1143
|
+
function fn(e) {
|
|
1125
1144
|
var t = Object.prototype.toString.call(e);
|
|
1126
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1145
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
|
1127
1146
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1130
|
-
return e.$$typeof ===
|
|
1147
|
+
var mn = typeof Symbol == "function" && Symbol.for, pn = mn ? Symbol.for("react.element") : 60103;
|
|
1148
|
+
function dn(e) {
|
|
1149
|
+
return e.$$typeof === pn;
|
|
1131
1150
|
}
|
|
1132
|
-
function
|
|
1151
|
+
function bn(e) {
|
|
1133
1152
|
return Array.isArray(e) ? [] : {};
|
|
1134
1153
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1154
|
+
function ne(e, t) {
|
|
1155
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(bn(e), e, t) : e;
|
|
1137
1156
|
}
|
|
1138
|
-
function
|
|
1157
|
+
function gn(e, t, r) {
|
|
1139
1158
|
return e.concat(t).map(function(n) {
|
|
1140
|
-
return
|
|
1159
|
+
return ne(n, r);
|
|
1141
1160
|
});
|
|
1142
1161
|
}
|
|
1143
|
-
function
|
|
1162
|
+
function vn(e, t) {
|
|
1144
1163
|
if (!t.customMerge)
|
|
1145
|
-
return
|
|
1164
|
+
return W;
|
|
1146
1165
|
var r = t.customMerge(e);
|
|
1147
|
-
return typeof r == "function" ? r :
|
|
1166
|
+
return typeof r == "function" ? r : W;
|
|
1148
1167
|
}
|
|
1149
|
-
function
|
|
1168
|
+
function yn(e) {
|
|
1150
1169
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1151
1170
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1152
1171
|
}) : [];
|
|
1153
1172
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return Object.keys(e).concat(
|
|
1173
|
+
function pt(e) {
|
|
1174
|
+
return Object.keys(e).concat(yn(e));
|
|
1156
1175
|
}
|
|
1157
|
-
function
|
|
1176
|
+
function jt(e, t) {
|
|
1158
1177
|
try {
|
|
1159
1178
|
return t in e;
|
|
1160
1179
|
} catch (r) {
|
|
1161
1180
|
return !1;
|
|
1162
1181
|
}
|
|
1163
1182
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1183
|
+
function xn(e, t) {
|
|
1184
|
+
return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1166
1185
|
}
|
|
1167
|
-
function
|
|
1186
|
+
function _n(e, t, r) {
|
|
1168
1187
|
var n = {};
|
|
1169
|
-
return r.isMergeableObject(e) &&
|
|
1170
|
-
n[i] =
|
|
1171
|
-
}),
|
|
1172
|
-
|
|
1188
|
+
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
1189
|
+
n[i] = ne(e[i], r);
|
|
1190
|
+
}), pt(t).forEach(function(i) {
|
|
1191
|
+
xn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1173
1192
|
}), n;
|
|
1174
1193
|
}
|
|
1175
|
-
function
|
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1194
|
+
function W(e, t, r) {
|
|
1195
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1177
1196
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1178
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1197
|
+
return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : ne(t, r);
|
|
1179
1198
|
}
|
|
1180
|
-
|
|
1199
|
+
W.all = function(t, r) {
|
|
1181
1200
|
if (!Array.isArray(t))
|
|
1182
1201
|
throw new Error("first argument should be an array");
|
|
1183
1202
|
return t.reduce(function(n, i) {
|
|
1184
|
-
return
|
|
1203
|
+
return W(n, i, r);
|
|
1185
1204
|
}, {});
|
|
1186
1205
|
};
|
|
1187
|
-
var
|
|
1188
|
-
const
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
r.__proto__ = n;
|
|
1192
|
-
} || function(r, n) {
|
|
1193
|
-
for (var i in n)
|
|
1194
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1195
|
-
}, Xe(e, t);
|
|
1196
|
-
};
|
|
1197
|
-
function xe(e, t) {
|
|
1198
|
-
if (typeof t != "function" && t !== null)
|
|
1199
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1200
|
-
Xe(e, t);
|
|
1201
|
-
function r() {
|
|
1202
|
-
this.constructor = e;
|
|
1203
|
-
}
|
|
1204
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1205
|
-
}
|
|
1206
|
-
var I = function() {
|
|
1207
|
-
return I = Object.assign || function(t) {
|
|
1208
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1209
|
-
r = arguments[n];
|
|
1210
|
-
for (var o in r)
|
|
1211
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1212
|
-
}
|
|
1213
|
-
return t;
|
|
1214
|
-
}, I.apply(this, arguments);
|
|
1215
|
-
};
|
|
1216
|
-
function An(e, t) {
|
|
1217
|
-
var r = {};
|
|
1218
|
-
for (var n in e)
|
|
1219
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1220
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1221
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1222
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1223
|
-
return r;
|
|
1224
|
-
}
|
|
1225
|
-
function Pe(e, t, r) {
|
|
1226
|
-
if (r || arguments.length === 2)
|
|
1227
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1228
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1229
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1230
|
-
}
|
|
1231
|
-
function Oe(e, t) {
|
|
1232
|
-
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
|
|
1206
|
+
var En = W, wn = En;
|
|
1207
|
+
const Sn = /* @__PURE__ */ hn(wn);
|
|
1208
|
+
function Ce(e, t) {
|
|
1209
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Bn;
|
|
1233
1210
|
return i(e, {
|
|
1234
1211
|
cache: r,
|
|
1235
1212
|
serializer: n
|
|
1236
1213
|
});
|
|
1237
1214
|
}
|
|
1238
|
-
function
|
|
1215
|
+
function Tn(e) {
|
|
1239
1216
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1240
1217
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var i =
|
|
1218
|
+
function Hn(e, t, r, n) {
|
|
1219
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
|
1243
1220
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1244
1221
|
}
|
|
1245
|
-
function
|
|
1222
|
+
function kt(e, t, r) {
|
|
1246
1223
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1247
1224
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1248
1225
|
}
|
|
1249
|
-
function
|
|
1226
|
+
function Vt(e, t, r, n, i) {
|
|
1250
1227
|
return r.bind(t, e, n, i);
|
|
1251
1228
|
}
|
|
1252
|
-
function
|
|
1253
|
-
var r = e.length === 1 ?
|
|
1254
|
-
return
|
|
1229
|
+
function Bn(e, t) {
|
|
1230
|
+
var r = e.length === 1 ? Hn : kt;
|
|
1231
|
+
return Vt(e, this, r, t.cache.create(), t.serializer);
|
|
1255
1232
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return
|
|
1233
|
+
function Cn(e, t) {
|
|
1234
|
+
return Vt(e, this, kt, t.cache.create(), t.serializer);
|
|
1258
1235
|
}
|
|
1259
|
-
var
|
|
1236
|
+
var An = function() {
|
|
1260
1237
|
return JSON.stringify(arguments);
|
|
1261
|
-
},
|
|
1238
|
+
}, Pn = (
|
|
1262
1239
|
/** @class */
|
|
1263
1240
|
function() {
|
|
1264
1241
|
function e() {
|
|
@@ -1270,71 +1247,61 @@ var Mn = function() {
|
|
|
1270
1247
|
this.cache[t] = r;
|
|
1271
1248
|
}, e;
|
|
1272
1249
|
}()
|
|
1273
|
-
),
|
|
1250
|
+
), Ln = {
|
|
1274
1251
|
create: function() {
|
|
1275
|
-
return new
|
|
1252
|
+
return new Pn();
|
|
1276
1253
|
}
|
|
1277
|
-
},
|
|
1278
|
-
variadic:
|
|
1279
|
-
},
|
|
1280
|
-
return pe = Object.assign || function(t) {
|
|
1281
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1282
|
-
r = arguments[n];
|
|
1283
|
-
for (var o in r)
|
|
1284
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1285
|
-
}
|
|
1286
|
-
return t;
|
|
1287
|
-
}, pe.apply(this, arguments);
|
|
1288
|
-
};
|
|
1289
|
-
var d;
|
|
1254
|
+
}, Ae = {
|
|
1255
|
+
variadic: Cn
|
|
1256
|
+
}, d;
|
|
1290
1257
|
(function(e) {
|
|
1291
1258
|
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";
|
|
1292
1259
|
})(d || (d = {}));
|
|
1293
|
-
var
|
|
1260
|
+
var x;
|
|
1294
1261
|
(function(e) {
|
|
1295
1262
|
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";
|
|
1296
|
-
})(
|
|
1297
|
-
var
|
|
1263
|
+
})(x || (x = {}));
|
|
1264
|
+
var z;
|
|
1298
1265
|
(function(e) {
|
|
1299
1266
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1300
|
-
})(
|
|
1301
|
-
function
|
|
1302
|
-
return e.type ===
|
|
1267
|
+
})(z || (z = {}));
|
|
1268
|
+
function dt(e) {
|
|
1269
|
+
return e.type === x.literal;
|
|
1303
1270
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return e.type ===
|
|
1271
|
+
function On(e) {
|
|
1272
|
+
return e.type === x.argument;
|
|
1306
1273
|
}
|
|
1307
|
-
function
|
|
1308
|
-
return e.type ===
|
|
1274
|
+
function Xt(e) {
|
|
1275
|
+
return e.type === x.number;
|
|
1309
1276
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return e.type ===
|
|
1277
|
+
function Wt(e) {
|
|
1278
|
+
return e.type === x.date;
|
|
1312
1279
|
}
|
|
1313
|
-
function
|
|
1314
|
-
return e.type ===
|
|
1280
|
+
function zt(e) {
|
|
1281
|
+
return e.type === x.time;
|
|
1315
1282
|
}
|
|
1316
|
-
function
|
|
1317
|
-
return e.type ===
|
|
1283
|
+
function Zt(e) {
|
|
1284
|
+
return e.type === x.select;
|
|
1318
1285
|
}
|
|
1319
|
-
function
|
|
1320
|
-
return e.type ===
|
|
1286
|
+
function Qt(e) {
|
|
1287
|
+
return e.type === x.plural;
|
|
1321
1288
|
}
|
|
1322
|
-
function
|
|
1323
|
-
return e.type ===
|
|
1289
|
+
function In(e) {
|
|
1290
|
+
return e.type === x.pound;
|
|
1324
1291
|
}
|
|
1325
|
-
function
|
|
1326
|
-
return e.type ===
|
|
1292
|
+
function Jt(e) {
|
|
1293
|
+
return e.type === x.tag;
|
|
1327
1294
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1295
|
+
function Yt(e) {
|
|
1296
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1330
1297
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1298
|
+
function Fe(e) {
|
|
1299
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1333
1300
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1301
|
+
var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
|
|
1302
|
+
function Nn(e) {
|
|
1336
1303
|
var t = {};
|
|
1337
|
-
return e.replace(
|
|
1304
|
+
return e.replace(Mn, function(r) {
|
|
1338
1305
|
var n = r.length;
|
|
1339
1306
|
switch (r[0]) {
|
|
1340
1307
|
case "G":
|
|
@@ -1423,21 +1390,11 @@ function Dn(e) {
|
|
|
1423
1390
|
return "";
|
|
1424
1391
|
}), t;
|
|
1425
1392
|
}
|
|
1426
|
-
var
|
|
1427
|
-
|
|
1428
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1429
|
-
r = arguments[n];
|
|
1430
|
-
for (var o in r)
|
|
1431
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1432
|
-
}
|
|
1433
|
-
return t;
|
|
1434
|
-
}, _.apply(this, arguments);
|
|
1435
|
-
};
|
|
1436
|
-
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1437
|
-
function jn(e) {
|
|
1393
|
+
var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function $n(e) {
|
|
1438
1395
|
if (e.length === 0)
|
|
1439
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1440
|
-
for (var t = e.split(
|
|
1397
|
+
for (var t = e.split(Rn).filter(function(f) {
|
|
1441
1398
|
return f.length > 0;
|
|
1442
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1443
1400
|
var o = i[n], s = o.split("/");
|
|
@@ -1452,17 +1409,17 @@ function jn(e) {
|
|
|
1452
1409
|
}
|
|
1453
1410
|
return r;
|
|
1454
1411
|
}
|
|
1455
|
-
function
|
|
1412
|
+
function Gn(e) {
|
|
1456
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1457
1414
|
}
|
|
1458
|
-
var
|
|
1459
|
-
function
|
|
1415
|
+
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
|
|
1416
|
+
function gt(e) {
|
|
1460
1417
|
var t = {};
|
|
1461
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1418
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
|
1462
1419
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1463
1420
|
}), t;
|
|
1464
1421
|
}
|
|
1465
|
-
function
|
|
1422
|
+
function tr(e) {
|
|
1466
1423
|
switch (e) {
|
|
1467
1424
|
case "sign-auto":
|
|
1468
1425
|
return {
|
|
@@ -1502,7 +1459,7 @@ function sr(e) {
|
|
|
1502
1459
|
};
|
|
1503
1460
|
}
|
|
1504
1461
|
}
|
|
1505
|
-
function
|
|
1462
|
+
function Dn(e) {
|
|
1506
1463
|
var t;
|
|
1507
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1508
1465
|
notation: "engineering"
|
|
@@ -1510,17 +1467,17 @@ function Xn(e) {
|
|
|
1510
1467
|
notation: "scientific"
|
|
1511
1468
|
}, e = e.slice(1)), t) {
|
|
1512
1469
|
var r = e.slice(0, 2);
|
|
1513
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
|
|
1514
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1515
1472
|
t.minimumIntegerDigits = e.length;
|
|
1516
1473
|
}
|
|
1517
1474
|
return t;
|
|
1518
1475
|
}
|
|
1519
|
-
function
|
|
1520
|
-
var t = {}, r =
|
|
1476
|
+
function vt(e) {
|
|
1477
|
+
var t = {}, r = tr(e);
|
|
1521
1478
|
return r || t;
|
|
1522
1479
|
}
|
|
1523
|
-
function
|
|
1480
|
+
function Fn(e) {
|
|
1524
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1525
1482
|
var i = n[r];
|
|
1526
1483
|
switch (i.stem) {
|
|
@@ -1544,7 +1501,7 @@ function Wn(e) {
|
|
|
1544
1501
|
continue;
|
|
1545
1502
|
case "measure-unit":
|
|
1546
1503
|
case "unit":
|
|
1547
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
|
1548
1505
|
continue;
|
|
1549
1506
|
case "compact-short":
|
|
1550
1507
|
case "K":
|
|
@@ -1555,13 +1512,13 @@ function Wn(e) {
|
|
|
1555
1512
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1556
1513
|
continue;
|
|
1557
1514
|
case "scientific":
|
|
1558
|
-
t =
|
|
1559
|
-
return
|
|
1515
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1516
|
+
return y(y({}, h), vt(u));
|
|
1560
1517
|
}, {}));
|
|
1561
1518
|
continue;
|
|
1562
1519
|
case "engineering":
|
|
1563
|
-
t =
|
|
1564
|
-
return
|
|
1520
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1521
|
+
return y(y({}, h), vt(u));
|
|
1565
1522
|
}, {}));
|
|
1566
1523
|
continue;
|
|
1567
1524
|
case "notation-simple":
|
|
@@ -1606,7 +1563,7 @@ function Wn(e) {
|
|
|
1606
1563
|
case "integer-width":
|
|
1607
1564
|
if (i.options.length > 1)
|
|
1608
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1609
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Un, function(h, u, l, c, f, p) {
|
|
1610
1567
|
if (u)
|
|
1611
1568
|
t.minimumIntegerDigits = l.length;
|
|
1612
1569
|
else {
|
|
@@ -1619,28 +1576,28 @@ function Wn(e) {
|
|
|
1619
1576
|
});
|
|
1620
1577
|
continue;
|
|
1621
1578
|
}
|
|
1622
|
-
if (
|
|
1579
|
+
if (er.test(i.stem)) {
|
|
1623
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1624
1581
|
continue;
|
|
1625
1582
|
}
|
|
1626
|
-
if (
|
|
1583
|
+
if (bt.test(i.stem)) {
|
|
1627
1584
|
if (i.options.length > 1)
|
|
1628
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1629
|
-
i.stem.replace(
|
|
1586
|
+
i.stem.replace(bt, function(h, u, l, c, f, p) {
|
|
1630
1587
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1631
1588
|
});
|
|
1632
1589
|
var o = i.options[0];
|
|
1633
|
-
o === "w" ? t =
|
|
1590
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
|
|
1634
1591
|
continue;
|
|
1635
1592
|
}
|
|
1636
|
-
if (
|
|
1637
|
-
t =
|
|
1593
|
+
if (Kt.test(i.stem)) {
|
|
1594
|
+
t = y(y({}, t), gt(i.stem));
|
|
1638
1595
|
continue;
|
|
1639
1596
|
}
|
|
1640
|
-
var s =
|
|
1641
|
-
s && (t =
|
|
1642
|
-
var a =
|
|
1643
|
-
a && (t =
|
|
1597
|
+
var s = tr(i.stem);
|
|
1598
|
+
s && (t = y(y({}, t), s));
|
|
1599
|
+
var a = Dn(i.stem);
|
|
1600
|
+
a && (t = y(y({}, t), a));
|
|
1644
1601
|
}
|
|
1645
1602
|
return t;
|
|
1646
1603
|
}
|
|
@@ -3059,13 +3016,13 @@ var ae = {
|
|
|
3059
3016
|
"h"
|
|
3060
3017
|
]
|
|
3061
3018
|
};
|
|
3062
|
-
function
|
|
3019
|
+
function jn(e, t) {
|
|
3063
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3064
3021
|
var i = e.charAt(n);
|
|
3065
3022
|
if (i === "j") {
|
|
3066
3023
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3067
3024
|
o++, n++;
|
|
3068
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3025
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
|
|
3069
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3070
3027
|
r += h;
|
|
3071
3028
|
for (; s-- > 0; )
|
|
@@ -3075,7 +3032,7 @@ function zn(e, t) {
|
|
|
3075
3032
|
}
|
|
3076
3033
|
return r;
|
|
3077
3034
|
}
|
|
3078
|
-
function
|
|
3035
|
+
function kn(e) {
|
|
3079
3036
|
var t = e.hourCycle;
|
|
3080
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3081
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3097,20 +3054,20 @@ function Zn(e) {
|
|
|
3097
3054
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
3098
3055
|
return i[0];
|
|
3099
3056
|
}
|
|
3100
|
-
var
|
|
3057
|
+
var Pe, Vn = new RegExp("^".concat(qt.source, "*")), Xn = new RegExp("".concat(qt.source, "*$"));
|
|
3101
3058
|
function g(e, t) {
|
|
3102
3059
|
return { start: e, end: t };
|
|
3103
3060
|
}
|
|
3104
|
-
var
|
|
3061
|
+
var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Kn = qn ? Number.isSafeInteger : function(e) {
|
|
3105
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3106
|
-
},
|
|
3063
|
+
}, je = !0;
|
|
3107
3064
|
try {
|
|
3108
|
-
var
|
|
3109
|
-
|
|
3065
|
+
var ei = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
je = ((Pe = ei.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
3110
3067
|
} catch (e) {
|
|
3111
|
-
|
|
3068
|
+
je = !1;
|
|
3112
3069
|
}
|
|
3113
|
-
var
|
|
3070
|
+
var yt = Wn ? (
|
|
3114
3071
|
// Native
|
|
3115
3072
|
function(t, r, n) {
|
|
3116
3073
|
return t.startsWith(r, n);
|
|
@@ -3120,7 +3077,7 @@ var St = Yn ? (
|
|
|
3120
3077
|
function(t, r, n) {
|
|
3121
3078
|
return t.slice(n, n + r.length) === r;
|
|
3122
3079
|
}
|
|
3123
|
-
),
|
|
3080
|
+
), ke = zn ? String.fromCodePoint : (
|
|
3124
3081
|
// IE11
|
|
3125
3082
|
function() {
|
|
3126
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3132,9 +3089,9 @@ var St = Yn ? (
|
|
|
3132
3089
|
}
|
|
3133
3090
|
return n;
|
|
3134
3091
|
}
|
|
3135
|
-
),
|
|
3092
|
+
), xt = (
|
|
3136
3093
|
// native
|
|
3137
|
-
|
|
3094
|
+
Zn ? Object.fromEntries : (
|
|
3138
3095
|
// Ponyfill
|
|
3139
3096
|
function(t) {
|
|
3140
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3144,7 +3101,7 @@ var St = Yn ? (
|
|
|
3144
3101
|
return r;
|
|
3145
3102
|
}
|
|
3146
3103
|
)
|
|
3147
|
-
),
|
|
3104
|
+
), rr = Qn ? (
|
|
3148
3105
|
// Native
|
|
3149
3106
|
function(t, r) {
|
|
3150
3107
|
return t.codePointAt(r);
|
|
@@ -3158,7 +3115,7 @@ var St = Yn ? (
|
|
|
3158
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3159
3116
|
}
|
|
3160
3117
|
}
|
|
3161
|
-
),
|
|
3118
|
+
), ti = Jn ? (
|
|
3162
3119
|
// Native
|
|
3163
3120
|
function(t) {
|
|
3164
3121
|
return t.trimStart();
|
|
@@ -3166,9 +3123,9 @@ var St = Yn ? (
|
|
|
3166
3123
|
) : (
|
|
3167
3124
|
// Ponyfill
|
|
3168
3125
|
function(t) {
|
|
3169
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Vn, "");
|
|
3170
3127
|
}
|
|
3171
|
-
),
|
|
3128
|
+
), ri = Yn ? (
|
|
3172
3129
|
// Native
|
|
3173
3130
|
function(t) {
|
|
3174
3131
|
return t.trimEnd();
|
|
@@ -3176,32 +3133,32 @@ var St = Yn ? (
|
|
|
3176
3133
|
) : (
|
|
3177
3134
|
// Ponyfill
|
|
3178
3135
|
function(t) {
|
|
3179
|
-
return t.replace(
|
|
3136
|
+
return t.replace(Xn, "");
|
|
3180
3137
|
}
|
|
3181
3138
|
);
|
|
3182
|
-
function
|
|
3139
|
+
function nr(e, t) {
|
|
3183
3140
|
return new RegExp(e, t);
|
|
3184
3141
|
}
|
|
3185
|
-
var
|
|
3186
|
-
if (
|
|
3187
|
-
var
|
|
3188
|
-
|
|
3142
|
+
var Ve;
|
|
3143
|
+
if (je) {
|
|
3144
|
+
var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
Ve = function(t, r) {
|
|
3189
3146
|
var n;
|
|
3190
|
-
|
|
3191
|
-
var i =
|
|
3147
|
+
_t.lastIndex = r;
|
|
3148
|
+
var i = _t.exec(t);
|
|
3192
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3193
3150
|
};
|
|
3194
3151
|
} else
|
|
3195
|
-
|
|
3152
|
+
Ve = function(t, r) {
|
|
3196
3153
|
for (var n = []; ; ) {
|
|
3197
|
-
var i =
|
|
3198
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = rr(t, r);
|
|
3155
|
+
if (i === void 0 || ir(i) || si(i))
|
|
3199
3156
|
break;
|
|
3200
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3201
3158
|
}
|
|
3202
|
-
return
|
|
3159
|
+
return ke.apply(void 0, n);
|
|
3203
3160
|
};
|
|
3204
|
-
var
|
|
3161
|
+
var ni = (
|
|
3205
3162
|
/** @class */
|
|
3206
3163
|
function() {
|
|
3207
3164
|
function e(t, r) {
|
|
@@ -3225,14 +3182,14 @@ var ui = (
|
|
|
3225
3182
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3226
3183
|
var a = this.clonePosition();
|
|
3227
3184
|
this.bump(), i.push({
|
|
3228
|
-
type:
|
|
3185
|
+
type: x.pound,
|
|
3229
3186
|
location: g(a, this.clonePosition())
|
|
3230
3187
|
});
|
|
3231
3188
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3232
3189
|
if (n)
|
|
3233
3190
|
break;
|
|
3234
3191
|
return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3235
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3192
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3236
3193
|
var s = this.parseTag(t, r);
|
|
3237
3194
|
if (s.err)
|
|
3238
3195
|
return s;
|
|
@@ -3253,7 +3210,7 @@ var ui = (
|
|
|
3253
3210
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3254
3211
|
return {
|
|
3255
3212
|
val: {
|
|
3256
|
-
type:
|
|
3213
|
+
type: x.literal,
|
|
3257
3214
|
value: "<".concat(i, "/>"),
|
|
3258
3215
|
location: g(n, this.clonePosition())
|
|
3259
3216
|
},
|
|
@@ -3265,12 +3222,12 @@ var ui = (
|
|
|
3265
3222
|
return o;
|
|
3266
3223
|
var s = o.val, a = this.clonePosition();
|
|
3267
3224
|
if (this.bumpIf("</")) {
|
|
3268
|
-
if (this.isEOF() || !
|
|
3225
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3269
3226
|
return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
|
|
3270
3227
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3271
3228
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3272
3229
|
val: {
|
|
3273
|
-
type:
|
|
3230
|
+
type: x.tag,
|
|
3274
3231
|
value: i,
|
|
3275
3232
|
children: s,
|
|
3276
3233
|
location: g(n, this.clonePosition())
|
|
@@ -3283,7 +3240,7 @@ var ui = (
|
|
|
3283
3240
|
return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
|
|
3284
3241
|
}, e.prototype.parseTagName = function() {
|
|
3285
3242
|
var t = this.offset();
|
|
3286
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && oi(this.char()); )
|
|
3287
3244
|
this.bump();
|
|
3288
3245
|
return this.message.slice(t, this.offset());
|
|
3289
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3307,12 +3264,12 @@ var ui = (
|
|
|
3307
3264
|
}
|
|
3308
3265
|
var h = g(n, this.clonePosition());
|
|
3309
3266
|
return {
|
|
3310
|
-
val: { type:
|
|
3267
|
+
val: { type: x.literal, value: i, location: h },
|
|
3311
3268
|
err: null
|
|
3312
3269
|
};
|
|
3313
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3314
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3315
|
-
!
|
|
3272
|
+
!ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3316
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3317
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3318
3275
|
return null;
|
|
@@ -3346,12 +3303,12 @@ var ui = (
|
|
|
3346
3303
|
r.push(n);
|
|
3347
3304
|
this.bump();
|
|
3348
3305
|
}
|
|
3349
|
-
return
|
|
3306
|
+
return ke.apply(void 0, r);
|
|
3350
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3351
3308
|
if (this.isEOF())
|
|
3352
3309
|
return null;
|
|
3353
3310
|
var n = this.char();
|
|
3354
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3311
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3355
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3356
3313
|
var n = this.clonePosition();
|
|
3357
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3367,7 +3324,7 @@ var ui = (
|
|
|
3367
3324
|
case 125:
|
|
3368
3325
|
return this.bump(), {
|
|
3369
3326
|
val: {
|
|
3370
|
-
type:
|
|
3327
|
+
type: x.argument,
|
|
3371
3328
|
// value does not include the opening and closing braces.
|
|
3372
3329
|
value: i,
|
|
3373
3330
|
location: g(n, this.clonePosition())
|
|
@@ -3380,7 +3337,7 @@ var ui = (
|
|
|
3380
3337
|
return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3381
3338
|
}
|
|
3382
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3383
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3384
3341
|
this.bumpTo(i);
|
|
3385
3342
|
var o = this.clonePosition(), s = g(t, o);
|
|
3386
3343
|
return { value: n, location: s };
|
|
@@ -3399,7 +3356,7 @@ var ui = (
|
|
|
3399
3356
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3400
3357
|
if (c.err)
|
|
3401
3358
|
return c;
|
|
3402
|
-
var f =
|
|
3359
|
+
var f = ri(c.val);
|
|
3403
3360
|
if (f.length === 0)
|
|
3404
3361
|
return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3405
3362
|
var p = g(l, this.clonePosition());
|
|
@@ -3408,37 +3365,37 @@ var ui = (
|
|
|
3408
3365
|
var m = this.tryParseArgumentClose(i);
|
|
3409
3366
|
if (m.err)
|
|
3410
3367
|
return m;
|
|
3411
|
-
var
|
|
3412
|
-
if (u &&
|
|
3413
|
-
var E =
|
|
3368
|
+
var v = g(i, this.clonePosition());
|
|
3369
|
+
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3370
|
+
var E = ti(u.style.slice(2));
|
|
3414
3371
|
if (a === "number") {
|
|
3415
3372
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3416
3373
|
return c.err ? c : {
|
|
3417
|
-
val: { type:
|
|
3374
|
+
val: { type: x.number, value: n, location: v, style: c.val },
|
|
3418
3375
|
err: null
|
|
3419
3376
|
};
|
|
3420
3377
|
} else {
|
|
3421
3378
|
if (E.length === 0)
|
|
3422
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
3379
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3423
3380
|
var A = E;
|
|
3424
|
-
this.locale && (A =
|
|
3381
|
+
this.locale && (A = jn(E, this.locale));
|
|
3425
3382
|
var f = {
|
|
3426
|
-
type:
|
|
3383
|
+
type: z.dateTime,
|
|
3427
3384
|
pattern: A,
|
|
3428
3385
|
location: u.styleLocation,
|
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3430
|
-
}, P = a === "date" ?
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? Nn(A) : {}
|
|
3387
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3431
3388
|
return {
|
|
3432
|
-
val: { type: P, value: n, location:
|
|
3389
|
+
val: { type: P, value: n, location: v, style: f },
|
|
3433
3390
|
err: null
|
|
3434
3391
|
};
|
|
3435
3392
|
}
|
|
3436
3393
|
}
|
|
3437
3394
|
return {
|
|
3438
3395
|
val: {
|
|
3439
|
-
type: a === "number" ?
|
|
3396
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3440
3397
|
value: n,
|
|
3441
|
-
location:
|
|
3398
|
+
location: v,
|
|
3442
3399
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3443
3400
|
},
|
|
3444
3401
|
err: null
|
|
@@ -3449,38 +3406,38 @@ var ui = (
|
|
|
3449
3406
|
case "select": {
|
|
3450
3407
|
var T = this.clonePosition();
|
|
3451
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3452
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3409
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
|
|
3453
3410
|
this.bumpSpace();
|
|
3454
|
-
var
|
|
3455
|
-
if (a !== "select" &&
|
|
3411
|
+
var L = this.parseIdentifierIfPossible(), w = 0;
|
|
3412
|
+
if (a !== "select" && L.value === "offset") {
|
|
3456
3413
|
if (!this.bumpIf(":"))
|
|
3457
3414
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3458
3415
|
this.bumpSpace();
|
|
3459
3416
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3460
3417
|
if (c.err)
|
|
3461
3418
|
return c;
|
|
3462
|
-
this.bumpSpace(),
|
|
3419
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
|
|
3463
3420
|
}
|
|
3464
|
-
var
|
|
3465
|
-
if (
|
|
3466
|
-
return
|
|
3421
|
+
var _ = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3422
|
+
if (_.err)
|
|
3423
|
+
return _;
|
|
3467
3424
|
var m = this.tryParseArgumentClose(i);
|
|
3468
3425
|
if (m.err)
|
|
3469
3426
|
return m;
|
|
3470
3427
|
var C = g(i, this.clonePosition());
|
|
3471
3428
|
return a === "select" ? {
|
|
3472
3429
|
val: {
|
|
3473
|
-
type:
|
|
3430
|
+
type: x.select,
|
|
3474
3431
|
value: n,
|
|
3475
|
-
options:
|
|
3432
|
+
options: xt(_.val),
|
|
3476
3433
|
location: C
|
|
3477
3434
|
},
|
|
3478
3435
|
err: null
|
|
3479
3436
|
} : {
|
|
3480
3437
|
val: {
|
|
3481
|
-
type:
|
|
3438
|
+
type: x.plural,
|
|
3482
3439
|
value: n,
|
|
3483
|
-
options:
|
|
3440
|
+
options: xt(_.val),
|
|
3484
3441
|
offset: w,
|
|
3485
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3486
3443
|
location: C
|
|
@@ -3531,16 +3488,16 @@ var ui = (
|
|
|
3531
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3532
3489
|
var n = [];
|
|
3533
3490
|
try {
|
|
3534
|
-
n =
|
|
3491
|
+
n = $n(t);
|
|
3535
3492
|
} catch (i) {
|
|
3536
3493
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3537
3494
|
}
|
|
3538
3495
|
return {
|
|
3539
3496
|
val: {
|
|
3540
|
-
type:
|
|
3497
|
+
type: z.number,
|
|
3541
3498
|
tokens: n,
|
|
3542
3499
|
location: r,
|
|
3543
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
|
|
3544
3501
|
},
|
|
3545
3502
|
err: null
|
|
3546
3503
|
};
|
|
@@ -3565,9 +3522,9 @@ var ui = (
|
|
|
3565
3522
|
var m = this.parseMessage(t + 1, r, n);
|
|
3566
3523
|
if (m.err)
|
|
3567
3524
|
return m;
|
|
3568
|
-
var
|
|
3569
|
-
if (
|
|
3570
|
-
return
|
|
3525
|
+
var v = this.tryParseArgumentClose(p);
|
|
3526
|
+
if (v.err)
|
|
3527
|
+
return v;
|
|
3571
3528
|
a.push([
|
|
3572
3529
|
u,
|
|
3573
3530
|
{
|
|
@@ -3588,7 +3545,7 @@ var ui = (
|
|
|
3588
3545
|
break;
|
|
3589
3546
|
}
|
|
3590
3547
|
var h = g(i, this.clonePosition());
|
|
3591
|
-
return o ? (s *= n,
|
|
3548
|
+
return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3592
3549
|
}, e.prototype.offset = function() {
|
|
3593
3550
|
return this.position.offset;
|
|
3594
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3603,7 +3560,7 @@ var ui = (
|
|
|
3603
3560
|
var t = this.position.offset;
|
|
3604
3561
|
if (t >= this.message.length)
|
|
3605
3562
|
throw Error("out of bound");
|
|
3606
|
-
var r =
|
|
3563
|
+
var r = rr(this.message, t);
|
|
3607
3564
|
if (r === void 0)
|
|
3608
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3609
3566
|
return r;
|
|
@@ -3622,7 +3579,7 @@ var ui = (
|
|
|
3622
3579
|
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);
|
|
3623
3580
|
}
|
|
3624
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3625
|
-
if (
|
|
3582
|
+
if (yt(this.message, t, this.offset())) {
|
|
3626
3583
|
for (var r = 0; r < t.length; r++)
|
|
3627
3584
|
this.bump();
|
|
3628
3585
|
return !0;
|
|
@@ -3644,7 +3601,7 @@ var ui = (
|
|
|
3644
3601
|
break;
|
|
3645
3602
|
}
|
|
3646
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3647
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && ir(this.char()); )
|
|
3648
3605
|
this.bump();
|
|
3649
3606
|
}, e.prototype.peek = function() {
|
|
3650
3607
|
if (this.isEOF())
|
|
@@ -3654,47 +3611,47 @@ var ui = (
|
|
|
3654
3611
|
}, e;
|
|
3655
3612
|
}()
|
|
3656
3613
|
);
|
|
3657
|
-
function
|
|
3614
|
+
function Xe(e) {
|
|
3658
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3659
3616
|
}
|
|
3660
|
-
function
|
|
3661
|
-
return
|
|
3617
|
+
function ii(e) {
|
|
3618
|
+
return Xe(e) || e === 47;
|
|
3662
3619
|
}
|
|
3663
|
-
function
|
|
3620
|
+
function oi(e) {
|
|
3664
3621
|
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;
|
|
3665
3622
|
}
|
|
3666
|
-
function
|
|
3623
|
+
function ir(e) {
|
|
3667
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3668
3625
|
}
|
|
3669
|
-
function
|
|
3626
|
+
function si(e) {
|
|
3670
3627
|
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;
|
|
3671
3628
|
}
|
|
3672
|
-
function
|
|
3629
|
+
function We(e) {
|
|
3673
3630
|
e.forEach(function(t) {
|
|
3674
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, Zt(t) || Qt(t))
|
|
3675
3632
|
for (var r in t.options)
|
|
3676
|
-
delete t.options[r].location,
|
|
3633
|
+
delete t.options[r].location, We(t.options[r].value);
|
|
3677
3634
|
else
|
|
3678
|
-
|
|
3635
|
+
Xt(t) && Yt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && We(t.children);
|
|
3679
3636
|
});
|
|
3680
3637
|
}
|
|
3681
|
-
function
|
|
3682
|
-
t === void 0 && (t = {}), t =
|
|
3683
|
-
var r = new
|
|
3638
|
+
function ai(e, t) {
|
|
3639
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3640
|
+
var r = new ni(e, t).parse();
|
|
3684
3641
|
if (r.err) {
|
|
3685
3642
|
var n = SyntaxError(d[r.err.kind]);
|
|
3686
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3687
3644
|
}
|
|
3688
|
-
return t != null && t.captureLocation ||
|
|
3645
|
+
return t != null && t.captureLocation || We(r.val), r.val;
|
|
3689
3646
|
}
|
|
3690
|
-
var
|
|
3647
|
+
var Z;
|
|
3691
3648
|
(function(e) {
|
|
3692
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3693
|
-
})(
|
|
3694
|
-
var
|
|
3650
|
+
})(Z || (Z = {}));
|
|
3651
|
+
var ye = (
|
|
3695
3652
|
/** @class */
|
|
3696
3653
|
function(e) {
|
|
3697
|
-
|
|
3654
|
+
$(t, e);
|
|
3698
3655
|
function t(r, n, i) {
|
|
3699
3656
|
var o = e.call(this, r) || this;
|
|
3700
3657
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3703,48 +3660,48 @@ var _e = (
|
|
|
3703
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3704
3661
|
}, t;
|
|
3705
3662
|
}(Error)
|
|
3706
|
-
),
|
|
3663
|
+
), Et = (
|
|
3707
3664
|
/** @class */
|
|
3708
3665
|
function(e) {
|
|
3709
|
-
|
|
3666
|
+
$(t, e);
|
|
3710
3667
|
function t(r, n, i, o) {
|
|
3711
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3668
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
|
|
3712
3669
|
}
|
|
3713
3670
|
return t;
|
|
3714
|
-
}(
|
|
3715
|
-
),
|
|
3671
|
+
}(ye)
|
|
3672
|
+
), ui = (
|
|
3716
3673
|
/** @class */
|
|
3717
3674
|
function(e) {
|
|
3718
|
-
|
|
3675
|
+
$(t, e);
|
|
3719
3676
|
function t(r, n, i) {
|
|
3720
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3677
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3721
3678
|
}
|
|
3722
3679
|
return t;
|
|
3723
|
-
}(
|
|
3724
|
-
),
|
|
3680
|
+
}(ye)
|
|
3681
|
+
), hi = (
|
|
3725
3682
|
/** @class */
|
|
3726
3683
|
function(e) {
|
|
3727
|
-
|
|
3684
|
+
$(t, e);
|
|
3728
3685
|
function t(r, n) {
|
|
3729
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3686
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3730
3687
|
}
|
|
3731
3688
|
return t;
|
|
3732
|
-
}(
|
|
3689
|
+
}(ye)
|
|
3733
3690
|
), H;
|
|
3734
3691
|
(function(e) {
|
|
3735
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3736
3693
|
})(H || (H = {}));
|
|
3737
|
-
function
|
|
3694
|
+
function li(e) {
|
|
3738
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3739
3696
|
var n = t[t.length - 1];
|
|
3740
3697
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3741
3698
|
}, []);
|
|
3742
3699
|
}
|
|
3743
|
-
function
|
|
3700
|
+
function ci(e) {
|
|
3744
3701
|
return typeof e == "function";
|
|
3745
3702
|
}
|
|
3746
3703
|
function fe(e, t, r, n, i, o, s) {
|
|
3747
|
-
if (e.length === 1 &&
|
|
3704
|
+
if (e.length === 1 && dt(e[0]))
|
|
3748
3705
|
return [
|
|
3749
3706
|
{
|
|
3750
3707
|
type: H.literal,
|
|
@@ -3753,14 +3710,14 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3753
3710
|
];
|
|
3754
3711
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3755
3712
|
var l = u[h];
|
|
3756
|
-
if (
|
|
3713
|
+
if (dt(l)) {
|
|
3757
3714
|
a.push({
|
|
3758
3715
|
type: H.literal,
|
|
3759
3716
|
value: l.value
|
|
3760
3717
|
});
|
|
3761
3718
|
continue;
|
|
3762
3719
|
}
|
|
3763
|
-
if (
|
|
3720
|
+
if (In(l)) {
|
|
3764
3721
|
typeof o == "number" && a.push({
|
|
3765
3722
|
type: H.literal,
|
|
3766
3723
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3769,43 +3726,43 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3769
3726
|
}
|
|
3770
3727
|
var c = l.value;
|
|
3771
3728
|
if (!(i && c in i))
|
|
3772
|
-
throw new
|
|
3729
|
+
throw new hi(c, s);
|
|
3773
3730
|
var f = i[c];
|
|
3774
|
-
if (
|
|
3731
|
+
if (On(l)) {
|
|
3775
3732
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3776
3733
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3777
3734
|
value: f
|
|
3778
3735
|
});
|
|
3779
3736
|
continue;
|
|
3780
3737
|
}
|
|
3781
|
-
if (
|
|
3782
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3738
|
+
if (Wt(l)) {
|
|
3739
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3783
3740
|
a.push({
|
|
3784
3741
|
type: H.literal,
|
|
3785
3742
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3786
3743
|
});
|
|
3787
3744
|
continue;
|
|
3788
3745
|
}
|
|
3789
|
-
if (
|
|
3790
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3746
|
+
if (zt(l)) {
|
|
3747
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3791
3748
|
a.push({
|
|
3792
3749
|
type: H.literal,
|
|
3793
3750
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3794
3751
|
});
|
|
3795
3752
|
continue;
|
|
3796
3753
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3754
|
+
if (Xt(l)) {
|
|
3755
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
3799
3756
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3800
3757
|
type: H.literal,
|
|
3801
3758
|
value: r.getNumberFormat(t, p).format(f)
|
|
3802
3759
|
});
|
|
3803
3760
|
continue;
|
|
3804
3761
|
}
|
|
3805
|
-
if (
|
|
3806
|
-
var m = l.children,
|
|
3807
|
-
if (!
|
|
3808
|
-
throw new
|
|
3762
|
+
if (Jt(l)) {
|
|
3763
|
+
var m = l.children, v = l.value, E = i[v];
|
|
3764
|
+
if (!ci(E))
|
|
3765
|
+
throw new ui(v, "function", s);
|
|
3809
3766
|
var A = fe(m, t, r, n, i, o), P = E(A.map(function(w) {
|
|
3810
3767
|
return w.value;
|
|
3811
3768
|
}));
|
|
@@ -3816,42 +3773,42 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3816
3773
|
};
|
|
3817
3774
|
}));
|
|
3818
3775
|
}
|
|
3819
|
-
if (
|
|
3776
|
+
if (Zt(l)) {
|
|
3820
3777
|
var T = l.options[f] || l.options.other;
|
|
3821
3778
|
if (!T)
|
|
3822
|
-
throw new
|
|
3779
|
+
throw new Et(l.value, f, Object.keys(l.options), s);
|
|
3823
3780
|
a.push.apply(a, fe(T.value, t, r, n, i));
|
|
3824
3781
|
continue;
|
|
3825
3782
|
}
|
|
3826
|
-
if (
|
|
3783
|
+
if (Qt(l)) {
|
|
3827
3784
|
var T = l.options["=".concat(f)];
|
|
3828
3785
|
if (!T) {
|
|
3829
3786
|
if (!Intl.PluralRules)
|
|
3830
|
-
throw new
|
|
3787
|
+
throw new ye(`Intl.PluralRules is not available in this environment.
|
|
3831
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3832
|
-
`,
|
|
3833
|
-
var
|
|
3834
|
-
T = l.options[
|
|
3789
|
+
`, Z.MISSING_INTL_API, s);
|
|
3790
|
+
var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3791
|
+
T = l.options[L] || l.options.other;
|
|
3835
3792
|
}
|
|
3836
3793
|
if (!T)
|
|
3837
|
-
throw new
|
|
3794
|
+
throw new Et(l.value, f, Object.keys(l.options), s);
|
|
3838
3795
|
a.push.apply(a, fe(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3839
3796
|
continue;
|
|
3840
3797
|
}
|
|
3841
3798
|
}
|
|
3842
|
-
return
|
|
3799
|
+
return li(a);
|
|
3843
3800
|
}
|
|
3844
|
-
function
|
|
3845
|
-
return t ?
|
|
3846
|
-
return r[n] =
|
|
3801
|
+
function fi(e, t) {
|
|
3802
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3803
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3847
3804
|
}, {})) : e;
|
|
3848
3805
|
}
|
|
3849
|
-
function
|
|
3806
|
+
function mi(e, t) {
|
|
3850
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3851
|
-
return r[n] =
|
|
3852
|
-
},
|
|
3808
|
+
return r[n] = fi(e[n], t[n]), r;
|
|
3809
|
+
}, y({}, e)) : e;
|
|
3853
3810
|
}
|
|
3854
|
-
function
|
|
3811
|
+
function Le(e) {
|
|
3855
3812
|
return {
|
|
3856
3813
|
create: function() {
|
|
3857
3814
|
return {
|
|
@@ -3865,39 +3822,39 @@ function Me(e) {
|
|
|
3865
3822
|
}
|
|
3866
3823
|
};
|
|
3867
3824
|
}
|
|
3868
|
-
function
|
|
3825
|
+
function pi(e) {
|
|
3869
3826
|
return e === void 0 && (e = {
|
|
3870
3827
|
number: {},
|
|
3871
3828
|
dateTime: {},
|
|
3872
3829
|
pluralRules: {}
|
|
3873
3830
|
}), {
|
|
3874
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Ce(function() {
|
|
3875
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3876
3833
|
r[n] = arguments[n];
|
|
3877
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3878
3835
|
}, {
|
|
3879
|
-
cache:
|
|
3880
|
-
strategy:
|
|
3836
|
+
cache: Le(e.number),
|
|
3837
|
+
strategy: Ae.variadic
|
|
3881
3838
|
}),
|
|
3882
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Ce(function() {
|
|
3883
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3884
3841
|
r[n] = arguments[n];
|
|
3885
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3842
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3886
3843
|
}, {
|
|
3887
|
-
cache:
|
|
3888
|
-
strategy:
|
|
3844
|
+
cache: Le(e.dateTime),
|
|
3845
|
+
strategy: Ae.variadic
|
|
3889
3846
|
}),
|
|
3890
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Ce(function() {
|
|
3891
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3892
3849
|
r[n] = arguments[n];
|
|
3893
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3850
|
+
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3894
3851
|
}, {
|
|
3895
|
-
cache:
|
|
3896
|
-
strategy:
|
|
3852
|
+
cache: Le(e.pluralRules),
|
|
3853
|
+
strategy: Ae.variadic
|
|
3897
3854
|
})
|
|
3898
3855
|
};
|
|
3899
3856
|
}
|
|
3900
|
-
var
|
|
3857
|
+
var di = (
|
|
3901
3858
|
/** @class */
|
|
3902
3859
|
function() {
|
|
3903
3860
|
function e(t, r, n, i) {
|
|
@@ -3929,13 +3886,13 @@ var xi = (
|
|
|
3929
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3930
3887
|
var s = i || {};
|
|
3931
3888
|
s.formatters;
|
|
3932
|
-
var a =
|
|
3933
|
-
this.ast = e.__parse(t,
|
|
3889
|
+
var a = Wr(s, ["formatters"]);
|
|
3890
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3934
3891
|
} else
|
|
3935
3892
|
this.ast = t;
|
|
3936
3893
|
if (!Array.isArray(this.ast))
|
|
3937
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3938
|
-
this.formats =
|
|
3895
|
+
this.formats = mi(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
|
|
3939
3896
|
}
|
|
3940
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3941
3898
|
get: function() {
|
|
@@ -3948,7 +3905,7 @@ var xi = (
|
|
|
3948
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3949
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3950
3907
|
}
|
|
3951
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = ai, e.formats = {
|
|
3952
3909
|
number: {
|
|
3953
3910
|
integer: {
|
|
3954
3911
|
maximumFractionDigits: 0
|
|
@@ -4009,7 +3966,7 @@ var xi = (
|
|
|
4009
3966
|
}, e;
|
|
4010
3967
|
}()
|
|
4011
3968
|
);
|
|
4012
|
-
function
|
|
3969
|
+
function bi(e, t) {
|
|
4013
3970
|
if (t == null)
|
|
4014
3971
|
return;
|
|
4015
3972
|
if (t in e)
|
|
@@ -4030,92 +3987,92 @@ function _i(e, t) {
|
|
|
4030
3987
|
n = void 0;
|
|
4031
3988
|
return n;
|
|
4032
3989
|
}
|
|
4033
|
-
const G = {},
|
|
3990
|
+
const G = {}, gi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), or = (e, t) => {
|
|
4034
3991
|
if (t == null)
|
|
4035
3992
|
return;
|
|
4036
3993
|
if (t in G && e in G[t])
|
|
4037
3994
|
return G[t][e];
|
|
4038
|
-
const r =
|
|
3995
|
+
const r = xe(t);
|
|
4039
3996
|
for (let n = 0; n < r.length; n++) {
|
|
4040
|
-
const i = r[n], o =
|
|
3997
|
+
const i = r[n], o = yi(i, e);
|
|
4041
3998
|
if (o)
|
|
4042
|
-
return
|
|
3999
|
+
return gi(e, t, o);
|
|
4043
4000
|
}
|
|
4044
4001
|
};
|
|
4045
|
-
let
|
|
4002
|
+
let Ye;
|
|
4046
4003
|
const oe = ve({});
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4004
|
+
function vi(e) {
|
|
4005
|
+
return Ye[e] || null;
|
|
4049
4006
|
}
|
|
4050
|
-
function
|
|
4051
|
-
return e in
|
|
4007
|
+
function sr(e) {
|
|
4008
|
+
return e in Ye;
|
|
4052
4009
|
}
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4010
|
+
function yi(e, t) {
|
|
4011
|
+
if (!sr(e))
|
|
4055
4012
|
return null;
|
|
4056
|
-
const r =
|
|
4057
|
-
return
|
|
4013
|
+
const r = vi(e);
|
|
4014
|
+
return bi(r, t);
|
|
4058
4015
|
}
|
|
4059
|
-
function
|
|
4016
|
+
function xi(e) {
|
|
4060
4017
|
if (e == null)
|
|
4061
4018
|
return;
|
|
4062
|
-
const t =
|
|
4019
|
+
const t = xe(e);
|
|
4063
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4064
4021
|
const n = t[r];
|
|
4065
|
-
if (
|
|
4022
|
+
if (sr(n))
|
|
4066
4023
|
return n;
|
|
4067
4024
|
}
|
|
4068
4025
|
}
|
|
4069
|
-
function
|
|
4070
|
-
delete G[e], oe.update((r) => (r[e] =
|
|
4026
|
+
function ar(e, ...t) {
|
|
4027
|
+
delete G[e], oe.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
|
4071
4028
|
}
|
|
4072
|
-
|
|
4029
|
+
Y(
|
|
4073
4030
|
[oe],
|
|
4074
4031
|
([e]) => Object.keys(e)
|
|
4075
4032
|
);
|
|
4076
|
-
oe.subscribe((e) =>
|
|
4033
|
+
oe.subscribe((e) => Ye = e);
|
|
4077
4034
|
const me = {};
|
|
4078
|
-
function
|
|
4035
|
+
function _i(e, t) {
|
|
4079
4036
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
4080
4037
|
}
|
|
4081
|
-
function
|
|
4038
|
+
function ur(e) {
|
|
4082
4039
|
return me[e];
|
|
4083
4040
|
}
|
|
4084
|
-
function
|
|
4085
|
-
return
|
|
4086
|
-
const r =
|
|
4041
|
+
function Ei(e) {
|
|
4042
|
+
return xe(e).map((t) => {
|
|
4043
|
+
const r = ur(t);
|
|
4087
4044
|
return [t, r ? [...r] : []];
|
|
4088
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4089
4046
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return e == null ? !1 :
|
|
4047
|
+
function ze(e) {
|
|
4048
|
+
return e == null ? !1 : xe(e).some(
|
|
4092
4049
|
(t) => {
|
|
4093
4050
|
var r;
|
|
4094
|
-
return (r =
|
|
4051
|
+
return (r = ur(t)) == null ? void 0 : r.size;
|
|
4095
4052
|
}
|
|
4096
4053
|
);
|
|
4097
4054
|
}
|
|
4098
|
-
function
|
|
4055
|
+
function wi(e, t) {
|
|
4099
4056
|
return Promise.all(
|
|
4100
|
-
t.map((n) => (
|
|
4101
|
-
).then((n) =>
|
|
4102
|
-
}
|
|
4103
|
-
const
|
|
4104
|
-
function
|
|
4105
|
-
if (!
|
|
4106
|
-
return e in
|
|
4107
|
-
const t =
|
|
4108
|
-
return
|
|
4057
|
+
t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => ar(e, ...n));
|
|
4059
|
+
}
|
|
4060
|
+
const ee = {};
|
|
4061
|
+
function hr(e) {
|
|
4062
|
+
if (!ze(e))
|
|
4063
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
4064
|
+
const t = Ei(e);
|
|
4065
|
+
return ee[e] = Promise.all(
|
|
4109
4066
|
t.map(
|
|
4110
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => wi(r, n)
|
|
4111
4068
|
)
|
|
4112
4069
|
).then(() => {
|
|
4113
|
-
if (
|
|
4114
|
-
return
|
|
4115
|
-
delete
|
|
4116
|
-
}),
|
|
4070
|
+
if (ze(e))
|
|
4071
|
+
return hr(e);
|
|
4072
|
+
delete ee[e];
|
|
4073
|
+
}), ee[e];
|
|
4117
4074
|
}
|
|
4118
|
-
const
|
|
4075
|
+
const Si = {
|
|
4119
4076
|
number: {
|
|
4120
4077
|
scientific: { notation: "scientific" },
|
|
4121
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4144,135 +4101,135 @@ const Ai = {
|
|
|
4144
4101
|
timeZoneName: "short"
|
|
4145
4102
|
}
|
|
4146
4103
|
}
|
|
4147
|
-
},
|
|
4104
|
+
}, Ti = {
|
|
4148
4105
|
fallbackLocale: null,
|
|
4149
4106
|
loadingDelay: 200,
|
|
4150
|
-
formats:
|
|
4107
|
+
formats: Si,
|
|
4151
4108
|
warnOnMissingMessages: !0,
|
|
4152
4109
|
handleMissingMessage: void 0,
|
|
4153
4110
|
ignoreTag: !0
|
|
4154
|
-
},
|
|
4155
|
-
function
|
|
4156
|
-
return
|
|
4111
|
+
}, Hi = Ti;
|
|
4112
|
+
function Q() {
|
|
4113
|
+
return Hi;
|
|
4157
4114
|
}
|
|
4158
|
-
const
|
|
4159
|
-
var
|
|
4115
|
+
const Oe = ve(!1);
|
|
4116
|
+
var Bi = Object.defineProperty, Ci = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
|
|
4160
4117
|
for (var r in t || (t = {}))
|
|
4161
|
-
|
|
4162
|
-
if (
|
|
4163
|
-
for (var r of
|
|
4164
|
-
|
|
4118
|
+
Pi.call(t, r) && St(e, r, t[r]);
|
|
4119
|
+
if (wt)
|
|
4120
|
+
for (var r of wt(t))
|
|
4121
|
+
Li.call(t, r) && St(e, r, t[r]);
|
|
4165
4122
|
return e;
|
|
4166
|
-
},
|
|
4167
|
-
let
|
|
4168
|
-
const
|
|
4169
|
-
function
|
|
4123
|
+
}, Ii = (e, t) => Ci(e, Ai(t));
|
|
4124
|
+
let Ze;
|
|
4125
|
+
const pe = ve(null);
|
|
4126
|
+
function Tt(e) {
|
|
4170
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4171
4128
|
}
|
|
4172
|
-
function
|
|
4173
|
-
const r =
|
|
4174
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
function xe(e, t = Q().fallbackLocale) {
|
|
4130
|
+
const r = Tt(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4175
4132
|
}
|
|
4176
4133
|
function U() {
|
|
4177
|
-
return
|
|
4134
|
+
return Ze != null ? Ze : void 0;
|
|
4178
4135
|
}
|
|
4179
|
-
|
|
4180
|
-
|
|
4136
|
+
pe.subscribe((e) => {
|
|
4137
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4181
4138
|
});
|
|
4182
|
-
const
|
|
4183
|
-
if (e &&
|
|
4184
|
-
const { loadingDelay: t } =
|
|
4139
|
+
const Mi = (e) => {
|
|
4140
|
+
if (e && xi(e) && ze(e)) {
|
|
4141
|
+
const { loadingDelay: t } = Q();
|
|
4185
4142
|
let r;
|
|
4186
4143
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4187
|
-
() =>
|
|
4144
|
+
() => Oe.set(!0),
|
|
4188
4145
|
t
|
|
4189
|
-
) :
|
|
4190
|
-
|
|
4146
|
+
) : Oe.set(!0), hr(e).then(() => {
|
|
4147
|
+
pe.set(e);
|
|
4191
4148
|
}).finally(() => {
|
|
4192
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), Oe.set(!1);
|
|
4193
4150
|
});
|
|
4194
4151
|
}
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4197
|
-
set:
|
|
4198
|
-
}),
|
|
4152
|
+
return pe.set(e);
|
|
4153
|
+
}, q = Ii(Oi({}, pe), {
|
|
4154
|
+
set: Mi
|
|
4155
|
+
}), _e = (e) => {
|
|
4199
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4200
4157
|
return (n) => {
|
|
4201
4158
|
const i = JSON.stringify(n);
|
|
4202
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4203
4160
|
};
|
|
4204
4161
|
};
|
|
4205
|
-
var
|
|
4162
|
+
var Ni = Object.defineProperty, de = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4206
4163
|
for (var r in t || (t = {}))
|
|
4207
|
-
|
|
4208
|
-
if (
|
|
4209
|
-
for (var r of
|
|
4210
|
-
|
|
4164
|
+
lr.call(t, r) && Ht(e, r, t[r]);
|
|
4165
|
+
if (de)
|
|
4166
|
+
for (var r of de(t))
|
|
4167
|
+
cr.call(t, r) && Ht(e, r, t[r]);
|
|
4211
4168
|
return e;
|
|
4212
|
-
},
|
|
4169
|
+
}, K = (e, t) => {
|
|
4213
4170
|
var r = {};
|
|
4214
4171
|
for (var n in e)
|
|
4215
|
-
|
|
4216
|
-
if (e != null &&
|
|
4217
|
-
for (var n of
|
|
4218
|
-
t.indexOf(n) < 0 &&
|
|
4172
|
+
lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4173
|
+
if (e != null && de)
|
|
4174
|
+
for (var n of de(e))
|
|
4175
|
+
t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
|
|
4219
4176
|
return r;
|
|
4220
4177
|
};
|
|
4221
|
-
const
|
|
4222
|
-
const { formats: r } =
|
|
4178
|
+
const ie = (e, t) => {
|
|
4179
|
+
const { formats: r } = Q();
|
|
4223
4180
|
if (e in r && t in r[e])
|
|
4224
4181
|
return r[e][t];
|
|
4225
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4226
|
-
},
|
|
4183
|
+
}, Ri = _e(
|
|
4227
4184
|
(e) => {
|
|
4228
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4185
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4229
4186
|
if (r == null)
|
|
4230
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4231
|
-
return n && (i =
|
|
4188
|
+
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4232
4189
|
}
|
|
4233
|
-
),
|
|
4190
|
+
), $i = _e(
|
|
4234
4191
|
(e) => {
|
|
4235
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4192
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4236
4193
|
if (r == null)
|
|
4237
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4238
|
-
return n ? i =
|
|
4195
|
+
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4239
4196
|
}
|
|
4240
|
-
),
|
|
4197
|
+
), Gi = _e(
|
|
4241
4198
|
(e) => {
|
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4199
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4243
4200
|
if (r == null)
|
|
4244
4201
|
throw new Error(
|
|
4245
4202
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4246
4203
|
);
|
|
4247
|
-
return n ? i =
|
|
4204
|
+
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4248
4205
|
}
|
|
4249
|
-
),
|
|
4206
|
+
), Ui = (e = {}) => {
|
|
4250
4207
|
var t = e, {
|
|
4251
4208
|
locale: r = U()
|
|
4252
|
-
} = t, n =
|
|
4209
|
+
} = t, n = K(t, [
|
|
4253
4210
|
"locale"
|
|
4254
4211
|
]);
|
|
4255
|
-
return
|
|
4256
|
-
},
|
|
4212
|
+
return Ri(qe({ locale: r }, n));
|
|
4213
|
+
}, Di = (e = {}) => {
|
|
4257
4214
|
var t = e, {
|
|
4258
4215
|
locale: r = U()
|
|
4259
|
-
} = t, n =
|
|
4216
|
+
} = t, n = K(t, [
|
|
4260
4217
|
"locale"
|
|
4261
4218
|
]);
|
|
4262
|
-
return
|
|
4263
|
-
},
|
|
4219
|
+
return $i(qe({ locale: r }, n));
|
|
4220
|
+
}, Fi = (e = {}) => {
|
|
4264
4221
|
var t = e, {
|
|
4265
4222
|
locale: r = U()
|
|
4266
|
-
} = t, n =
|
|
4223
|
+
} = t, n = K(t, [
|
|
4267
4224
|
"locale"
|
|
4268
4225
|
]);
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4226
|
+
return Gi(qe({ locale: r }, n));
|
|
4227
|
+
}, ji = _e(
|
|
4271
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4272
|
-
(e, t = U()) => new
|
|
4273
|
-
ignoreTag:
|
|
4229
|
+
(e, t = U()) => new di(e, t, Q().formats, {
|
|
4230
|
+
ignoreTag: Q().ignoreTag
|
|
4274
4231
|
})
|
|
4275
|
-
),
|
|
4232
|
+
), ki = (e, t = {}) => {
|
|
4276
4233
|
var r, n, i, o;
|
|
4277
4234
|
let s = t;
|
|
4278
4235
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4285,9 +4242,9 @@ const ne = (e, t) => {
|
|
|
4285
4242
|
throw new Error(
|
|
4286
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4287
4244
|
);
|
|
4288
|
-
let l =
|
|
4245
|
+
let l = or(e, h);
|
|
4289
4246
|
if (!l)
|
|
4290
|
-
l = (o = (i = (n = (r =
|
|
4247
|
+
l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4291
4248
|
else if (typeof l != "string")
|
|
4292
4249
|
return console.warn(
|
|
4293
4250
|
`[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.`
|
|
@@ -4296,7 +4253,7 @@ const ne = (e, t) => {
|
|
|
4296
4253
|
return l;
|
|
4297
4254
|
let c = l;
|
|
4298
4255
|
try {
|
|
4299
|
-
c =
|
|
4256
|
+
c = ji(l, h).format(a);
|
|
4300
4257
|
} catch (f) {
|
|
4301
4258
|
f instanceof Error && console.warn(
|
|
4302
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4304,20 +4261,20 @@ const ne = (e, t) => {
|
|
|
4304
4261
|
);
|
|
4305
4262
|
}
|
|
4306
4263
|
return c;
|
|
4307
|
-
},
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
window.emWidgets = { topic:
|
|
4313
|
-
const
|
|
4314
|
-
function
|
|
4315
|
-
|
|
4316
|
-
}
|
|
4317
|
-
function
|
|
4318
|
-
|
|
4319
|
-
}
|
|
4320
|
-
const
|
|
4264
|
+
}, Vi = (e, t) => Fi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t) => Ui(t).format(e), zi = (e, t = U()) => or(e, t), Zi = Y([q, oe], () => ki);
|
|
4265
|
+
Y([q], () => Vi);
|
|
4266
|
+
Y([q], () => Xi);
|
|
4267
|
+
Y([q], () => Wi);
|
|
4268
|
+
Y([q, oe], () => zi);
|
|
4269
|
+
window.emWidgets = { topic: an };
|
|
4270
|
+
const Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
|
+
function Bt(e, t) {
|
|
4272
|
+
ar(e, t);
|
|
4273
|
+
}
|
|
4274
|
+
function Ji(e) {
|
|
4275
|
+
q.set(e);
|
|
4276
|
+
}
|
|
4277
|
+
const Ct = {
|
|
4321
4278
|
en: {
|
|
4322
4279
|
cancel: "Cancel",
|
|
4323
4280
|
confirm: "Confirm"
|
|
@@ -4363,13 +4320,13 @@ const It = {
|
|
|
4363
4320
|
confirm: "Confirm"
|
|
4364
4321
|
}
|
|
4365
4322
|
};
|
|
4366
|
-
function
|
|
4323
|
+
function Yi(e, t) {
|
|
4367
4324
|
if (e) {
|
|
4368
4325
|
const r = document.createElement("style");
|
|
4369
4326
|
r.innerHTML = t, e.appendChild(r);
|
|
4370
4327
|
}
|
|
4371
4328
|
}
|
|
4372
|
-
function
|
|
4329
|
+
function qi(e, t) {
|
|
4373
4330
|
const r = new URL(t);
|
|
4374
4331
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4375
4332
|
const i = document.createElement("style");
|
|
@@ -4378,7 +4335,7 @@ function no(e, t) {
|
|
|
4378
4335
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4379
4336
|
});
|
|
4380
4337
|
}
|
|
4381
|
-
function
|
|
4338
|
+
function Ki(e, t, r) {
|
|
4382
4339
|
if (window.emMessageBus) {
|
|
4383
4340
|
const n = document.createElement("style");
|
|
4384
4341
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4386,68 +4343,68 @@ function io(e, t, r) {
|
|
|
4386
4343
|
});
|
|
4387
4344
|
}
|
|
4388
4345
|
}
|
|
4389
|
-
function
|
|
4390
|
-
|
|
4346
|
+
function eo(e) {
|
|
4347
|
+
Hr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4391
4348
|
}
|
|
4392
|
-
const
|
|
4393
|
-
function
|
|
4349
|
+
const to = (e) => ({}), At = (e) => ({});
|
|
4350
|
+
function ro(e) {
|
|
4394
4351
|
let t, r;
|
|
4395
4352
|
return {
|
|
4396
4353
|
c() {
|
|
4397
|
-
t =
|
|
4354
|
+
t = ot("svg"), r = ot("path"), S(r, "stroke-linecap", "round"), S(r, "stroke-linejoin", "round"), S(r, "stroke-width", "2"), S(r, "d", "M6 18L18 6M6 6l12 12"), S(t, "class", "w-6 h-6"), S(t, "fill", "none"), S(t, "stroke", "currentColor"), S(t, "viewBox", "0 0 24 24"), S(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4398
4355
|
},
|
|
4399
4356
|
m(n, i) {
|
|
4400
|
-
|
|
4357
|
+
Je(n, t, i), B(t, r);
|
|
4401
4358
|
},
|
|
4402
|
-
p:
|
|
4359
|
+
p: I,
|
|
4403
4360
|
d(n) {
|
|
4404
|
-
n &&
|
|
4361
|
+
n && be(t);
|
|
4405
4362
|
}
|
|
4406
4363
|
};
|
|
4407
4364
|
}
|
|
4408
|
-
function
|
|
4365
|
+
function no(e) {
|
|
4409
4366
|
let t, r, n, i, o, s, a, h, u, l = (
|
|
4410
4367
|
/*$_*/
|
|
4411
4368
|
e[2]("cancel") + ""
|
|
4412
4369
|
), c, f, p, m = (
|
|
4413
4370
|
/*$_*/
|
|
4414
4371
|
e[2]("confirm") + ""
|
|
4415
|
-
),
|
|
4372
|
+
), v, E, A, P;
|
|
4416
4373
|
const T = (
|
|
4417
4374
|
/*#slots*/
|
|
4418
4375
|
e[14].close
|
|
4419
|
-
),
|
|
4376
|
+
), L = Er(
|
|
4420
4377
|
T,
|
|
4421
4378
|
e,
|
|
4422
4379
|
/*$$scope*/
|
|
4423
4380
|
e[13],
|
|
4424
|
-
|
|
4425
|
-
), w =
|
|
4381
|
+
At
|
|
4382
|
+
), w = L || ro();
|
|
4426
4383
|
return {
|
|
4427
4384
|
c() {
|
|
4428
|
-
t =
|
|
4385
|
+
t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = we(), o = M("div"), s = ue(
|
|
4429
4386
|
/*modaltext*/
|
|
4430
4387
|
e[0]
|
|
4431
|
-
), a =
|
|
4388
|
+
), a = we(), h = M("div"), u = M("button"), c = ue(l), f = we(), p = M("button"), v = ue(m), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(p, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4432
4389
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4433
4390
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4434
4391
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4435
4392
|
},
|
|
4436
|
-
m(
|
|
4437
|
-
|
|
4438
|
-
|
|
4393
|
+
m(_, C) {
|
|
4394
|
+
Je(_, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, v), e[15](t), E = !0, A || (P = [
|
|
4395
|
+
Se(
|
|
4439
4396
|
n,
|
|
4440
4397
|
"click",
|
|
4441
4398
|
/*close*/
|
|
4442
4399
|
e[4]
|
|
4443
4400
|
),
|
|
4444
|
-
|
|
4401
|
+
Se(
|
|
4445
4402
|
u,
|
|
4446
4403
|
"click",
|
|
4447
4404
|
/*cancelChanges*/
|
|
4448
4405
|
e[6]
|
|
4449
4406
|
),
|
|
4450
|
-
|
|
4407
|
+
Se(
|
|
4451
4408
|
p,
|
|
4452
4409
|
"click",
|
|
4453
4410
|
/*confirmChanges*/
|
|
@@ -4455,67 +4412,67 @@ function uo(e) {
|
|
|
4455
4412
|
)
|
|
4456
4413
|
], A = !0);
|
|
4457
4414
|
},
|
|
4458
|
-
p(
|
|
4459
|
-
|
|
4460
|
-
8192) &&
|
|
4461
|
-
|
|
4415
|
+
p(_, [C]) {
|
|
4416
|
+
L && L.p && (!E || C & /*$$scope*/
|
|
4417
|
+
8192) && Sr(
|
|
4418
|
+
L,
|
|
4462
4419
|
T,
|
|
4463
|
-
|
|
4420
|
+
_,
|
|
4464
4421
|
/*$$scope*/
|
|
4465
|
-
|
|
4466
|
-
E ?
|
|
4422
|
+
_[13],
|
|
4423
|
+
E ? wr(
|
|
4467
4424
|
T,
|
|
4468
4425
|
/*$$scope*/
|
|
4469
|
-
|
|
4426
|
+
_[13],
|
|
4470
4427
|
C,
|
|
4471
|
-
|
|
4472
|
-
) :
|
|
4428
|
+
to
|
|
4429
|
+
) : Tr(
|
|
4473
4430
|
/*$$scope*/
|
|
4474
|
-
|
|
4431
|
+
_[13]
|
|
4475
4432
|
),
|
|
4476
|
-
|
|
4433
|
+
At
|
|
4477
4434
|
), (!E || C & /*modaltext*/
|
|
4478
|
-
1) &&
|
|
4435
|
+
1) && Te(
|
|
4479
4436
|
s,
|
|
4480
4437
|
/*modaltext*/
|
|
4481
|
-
|
|
4438
|
+
_[0]
|
|
4482
4439
|
), (!E || C & /*$_*/
|
|
4483
4440
|
4) && l !== (l = /*$_*/
|
|
4484
|
-
|
|
4441
|
+
_[2]("cancel") + "") && Te(c, l), (!E || C & /*$_*/
|
|
4485
4442
|
4) && m !== (m = /*$_*/
|
|
4486
|
-
|
|
4443
|
+
_[2]("confirm") + "") && Te(v, m);
|
|
4487
4444
|
},
|
|
4488
|
-
i(
|
|
4489
|
-
E || (
|
|
4445
|
+
i(_) {
|
|
4446
|
+
E || (Mt(w, _), E = !0);
|
|
4490
4447
|
},
|
|
4491
|
-
o(
|
|
4492
|
-
|
|
4448
|
+
o(_) {
|
|
4449
|
+
Gr(w, _), E = !1;
|
|
4493
4450
|
},
|
|
4494
|
-
d(
|
|
4495
|
-
|
|
4451
|
+
d(_) {
|
|
4452
|
+
_ && be(t), w && w.d(_), e[15](null), A = !1, J(P);
|
|
4496
4453
|
}
|
|
4497
4454
|
};
|
|
4498
4455
|
}
|
|
4499
|
-
function
|
|
4456
|
+
function io(e, t, r) {
|
|
4500
4457
|
let n;
|
|
4501
|
-
|
|
4458
|
+
_r(e, Zi, (b) => r(2, n = b));
|
|
4502
4459
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4503
4460
|
const p = () => {
|
|
4504
4461
|
fetch(f).then((D) => D.json()).then((D) => {
|
|
4505
|
-
Object.keys(D).forEach((
|
|
4506
|
-
|
|
4462
|
+
Object.keys(D).forEach((Ke) => {
|
|
4463
|
+
Bt(Ke, D[Ke]);
|
|
4507
4464
|
});
|
|
4508
4465
|
}).catch((D) => {
|
|
4509
4466
|
console.log(D);
|
|
4510
4467
|
});
|
|
4511
4468
|
};
|
|
4512
|
-
Object.keys(
|
|
4513
|
-
|
|
4469
|
+
Object.keys(Ct).forEach((b) => {
|
|
4470
|
+
Bt(b, Ct[b]);
|
|
4514
4471
|
});
|
|
4515
|
-
let m,
|
|
4472
|
+
let m, v = window.navigator.userAgent, E = Qi(v) !== "PC", A = {}, P = "";
|
|
4516
4473
|
const T = () => {
|
|
4517
4474
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4518
|
-
},
|
|
4475
|
+
}, L = () => {
|
|
4519
4476
|
a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
|
|
4520
4477
|
{
|
|
4521
4478
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4526,21 +4483,21 @@ function ho(e, t, r) {
|
|
|
4526
4483
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4527
4484
|
}, w = () => {
|
|
4528
4485
|
a === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : a === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4529
|
-
},
|
|
4486
|
+
}, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
|
|
4530
4487
|
if (b.data)
|
|
4531
4488
|
switch (b.data.type) {
|
|
4532
4489
|
case "DeleteLimitsItem":
|
|
4533
|
-
A = b.data.removeData, P =
|
|
4490
|
+
A = b.data.removeData, P = _(b.data.removeName);
|
|
4534
4491
|
break;
|
|
4535
4492
|
}
|
|
4536
|
-
},
|
|
4537
|
-
|
|
4493
|
+
}, fr = () => {
|
|
4494
|
+
Ji(h);
|
|
4538
4495
|
};
|
|
4539
|
-
|
|
4496
|
+
Or(() => (window.addEventListener("message", C, !1), () => {
|
|
4540
4497
|
window.removeEventListener("message", C);
|
|
4541
4498
|
}));
|
|
4542
|
-
function
|
|
4543
|
-
|
|
4499
|
+
function mr(b) {
|
|
4500
|
+
Ie[b ? "unshift" : "push"](() => {
|
|
4544
4501
|
m = b, r(1, m);
|
|
4545
4502
|
});
|
|
4546
4503
|
}
|
|
@@ -4548,10 +4505,10 @@ function ho(e, t, r) {
|
|
|
4548
4505
|
"modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, c = b.mbsource), "translationurl" in b && r(12, f = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
|
|
4549
4506
|
}, e.$$.update = () => {
|
|
4550
4507
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4551
|
-
385 && s && a && h &&
|
|
4552
|
-
514 && u && m &&
|
|
4553
|
-
1026 && l && m &&
|
|
4554
|
-
2050 && c && m &&
|
|
4508
|
+
385 && s && a && h && fr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4509
|
+
514 && u && m && Yi(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4510
|
+
1026 && l && m && qi(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4511
|
+
2050 && c && m && Ki(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4555
4512
|
4096 && f && p();
|
|
4556
4513
|
}, [
|
|
4557
4514
|
s,
|
|
@@ -4559,7 +4516,7 @@ function ho(e, t, r) {
|
|
|
4559
4516
|
n,
|
|
4560
4517
|
E,
|
|
4561
4518
|
T,
|
|
4562
|
-
|
|
4519
|
+
L,
|
|
4563
4520
|
w,
|
|
4564
4521
|
a,
|
|
4565
4522
|
h,
|
|
@@ -4569,17 +4526,17 @@ function ho(e, t, r) {
|
|
|
4569
4526
|
f,
|
|
4570
4527
|
o,
|
|
4571
4528
|
i,
|
|
4572
|
-
|
|
4529
|
+
mr
|
|
4573
4530
|
];
|
|
4574
4531
|
}
|
|
4575
|
-
class
|
|
4532
|
+
class oo extends Vr {
|
|
4576
4533
|
constructor(t) {
|
|
4577
|
-
super(),
|
|
4534
|
+
super(), jr(
|
|
4578
4535
|
this,
|
|
4579
4536
|
t,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4537
|
+
io,
|
|
4538
|
+
no,
|
|
4539
|
+
Lt,
|
|
4583
4540
|
{
|
|
4584
4541
|
modaltext: 0,
|
|
4585
4542
|
modalsource: 7,
|
|
@@ -4589,53 +4546,53 @@ class lo extends Qr {
|
|
|
4589
4546
|
mbsource: 11,
|
|
4590
4547
|
translationurl: 12
|
|
4591
4548
|
},
|
|
4592
|
-
|
|
4549
|
+
eo
|
|
4593
4550
|
);
|
|
4594
4551
|
}
|
|
4595
4552
|
get modaltext() {
|
|
4596
4553
|
return this.$$.ctx[0];
|
|
4597
4554
|
}
|
|
4598
4555
|
set modaltext(t) {
|
|
4599
|
-
this.$$set({ modaltext: t }),
|
|
4556
|
+
this.$$set({ modaltext: t }), N();
|
|
4600
4557
|
}
|
|
4601
4558
|
get modalsource() {
|
|
4602
4559
|
return this.$$.ctx[7];
|
|
4603
4560
|
}
|
|
4604
4561
|
set modalsource(t) {
|
|
4605
|
-
this.$$set({ modalsource: t }),
|
|
4562
|
+
this.$$set({ modalsource: t }), N();
|
|
4606
4563
|
}
|
|
4607
4564
|
get lang() {
|
|
4608
4565
|
return this.$$.ctx[8];
|
|
4609
4566
|
}
|
|
4610
4567
|
set lang(t) {
|
|
4611
|
-
this.$$set({ lang: t }),
|
|
4568
|
+
this.$$set({ lang: t }), N();
|
|
4612
4569
|
}
|
|
4613
4570
|
get clientstyling() {
|
|
4614
4571
|
return this.$$.ctx[9];
|
|
4615
4572
|
}
|
|
4616
4573
|
set clientstyling(t) {
|
|
4617
|
-
this.$$set({ clientstyling: t }),
|
|
4574
|
+
this.$$set({ clientstyling: t }), N();
|
|
4618
4575
|
}
|
|
4619
4576
|
get clientstylingurl() {
|
|
4620
4577
|
return this.$$.ctx[10];
|
|
4621
4578
|
}
|
|
4622
4579
|
set clientstylingurl(t) {
|
|
4623
|
-
this.$$set({ clientstylingurl: t }),
|
|
4580
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4624
4581
|
}
|
|
4625
4582
|
get mbsource() {
|
|
4626
4583
|
return this.$$.ctx[11];
|
|
4627
4584
|
}
|
|
4628
4585
|
set mbsource(t) {
|
|
4629
|
-
this.$$set({ mbsource: t }),
|
|
4586
|
+
this.$$set({ mbsource: t }), N();
|
|
4630
4587
|
}
|
|
4631
4588
|
get translationurl() {
|
|
4632
4589
|
return this.$$.ctx[12];
|
|
4633
4590
|
}
|
|
4634
4591
|
set translationurl(t) {
|
|
4635
|
-
this.$$set({ translationurl: t }),
|
|
4592
|
+
this.$$set({ translationurl: t }), N();
|
|
4636
4593
|
}
|
|
4637
4594
|
}
|
|
4638
|
-
|
|
4595
|
+
kr(oo, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4639
4596
|
export {
|
|
4640
|
-
|
|
4597
|
+
oo as default
|
|
4641
4598
|
};
|