@everymatrix/player-account-gaming-limits-confirmation-modal 1.77.20 → 1.77.21
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-KpD2K9-u.js → PlayerAccountGamingLimitsConfirmationModal-BFEycNl5.js} +775 -732
- package/components/PlayerAccountGamingLimitsConfirmationModal-D-Dyivi3.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxE0zESi.js → PlayerAccountGamingLimitsConfirmationModal-DPTWXl6u.js} +759 -716
- 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-CIwDvjpF.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function I() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function mr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function ur(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function At(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function nt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function Z(e) {
|
|
18
|
+
e.forEach(At);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function qe(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Pt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function pr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Ot(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const n of t)
|
|
32
32
|
n(void 0);
|
|
33
|
-
return
|
|
33
|
+
return I;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function dr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Ot(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function br(e, t, r, n) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const i =
|
|
43
|
+
const i = Lt(e, t, r, n);
|
|
44
44
|
return e[0](i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && n ?
|
|
47
|
+
function Lt(e, t, r, n) {
|
|
48
|
+
return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function gr(e, t, r, n) {
|
|
51
51
|
if (e[2] && n) {
|
|
52
52
|
const i = e[2](n(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function fr(e, t, r, n) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function yr(e, t, r, n, i, o) {
|
|
66
66
|
if (i) {
|
|
67
|
-
const s =
|
|
67
|
+
const s = Lt(t, r, n, o);
|
|
68
68
|
e.p(s, i);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function vr(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let n = 0; n < r; n++)
|
|
@@ -80,14 +80,14 @@ function pr(e) {
|
|
|
80
80
|
function B(e, t) {
|
|
81
81
|
e.appendChild(t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
const n =
|
|
83
|
+
function xr(e, t, r) {
|
|
84
|
+
const n = _r(e);
|
|
85
85
|
if (!n.getElementById(t)) {
|
|
86
|
-
const i =
|
|
87
|
-
i.id = t, i.textContent = r,
|
|
86
|
+
const i = M("style");
|
|
87
|
+
i.id = t, i.textContent = r, Er(n, i);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function _r(e) {
|
|
91
91
|
if (!e)
|
|
92
92
|
return document;
|
|
93
93
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -97,45 +97,45 @@ function br(e) {
|
|
|
97
97
|
t
|
|
98
98
|
) : e.ownerDocument;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Er(e, t) {
|
|
101
101
|
return B(
|
|
102
102
|
/** @type {Document} */
|
|
103
103
|
e.head || e,
|
|
104
104
|
t
|
|
105
105
|
), t.sheet;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Ke(e, t, r) {
|
|
108
108
|
e.insertBefore(t, r || null);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function be(e) {
|
|
111
111
|
e.parentNode && e.parentNode.removeChild(e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function M(e) {
|
|
114
114
|
return document.createElement(e);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function it(e) {
|
|
117
117
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
118
118
|
}
|
|
119
119
|
function ae(e) {
|
|
120
120
|
return document.createTextNode(e);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function we() {
|
|
123
123
|
return ae(" ");
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Se(e, t, r, n) {
|
|
126
126
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
127
127
|
}
|
|
128
128
|
function S(e, t, r) {
|
|
129
129
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function wr(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Te(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Sr(e) {
|
|
139
139
|
const t = {};
|
|
140
140
|
return e.childNodes.forEach(
|
|
141
141
|
/** @param {Element} node */
|
|
@@ -144,105 +144,105 @@ function yr(e) {
|
|
|
144
144
|
}
|
|
145
145
|
), t;
|
|
146
146
|
}
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
147
|
+
let ee;
|
|
148
|
+
function K(e) {
|
|
149
|
+
ee = e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
if (!
|
|
151
|
+
function Tr() {
|
|
152
|
+
if (!ee)
|
|
153
153
|
throw new Error("Function called outside component initialization");
|
|
154
|
-
return
|
|
154
|
+
return ee;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
|
|
156
|
+
function Hr(e) {
|
|
157
|
+
Tr().$$.on_mount.push(e);
|
|
158
158
|
}
|
|
159
|
-
const j = [],
|
|
159
|
+
const j = [], Me = [];
|
|
160
160
|
let k = [];
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
function
|
|
164
|
-
|
|
161
|
+
const ot = [], Br = /* @__PURE__ */ Promise.resolve();
|
|
162
|
+
let Ne = !1;
|
|
163
|
+
function Cr() {
|
|
164
|
+
Ne || (Ne = !0, Br.then(N));
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function $e(e) {
|
|
167
167
|
k.push(e);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const He = /* @__PURE__ */ new Set();
|
|
170
170
|
let D = 0;
|
|
171
|
-
function
|
|
171
|
+
function N() {
|
|
172
172
|
if (D !== 0)
|
|
173
173
|
return;
|
|
174
|
-
const e =
|
|
174
|
+
const e = ee;
|
|
175
175
|
do {
|
|
176
176
|
try {
|
|
177
177
|
for (; D < j.length; ) {
|
|
178
178
|
const t = j[D];
|
|
179
|
-
D++,
|
|
179
|
+
D++, K(t), Ar(t.$$);
|
|
180
180
|
}
|
|
181
181
|
} catch (t) {
|
|
182
182
|
throw j.length = 0, D = 0, t;
|
|
183
183
|
}
|
|
184
|
-
for (
|
|
185
|
-
|
|
184
|
+
for (K(null), j.length = 0, D = 0; Me.length; )
|
|
185
|
+
Me.pop()();
|
|
186
186
|
for (let t = 0; t < k.length; t += 1) {
|
|
187
187
|
const r = k[t];
|
|
188
|
-
|
|
188
|
+
He.has(r) || (He.add(r), r());
|
|
189
189
|
}
|
|
190
190
|
k.length = 0;
|
|
191
191
|
} while (j.length);
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
for (; ot.length; )
|
|
193
|
+
ot.pop()();
|
|
194
|
+
Ne = !1, He.clear(), K(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Ar(e) {
|
|
197
197
|
if (e.fragment !== null) {
|
|
198
|
-
e.update(),
|
|
198
|
+
e.update(), Z(e.before_update);
|
|
199
199
|
const t = e.dirty;
|
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Pr(e) {
|
|
204
204
|
const t = [], r = [];
|
|
205
205
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
206
206
|
}
|
|
207
207
|
const ue = /* @__PURE__ */ new Set();
|
|
208
|
-
let
|
|
209
|
-
function
|
|
208
|
+
let Or;
|
|
209
|
+
function It(e, t) {
|
|
210
210
|
e && e.i && (ue.delete(e), e.i(t));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Lr(e, t, r, n) {
|
|
213
213
|
if (e && e.o) {
|
|
214
214
|
if (ue.has(e))
|
|
215
215
|
return;
|
|
216
|
-
ue.add(e),
|
|
216
|
+
ue.add(e), Or.c.push(() => {
|
|
217
217
|
ue.delete(e);
|
|
218
218
|
}), e.o(t);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Ir(e, t, r) {
|
|
222
222
|
const { fragment: n, after_update: i } = e.$$;
|
|
223
|
-
n && n.m(t, r),
|
|
224
|
-
const o = e.$$.on_mount.map(
|
|
225
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
226
|
-
}), i.forEach(
|
|
223
|
+
n && n.m(t, r), $e(() => {
|
|
224
|
+
const o = e.$$.on_mount.map(At).filter(qe);
|
|
225
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
|
|
226
|
+
}), i.forEach($e);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Mr(e, t) {
|
|
229
229
|
const r = e.$$;
|
|
230
|
-
r.fragment !== null && (
|
|
230
|
+
r.fragment !== null && (Pr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
232
|
+
function Nr(e, t) {
|
|
233
|
+
e.$$.dirty[0] === -1 && (j.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const h =
|
|
237
|
-
|
|
235
|
+
function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
236
|
+
const h = ee;
|
|
237
|
+
K(e);
|
|
238
238
|
const u = e.$$ = {
|
|
239
239
|
fragment: null,
|
|
240
240
|
ctx: [],
|
|
241
241
|
// state
|
|
242
242
|
props: o,
|
|
243
|
-
update:
|
|
243
|
+
update: I,
|
|
244
244
|
not_equal: i,
|
|
245
|
-
bound:
|
|
245
|
+
bound: nt(),
|
|
246
246
|
// lifecycle
|
|
247
247
|
on_mount: [],
|
|
248
248
|
on_destroy: [],
|
|
@@ -251,7 +251,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
251
|
after_update: [],
|
|
252
252
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
253
253
|
// everything else
|
|
254
|
-
callbacks:
|
|
254
|
+
callbacks: nt(),
|
|
255
255
|
dirty: a,
|
|
256
256
|
skip_bound: !1,
|
|
257
257
|
root: t.target || h.$$.root
|
|
@@ -260,19 +260,19 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
260
260
|
let l = !1;
|
|
261
261
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
262
262
|
const m = p.length ? p[0] : f;
|
|
263
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l &&
|
|
264
|
-
}) : [], u.update(), l = !0,
|
|
263
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Nr(e, c)), f;
|
|
264
|
+
}) : [], u.update(), l = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
265
265
|
if (t.hydrate) {
|
|
266
|
-
const c =
|
|
267
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
266
|
+
const c = wr(t.target);
|
|
267
|
+
u.fragment && u.fragment.l(c), c.forEach(be);
|
|
268
268
|
} else
|
|
269
269
|
u.fragment && u.fragment.c();
|
|
270
|
-
t.intro &&
|
|
270
|
+
t.intro && It(e.$$.fragment), Ir(e, t.target, t.anchor), N();
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
K(h);
|
|
273
273
|
}
|
|
274
|
-
let
|
|
275
|
-
typeof HTMLElement == "function" && (
|
|
274
|
+
let Mt;
|
|
275
|
+
typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
276
276
|
/** The Svelte component constructor */
|
|
277
277
|
$$ctor;
|
|
278
278
|
/** Slots */
|
|
@@ -314,24 +314,24 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
314
314
|
let o;
|
|
315
315
|
return {
|
|
316
316
|
c: function() {
|
|
317
|
-
o =
|
|
317
|
+
o = M("slot"), i !== "default" && S(o, "name", i);
|
|
318
318
|
},
|
|
319
319
|
/**
|
|
320
320
|
* @param {HTMLElement} target
|
|
321
321
|
* @param {HTMLElement} [anchor]
|
|
322
322
|
*/
|
|
323
323
|
m: function(h, u) {
|
|
324
|
-
|
|
324
|
+
Ke(h, o, u);
|
|
325
325
|
},
|
|
326
326
|
d: function(h) {
|
|
327
|
-
h &&
|
|
327
|
+
h && be(o);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
333
333
|
return;
|
|
334
|
-
const t = {}, r =
|
|
334
|
+
const t = {}, r = Sr(this);
|
|
335
335
|
for (const i of this.$$s)
|
|
336
336
|
i in r && (t[i] = [e(i)]);
|
|
337
337
|
for (const i of this.attributes) {
|
|
@@ -418,8 +418,8 @@ function he(e, t, r, n) {
|
|
|
418
418
|
return t;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
let s = class extends
|
|
421
|
+
function Rr(e, t, r, n, i, o) {
|
|
422
|
+
let s = class extends Mt {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(e, r, i), this.$$p_d = t;
|
|
425
425
|
}
|
|
@@ -447,7 +447,7 @@ function Or(e, t, r, n, i, o) {
|
|
|
447
447
|
}), e.element = /** @type {any} */
|
|
448
448
|
s, s;
|
|
449
449
|
}
|
|
450
|
-
class
|
|
450
|
+
class Gr {
|
|
451
451
|
/**
|
|
452
452
|
* ### PRIVATE API
|
|
453
453
|
*
|
|
@@ -466,7 +466,7 @@ class Ir {
|
|
|
466
466
|
$$set = void 0;
|
|
467
467
|
/** @returns {void} */
|
|
468
468
|
$destroy() {
|
|
469
|
-
|
|
469
|
+
Mr(this, 1), this.$destroy = I;
|
|
470
470
|
}
|
|
471
471
|
/**
|
|
472
472
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -475,8 +475,8 @@ class Ir {
|
|
|
475
475
|
* @returns {() => void}
|
|
476
476
|
*/
|
|
477
477
|
$on(t, r) {
|
|
478
|
-
if (!
|
|
479
|
-
return
|
|
478
|
+
if (!qe(r))
|
|
479
|
+
return I;
|
|
480
480
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
481
481
|
return n.push(r), () => {
|
|
482
482
|
const i = n.indexOf(r);
|
|
@@ -488,11 +488,11 @@ class Ir {
|
|
|
488
488
|
* @returns {void}
|
|
489
489
|
*/
|
|
490
490
|
$set(t) {
|
|
491
|
-
this.$$set && !
|
|
491
|
+
this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
const
|
|
495
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
494
|
+
const Ur = "4";
|
|
495
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
496
496
|
/*! *****************************************************************************
|
|
497
497
|
Copyright (c) Microsoft Corporation.
|
|
498
498
|
|
|
@@ -507,43 +507,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
507
507
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
508
508
|
PERFORMANCE OF THIS SOFTWARE.
|
|
509
509
|
***************************************************************************** */
|
|
510
|
-
var
|
|
511
|
-
return
|
|
510
|
+
var Re = function(e, t) {
|
|
511
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
512
512
|
r.__proto__ = n;
|
|
513
513
|
} || function(r, n) {
|
|
514
514
|
for (var i in n)
|
|
515
515
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
516
|
-
},
|
|
516
|
+
}, Re(e, t);
|
|
517
517
|
};
|
|
518
|
-
function
|
|
518
|
+
function ne(e, t) {
|
|
519
519
|
if (typeof t != "function" && t !== null)
|
|
520
520
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
521
|
-
|
|
521
|
+
Re(e, t);
|
|
522
522
|
function r() {
|
|
523
523
|
this.constructor = e;
|
|
524
524
|
}
|
|
525
525
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
526
526
|
}
|
|
527
|
-
|
|
528
|
-
return y = Object.assign || function(t) {
|
|
529
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
530
|
-
r = arguments[n];
|
|
531
|
-
for (var o in r)
|
|
532
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
533
|
-
}
|
|
534
|
-
return t;
|
|
535
|
-
}, y.apply(this, arguments);
|
|
536
|
-
};
|
|
537
|
-
function Nr(e, t) {
|
|
538
|
-
var r = {};
|
|
539
|
-
for (var n in e)
|
|
540
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
541
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
542
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
543
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
544
|
-
return r;
|
|
545
|
-
}
|
|
546
|
-
function Ne(e) {
|
|
527
|
+
function Ge(e) {
|
|
547
528
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
548
529
|
if (r)
|
|
549
530
|
return r.call(e);
|
|
@@ -555,7 +536,7 @@ function Ne(e) {
|
|
|
555
536
|
};
|
|
556
537
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
557
538
|
}
|
|
558
|
-
function
|
|
539
|
+
function Ue(e, t) {
|
|
559
540
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
560
541
|
if (!r)
|
|
561
542
|
return e;
|
|
@@ -575,22 +556,22 @@ function Re(e, t) {
|
|
|
575
556
|
}
|
|
576
557
|
return o;
|
|
577
558
|
}
|
|
578
|
-
function
|
|
579
|
-
if (
|
|
559
|
+
function De(e, t, r) {
|
|
560
|
+
if (arguments.length === 2)
|
|
580
561
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
581
562
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
582
563
|
return e.concat(o || t);
|
|
583
564
|
}
|
|
584
|
-
function
|
|
565
|
+
function $(e) {
|
|
585
566
|
return typeof e == "function";
|
|
586
567
|
}
|
|
587
|
-
function
|
|
568
|
+
function Nt(e) {
|
|
588
569
|
var t = function(n) {
|
|
589
570
|
Error.call(n), n.stack = new Error().stack;
|
|
590
571
|
}, r = e(t);
|
|
591
572
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
592
573
|
}
|
|
593
|
-
var
|
|
574
|
+
var Be = Nt(function(e) {
|
|
594
575
|
return function(r) {
|
|
595
576
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
596
577
|
` + r.map(function(n, i) {
|
|
@@ -599,13 +580,13 @@ var Te = Pt(function(e) {
|
|
|
599
580
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
600
581
|
};
|
|
601
582
|
});
|
|
602
|
-
function
|
|
583
|
+
function Fe(e, t) {
|
|
603
584
|
if (e) {
|
|
604
585
|
var r = e.indexOf(t);
|
|
605
586
|
0 <= r && e.splice(r, 1);
|
|
606
587
|
}
|
|
607
588
|
}
|
|
608
|
-
var
|
|
589
|
+
var ge = function() {
|
|
609
590
|
function e(t) {
|
|
610
591
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
611
592
|
}
|
|
@@ -617,12 +598,12 @@ var be = function() {
|
|
|
617
598
|
if (s)
|
|
618
599
|
if (this._parentage = null, Array.isArray(s))
|
|
619
600
|
try {
|
|
620
|
-
for (var a =
|
|
601
|
+
for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
|
|
621
602
|
var u = h.value;
|
|
622
603
|
u.remove(this);
|
|
623
604
|
}
|
|
624
|
-
} catch (
|
|
625
|
-
t = { error:
|
|
605
|
+
} catch (y) {
|
|
606
|
+
t = { error: y };
|
|
626
607
|
} finally {
|
|
627
608
|
try {
|
|
628
609
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -634,26 +615,26 @@ var be = function() {
|
|
|
634
615
|
else
|
|
635
616
|
s.remove(this);
|
|
636
617
|
var l = this.initialTeardown;
|
|
637
|
-
if (
|
|
618
|
+
if ($(l))
|
|
638
619
|
try {
|
|
639
620
|
l();
|
|
640
|
-
} catch (
|
|
641
|
-
o =
|
|
621
|
+
} catch (y) {
|
|
622
|
+
o = y instanceof Be ? y.errors : [y];
|
|
642
623
|
}
|
|
643
624
|
var c = this._finalizers;
|
|
644
625
|
if (c) {
|
|
645
626
|
this._finalizers = null;
|
|
646
627
|
try {
|
|
647
|
-
for (var f =
|
|
628
|
+
for (var f = Ge(c), p = f.next(); !p.done; p = f.next()) {
|
|
648
629
|
var m = p.value;
|
|
649
630
|
try {
|
|
650
|
-
|
|
651
|
-
} catch (
|
|
652
|
-
o = o ?? [],
|
|
631
|
+
st(m);
|
|
632
|
+
} catch (y) {
|
|
633
|
+
o = o ?? [], y instanceof Be ? o = De(De([], Ue(o)), Ue(y.errors)) : o.push(y);
|
|
653
634
|
}
|
|
654
635
|
}
|
|
655
|
-
} catch (
|
|
656
|
-
n = { error:
|
|
636
|
+
} catch (y) {
|
|
637
|
+
n = { error: y };
|
|
657
638
|
} finally {
|
|
658
639
|
try {
|
|
659
640
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -664,13 +645,13 @@ var be = function() {
|
|
|
664
645
|
}
|
|
665
646
|
}
|
|
666
647
|
if (o)
|
|
667
|
-
throw new
|
|
648
|
+
throw new Be(o);
|
|
668
649
|
}
|
|
669
650
|
}, e.prototype.add = function(t) {
|
|
670
651
|
var r;
|
|
671
652
|
if (t && t !== this)
|
|
672
653
|
if (this.closed)
|
|
673
|
-
|
|
654
|
+
st(t);
|
|
674
655
|
else {
|
|
675
656
|
if (t instanceof e) {
|
|
676
657
|
if (t.closed || t._hasParent(this))
|
|
@@ -687,52 +668,52 @@ var be = function() {
|
|
|
687
668
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
688
669
|
}, e.prototype._removeParent = function(t) {
|
|
689
670
|
var r = this._parentage;
|
|
690
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
671
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
691
672
|
}, e.prototype.remove = function(t) {
|
|
692
673
|
var r = this._finalizers;
|
|
693
|
-
r &&
|
|
674
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
694
675
|
}, e.EMPTY = function() {
|
|
695
676
|
var t = new e();
|
|
696
677
|
return t.closed = !0, t;
|
|
697
678
|
}(), e;
|
|
698
|
-
}(),
|
|
699
|
-
function
|
|
700
|
-
return e instanceof
|
|
679
|
+
}(), $t = ge.EMPTY;
|
|
680
|
+
function Rt(e) {
|
|
681
|
+
return e instanceof ge || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
701
682
|
}
|
|
702
|
-
function
|
|
703
|
-
|
|
683
|
+
function st(e) {
|
|
684
|
+
$(e) ? e() : e.unsubscribe();
|
|
704
685
|
}
|
|
705
|
-
var
|
|
686
|
+
var Dr = {
|
|
706
687
|
Promise: void 0
|
|
707
|
-
},
|
|
688
|
+
}, Fr = {
|
|
708
689
|
setTimeout: function(e, t) {
|
|
709
690
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
710
691
|
r[n - 2] = arguments[n];
|
|
711
|
-
return setTimeout.apply(void 0,
|
|
692
|
+
return setTimeout.apply(void 0, De([e, t], Ue(r)));
|
|
712
693
|
},
|
|
713
694
|
clearTimeout: function(e) {
|
|
714
695
|
return clearTimeout(e);
|
|
715
696
|
},
|
|
716
697
|
delegate: void 0
|
|
717
698
|
};
|
|
718
|
-
function
|
|
719
|
-
|
|
699
|
+
function jr(e) {
|
|
700
|
+
Fr.setTimeout(function() {
|
|
720
701
|
throw e;
|
|
721
702
|
});
|
|
722
703
|
}
|
|
723
|
-
function
|
|
704
|
+
function at() {
|
|
724
705
|
}
|
|
725
706
|
function le(e) {
|
|
726
707
|
e();
|
|
727
708
|
}
|
|
728
|
-
var
|
|
729
|
-
|
|
709
|
+
var Gt = function(e) {
|
|
710
|
+
ne(t, e);
|
|
730
711
|
function t(r) {
|
|
731
712
|
var n = e.call(this) || this;
|
|
732
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
713
|
+
return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Xr, n;
|
|
733
714
|
}
|
|
734
715
|
return t.create = function(r, n, i) {
|
|
735
|
-
return new
|
|
716
|
+
return new je(r, n, i);
|
|
736
717
|
}, t.prototype.next = function(r) {
|
|
737
718
|
this.isStopped || this._next(r);
|
|
738
719
|
}, t.prototype.error = function(r) {
|
|
@@ -756,7 +737,7 @@ var It = function(e) {
|
|
|
756
737
|
this.unsubscribe();
|
|
757
738
|
}
|
|
758
739
|
}, t;
|
|
759
|
-
}(
|
|
740
|
+
}(ge), kr = function() {
|
|
760
741
|
function e(t) {
|
|
761
742
|
this.partialObserver = t;
|
|
762
743
|
}
|
|
@@ -787,43 +768,43 @@ var It = function(e) {
|
|
|
787
768
|
oe(r);
|
|
788
769
|
}
|
|
789
770
|
}, e;
|
|
790
|
-
}(),
|
|
791
|
-
|
|
771
|
+
}(), je = function(e) {
|
|
772
|
+
ne(t, e);
|
|
792
773
|
function t(r, n, i) {
|
|
793
774
|
var o = e.call(this) || this, s;
|
|
794
|
-
return
|
|
775
|
+
return $(r) || !r ? s = {
|
|
795
776
|
next: r ?? void 0,
|
|
796
777
|
error: n ?? void 0,
|
|
797
778
|
complete: i ?? void 0
|
|
798
|
-
} : s = r, o.destination = new
|
|
779
|
+
} : s = r, o.destination = new kr(s), o;
|
|
799
780
|
}
|
|
800
781
|
return t;
|
|
801
|
-
}(
|
|
782
|
+
}(Gt);
|
|
802
783
|
function oe(e) {
|
|
803
|
-
|
|
784
|
+
jr(e);
|
|
804
785
|
}
|
|
805
|
-
function
|
|
786
|
+
function Vr(e) {
|
|
806
787
|
throw e;
|
|
807
788
|
}
|
|
808
|
-
var
|
|
789
|
+
var Xr = {
|
|
809
790
|
closed: !0,
|
|
810
|
-
next:
|
|
811
|
-
error:
|
|
812
|
-
complete:
|
|
813
|
-
},
|
|
791
|
+
next: at,
|
|
792
|
+
error: Vr,
|
|
793
|
+
complete: at
|
|
794
|
+
}, Wr = function() {
|
|
814
795
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
815
796
|
}();
|
|
816
|
-
function
|
|
797
|
+
function zr(e) {
|
|
817
798
|
return e;
|
|
818
799
|
}
|
|
819
|
-
function
|
|
820
|
-
return e.length === 0 ?
|
|
800
|
+
function Zr(e) {
|
|
801
|
+
return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
|
|
821
802
|
return e.reduce(function(n, i) {
|
|
822
803
|
return i(n);
|
|
823
804
|
}, r);
|
|
824
805
|
};
|
|
825
806
|
}
|
|
826
|
-
var
|
|
807
|
+
var ut = function() {
|
|
827
808
|
function e(t) {
|
|
828
809
|
t && (this._subscribe = t);
|
|
829
810
|
}
|
|
@@ -831,7 +812,7 @@ var nt = function() {
|
|
|
831
812
|
var r = new e();
|
|
832
813
|
return r.source = this, r.operator = t, r;
|
|
833
814
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
834
|
-
var i = this, o =
|
|
815
|
+
var i = this, o = Jr(t) ? t : new je(t, r, n);
|
|
835
816
|
return le(function() {
|
|
836
817
|
var s = i, a = s.operator, h = s.source;
|
|
837
818
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -844,8 +825,8 @@ var nt = function() {
|
|
|
844
825
|
}
|
|
845
826
|
}, e.prototype.forEach = function(t, r) {
|
|
846
827
|
var n = this;
|
|
847
|
-
return r =
|
|
848
|
-
var s = new
|
|
828
|
+
return r = ht(r), new r(function(i, o) {
|
|
829
|
+
var s = new je({
|
|
849
830
|
next: function(a) {
|
|
850
831
|
try {
|
|
851
832
|
t(a);
|
|
@@ -861,15 +842,15 @@ var nt = function() {
|
|
|
861
842
|
}, e.prototype._subscribe = function(t) {
|
|
862
843
|
var r;
|
|
863
844
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
864
|
-
}, e.prototype[
|
|
845
|
+
}, e.prototype[Wr] = function() {
|
|
865
846
|
return this;
|
|
866
847
|
}, e.prototype.pipe = function() {
|
|
867
848
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
868
849
|
t[r] = arguments[r];
|
|
869
|
-
return
|
|
850
|
+
return Zr(t)(this);
|
|
870
851
|
}, e.prototype.toPromise = function(t) {
|
|
871
852
|
var r = this;
|
|
872
|
-
return t =
|
|
853
|
+
return t = ht(t), new t(function(n, i) {
|
|
873
854
|
var o;
|
|
874
855
|
r.subscribe(function(s) {
|
|
875
856
|
return o = s;
|
|
@@ -883,32 +864,32 @@ var nt = function() {
|
|
|
883
864
|
return new e(t);
|
|
884
865
|
}, e;
|
|
885
866
|
}();
|
|
886
|
-
function
|
|
867
|
+
function ht(e) {
|
|
887
868
|
var t;
|
|
888
|
-
return (t = e ??
|
|
869
|
+
return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
889
870
|
}
|
|
890
|
-
function
|
|
891
|
-
return e &&
|
|
871
|
+
function Qr(e) {
|
|
872
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
892
873
|
}
|
|
893
|
-
function
|
|
894
|
-
return e && e instanceof
|
|
874
|
+
function Jr(e) {
|
|
875
|
+
return e && e instanceof Gt || Qr(e) && Rt(e);
|
|
895
876
|
}
|
|
896
|
-
var
|
|
877
|
+
var Yr = Nt(function(e) {
|
|
897
878
|
return function() {
|
|
898
879
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
899
880
|
};
|
|
900
|
-
}),
|
|
901
|
-
|
|
881
|
+
}), Ut = function(e) {
|
|
882
|
+
ne(t, e);
|
|
902
883
|
function t() {
|
|
903
884
|
var r = e.call(this) || this;
|
|
904
885
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
905
886
|
}
|
|
906
887
|
return t.prototype.lift = function(r) {
|
|
907
|
-
var n = new
|
|
888
|
+
var n = new lt(this, this);
|
|
908
889
|
return n.operator = r, n;
|
|
909
890
|
}, t.prototype._throwIfClosed = function() {
|
|
910
891
|
if (this.closed)
|
|
911
|
-
throw new
|
|
892
|
+
throw new Yr();
|
|
912
893
|
}, t.prototype.next = function(r) {
|
|
913
894
|
var n = this;
|
|
914
895
|
le(function() {
|
|
@@ -916,7 +897,7 @@ var zr = Pt(function(e) {
|
|
|
916
897
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
917
898
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
918
899
|
try {
|
|
919
|
-
for (var s =
|
|
900
|
+
for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
920
901
|
var h = a.value;
|
|
921
902
|
h.next(r);
|
|
922
903
|
}
|
|
@@ -965,20 +946,20 @@ var zr = Pt(function(e) {
|
|
|
965
946
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
966
947
|
}, t.prototype._innerSubscribe = function(r) {
|
|
967
948
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
968
|
-
return o || s ?
|
|
969
|
-
n.currentObservers = null,
|
|
949
|
+
return o || s ? $t : (this.currentObservers = null, a.push(r), new ge(function() {
|
|
950
|
+
n.currentObservers = null, Fe(a, r);
|
|
970
951
|
}));
|
|
971
952
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
972
953
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
973
954
|
i ? r.error(o) : s && r.complete();
|
|
974
955
|
}, t.prototype.asObservable = function() {
|
|
975
|
-
var r = new
|
|
956
|
+
var r = new ut();
|
|
976
957
|
return r.source = this, r;
|
|
977
958
|
}, t.create = function(r, n) {
|
|
978
|
-
return new
|
|
959
|
+
return new lt(r, n);
|
|
979
960
|
}, t;
|
|
980
|
-
}(
|
|
981
|
-
|
|
961
|
+
}(ut), lt = function(e) {
|
|
962
|
+
ne(t, e);
|
|
982
963
|
function t(r, n) {
|
|
983
964
|
var i = e.call(this) || this;
|
|
984
965
|
return i.destination = r, i.source = n, i;
|
|
@@ -994,17 +975,17 @@ var zr = Pt(function(e) {
|
|
|
994
975
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
995
976
|
}, t.prototype._subscribe = function(r) {
|
|
996
977
|
var n, i;
|
|
997
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
978
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
998
979
|
}, t;
|
|
999
|
-
}(
|
|
980
|
+
}(Ut), Dt = {
|
|
1000
981
|
now: function() {
|
|
1001
|
-
return (
|
|
982
|
+
return (Dt.delegate || Date).now();
|
|
1002
983
|
},
|
|
1003
984
|
delegate: void 0
|
|
1004
|
-
},
|
|
1005
|
-
|
|
985
|
+
}, qr = function(e) {
|
|
986
|
+
ne(t, e);
|
|
1006
987
|
function t(r, n, i) {
|
|
1007
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
988
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
1008
989
|
var o = e.call(this) || this;
|
|
1009
990
|
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;
|
|
1010
991
|
}
|
|
@@ -1024,24 +1005,24 @@ var zr = Pt(function(e) {
|
|
|
1024
1005
|
u && o.splice(0, u + 1);
|
|
1025
1006
|
}
|
|
1026
1007
|
}, t;
|
|
1027
|
-
}(
|
|
1028
|
-
const
|
|
1029
|
-
if (
|
|
1030
|
-
const r = new
|
|
1031
|
-
|
|
1008
|
+
}(Ut);
|
|
1009
|
+
const ct = [], ft = {}, Kr = (e, t = 0) => {
|
|
1010
|
+
if (ct.indexOf(e) == -1) {
|
|
1011
|
+
const r = new qr(t);
|
|
1012
|
+
ft[e] = r, ct.push(e);
|
|
1032
1013
|
}
|
|
1033
|
-
return
|
|
1014
|
+
return ft[e];
|
|
1034
1015
|
}, F = [];
|
|
1035
|
-
function
|
|
1016
|
+
function en(e, t) {
|
|
1036
1017
|
return {
|
|
1037
|
-
subscribe:
|
|
1018
|
+
subscribe: ye(e, t).subscribe
|
|
1038
1019
|
};
|
|
1039
1020
|
}
|
|
1040
|
-
function
|
|
1021
|
+
function ye(e, t = I) {
|
|
1041
1022
|
let r;
|
|
1042
1023
|
const n = /* @__PURE__ */ new Set();
|
|
1043
1024
|
function i(a) {
|
|
1044
|
-
if (
|
|
1025
|
+
if (Pt(e, a) && (e = a, r)) {
|
|
1045
1026
|
const h = !F.length;
|
|
1046
1027
|
for (const u of n)
|
|
1047
1028
|
u[1](), F.push(u, e);
|
|
@@ -1055,150 +1036,192 @@ function ge(e, t = O) {
|
|
|
1055
1036
|
function o(a) {
|
|
1056
1037
|
i(a(e));
|
|
1057
1038
|
}
|
|
1058
|
-
function s(a, h =
|
|
1039
|
+
function s(a, h = I) {
|
|
1059
1040
|
const u = [a, h];
|
|
1060
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1041
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
|
1061
1042
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1062
1043
|
};
|
|
1063
1044
|
}
|
|
1064
1045
|
return { set: i, update: o, subscribe: s };
|
|
1065
1046
|
}
|
|
1066
|
-
function
|
|
1047
|
+
function Q(e, t, r) {
|
|
1067
1048
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1068
1049
|
if (!i.every(Boolean))
|
|
1069
1050
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1070
1051
|
const o = t.length < 2;
|
|
1071
|
-
return
|
|
1052
|
+
return en(r, (s, a) => {
|
|
1072
1053
|
let h = !1;
|
|
1073
1054
|
const u = [];
|
|
1074
|
-
let l = 0, c =
|
|
1055
|
+
let l = 0, c = I;
|
|
1075
1056
|
const f = () => {
|
|
1076
1057
|
if (l)
|
|
1077
1058
|
return;
|
|
1078
1059
|
c();
|
|
1079
1060
|
const m = t(n ? u[0] : u, s, a);
|
|
1080
|
-
o ? s(m) : c =
|
|
1061
|
+
o ? s(m) : c = qe(m) ? m : I;
|
|
1081
1062
|
}, p = i.map(
|
|
1082
|
-
(m,
|
|
1063
|
+
(m, y) => Ot(
|
|
1083
1064
|
m,
|
|
1084
1065
|
(E) => {
|
|
1085
|
-
u[
|
|
1066
|
+
u[y] = E, l &= ~(1 << y), h && f();
|
|
1086
1067
|
},
|
|
1087
1068
|
() => {
|
|
1088
|
-
l |= 1 <<
|
|
1069
|
+
l |= 1 << y;
|
|
1089
1070
|
}
|
|
1090
1071
|
)
|
|
1091
1072
|
);
|
|
1092
1073
|
return h = !0, f(), function() {
|
|
1093
|
-
|
|
1074
|
+
Z(p), c(), h = !1;
|
|
1094
1075
|
};
|
|
1095
1076
|
});
|
|
1096
1077
|
}
|
|
1097
|
-
function
|
|
1078
|
+
function tn(e) {
|
|
1098
1079
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1099
1080
|
}
|
|
1100
|
-
var
|
|
1101
|
-
return
|
|
1081
|
+
var rn = function(t) {
|
|
1082
|
+
return nn(t) && !on(t);
|
|
1102
1083
|
};
|
|
1103
|
-
function
|
|
1084
|
+
function nn(e) {
|
|
1104
1085
|
return !!e && typeof e == "object";
|
|
1105
1086
|
}
|
|
1106
|
-
function
|
|
1087
|
+
function on(e) {
|
|
1107
1088
|
var t = Object.prototype.toString.call(e);
|
|
1108
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1089
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
1109
1090
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1112
|
-
return e.$$typeof ===
|
|
1091
|
+
var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
|
|
1092
|
+
function un(e) {
|
|
1093
|
+
return e.$$typeof === an;
|
|
1113
1094
|
}
|
|
1114
|
-
function
|
|
1095
|
+
function hn(e) {
|
|
1115
1096
|
return Array.isArray(e) ? [] : {};
|
|
1116
1097
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1098
|
+
function te(e, t) {
|
|
1099
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(hn(e), e, t) : e;
|
|
1119
1100
|
}
|
|
1120
|
-
function
|
|
1101
|
+
function ln(e, t, r) {
|
|
1121
1102
|
return e.concat(t).map(function(n) {
|
|
1122
|
-
return
|
|
1103
|
+
return te(n, r);
|
|
1123
1104
|
});
|
|
1124
1105
|
}
|
|
1125
|
-
function
|
|
1106
|
+
function cn(e, t) {
|
|
1126
1107
|
if (!t.customMerge)
|
|
1127
|
-
return
|
|
1108
|
+
return V;
|
|
1128
1109
|
var r = t.customMerge(e);
|
|
1129
|
-
return typeof r == "function" ? r :
|
|
1110
|
+
return typeof r == "function" ? r : V;
|
|
1130
1111
|
}
|
|
1131
|
-
function
|
|
1112
|
+
function fn(e) {
|
|
1132
1113
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1133
1114
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1134
1115
|
}) : [];
|
|
1135
1116
|
}
|
|
1136
|
-
function
|
|
1137
|
-
return Object.keys(e).concat(
|
|
1117
|
+
function mt(e) {
|
|
1118
|
+
return Object.keys(e).concat(fn(e));
|
|
1138
1119
|
}
|
|
1139
|
-
function
|
|
1120
|
+
function Ft(e, t) {
|
|
1140
1121
|
try {
|
|
1141
1122
|
return t in e;
|
|
1142
1123
|
} catch {
|
|
1143
1124
|
return !1;
|
|
1144
1125
|
}
|
|
1145
1126
|
}
|
|
1146
|
-
function
|
|
1147
|
-
return
|
|
1127
|
+
function mn(e, t) {
|
|
1128
|
+
return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1148
1129
|
}
|
|
1149
|
-
function
|
|
1130
|
+
function pn(e, t, r) {
|
|
1150
1131
|
var n = {};
|
|
1151
|
-
return r.isMergeableObject(e) &&
|
|
1152
|
-
n[i] =
|
|
1153
|
-
}),
|
|
1154
|
-
|
|
1132
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1133
|
+
n[i] = te(e[i], r);
|
|
1134
|
+
}), mt(t).forEach(function(i) {
|
|
1135
|
+
mn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1155
1136
|
}), n;
|
|
1156
1137
|
}
|
|
1157
|
-
function
|
|
1158
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1138
|
+
function V(e, t, r) {
|
|
1139
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = te;
|
|
1159
1140
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1160
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1141
|
+
return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : te(t, r);
|
|
1161
1142
|
}
|
|
1162
|
-
|
|
1143
|
+
V.all = function(t, r) {
|
|
1163
1144
|
if (!Array.isArray(t))
|
|
1164
1145
|
throw new Error("first argument should be an array");
|
|
1165
1146
|
return t.reduce(function(n, i) {
|
|
1166
|
-
return
|
|
1147
|
+
return V(n, i, r);
|
|
1167
1148
|
}, {});
|
|
1168
1149
|
};
|
|
1169
|
-
var
|
|
1170
|
-
const
|
|
1171
|
-
function
|
|
1172
|
-
|
|
1150
|
+
var dn = V, bn = dn;
|
|
1151
|
+
const gn = /* @__PURE__ */ tn(bn);
|
|
1152
|
+
var ke = function(e, t) {
|
|
1153
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1154
|
+
r.__proto__ = n;
|
|
1155
|
+
} || function(r, n) {
|
|
1156
|
+
for (var i in n)
|
|
1157
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1158
|
+
}, ke(e, t);
|
|
1159
|
+
};
|
|
1160
|
+
function ve(e, t) {
|
|
1161
|
+
if (typeof t != "function" && t !== null)
|
|
1162
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1163
|
+
ke(e, t);
|
|
1164
|
+
function r() {
|
|
1165
|
+
this.constructor = e;
|
|
1166
|
+
}
|
|
1167
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1168
|
+
}
|
|
1169
|
+
var L = function() {
|
|
1170
|
+
return L = Object.assign || function(t) {
|
|
1171
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1172
|
+
r = arguments[n];
|
|
1173
|
+
for (var o in r)
|
|
1174
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1175
|
+
}
|
|
1176
|
+
return t;
|
|
1177
|
+
}, L.apply(this, arguments);
|
|
1178
|
+
};
|
|
1179
|
+
function yn(e, t) {
|
|
1180
|
+
var r = {};
|
|
1181
|
+
for (var n in e)
|
|
1182
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1183
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1184
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1185
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1186
|
+
return r;
|
|
1187
|
+
}
|
|
1188
|
+
function Ce(e, t, r) {
|
|
1189
|
+
if (r || arguments.length === 2)
|
|
1190
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1191
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1192
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1193
|
+
}
|
|
1194
|
+
function Ae(e, t) {
|
|
1195
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
|
|
1173
1196
|
return i(e, {
|
|
1174
1197
|
cache: r,
|
|
1175
1198
|
serializer: n
|
|
1176
1199
|
});
|
|
1177
1200
|
}
|
|
1178
|
-
function
|
|
1201
|
+
function vn(e) {
|
|
1179
1202
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1180
1203
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var i =
|
|
1204
|
+
function xn(e, t, r, n) {
|
|
1205
|
+
var i = vn(n) ? n : r(n), o = t.get(i);
|
|
1183
1206
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1184
1207
|
}
|
|
1185
|
-
function
|
|
1208
|
+
function jt(e, t, r) {
|
|
1186
1209
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1187
1210
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1188
1211
|
}
|
|
1189
|
-
function
|
|
1212
|
+
function kt(e, t, r, n, i) {
|
|
1190
1213
|
return r.bind(t, e, n, i);
|
|
1191
1214
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var r = e.length === 1 ?
|
|
1194
|
-
return
|
|
1215
|
+
function _n(e, t) {
|
|
1216
|
+
var r = e.length === 1 ? xn : jt;
|
|
1217
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1195
1218
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1219
|
+
function En(e, t) {
|
|
1220
|
+
return kt(e, this, jt, t.cache.create(), t.serializer);
|
|
1198
1221
|
}
|
|
1199
|
-
var
|
|
1222
|
+
var wn = function() {
|
|
1200
1223
|
return JSON.stringify(arguments);
|
|
1201
|
-
},
|
|
1224
|
+
}, Sn = (
|
|
1202
1225
|
/** @class */
|
|
1203
1226
|
function() {
|
|
1204
1227
|
function e() {
|
|
@@ -1210,61 +1233,71 @@ var vn = function() {
|
|
|
1210
1233
|
this.cache[t] = r;
|
|
1211
1234
|
}, e;
|
|
1212
1235
|
}()
|
|
1213
|
-
),
|
|
1236
|
+
), Tn = {
|
|
1214
1237
|
create: function() {
|
|
1215
|
-
return new
|
|
1238
|
+
return new Sn();
|
|
1216
1239
|
}
|
|
1217
|
-
},
|
|
1218
|
-
variadic:
|
|
1219
|
-
},
|
|
1240
|
+
}, Pe = {
|
|
1241
|
+
variadic: En
|
|
1242
|
+
}, me = function() {
|
|
1243
|
+
return me = Object.assign || function(t) {
|
|
1244
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1245
|
+
r = arguments[n];
|
|
1246
|
+
for (var o in r)
|
|
1247
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1248
|
+
}
|
|
1249
|
+
return t;
|
|
1250
|
+
}, me.apply(this, arguments);
|
|
1251
|
+
};
|
|
1252
|
+
var d;
|
|
1220
1253
|
(function(e) {
|
|
1221
1254
|
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";
|
|
1222
1255
|
})(d || (d = {}));
|
|
1223
|
-
var
|
|
1256
|
+
var v;
|
|
1224
1257
|
(function(e) {
|
|
1225
1258
|
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";
|
|
1226
|
-
})(
|
|
1227
|
-
var
|
|
1259
|
+
})(v || (v = {}));
|
|
1260
|
+
var X;
|
|
1228
1261
|
(function(e) {
|
|
1229
1262
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1230
|
-
})(
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1263
|
+
})(X || (X = {}));
|
|
1264
|
+
function pt(e) {
|
|
1265
|
+
return e.type === v.literal;
|
|
1233
1266
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return e.type ===
|
|
1267
|
+
function Hn(e) {
|
|
1268
|
+
return e.type === v.argument;
|
|
1236
1269
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1270
|
+
function Vt(e) {
|
|
1271
|
+
return e.type === v.number;
|
|
1239
1272
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return e.type ===
|
|
1273
|
+
function Xt(e) {
|
|
1274
|
+
return e.type === v.date;
|
|
1242
1275
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return e.type ===
|
|
1276
|
+
function Wt(e) {
|
|
1277
|
+
return e.type === v.time;
|
|
1245
1278
|
}
|
|
1246
|
-
function
|
|
1247
|
-
return e.type ===
|
|
1279
|
+
function zt(e) {
|
|
1280
|
+
return e.type === v.select;
|
|
1248
1281
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return e.type ===
|
|
1282
|
+
function Zt(e) {
|
|
1283
|
+
return e.type === v.plural;
|
|
1251
1284
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return e.type ===
|
|
1285
|
+
function Bn(e) {
|
|
1286
|
+
return e.type === v.pound;
|
|
1254
1287
|
}
|
|
1255
|
-
function
|
|
1256
|
-
return e.type ===
|
|
1288
|
+
function Qt(e) {
|
|
1289
|
+
return e.type === v.tag;
|
|
1257
1290
|
}
|
|
1258
|
-
function
|
|
1259
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1291
|
+
function Jt(e) {
|
|
1292
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1260
1293
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1294
|
+
function Ve(e) {
|
|
1295
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1263
1296
|
}
|
|
1264
|
-
var
|
|
1265
|
-
function
|
|
1297
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
|
|
1298
|
+
function An(e) {
|
|
1266
1299
|
var t = {};
|
|
1267
|
-
return e.replace(
|
|
1300
|
+
return e.replace(Cn, function(r) {
|
|
1268
1301
|
var n = r.length;
|
|
1269
1302
|
switch (r[0]) {
|
|
1270
1303
|
case "G":
|
|
@@ -1353,11 +1386,21 @@ function Sn(e) {
|
|
|
1353
1386
|
return "";
|
|
1354
1387
|
}), t;
|
|
1355
1388
|
}
|
|
1356
|
-
var
|
|
1357
|
-
function
|
|
1389
|
+
var _ = function() {
|
|
1390
|
+
return _ = Object.assign || function(t) {
|
|
1391
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1392
|
+
r = arguments[n];
|
|
1393
|
+
for (var o in r)
|
|
1394
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1395
|
+
}
|
|
1396
|
+
return t;
|
|
1397
|
+
}, _.apply(this, arguments);
|
|
1398
|
+
};
|
|
1399
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1400
|
+
function On(e) {
|
|
1358
1401
|
if (e.length === 0)
|
|
1359
1402
|
throw new Error("Number skeleton cannot be empty");
|
|
1360
|
-
for (var t = e.split(
|
|
1403
|
+
for (var t = e.split(Pn).filter(function(f) {
|
|
1361
1404
|
return f.length > 0;
|
|
1362
1405
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1363
1406
|
var o = i[n], s = o.split("/");
|
|
@@ -1372,17 +1415,17 @@ function Hn(e) {
|
|
|
1372
1415
|
}
|
|
1373
1416
|
return r;
|
|
1374
1417
|
}
|
|
1375
|
-
function
|
|
1418
|
+
function Ln(e) {
|
|
1376
1419
|
return e.replace(/^(.*?)-/, "");
|
|
1377
1420
|
}
|
|
1378
|
-
var
|
|
1379
|
-
function
|
|
1421
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
|
|
1422
|
+
function bt(e) {
|
|
1380
1423
|
var t = {};
|
|
1381
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1424
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
|
|
1382
1425
|
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)), "";
|
|
1383
1426
|
}), t;
|
|
1384
1427
|
}
|
|
1385
|
-
function
|
|
1428
|
+
function er(e) {
|
|
1386
1429
|
switch (e) {
|
|
1387
1430
|
case "sign-auto":
|
|
1388
1431
|
return {
|
|
@@ -1422,7 +1465,7 @@ function Qt(e) {
|
|
|
1422
1465
|
};
|
|
1423
1466
|
}
|
|
1424
1467
|
}
|
|
1425
|
-
function
|
|
1468
|
+
function Mn(e) {
|
|
1426
1469
|
var t;
|
|
1427
1470
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1428
1471
|
notation: "engineering"
|
|
@@ -1430,17 +1473,17 @@ function An(e) {
|
|
|
1430
1473
|
notation: "scientific"
|
|
1431
1474
|
}, e = e.slice(1)), t) {
|
|
1432
1475
|
var r = e.slice(0, 2);
|
|
1433
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1476
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
|
|
1434
1477
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1435
1478
|
t.minimumIntegerDigits = e.length;
|
|
1436
1479
|
}
|
|
1437
1480
|
return t;
|
|
1438
1481
|
}
|
|
1439
|
-
function
|
|
1440
|
-
var t = {}, r =
|
|
1482
|
+
function gt(e) {
|
|
1483
|
+
var t = {}, r = er(e);
|
|
1441
1484
|
return r || t;
|
|
1442
1485
|
}
|
|
1443
|
-
function
|
|
1486
|
+
function Nn(e) {
|
|
1444
1487
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1445
1488
|
var i = n[r];
|
|
1446
1489
|
switch (i.stem) {
|
|
@@ -1464,7 +1507,7 @@ function Pn(e) {
|
|
|
1464
1507
|
continue;
|
|
1465
1508
|
case "measure-unit":
|
|
1466
1509
|
case "unit":
|
|
1467
|
-
t.style = "unit", t.unit =
|
|
1510
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1468
1511
|
continue;
|
|
1469
1512
|
case "compact-short":
|
|
1470
1513
|
case "K":
|
|
@@ -1475,13 +1518,13 @@ function Pn(e) {
|
|
|
1475
1518
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1476
1519
|
continue;
|
|
1477
1520
|
case "scientific":
|
|
1478
|
-
t =
|
|
1479
|
-
return
|
|
1521
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1522
|
+
return _(_({}, h), gt(u));
|
|
1480
1523
|
}, {}));
|
|
1481
1524
|
continue;
|
|
1482
1525
|
case "engineering":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1526
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1527
|
+
return _(_({}, h), gt(u));
|
|
1485
1528
|
}, {}));
|
|
1486
1529
|
continue;
|
|
1487
1530
|
case "notation-simple":
|
|
@@ -1526,7 +1569,7 @@ function Pn(e) {
|
|
|
1526
1569
|
case "integer-width":
|
|
1527
1570
|
if (i.options.length > 1)
|
|
1528
1571
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1529
|
-
i.options[0].replace(
|
|
1572
|
+
i.options[0].replace(In, function(h, u, l, c, f, p) {
|
|
1530
1573
|
if (u)
|
|
1531
1574
|
t.minimumIntegerDigits = l.length;
|
|
1532
1575
|
else {
|
|
@@ -1539,28 +1582,28 @@ function Pn(e) {
|
|
|
1539
1582
|
});
|
|
1540
1583
|
continue;
|
|
1541
1584
|
}
|
|
1542
|
-
if (
|
|
1585
|
+
if (Kt.test(i.stem)) {
|
|
1543
1586
|
t.minimumIntegerDigits = i.stem.length;
|
|
1544
1587
|
continue;
|
|
1545
1588
|
}
|
|
1546
|
-
if (
|
|
1589
|
+
if (dt.test(i.stem)) {
|
|
1547
1590
|
if (i.options.length > 1)
|
|
1548
1591
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1549
|
-
i.stem.replace(
|
|
1592
|
+
i.stem.replace(dt, function(h, u, l, c, f, p) {
|
|
1550
1593
|
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), "";
|
|
1551
1594
|
});
|
|
1552
1595
|
var o = i.options[0];
|
|
1553
|
-
o === "w" ? t =
|
|
1596
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
|
|
1554
1597
|
continue;
|
|
1555
1598
|
}
|
|
1556
|
-
if (
|
|
1557
|
-
t =
|
|
1599
|
+
if (qt.test(i.stem)) {
|
|
1600
|
+
t = _(_({}, t), bt(i.stem));
|
|
1558
1601
|
continue;
|
|
1559
1602
|
}
|
|
1560
|
-
var s =
|
|
1561
|
-
s && (t =
|
|
1562
|
-
var a =
|
|
1563
|
-
a && (t =
|
|
1603
|
+
var s = er(i.stem);
|
|
1604
|
+
s && (t = _(_({}, t), s));
|
|
1605
|
+
var a = Mn(i.stem);
|
|
1606
|
+
a && (t = _(_({}, t), a));
|
|
1564
1607
|
}
|
|
1565
1608
|
return t;
|
|
1566
1609
|
}
|
|
@@ -2979,13 +3022,13 @@ var se = {
|
|
|
2979
3022
|
"h"
|
|
2980
3023
|
]
|
|
2981
3024
|
};
|
|
2982
|
-
function
|
|
3025
|
+
function $n(e, t) {
|
|
2983
3026
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2984
3027
|
var i = e.charAt(n);
|
|
2985
3028
|
if (i === "j") {
|
|
2986
3029
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2987
3030
|
o++, n++;
|
|
2988
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3031
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
|
|
2989
3032
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2990
3033
|
r += h;
|
|
2991
3034
|
for (; s-- > 0; )
|
|
@@ -2995,7 +3038,7 @@ function Ln(e, t) {
|
|
|
2995
3038
|
}
|
|
2996
3039
|
return r;
|
|
2997
3040
|
}
|
|
2998
|
-
function
|
|
3041
|
+
function Rn(e) {
|
|
2999
3042
|
var t = e.hourCycle;
|
|
3000
3043
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3001
3044
|
e.hourCycles && // @ts-ignore
|
|
@@ -3017,20 +3060,20 @@ function On(e) {
|
|
|
3017
3060
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
3018
3061
|
return i[0];
|
|
3019
3062
|
}
|
|
3020
|
-
var
|
|
3063
|
+
var Oe, Gn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
|
|
3021
3064
|
function g(e, t) {
|
|
3022
3065
|
return { start: e, end: t };
|
|
3023
3066
|
}
|
|
3024
|
-
var
|
|
3067
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
|
|
3025
3068
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3026
|
-
},
|
|
3069
|
+
}, Xe = !0;
|
|
3027
3070
|
try {
|
|
3028
|
-
var
|
|
3029
|
-
|
|
3071
|
+
var Zn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3072
|
+
Xe = ((Oe = Zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3030
3073
|
} catch {
|
|
3031
|
-
|
|
3074
|
+
Xe = !1;
|
|
3032
3075
|
}
|
|
3033
|
-
var
|
|
3076
|
+
var yt = Dn ? (
|
|
3034
3077
|
// Native
|
|
3035
3078
|
function(t, r, n) {
|
|
3036
3079
|
return t.startsWith(r, n);
|
|
@@ -3040,7 +3083,7 @@ var mt = Nn ? (
|
|
|
3040
3083
|
function(t, r, n) {
|
|
3041
3084
|
return t.slice(n, n + r.length) === r;
|
|
3042
3085
|
}
|
|
3043
|
-
),
|
|
3086
|
+
), We = Fn ? String.fromCodePoint : (
|
|
3044
3087
|
// IE11
|
|
3045
3088
|
function() {
|
|
3046
3089
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3052,9 +3095,9 @@ var mt = Nn ? (
|
|
|
3052
3095
|
}
|
|
3053
3096
|
return n;
|
|
3054
3097
|
}
|
|
3055
|
-
),
|
|
3098
|
+
), vt = (
|
|
3056
3099
|
// native
|
|
3057
|
-
|
|
3100
|
+
jn ? Object.fromEntries : (
|
|
3058
3101
|
// Ponyfill
|
|
3059
3102
|
function(t) {
|
|
3060
3103
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3064,7 +3107,7 @@ var mt = Nn ? (
|
|
|
3064
3107
|
return r;
|
|
3065
3108
|
}
|
|
3066
3109
|
)
|
|
3067
|
-
),
|
|
3110
|
+
), tr = kn ? (
|
|
3068
3111
|
// Native
|
|
3069
3112
|
function(t, r) {
|
|
3070
3113
|
return t.codePointAt(r);
|
|
@@ -3078,7 +3121,7 @@ var mt = Nn ? (
|
|
|
3078
3121
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3079
3122
|
}
|
|
3080
3123
|
}
|
|
3081
|
-
),
|
|
3124
|
+
), Qn = Vn ? (
|
|
3082
3125
|
// Native
|
|
3083
3126
|
function(t) {
|
|
3084
3127
|
return t.trimStart();
|
|
@@ -3086,9 +3129,9 @@ var mt = Nn ? (
|
|
|
3086
3129
|
) : (
|
|
3087
3130
|
// Ponyfill
|
|
3088
3131
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3132
|
+
return t.replace(Gn, "");
|
|
3090
3133
|
}
|
|
3091
|
-
),
|
|
3134
|
+
), Jn = Xn ? (
|
|
3092
3135
|
// Native
|
|
3093
3136
|
function(t) {
|
|
3094
3137
|
return t.trimEnd();
|
|
@@ -3096,32 +3139,32 @@ var mt = Nn ? (
|
|
|
3096
3139
|
) : (
|
|
3097
3140
|
// Ponyfill
|
|
3098
3141
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3142
|
+
return t.replace(Un, "");
|
|
3100
3143
|
}
|
|
3101
3144
|
);
|
|
3102
|
-
function
|
|
3145
|
+
function rr(e, t) {
|
|
3103
3146
|
return new RegExp(e, t);
|
|
3104
3147
|
}
|
|
3105
|
-
var
|
|
3106
|
-
if (
|
|
3107
|
-
var
|
|
3108
|
-
|
|
3148
|
+
var ze;
|
|
3149
|
+
if (Xe) {
|
|
3150
|
+
var xt = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3151
|
+
ze = function(t, r) {
|
|
3109
3152
|
var n;
|
|
3110
|
-
|
|
3111
|
-
var i =
|
|
3153
|
+
xt.lastIndex = r;
|
|
3154
|
+
var i = xt.exec(t);
|
|
3112
3155
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3113
3156
|
};
|
|
3114
3157
|
} else
|
|
3115
|
-
|
|
3158
|
+
ze = function(t, r) {
|
|
3116
3159
|
for (var n = []; ; ) {
|
|
3117
|
-
var i =
|
|
3118
|
-
if (i === void 0 ||
|
|
3160
|
+
var i = tr(t, r);
|
|
3161
|
+
if (i === void 0 || nr(i) || ei(i))
|
|
3119
3162
|
break;
|
|
3120
3163
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3121
3164
|
}
|
|
3122
|
-
return
|
|
3165
|
+
return We.apply(void 0, n);
|
|
3123
3166
|
};
|
|
3124
|
-
var
|
|
3167
|
+
var Yn = (
|
|
3125
3168
|
/** @class */
|
|
3126
3169
|
function() {
|
|
3127
3170
|
function e(t, r) {
|
|
@@ -3145,14 +3188,14 @@ var Wn = (
|
|
|
3145
3188
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3146
3189
|
var a = this.clonePosition();
|
|
3147
3190
|
this.bump(), i.push({
|
|
3148
|
-
type:
|
|
3191
|
+
type: v.pound,
|
|
3149
3192
|
location: g(a, this.clonePosition())
|
|
3150
3193
|
});
|
|
3151
3194
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3152
3195
|
if (n)
|
|
3153
3196
|
break;
|
|
3154
3197
|
return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3155
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3198
|
+
} else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
|
3156
3199
|
var s = this.parseTag(t, r);
|
|
3157
3200
|
if (s.err)
|
|
3158
3201
|
return s;
|
|
@@ -3173,7 +3216,7 @@ var Wn = (
|
|
|
3173
3216
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3174
3217
|
return {
|
|
3175
3218
|
val: {
|
|
3176
|
-
type:
|
|
3219
|
+
type: v.literal,
|
|
3177
3220
|
value: "<".concat(i, "/>"),
|
|
3178
3221
|
location: g(n, this.clonePosition())
|
|
3179
3222
|
},
|
|
@@ -3185,12 +3228,12 @@ var Wn = (
|
|
|
3185
3228
|
return o;
|
|
3186
3229
|
var s = o.val, a = this.clonePosition();
|
|
3187
3230
|
if (this.bumpIf("</")) {
|
|
3188
|
-
if (this.isEOF() || !
|
|
3231
|
+
if (this.isEOF() || !Ze(this.char()))
|
|
3189
3232
|
return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
|
|
3190
3233
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3191
3234
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3192
3235
|
val: {
|
|
3193
|
-
type:
|
|
3236
|
+
type: v.tag,
|
|
3194
3237
|
value: i,
|
|
3195
3238
|
children: s,
|
|
3196
3239
|
location: g(n, this.clonePosition())
|
|
@@ -3203,7 +3246,7 @@ var Wn = (
|
|
|
3203
3246
|
return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
|
|
3204
3247
|
}, e.prototype.parseTagName = function() {
|
|
3205
3248
|
var t = this.offset();
|
|
3206
|
-
for (this.bump(); !this.isEOF() &&
|
|
3249
|
+
for (this.bump(); !this.isEOF() && Kn(this.char()); )
|
|
3207
3250
|
this.bump();
|
|
3208
3251
|
return this.message.slice(t, this.offset());
|
|
3209
3252
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3227,12 +3270,12 @@ var Wn = (
|
|
|
3227
3270
|
}
|
|
3228
3271
|
var h = g(n, this.clonePosition());
|
|
3229
3272
|
return {
|
|
3230
|
-
val: { type:
|
|
3273
|
+
val: { type: v.literal, value: i, location: h },
|
|
3231
3274
|
err: null
|
|
3232
3275
|
};
|
|
3233
3276
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3234
3277
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3235
|
-
!
|
|
3278
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3236
3279
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3237
3280
|
if (this.isEOF() || this.char() !== 39)
|
|
3238
3281
|
return null;
|
|
@@ -3266,12 +3309,12 @@ var Wn = (
|
|
|
3266
3309
|
r.push(n);
|
|
3267
3310
|
this.bump();
|
|
3268
3311
|
}
|
|
3269
|
-
return
|
|
3312
|
+
return We.apply(void 0, r);
|
|
3270
3313
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3271
3314
|
if (this.isEOF())
|
|
3272
3315
|
return null;
|
|
3273
3316
|
var n = this.char();
|
|
3274
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3317
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
3275
3318
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3276
3319
|
var n = this.clonePosition();
|
|
3277
3320
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3287,7 +3330,7 @@ var Wn = (
|
|
|
3287
3330
|
case 125:
|
|
3288
3331
|
return this.bump(), {
|
|
3289
3332
|
val: {
|
|
3290
|
-
type:
|
|
3333
|
+
type: v.argument,
|
|
3291
3334
|
// value does not include the opening and closing braces.
|
|
3292
3335
|
value: i,
|
|
3293
3336
|
location: g(n, this.clonePosition())
|
|
@@ -3300,7 +3343,7 @@ var Wn = (
|
|
|
3300
3343
|
return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3301
3344
|
}
|
|
3302
3345
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3303
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3346
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3304
3347
|
this.bumpTo(i);
|
|
3305
3348
|
var o = this.clonePosition(), s = g(t, o);
|
|
3306
3349
|
return { value: n, location: s };
|
|
@@ -3319,7 +3362,7 @@ var Wn = (
|
|
|
3319
3362
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3320
3363
|
if (c.err)
|
|
3321
3364
|
return c;
|
|
3322
|
-
var f =
|
|
3365
|
+
var f = Jn(c.val);
|
|
3323
3366
|
if (f.length === 0)
|
|
3324
3367
|
return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3325
3368
|
var p = g(l, this.clonePosition());
|
|
@@ -3328,37 +3371,37 @@ var Wn = (
|
|
|
3328
3371
|
var m = this.tryParseArgumentClose(i);
|
|
3329
3372
|
if (m.err)
|
|
3330
3373
|
return m;
|
|
3331
|
-
var
|
|
3332
|
-
if (u &&
|
|
3333
|
-
var E =
|
|
3374
|
+
var y = g(i, this.clonePosition());
|
|
3375
|
+
if (u && yt(u?.style, "::", 0)) {
|
|
3376
|
+
var E = Qn(u.style.slice(2));
|
|
3334
3377
|
if (a === "number") {
|
|
3335
3378
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3336
3379
|
return c.err ? c : {
|
|
3337
|
-
val: { type:
|
|
3380
|
+
val: { type: v.number, value: n, location: y, style: c.val },
|
|
3338
3381
|
err: null
|
|
3339
3382
|
};
|
|
3340
3383
|
} else {
|
|
3341
3384
|
if (E.length === 0)
|
|
3342
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
3385
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
|
|
3343
3386
|
var A = E;
|
|
3344
|
-
this.locale && (A =
|
|
3387
|
+
this.locale && (A = $n(E, this.locale));
|
|
3345
3388
|
var f = {
|
|
3346
|
-
type:
|
|
3389
|
+
type: X.dateTime,
|
|
3347
3390
|
pattern: A,
|
|
3348
3391
|
location: u.styleLocation,
|
|
3349
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3350
|
-
}, P = a === "date" ?
|
|
3392
|
+
parsedOptions: this.shouldParseSkeletons ? An(A) : {}
|
|
3393
|
+
}, P = a === "date" ? v.date : v.time;
|
|
3351
3394
|
return {
|
|
3352
|
-
val: { type: P, value: n, location:
|
|
3395
|
+
val: { type: P, value: n, location: y, style: f },
|
|
3353
3396
|
err: null
|
|
3354
3397
|
};
|
|
3355
3398
|
}
|
|
3356
3399
|
}
|
|
3357
3400
|
return {
|
|
3358
3401
|
val: {
|
|
3359
|
-
type: a === "number" ?
|
|
3402
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3360
3403
|
value: n,
|
|
3361
|
-
location:
|
|
3404
|
+
location: y,
|
|
3362
3405
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3363
3406
|
},
|
|
3364
3407
|
err: null
|
|
@@ -3369,38 +3412,38 @@ var Wn = (
|
|
|
3369
3412
|
case "select": {
|
|
3370
3413
|
var T = this.clonePosition();
|
|
3371
3414
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3372
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3415
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, me({}, T)));
|
|
3373
3416
|
this.bumpSpace();
|
|
3374
|
-
var
|
|
3375
|
-
if (a !== "select" &&
|
|
3417
|
+
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3418
|
+
if (a !== "select" && O.value === "offset") {
|
|
3376
3419
|
if (!this.bumpIf(":"))
|
|
3377
3420
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3378
3421
|
this.bumpSpace();
|
|
3379
3422
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3380
3423
|
if (c.err)
|
|
3381
3424
|
return c;
|
|
3382
|
-
this.bumpSpace(),
|
|
3425
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
|
|
3383
3426
|
}
|
|
3384
|
-
var
|
|
3385
|
-
if (
|
|
3386
|
-
return
|
|
3427
|
+
var x = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
3428
|
+
if (x.err)
|
|
3429
|
+
return x;
|
|
3387
3430
|
var m = this.tryParseArgumentClose(i);
|
|
3388
3431
|
if (m.err)
|
|
3389
3432
|
return m;
|
|
3390
3433
|
var C = g(i, this.clonePosition());
|
|
3391
3434
|
return a === "select" ? {
|
|
3392
3435
|
val: {
|
|
3393
|
-
type:
|
|
3436
|
+
type: v.select,
|
|
3394
3437
|
value: n,
|
|
3395
|
-
options:
|
|
3438
|
+
options: vt(x.val),
|
|
3396
3439
|
location: C
|
|
3397
3440
|
},
|
|
3398
3441
|
err: null
|
|
3399
3442
|
} : {
|
|
3400
3443
|
val: {
|
|
3401
|
-
type:
|
|
3444
|
+
type: v.plural,
|
|
3402
3445
|
value: n,
|
|
3403
|
-
options:
|
|
3446
|
+
options: vt(x.val),
|
|
3404
3447
|
offset: w,
|
|
3405
3448
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3406
3449
|
location: C
|
|
@@ -3451,16 +3494,16 @@ var Wn = (
|
|
|
3451
3494
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3452
3495
|
var n = [];
|
|
3453
3496
|
try {
|
|
3454
|
-
n =
|
|
3497
|
+
n = On(t);
|
|
3455
3498
|
} catch {
|
|
3456
3499
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3457
3500
|
}
|
|
3458
3501
|
return {
|
|
3459
3502
|
val: {
|
|
3460
|
-
type:
|
|
3503
|
+
type: X.number,
|
|
3461
3504
|
tokens: n,
|
|
3462
3505
|
location: r,
|
|
3463
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3506
|
+
parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
|
|
3464
3507
|
},
|
|
3465
3508
|
err: null
|
|
3466
3509
|
};
|
|
@@ -3485,9 +3528,9 @@ var Wn = (
|
|
|
3485
3528
|
var m = this.parseMessage(t + 1, r, n);
|
|
3486
3529
|
if (m.err)
|
|
3487
3530
|
return m;
|
|
3488
|
-
var
|
|
3489
|
-
if (
|
|
3490
|
-
return
|
|
3531
|
+
var y = this.tryParseArgumentClose(p);
|
|
3532
|
+
if (y.err)
|
|
3533
|
+
return y;
|
|
3491
3534
|
a.push([
|
|
3492
3535
|
u,
|
|
3493
3536
|
{
|
|
@@ -3508,7 +3551,7 @@ var Wn = (
|
|
|
3508
3551
|
break;
|
|
3509
3552
|
}
|
|
3510
3553
|
var h = g(i, this.clonePosition());
|
|
3511
|
-
return o ? (s *= n,
|
|
3554
|
+
return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3512
3555
|
}, e.prototype.offset = function() {
|
|
3513
3556
|
return this.position.offset;
|
|
3514
3557
|
}, e.prototype.isEOF = function() {
|
|
@@ -3523,7 +3566,7 @@ var Wn = (
|
|
|
3523
3566
|
var t = this.position.offset;
|
|
3524
3567
|
if (t >= this.message.length)
|
|
3525
3568
|
throw Error("out of bound");
|
|
3526
|
-
var r =
|
|
3569
|
+
var r = tr(this.message, t);
|
|
3527
3570
|
if (r === void 0)
|
|
3528
3571
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3529
3572
|
return r;
|
|
@@ -3542,7 +3585,7 @@ var Wn = (
|
|
|
3542
3585
|
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);
|
|
3543
3586
|
}
|
|
3544
3587
|
}, e.prototype.bumpIf = function(t) {
|
|
3545
|
-
if (
|
|
3588
|
+
if (yt(this.message, t, this.offset())) {
|
|
3546
3589
|
for (var r = 0; r < t.length; r++)
|
|
3547
3590
|
this.bump();
|
|
3548
3591
|
return !0;
|
|
@@ -3564,7 +3607,7 @@ var Wn = (
|
|
|
3564
3607
|
break;
|
|
3565
3608
|
}
|
|
3566
3609
|
}, e.prototype.bumpSpace = function() {
|
|
3567
|
-
for (; !this.isEOF() &&
|
|
3610
|
+
for (; !this.isEOF() && nr(this.char()); )
|
|
3568
3611
|
this.bump();
|
|
3569
3612
|
}, e.prototype.peek = function() {
|
|
3570
3613
|
if (this.isEOF())
|
|
@@ -3574,47 +3617,47 @@ var Wn = (
|
|
|
3574
3617
|
}, e;
|
|
3575
3618
|
}()
|
|
3576
3619
|
);
|
|
3577
|
-
function
|
|
3620
|
+
function Ze(e) {
|
|
3578
3621
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3579
3622
|
}
|
|
3580
|
-
function
|
|
3581
|
-
return
|
|
3623
|
+
function qn(e) {
|
|
3624
|
+
return Ze(e) || e === 47;
|
|
3582
3625
|
}
|
|
3583
|
-
function
|
|
3626
|
+
function Kn(e) {
|
|
3584
3627
|
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;
|
|
3585
3628
|
}
|
|
3586
|
-
function
|
|
3629
|
+
function nr(e) {
|
|
3587
3630
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3588
3631
|
}
|
|
3589
|
-
function
|
|
3632
|
+
function ei(e) {
|
|
3590
3633
|
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;
|
|
3591
3634
|
}
|
|
3592
|
-
function
|
|
3635
|
+
function Qe(e) {
|
|
3593
3636
|
e.forEach(function(t) {
|
|
3594
|
-
if (delete t.location,
|
|
3637
|
+
if (delete t.location, zt(t) || Zt(t))
|
|
3595
3638
|
for (var r in t.options)
|
|
3596
|
-
delete t.options[r].location,
|
|
3639
|
+
delete t.options[r].location, Qe(t.options[r].value);
|
|
3597
3640
|
else
|
|
3598
|
-
|
|
3641
|
+
Vt(t) && Jt(t.style) || (Xt(t) || Wt(t)) && Ve(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
|
|
3599
3642
|
});
|
|
3600
3643
|
}
|
|
3601
|
-
function
|
|
3602
|
-
t === void 0 && (t = {}), t =
|
|
3603
|
-
var r = new
|
|
3644
|
+
function ti(e, t) {
|
|
3645
|
+
t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3646
|
+
var r = new Yn(e, t).parse();
|
|
3604
3647
|
if (r.err) {
|
|
3605
3648
|
var n = SyntaxError(d[r.err.kind]);
|
|
3606
3649
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3607
3650
|
}
|
|
3608
|
-
return t?.captureLocation ||
|
|
3651
|
+
return t?.captureLocation || Qe(r.val), r.val;
|
|
3609
3652
|
}
|
|
3610
|
-
var
|
|
3653
|
+
var W;
|
|
3611
3654
|
(function(e) {
|
|
3612
3655
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3613
|
-
})(
|
|
3614
|
-
var
|
|
3656
|
+
})(W || (W = {}));
|
|
3657
|
+
var xe = (
|
|
3615
3658
|
/** @class */
|
|
3616
3659
|
function(e) {
|
|
3617
|
-
|
|
3660
|
+
ve(t, e);
|
|
3618
3661
|
function t(r, n, i) {
|
|
3619
3662
|
var o = e.call(this, r) || this;
|
|
3620
3663
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3623,48 +3666,48 @@ var ve = (
|
|
|
3623
3666
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3624
3667
|
}, t;
|
|
3625
3668
|
}(Error)
|
|
3626
|
-
),
|
|
3669
|
+
), _t = (
|
|
3627
3670
|
/** @class */
|
|
3628
3671
|
function(e) {
|
|
3629
|
-
|
|
3672
|
+
ve(t, e);
|
|
3630
3673
|
function t(r, n, i, o) {
|
|
3631
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3674
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3632
3675
|
}
|
|
3633
3676
|
return t;
|
|
3634
|
-
}(
|
|
3635
|
-
),
|
|
3677
|
+
}(xe)
|
|
3678
|
+
), ri = (
|
|
3636
3679
|
/** @class */
|
|
3637
3680
|
function(e) {
|
|
3638
|
-
|
|
3681
|
+
ve(t, e);
|
|
3639
3682
|
function t(r, n, i) {
|
|
3640
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3683
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3641
3684
|
}
|
|
3642
3685
|
return t;
|
|
3643
|
-
}(
|
|
3644
|
-
),
|
|
3686
|
+
}(xe)
|
|
3687
|
+
), ni = (
|
|
3645
3688
|
/** @class */
|
|
3646
3689
|
function(e) {
|
|
3647
|
-
|
|
3690
|
+
ve(t, e);
|
|
3648
3691
|
function t(r, n) {
|
|
3649
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3692
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3650
3693
|
}
|
|
3651
3694
|
return t;
|
|
3652
|
-
}(
|
|
3695
|
+
}(xe)
|
|
3653
3696
|
), H;
|
|
3654
3697
|
(function(e) {
|
|
3655
3698
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3656
3699
|
})(H || (H = {}));
|
|
3657
|
-
function
|
|
3700
|
+
function ii(e) {
|
|
3658
3701
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3659
3702
|
var n = t[t.length - 1];
|
|
3660
3703
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3661
3704
|
}, []);
|
|
3662
3705
|
}
|
|
3663
|
-
function
|
|
3706
|
+
function oi(e) {
|
|
3664
3707
|
return typeof e == "function";
|
|
3665
3708
|
}
|
|
3666
3709
|
function ce(e, t, r, n, i, o, s) {
|
|
3667
|
-
if (e.length === 1 &&
|
|
3710
|
+
if (e.length === 1 && pt(e[0]))
|
|
3668
3711
|
return [
|
|
3669
3712
|
{
|
|
3670
3713
|
type: H.literal,
|
|
@@ -3673,14 +3716,14 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3673
3716
|
];
|
|
3674
3717
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3675
3718
|
var l = u[h];
|
|
3676
|
-
if (
|
|
3719
|
+
if (pt(l)) {
|
|
3677
3720
|
a.push({
|
|
3678
3721
|
type: H.literal,
|
|
3679
3722
|
value: l.value
|
|
3680
3723
|
});
|
|
3681
3724
|
continue;
|
|
3682
3725
|
}
|
|
3683
|
-
if (
|
|
3726
|
+
if (Bn(l)) {
|
|
3684
3727
|
typeof o == "number" && a.push({
|
|
3685
3728
|
type: H.literal,
|
|
3686
3729
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3689,43 +3732,43 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3689
3732
|
}
|
|
3690
3733
|
var c = l.value;
|
|
3691
3734
|
if (!(i && c in i))
|
|
3692
|
-
throw new
|
|
3735
|
+
throw new ni(c, s);
|
|
3693
3736
|
var f = i[c];
|
|
3694
|
-
if (
|
|
3737
|
+
if (Hn(l)) {
|
|
3695
3738
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3696
3739
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3697
3740
|
value: f
|
|
3698
3741
|
});
|
|
3699
3742
|
continue;
|
|
3700
3743
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3744
|
+
if (Xt(l)) {
|
|
3745
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
|
|
3703
3746
|
a.push({
|
|
3704
3747
|
type: H.literal,
|
|
3705
3748
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3706
3749
|
});
|
|
3707
3750
|
continue;
|
|
3708
3751
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3752
|
+
if (Wt(l)) {
|
|
3753
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3711
3754
|
a.push({
|
|
3712
3755
|
type: H.literal,
|
|
3713
3756
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3714
3757
|
});
|
|
3715
3758
|
continue;
|
|
3716
3759
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3760
|
+
if (Vt(l)) {
|
|
3761
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3719
3762
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3720
3763
|
type: H.literal,
|
|
3721
3764
|
value: r.getNumberFormat(t, p).format(f)
|
|
3722
3765
|
});
|
|
3723
3766
|
continue;
|
|
3724
3767
|
}
|
|
3725
|
-
if (
|
|
3726
|
-
var m = l.children,
|
|
3727
|
-
if (!
|
|
3728
|
-
throw new
|
|
3768
|
+
if (Qt(l)) {
|
|
3769
|
+
var m = l.children, y = l.value, E = i[y];
|
|
3770
|
+
if (!oi(E))
|
|
3771
|
+
throw new ri(y, "function", s);
|
|
3729
3772
|
var A = ce(m, t, r, n, i, o), P = E(A.map(function(w) {
|
|
3730
3773
|
return w.value;
|
|
3731
3774
|
}));
|
|
@@ -3736,42 +3779,42 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3736
3779
|
};
|
|
3737
3780
|
}));
|
|
3738
3781
|
}
|
|
3739
|
-
if (
|
|
3782
|
+
if (zt(l)) {
|
|
3740
3783
|
var T = l.options[f] || l.options.other;
|
|
3741
3784
|
if (!T)
|
|
3742
|
-
throw new
|
|
3785
|
+
throw new _t(l.value, f, Object.keys(l.options), s);
|
|
3743
3786
|
a.push.apply(a, ce(T.value, t, r, n, i));
|
|
3744
3787
|
continue;
|
|
3745
3788
|
}
|
|
3746
|
-
if (
|
|
3789
|
+
if (Zt(l)) {
|
|
3747
3790
|
var T = l.options["=".concat(f)];
|
|
3748
3791
|
if (!T) {
|
|
3749
3792
|
if (!Intl.PluralRules)
|
|
3750
|
-
throw new
|
|
3793
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3751
3794
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3752
|
-
`,
|
|
3753
|
-
var
|
|
3754
|
-
T = l.options[
|
|
3795
|
+
`, W.MISSING_INTL_API, s);
|
|
3796
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3797
|
+
T = l.options[O] || l.options.other;
|
|
3755
3798
|
}
|
|
3756
3799
|
if (!T)
|
|
3757
|
-
throw new
|
|
3800
|
+
throw new _t(l.value, f, Object.keys(l.options), s);
|
|
3758
3801
|
a.push.apply(a, ce(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3759
3802
|
continue;
|
|
3760
3803
|
}
|
|
3761
3804
|
}
|
|
3762
|
-
return
|
|
3805
|
+
return ii(a);
|
|
3763
3806
|
}
|
|
3764
|
-
function
|
|
3765
|
-
return t ?
|
|
3766
|
-
return r[n] =
|
|
3807
|
+
function si(e, t) {
|
|
3808
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3809
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
3767
3810
|
}, {})) : e;
|
|
3768
3811
|
}
|
|
3769
|
-
function
|
|
3812
|
+
function ai(e, t) {
|
|
3770
3813
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3771
|
-
return r[n] =
|
|
3772
|
-
},
|
|
3814
|
+
return r[n] = si(e[n], t[n]), r;
|
|
3815
|
+
}, L({}, e)) : e;
|
|
3773
3816
|
}
|
|
3774
|
-
function
|
|
3817
|
+
function Le(e) {
|
|
3775
3818
|
return {
|
|
3776
3819
|
create: function() {
|
|
3777
3820
|
return {
|
|
@@ -3785,39 +3828,39 @@ function Ae(e) {
|
|
|
3785
3828
|
}
|
|
3786
3829
|
};
|
|
3787
3830
|
}
|
|
3788
|
-
function
|
|
3831
|
+
function ui(e) {
|
|
3789
3832
|
return e === void 0 && (e = {
|
|
3790
3833
|
number: {},
|
|
3791
3834
|
dateTime: {},
|
|
3792
3835
|
pluralRules: {}
|
|
3793
3836
|
}), {
|
|
3794
|
-
getNumberFormat:
|
|
3837
|
+
getNumberFormat: Ae(function() {
|
|
3795
3838
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3839
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3840
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3798
3841
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3842
|
+
cache: Le(e.number),
|
|
3843
|
+
strategy: Pe.variadic
|
|
3801
3844
|
}),
|
|
3802
|
-
getDateTimeFormat:
|
|
3845
|
+
getDateTimeFormat: Ae(function() {
|
|
3803
3846
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3847
|
r[n] = arguments[n];
|
|
3805
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3848
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3806
3849
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3850
|
+
cache: Le(e.dateTime),
|
|
3851
|
+
strategy: Pe.variadic
|
|
3809
3852
|
}),
|
|
3810
|
-
getPluralRules:
|
|
3853
|
+
getPluralRules: Ae(function() {
|
|
3811
3854
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3812
3855
|
r[n] = arguments[n];
|
|
3813
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3856
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3814
3857
|
}, {
|
|
3815
|
-
cache:
|
|
3816
|
-
strategy:
|
|
3858
|
+
cache: Le(e.pluralRules),
|
|
3859
|
+
strategy: Pe.variadic
|
|
3817
3860
|
})
|
|
3818
3861
|
};
|
|
3819
3862
|
}
|
|
3820
|
-
var
|
|
3863
|
+
var hi = (
|
|
3821
3864
|
/** @class */
|
|
3822
3865
|
function() {
|
|
3823
3866
|
function e(t, r, n, i) {
|
|
@@ -3849,13 +3892,13 @@ var ii = (
|
|
|
3849
3892
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3850
3893
|
var s = i || {};
|
|
3851
3894
|
s.formatters;
|
|
3852
|
-
var a =
|
|
3853
|
-
this.ast = e.__parse(t,
|
|
3895
|
+
var a = yn(s, ["formatters"]);
|
|
3896
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
3854
3897
|
} else
|
|
3855
3898
|
this.ast = t;
|
|
3856
3899
|
if (!Array.isArray(this.ast))
|
|
3857
3900
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3858
|
-
this.formats =
|
|
3901
|
+
this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
|
|
3859
3902
|
}
|
|
3860
3903
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3861
3904
|
get: function() {
|
|
@@ -3868,7 +3911,7 @@ var ii = (
|
|
|
3868
3911
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3869
3912
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3870
3913
|
}
|
|
3871
|
-
}, e.__parse =
|
|
3914
|
+
}, e.__parse = ti, e.formats = {
|
|
3872
3915
|
number: {
|
|
3873
3916
|
integer: {
|
|
3874
3917
|
maximumFractionDigits: 0
|
|
@@ -3929,7 +3972,7 @@ var ii = (
|
|
|
3929
3972
|
}, e;
|
|
3930
3973
|
}()
|
|
3931
3974
|
);
|
|
3932
|
-
function
|
|
3975
|
+
function li(e, t) {
|
|
3933
3976
|
if (t == null)
|
|
3934
3977
|
return;
|
|
3935
3978
|
if (t in e)
|
|
@@ -3950,92 +3993,92 @@ function oi(e, t) {
|
|
|
3950
3993
|
n = void 0;
|
|
3951
3994
|
return n;
|
|
3952
3995
|
}
|
|
3953
|
-
const
|
|
3996
|
+
const R = {}, ci = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), ir = (e, t) => {
|
|
3954
3997
|
if (t == null)
|
|
3955
3998
|
return;
|
|
3956
|
-
if (t in
|
|
3957
|
-
return
|
|
3958
|
-
const r =
|
|
3999
|
+
if (t in R && e in R[t])
|
|
4000
|
+
return R[t][e];
|
|
4001
|
+
const r = _e(t);
|
|
3959
4002
|
for (let n = 0; n < r.length; n++) {
|
|
3960
|
-
const i = r[n], o =
|
|
4003
|
+
const i = r[n], o = mi(i, e);
|
|
3961
4004
|
if (o)
|
|
3962
|
-
return
|
|
4005
|
+
return ci(e, t, o);
|
|
3963
4006
|
}
|
|
3964
4007
|
};
|
|
3965
|
-
let
|
|
3966
|
-
const ie =
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
4008
|
+
let et;
|
|
4009
|
+
const ie = ye({});
|
|
4010
|
+
function fi(e) {
|
|
4011
|
+
return et[e] || null;
|
|
3969
4012
|
}
|
|
3970
|
-
function
|
|
3971
|
-
return e in
|
|
4013
|
+
function or(e) {
|
|
4014
|
+
return e in et;
|
|
3972
4015
|
}
|
|
3973
|
-
function
|
|
3974
|
-
if (!
|
|
4016
|
+
function mi(e, t) {
|
|
4017
|
+
if (!or(e))
|
|
3975
4018
|
return null;
|
|
3976
|
-
const r =
|
|
3977
|
-
return
|
|
4019
|
+
const r = fi(e);
|
|
4020
|
+
return li(r, t);
|
|
3978
4021
|
}
|
|
3979
|
-
function
|
|
4022
|
+
function pi(e) {
|
|
3980
4023
|
if (e == null)
|
|
3981
4024
|
return;
|
|
3982
|
-
const t =
|
|
4025
|
+
const t = _e(e);
|
|
3983
4026
|
for (let r = 0; r < t.length; r++) {
|
|
3984
4027
|
const n = t[r];
|
|
3985
|
-
if (
|
|
4028
|
+
if (or(n))
|
|
3986
4029
|
return n;
|
|
3987
4030
|
}
|
|
3988
4031
|
}
|
|
3989
|
-
function
|
|
3990
|
-
delete
|
|
4032
|
+
function sr(e, ...t) {
|
|
4033
|
+
delete R[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
|
|
3991
4034
|
}
|
|
3992
|
-
|
|
4035
|
+
Q(
|
|
3993
4036
|
[ie],
|
|
3994
4037
|
([e]) => Object.keys(e)
|
|
3995
4038
|
);
|
|
3996
|
-
ie.subscribe((e) =>
|
|
4039
|
+
ie.subscribe((e) => et = e);
|
|
3997
4040
|
const fe = {};
|
|
3998
|
-
function
|
|
4041
|
+
function di(e, t) {
|
|
3999
4042
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4000
4043
|
}
|
|
4001
|
-
function
|
|
4044
|
+
function ar(e) {
|
|
4002
4045
|
return fe[e];
|
|
4003
4046
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4006
|
-
const r =
|
|
4047
|
+
function bi(e) {
|
|
4048
|
+
return _e(e).map((t) => {
|
|
4049
|
+
const r = ar(t);
|
|
4007
4050
|
return [t, r ? [...r] : []];
|
|
4008
4051
|
}).filter(([, t]) => t.length > 0);
|
|
4009
4052
|
}
|
|
4010
|
-
function
|
|
4011
|
-
return e == null ? !1 :
|
|
4053
|
+
function Je(e) {
|
|
4054
|
+
return e == null ? !1 : _e(e).some(
|
|
4012
4055
|
(t) => {
|
|
4013
4056
|
var r;
|
|
4014
|
-
return (r =
|
|
4057
|
+
return (r = ar(t)) == null ? void 0 : r.size;
|
|
4015
4058
|
}
|
|
4016
4059
|
);
|
|
4017
4060
|
}
|
|
4018
|
-
function
|
|
4061
|
+
function gi(e, t) {
|
|
4019
4062
|
return Promise.all(
|
|
4020
|
-
t.map((n) => (
|
|
4021
|
-
).then((n) =>
|
|
4022
|
-
}
|
|
4023
|
-
const
|
|
4024
|
-
function
|
|
4025
|
-
if (!
|
|
4026
|
-
return e in
|
|
4027
|
-
const t =
|
|
4028
|
-
return
|
|
4063
|
+
t.map((n) => (di(e, n), n().then((i) => i.default || i)))
|
|
4064
|
+
).then((n) => sr(e, ...n));
|
|
4065
|
+
}
|
|
4066
|
+
const q = {};
|
|
4067
|
+
function ur(e) {
|
|
4068
|
+
if (!Je(e))
|
|
4069
|
+
return e in q ? q[e] : Promise.resolve();
|
|
4070
|
+
const t = bi(e);
|
|
4071
|
+
return q[e] = Promise.all(
|
|
4029
4072
|
t.map(
|
|
4030
|
-
([r, n]) =>
|
|
4073
|
+
([r, n]) => gi(r, n)
|
|
4031
4074
|
)
|
|
4032
4075
|
).then(() => {
|
|
4033
|
-
if (
|
|
4034
|
-
return
|
|
4035
|
-
delete
|
|
4036
|
-
}),
|
|
4076
|
+
if (Je(e))
|
|
4077
|
+
return ur(e);
|
|
4078
|
+
delete q[e];
|
|
4079
|
+
}), q[e];
|
|
4037
4080
|
}
|
|
4038
|
-
const
|
|
4081
|
+
const yi = {
|
|
4039
4082
|
number: {
|
|
4040
4083
|
scientific: { notation: "scientific" },
|
|
4041
4084
|
engineering: { notation: "engineering" },
|
|
@@ -4064,135 +4107,135 @@ const mi = {
|
|
|
4064
4107
|
timeZoneName: "short"
|
|
4065
4108
|
}
|
|
4066
4109
|
}
|
|
4067
|
-
},
|
|
4110
|
+
}, vi = {
|
|
4068
4111
|
fallbackLocale: null,
|
|
4069
4112
|
loadingDelay: 200,
|
|
4070
|
-
formats:
|
|
4113
|
+
formats: yi,
|
|
4071
4114
|
warnOnMissingMessages: !0,
|
|
4072
4115
|
handleMissingMessage: void 0,
|
|
4073
4116
|
ignoreTag: !0
|
|
4074
|
-
},
|
|
4075
|
-
function
|
|
4076
|
-
return
|
|
4117
|
+
}, xi = vi;
|
|
4118
|
+
function z() {
|
|
4119
|
+
return xi;
|
|
4077
4120
|
}
|
|
4078
|
-
const
|
|
4079
|
-
var
|
|
4121
|
+
const Ie = ye(!1);
|
|
4122
|
+
var _i = Object.defineProperty, Ei = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
|
|
4080
4123
|
for (var r in t || (t = {}))
|
|
4081
|
-
|
|
4082
|
-
if (
|
|
4083
|
-
for (var r of
|
|
4084
|
-
|
|
4124
|
+
Si.call(t, r) && wt(e, r, t[r]);
|
|
4125
|
+
if (Et)
|
|
4126
|
+
for (var r of Et(t))
|
|
4127
|
+
Ti.call(t, r) && wt(e, r, t[r]);
|
|
4085
4128
|
return e;
|
|
4086
|
-
},
|
|
4087
|
-
let
|
|
4088
|
-
const
|
|
4089
|
-
function
|
|
4129
|
+
}, Bi = (e, t) => Ei(e, wi(t));
|
|
4130
|
+
let Ye;
|
|
4131
|
+
const pe = ye(null);
|
|
4132
|
+
function St(e) {
|
|
4090
4133
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4091
4134
|
}
|
|
4092
|
-
function
|
|
4093
|
-
const r =
|
|
4094
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4135
|
+
function _e(e, t = z().fallbackLocale) {
|
|
4136
|
+
const r = St(e);
|
|
4137
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
|
|
4095
4138
|
}
|
|
4096
4139
|
function G() {
|
|
4097
|
-
return
|
|
4140
|
+
return Ye ?? void 0;
|
|
4098
4141
|
}
|
|
4099
|
-
|
|
4100
|
-
|
|
4142
|
+
pe.subscribe((e) => {
|
|
4143
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4101
4144
|
});
|
|
4102
|
-
const
|
|
4103
|
-
if (e &&
|
|
4104
|
-
const { loadingDelay: t } =
|
|
4145
|
+
const Ci = (e) => {
|
|
4146
|
+
if (e && pi(e) && Je(e)) {
|
|
4147
|
+
const { loadingDelay: t } = z();
|
|
4105
4148
|
let r;
|
|
4106
4149
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4107
|
-
() =>
|
|
4150
|
+
() => Ie.set(!0),
|
|
4108
4151
|
t
|
|
4109
|
-
) :
|
|
4110
|
-
|
|
4152
|
+
) : Ie.set(!0), ur(e).then(() => {
|
|
4153
|
+
pe.set(e);
|
|
4111
4154
|
}).finally(() => {
|
|
4112
|
-
clearTimeout(r),
|
|
4155
|
+
clearTimeout(r), Ie.set(!1);
|
|
4113
4156
|
});
|
|
4114
4157
|
}
|
|
4115
|
-
return
|
|
4116
|
-
},
|
|
4117
|
-
set:
|
|
4118
|
-
}),
|
|
4158
|
+
return pe.set(e);
|
|
4159
|
+
}, J = Bi(Hi({}, pe), {
|
|
4160
|
+
set: Ci
|
|
4161
|
+
}), Ee = (e) => {
|
|
4119
4162
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4120
4163
|
return (n) => {
|
|
4121
4164
|
const i = JSON.stringify(n);
|
|
4122
4165
|
return i in t ? t[i] : t[i] = e(n);
|
|
4123
4166
|
};
|
|
4124
4167
|
};
|
|
4125
|
-
var
|
|
4168
|
+
var Ai = Object.defineProperty, de = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
4126
4169
|
for (var r in t || (t = {}))
|
|
4127
|
-
|
|
4128
|
-
if (
|
|
4129
|
-
for (var r of
|
|
4130
|
-
|
|
4170
|
+
hr.call(t, r) && Tt(e, r, t[r]);
|
|
4171
|
+
if (de)
|
|
4172
|
+
for (var r of de(t))
|
|
4173
|
+
lr.call(t, r) && Tt(e, r, t[r]);
|
|
4131
4174
|
return e;
|
|
4132
|
-
},
|
|
4175
|
+
}, Y = (e, t) => {
|
|
4133
4176
|
var r = {};
|
|
4134
4177
|
for (var n in e)
|
|
4135
|
-
|
|
4136
|
-
if (e != null &&
|
|
4137
|
-
for (var n of
|
|
4138
|
-
t.indexOf(n) < 0 &&
|
|
4178
|
+
hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4179
|
+
if (e != null && de)
|
|
4180
|
+
for (var n of de(e))
|
|
4181
|
+
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
4139
4182
|
return r;
|
|
4140
4183
|
};
|
|
4141
|
-
const
|
|
4142
|
-
const { formats: r } =
|
|
4184
|
+
const re = (e, t) => {
|
|
4185
|
+
const { formats: r } = z();
|
|
4143
4186
|
if (e in r && t in r[e])
|
|
4144
4187
|
return r[e][t];
|
|
4145
4188
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4146
|
-
},
|
|
4189
|
+
}, Pi = Ee(
|
|
4147
4190
|
(e) => {
|
|
4148
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4191
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4149
4192
|
if (r == null)
|
|
4150
4193
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4151
|
-
return n && (i =
|
|
4194
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4152
4195
|
}
|
|
4153
|
-
),
|
|
4196
|
+
), Oi = Ee(
|
|
4154
4197
|
(e) => {
|
|
4155
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4198
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4156
4199
|
if (r == null)
|
|
4157
4200
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4158
|
-
return n ? i =
|
|
4201
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4159
4202
|
}
|
|
4160
|
-
),
|
|
4203
|
+
), Li = Ee(
|
|
4161
4204
|
(e) => {
|
|
4162
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4205
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4163
4206
|
if (r == null)
|
|
4164
4207
|
throw new Error(
|
|
4165
4208
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4166
4209
|
);
|
|
4167
|
-
return n ? i =
|
|
4210
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4168
4211
|
}
|
|
4169
|
-
),
|
|
4212
|
+
), Ii = (e = {}) => {
|
|
4170
4213
|
var t = e, {
|
|
4171
4214
|
locale: r = G()
|
|
4172
|
-
} = t, n =
|
|
4215
|
+
} = t, n = Y(t, [
|
|
4173
4216
|
"locale"
|
|
4174
4217
|
]);
|
|
4175
|
-
return
|
|
4176
|
-
},
|
|
4218
|
+
return Pi(tt({ locale: r }, n));
|
|
4219
|
+
}, Mi = (e = {}) => {
|
|
4177
4220
|
var t = e, {
|
|
4178
4221
|
locale: r = G()
|
|
4179
|
-
} = t, n =
|
|
4222
|
+
} = t, n = Y(t, [
|
|
4180
4223
|
"locale"
|
|
4181
4224
|
]);
|
|
4182
|
-
return
|
|
4183
|
-
},
|
|
4225
|
+
return Oi(tt({ locale: r }, n));
|
|
4226
|
+
}, Ni = (e = {}) => {
|
|
4184
4227
|
var t = e, {
|
|
4185
4228
|
locale: r = G()
|
|
4186
|
-
} = t, n =
|
|
4229
|
+
} = t, n = Y(t, [
|
|
4187
4230
|
"locale"
|
|
4188
4231
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4232
|
+
return Li(tt({ locale: r }, n));
|
|
4233
|
+
}, $i = Ee(
|
|
4191
4234
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4192
|
-
(e, t = G()) => new
|
|
4193
|
-
ignoreTag:
|
|
4235
|
+
(e, t = G()) => new hi(e, t, z().formats, {
|
|
4236
|
+
ignoreTag: z().ignoreTag
|
|
4194
4237
|
})
|
|
4195
|
-
),
|
|
4238
|
+
), Ri = (e, t = {}) => {
|
|
4196
4239
|
var r, n, i, o;
|
|
4197
4240
|
let s = t;
|
|
4198
4241
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4205,9 +4248,9 @@ const ne = (e, t) => {
|
|
|
4205
4248
|
throw new Error(
|
|
4206
4249
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4207
4250
|
);
|
|
4208
|
-
let l =
|
|
4251
|
+
let l = ir(e, h);
|
|
4209
4252
|
if (!l)
|
|
4210
|
-
l = (o = (i = (n = (r =
|
|
4253
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4211
4254
|
else if (typeof l != "string")
|
|
4212
4255
|
return console.warn(
|
|
4213
4256
|
`[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.`
|
|
@@ -4216,7 +4259,7 @@ const ne = (e, t) => {
|
|
|
4216
4259
|
return l;
|
|
4217
4260
|
let c = l;
|
|
4218
4261
|
try {
|
|
4219
|
-
c =
|
|
4262
|
+
c = $i(l, h).format(a);
|
|
4220
4263
|
} catch (f) {
|
|
4221
4264
|
f instanceof Error && console.warn(
|
|
4222
4265
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4224,20 +4267,20 @@ const ne = (e, t) => {
|
|
|
4224
4267
|
);
|
|
4225
4268
|
}
|
|
4226
4269
|
return c;
|
|
4227
|
-
},
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
window.emWidgets = { topic:
|
|
4233
|
-
const
|
|
4234
|
-
function
|
|
4235
|
-
|
|
4236
|
-
}
|
|
4237
|
-
function
|
|
4238
|
-
|
|
4239
|
-
}
|
|
4240
|
-
const
|
|
4270
|
+
}, Gi = (e, t) => Ni(t).format(e), Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ii(t).format(e), Fi = (e, t = G()) => ir(e, t), ji = Q([J, ie], () => Ri);
|
|
4271
|
+
Q([J], () => Gi);
|
|
4272
|
+
Q([J], () => Ui);
|
|
4273
|
+
Q([J], () => Di);
|
|
4274
|
+
Q([J, ie], () => Fi);
|
|
4275
|
+
window.emWidgets = { topic: Kr };
|
|
4276
|
+
const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4277
|
+
function Ht(e, t) {
|
|
4278
|
+
sr(e, t);
|
|
4279
|
+
}
|
|
4280
|
+
function Vi(e) {
|
|
4281
|
+
J.set(e);
|
|
4282
|
+
}
|
|
4283
|
+
const Bt = {
|
|
4241
4284
|
en: {
|
|
4242
4285
|
cancel: "Cancel",
|
|
4243
4286
|
confirm: "Confirm"
|
|
@@ -4283,13 +4326,13 @@ const Et = {
|
|
|
4283
4326
|
confirm: "Confirm"
|
|
4284
4327
|
}
|
|
4285
4328
|
};
|
|
4286
|
-
function
|
|
4329
|
+
function Xi(e, t) {
|
|
4287
4330
|
if (e) {
|
|
4288
4331
|
const r = document.createElement("style");
|
|
4289
4332
|
r.innerHTML = t, e.appendChild(r);
|
|
4290
4333
|
}
|
|
4291
4334
|
}
|
|
4292
|
-
function
|
|
4335
|
+
function Wi(e, t) {
|
|
4293
4336
|
const r = new URL(t);
|
|
4294
4337
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4295
4338
|
const i = document.createElement("style");
|
|
@@ -4298,7 +4341,7 @@ function Fi(e, t) {
|
|
|
4298
4341
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4299
4342
|
});
|
|
4300
4343
|
}
|
|
4301
|
-
function
|
|
4344
|
+
function zi(e, t, r) {
|
|
4302
4345
|
if (window.emMessageBus) {
|
|
4303
4346
|
const n = document.createElement("style");
|
|
4304
4347
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4306,68 +4349,68 @@ function ji(e, t, r) {
|
|
|
4306
4349
|
});
|
|
4307
4350
|
}
|
|
4308
4351
|
}
|
|
4309
|
-
function
|
|
4310
|
-
|
|
4352
|
+
function Zi(e) {
|
|
4353
|
+
xr(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}');
|
|
4311
4354
|
}
|
|
4312
|
-
const
|
|
4313
|
-
function
|
|
4355
|
+
const Qi = (e) => ({}), Ct = (e) => ({});
|
|
4356
|
+
function Ji(e) {
|
|
4314
4357
|
let t, r;
|
|
4315
4358
|
return {
|
|
4316
4359
|
c() {
|
|
4317
|
-
t =
|
|
4360
|
+
t = it("svg"), r = it("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");
|
|
4318
4361
|
},
|
|
4319
4362
|
m(n, i) {
|
|
4320
|
-
|
|
4363
|
+
Ke(n, t, i), B(t, r);
|
|
4321
4364
|
},
|
|
4322
|
-
p:
|
|
4365
|
+
p: I,
|
|
4323
4366
|
d(n) {
|
|
4324
|
-
n &&
|
|
4367
|
+
n && be(t);
|
|
4325
4368
|
}
|
|
4326
4369
|
};
|
|
4327
4370
|
}
|
|
4328
|
-
function
|
|
4371
|
+
function Yi(e) {
|
|
4329
4372
|
let t, r, n, i, o, s, a, h, u, l = (
|
|
4330
4373
|
/*$_*/
|
|
4331
4374
|
e[2]("cancel") + ""
|
|
4332
4375
|
), c, f, p, m = (
|
|
4333
4376
|
/*$_*/
|
|
4334
4377
|
e[2]("confirm") + ""
|
|
4335
|
-
),
|
|
4378
|
+
), y, E, A, P;
|
|
4336
4379
|
const T = (
|
|
4337
4380
|
/*#slots*/
|
|
4338
4381
|
e[14].close
|
|
4339
|
-
),
|
|
4382
|
+
), O = br(
|
|
4340
4383
|
T,
|
|
4341
4384
|
e,
|
|
4342
4385
|
/*$$scope*/
|
|
4343
4386
|
e[13],
|
|
4344
|
-
|
|
4345
|
-
), w =
|
|
4387
|
+
Ct
|
|
4388
|
+
), w = O || Ji();
|
|
4346
4389
|
return {
|
|
4347
4390
|
c() {
|
|
4348
|
-
t =
|
|
4391
|
+
t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = we(), o = M("div"), s = ae(
|
|
4349
4392
|
/*modaltext*/
|
|
4350
4393
|
e[0]
|
|
4351
|
-
), a =
|
|
4394
|
+
), a = we(), h = M("div"), u = M("button"), c = ae(l), f = we(), p = M("button"), y = ae(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*/
|
|
4352
4395
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4353
4396
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4354
4397
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4355
4398
|
},
|
|
4356
|
-
m(
|
|
4357
|
-
|
|
4358
|
-
|
|
4399
|
+
m(x, C) {
|
|
4400
|
+
Ke(x, 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, y), e[15](t), E = !0, A || (P = [
|
|
4401
|
+
Se(
|
|
4359
4402
|
n,
|
|
4360
4403
|
"click",
|
|
4361
4404
|
/*close*/
|
|
4362
4405
|
e[4]
|
|
4363
4406
|
),
|
|
4364
|
-
|
|
4407
|
+
Se(
|
|
4365
4408
|
u,
|
|
4366
4409
|
"click",
|
|
4367
4410
|
/*cancelChanges*/
|
|
4368
4411
|
e[6]
|
|
4369
4412
|
),
|
|
4370
|
-
|
|
4413
|
+
Se(
|
|
4371
4414
|
p,
|
|
4372
4415
|
"click",
|
|
4373
4416
|
/*confirmChanges*/
|
|
@@ -4375,67 +4418,67 @@ function Wi(e) {
|
|
|
4375
4418
|
)
|
|
4376
4419
|
], A = !0);
|
|
4377
4420
|
},
|
|
4378
|
-
p(
|
|
4379
|
-
|
|
4380
|
-
8192) &&
|
|
4381
|
-
|
|
4421
|
+
p(x, [C]) {
|
|
4422
|
+
O && O.p && (!E || C & /*$$scope*/
|
|
4423
|
+
8192) && yr(
|
|
4424
|
+
O,
|
|
4382
4425
|
T,
|
|
4383
|
-
|
|
4426
|
+
x,
|
|
4384
4427
|
/*$$scope*/
|
|
4385
|
-
|
|
4386
|
-
E ?
|
|
4428
|
+
x[13],
|
|
4429
|
+
E ? gr(
|
|
4387
4430
|
T,
|
|
4388
4431
|
/*$$scope*/
|
|
4389
|
-
|
|
4432
|
+
x[13],
|
|
4390
4433
|
C,
|
|
4391
|
-
|
|
4392
|
-
) :
|
|
4434
|
+
Qi
|
|
4435
|
+
) : vr(
|
|
4393
4436
|
/*$$scope*/
|
|
4394
|
-
|
|
4437
|
+
x[13]
|
|
4395
4438
|
),
|
|
4396
|
-
|
|
4439
|
+
Ct
|
|
4397
4440
|
), (!E || C & /*modaltext*/
|
|
4398
|
-
1) &&
|
|
4441
|
+
1) && Te(
|
|
4399
4442
|
s,
|
|
4400
4443
|
/*modaltext*/
|
|
4401
|
-
|
|
4444
|
+
x[0]
|
|
4402
4445
|
), (!E || C & /*$_*/
|
|
4403
4446
|
4) && l !== (l = /*$_*/
|
|
4404
|
-
|
|
4447
|
+
x[2]("cancel") + "") && Te(c, l), (!E || C & /*$_*/
|
|
4405
4448
|
4) && m !== (m = /*$_*/
|
|
4406
|
-
|
|
4449
|
+
x[2]("confirm") + "") && Te(y, m);
|
|
4407
4450
|
},
|
|
4408
|
-
i(
|
|
4409
|
-
E || (
|
|
4451
|
+
i(x) {
|
|
4452
|
+
E || (It(w, x), E = !0);
|
|
4410
4453
|
},
|
|
4411
|
-
o(
|
|
4412
|
-
|
|
4454
|
+
o(x) {
|
|
4455
|
+
Lr(w, x), E = !1;
|
|
4413
4456
|
},
|
|
4414
|
-
d(
|
|
4415
|
-
|
|
4457
|
+
d(x) {
|
|
4458
|
+
x && be(t), w && w.d(x), e[15](null), A = !1, Z(P);
|
|
4416
4459
|
}
|
|
4417
4460
|
};
|
|
4418
4461
|
}
|
|
4419
|
-
function
|
|
4462
|
+
function qi(e, t, r) {
|
|
4420
4463
|
let n;
|
|
4421
|
-
|
|
4464
|
+
dr(e, ji, (b) => r(2, n = b));
|
|
4422
4465
|
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;
|
|
4423
4466
|
const p = () => {
|
|
4424
4467
|
fetch(f).then((U) => U.json()).then((U) => {
|
|
4425
|
-
Object.keys(U).forEach((
|
|
4426
|
-
|
|
4468
|
+
Object.keys(U).forEach((rt) => {
|
|
4469
|
+
Ht(rt, U[rt]);
|
|
4427
4470
|
});
|
|
4428
4471
|
}).catch((U) => {
|
|
4429
4472
|
console.log(U);
|
|
4430
4473
|
});
|
|
4431
4474
|
};
|
|
4432
|
-
Object.keys(
|
|
4433
|
-
|
|
4475
|
+
Object.keys(Bt).forEach((b) => {
|
|
4476
|
+
Ht(b, Bt[b]);
|
|
4434
4477
|
});
|
|
4435
|
-
let m,
|
|
4478
|
+
let m, y = window.navigator.userAgent, E = ki(y) !== "PC", A = {}, P = "";
|
|
4436
4479
|
const T = () => {
|
|
4437
4480
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4438
|
-
},
|
|
4481
|
+
}, O = () => {
|
|
4439
4482
|
a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
|
|
4440
4483
|
{
|
|
4441
4484
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4446,21 +4489,21 @@ function zi(e, t, r) {
|
|
|
4446
4489
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4447
4490
|
}, w = () => {
|
|
4448
4491
|
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);
|
|
4449
|
-
},
|
|
4492
|
+
}, x = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
|
|
4450
4493
|
if (b.data)
|
|
4451
4494
|
switch (b.data.type) {
|
|
4452
4495
|
case "DeleteLimitsItem":
|
|
4453
|
-
A = b.data.removeData, P =
|
|
4496
|
+
A = b.data.removeData, P = x(b.data.removeName);
|
|
4454
4497
|
break;
|
|
4455
4498
|
}
|
|
4456
|
-
},
|
|
4457
|
-
|
|
4499
|
+
}, cr = () => {
|
|
4500
|
+
Vi(h);
|
|
4458
4501
|
};
|
|
4459
|
-
|
|
4502
|
+
Hr(() => (window.addEventListener("message", C, !1), () => {
|
|
4460
4503
|
window.removeEventListener("message", C);
|
|
4461
4504
|
}));
|
|
4462
|
-
function
|
|
4463
|
-
|
|
4505
|
+
function fr(b) {
|
|
4506
|
+
Me[b ? "unshift" : "push"](() => {
|
|
4464
4507
|
m = b, r(1, m);
|
|
4465
4508
|
});
|
|
4466
4509
|
}
|
|
@@ -4468,10 +4511,10 @@ function zi(e, t, r) {
|
|
|
4468
4511
|
"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);
|
|
4469
4512
|
}, e.$$.update = () => {
|
|
4470
4513
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4471
|
-
385 && s && a && h &&
|
|
4472
|
-
514 && u && m &&
|
|
4473
|
-
1026 && l && m &&
|
|
4474
|
-
2050 && c && m &&
|
|
4514
|
+
385 && s && a && h && cr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4515
|
+
514 && u && m && Xi(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4516
|
+
1026 && l && m && Wi(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4517
|
+
2050 && c && m && zi(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4475
4518
|
4096 && f && p();
|
|
4476
4519
|
}, [
|
|
4477
4520
|
s,
|
|
@@ -4479,7 +4522,7 @@ function zi(e, t, r) {
|
|
|
4479
4522
|
n,
|
|
4480
4523
|
E,
|
|
4481
4524
|
T,
|
|
4482
|
-
|
|
4525
|
+
O,
|
|
4483
4526
|
w,
|
|
4484
4527
|
a,
|
|
4485
4528
|
h,
|
|
@@ -4489,17 +4532,17 @@ function zi(e, t, r) {
|
|
|
4489
4532
|
f,
|
|
4490
4533
|
o,
|
|
4491
4534
|
i,
|
|
4492
|
-
|
|
4535
|
+
fr
|
|
4493
4536
|
];
|
|
4494
4537
|
}
|
|
4495
|
-
class
|
|
4538
|
+
class Ki extends Gr {
|
|
4496
4539
|
constructor(t) {
|
|
4497
|
-
super(),
|
|
4540
|
+
super(), $r(
|
|
4498
4541
|
this,
|
|
4499
4542
|
t,
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4543
|
+
qi,
|
|
4544
|
+
Yi,
|
|
4545
|
+
Pt,
|
|
4503
4546
|
{
|
|
4504
4547
|
modaltext: 0,
|
|
4505
4548
|
modalsource: 7,
|
|
@@ -4509,53 +4552,53 @@ class Zi extends Ir {
|
|
|
4509
4552
|
mbsource: 11,
|
|
4510
4553
|
translationurl: 12
|
|
4511
4554
|
},
|
|
4512
|
-
|
|
4555
|
+
Zi
|
|
4513
4556
|
);
|
|
4514
4557
|
}
|
|
4515
4558
|
get modaltext() {
|
|
4516
4559
|
return this.$$.ctx[0];
|
|
4517
4560
|
}
|
|
4518
4561
|
set modaltext(t) {
|
|
4519
|
-
this.$$set({ modaltext: t }),
|
|
4562
|
+
this.$$set({ modaltext: t }), N();
|
|
4520
4563
|
}
|
|
4521
4564
|
get modalsource() {
|
|
4522
4565
|
return this.$$.ctx[7];
|
|
4523
4566
|
}
|
|
4524
4567
|
set modalsource(t) {
|
|
4525
|
-
this.$$set({ modalsource: t }),
|
|
4568
|
+
this.$$set({ modalsource: t }), N();
|
|
4526
4569
|
}
|
|
4527
4570
|
get lang() {
|
|
4528
4571
|
return this.$$.ctx[8];
|
|
4529
4572
|
}
|
|
4530
4573
|
set lang(t) {
|
|
4531
|
-
this.$$set({ lang: t }),
|
|
4574
|
+
this.$$set({ lang: t }), N();
|
|
4532
4575
|
}
|
|
4533
4576
|
get clientstyling() {
|
|
4534
4577
|
return this.$$.ctx[9];
|
|
4535
4578
|
}
|
|
4536
4579
|
set clientstyling(t) {
|
|
4537
|
-
this.$$set({ clientstyling: t }),
|
|
4580
|
+
this.$$set({ clientstyling: t }), N();
|
|
4538
4581
|
}
|
|
4539
4582
|
get clientstylingurl() {
|
|
4540
4583
|
return this.$$.ctx[10];
|
|
4541
4584
|
}
|
|
4542
4585
|
set clientstylingurl(t) {
|
|
4543
|
-
this.$$set({ clientstylingurl: t }),
|
|
4586
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4544
4587
|
}
|
|
4545
4588
|
get mbsource() {
|
|
4546
4589
|
return this.$$.ctx[11];
|
|
4547
4590
|
}
|
|
4548
4591
|
set mbsource(t) {
|
|
4549
|
-
this.$$set({ mbsource: t }),
|
|
4592
|
+
this.$$set({ mbsource: t }), N();
|
|
4550
4593
|
}
|
|
4551
4594
|
get translationurl() {
|
|
4552
4595
|
return this.$$.ctx[12];
|
|
4553
4596
|
}
|
|
4554
4597
|
set translationurl(t) {
|
|
4555
|
-
this.$$set({ translationurl: t }),
|
|
4598
|
+
this.$$set({ translationurl: t }), N();
|
|
4556
4599
|
}
|
|
4557
4600
|
}
|
|
4558
|
-
|
|
4601
|
+
Rr(Ki, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4559
4602
|
export {
|
|
4560
|
-
|
|
4603
|
+
Ki as P
|
|
4561
4604
|
};
|