@everymatrix/player-account-gaming-limits-popup 1.86.2 → 1.86.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup-DZrFAZfJ.js → PlayerAccountGamingLimitsPopup-CZL0tEMt.js} +740 -761
- package/components/PlayerAccountGamingLimitsPopup-Cd30ACd0.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsPopup-DrZbor7u.js → PlayerAccountGamingLimitsPopup-DD8pVJ20.js} +722 -743
- package/es2015/player-account-gaming-limits-popup.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup.js +1 -1
- package/esnext/player-account-gaming-limits-popup.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup-C5YoXENK.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var ur = Object.defineProperty, lr = Object.defineProperties;
|
|
2
|
+
var hr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
cr.call(t, r) && xe(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
fr.call(t, r) && xe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var I = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, et = (e, t) => lr(e, hr(t));
|
|
13
|
+
var I = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,25 +29,25 @@ var nt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ht(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ne(e) {
|
|
39
|
+
e.forEach(Ht);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function We(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Bt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Ct(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function pr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Bt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function P(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function mr(e, t, r) {
|
|
66
|
+
const n = br(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
|
-
const i =
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
68
|
+
const i = A("style");
|
|
69
|
+
i.id = t, i.textContent = r, vr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function br(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,50 +79,50 @@ function vr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function vr(e, t) {
|
|
83
83
|
return P(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ie(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function X(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function A(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function oe(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function _e() {
|
|
102
|
+
return oe(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function gr() {
|
|
105
|
+
return oe("");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function yr(e, t, r, n) {
|
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function xr(e) {
|
|
111
111
|
return function(t) {
|
|
112
112
|
return t.preventDefault(), e.call(this, t);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function C(e, t, r) {
|
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function _r(e) {
|
|
119
119
|
return Array.from(e.childNodes);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Xe(e, t) {
|
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
123
|
t);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Er(e) {
|
|
126
126
|
const t = {};
|
|
127
127
|
return e.childNodes.forEach(
|
|
128
128
|
/** @param {Element} node */
|
|
@@ -131,63 +131,63 @@ function Tr(e) {
|
|
|
131
131
|
}
|
|
132
132
|
), t;
|
|
133
133
|
}
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
|
|
134
|
+
let ee;
|
|
135
|
+
function K(e) {
|
|
136
|
+
ee = e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
if (!
|
|
138
|
+
function Tr() {
|
|
139
|
+
if (!ee)
|
|
140
140
|
throw new Error("Function called outside component initialization");
|
|
141
|
-
return
|
|
141
|
+
return ee;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
|
|
143
|
+
function Sr(e) {
|
|
144
|
+
Tr().$$.on_mount.push(e);
|
|
145
145
|
}
|
|
146
|
-
const D = [],
|
|
146
|
+
const D = [], Ce = [];
|
|
147
147
|
let F = [];
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
function
|
|
151
|
-
|
|
148
|
+
const nt = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
149
|
+
let Ae = !1;
|
|
150
|
+
function Pr() {
|
|
151
|
+
Ae || (Ae = !0, wr.then(M));
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Oe(e) {
|
|
154
154
|
F.push(e);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const Ee = /* @__PURE__ */ new Set();
|
|
157
157
|
let U = 0;
|
|
158
|
-
function
|
|
158
|
+
function M() {
|
|
159
159
|
if (U !== 0)
|
|
160
160
|
return;
|
|
161
|
-
const e =
|
|
161
|
+
const e = ee;
|
|
162
162
|
do {
|
|
163
163
|
try {
|
|
164
164
|
for (; U < D.length; ) {
|
|
165
165
|
const t = D[U];
|
|
166
|
-
U++,
|
|
166
|
+
U++, K(t), Hr(t.$$);
|
|
167
167
|
}
|
|
168
168
|
} catch (t) {
|
|
169
169
|
throw D.length = 0, U = 0, t;
|
|
170
170
|
}
|
|
171
|
-
for (
|
|
172
|
-
|
|
171
|
+
for (K(null), D.length = 0, U = 0; Ce.length; )
|
|
172
|
+
Ce.pop()();
|
|
173
173
|
for (let t = 0; t < F.length; t += 1) {
|
|
174
174
|
const r = F[t];
|
|
175
|
-
|
|
175
|
+
Ee.has(r) || (Ee.add(r), r());
|
|
176
176
|
}
|
|
177
177
|
F.length = 0;
|
|
178
178
|
} while (D.length);
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
for (; nt.length; )
|
|
180
|
+
nt.pop()();
|
|
181
|
+
Ae = !1, Ee.clear(), K(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Hr(e) {
|
|
184
184
|
if (e.fragment !== null) {
|
|
185
|
-
e.update(),
|
|
185
|
+
e.update(), ne(e.before_update);
|
|
186
186
|
const t = e.dirty;
|
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ir(e) {
|
|
191
191
|
const t = [], r = [];
|
|
192
192
|
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
193
193
|
}
|
|
@@ -195,23 +195,23 @@ const Br = /* @__PURE__ */ new Set();
|
|
|
195
195
|
function Cr(e, t) {
|
|
196
196
|
e && e.i && (Br.delete(e), e.i(t));
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ar(e, t, r) {
|
|
199
199
|
const { fragment: n, after_update: i } = e.$$;
|
|
200
|
-
n && n.m(t, r),
|
|
201
|
-
const o = e.$$.on_mount.map(
|
|
202
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
203
|
-
}), i.forEach(
|
|
200
|
+
n && n.m(t, r), Oe(() => {
|
|
201
|
+
const o = e.$$.on_mount.map(Ht).filter(We);
|
|
202
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
203
|
+
}), i.forEach(Oe);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Or(e, t) {
|
|
206
206
|
const r = e.$$;
|
|
207
|
-
r.fragment !== null && (
|
|
207
|
+
r.fragment !== null && (Ir(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
208
208
|
}
|
|
209
209
|
function Mr(e, t) {
|
|
210
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
210
|
+
e.$$.dirty[0] === -1 && (D.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const l =
|
|
214
|
-
|
|
212
|
+
function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
213
|
+
const l = ee;
|
|
214
|
+
K(e);
|
|
215
215
|
const u = e.$$ = {
|
|
216
216
|
fragment: null,
|
|
217
217
|
ctx: [],
|
|
@@ -219,7 +219,7 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
219
219
|
props: o,
|
|
220
220
|
update: O,
|
|
221
221
|
not_equal: i,
|
|
222
|
-
bound:
|
|
222
|
+
bound: rt(),
|
|
223
223
|
// lifecycle
|
|
224
224
|
on_mount: [],
|
|
225
225
|
on_destroy: [],
|
|
@@ -228,28 +228,28 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
228
228
|
after_update: [],
|
|
229
229
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
230
230
|
// everything else
|
|
231
|
-
callbacks:
|
|
231
|
+
callbacks: rt(),
|
|
232
232
|
dirty: s,
|
|
233
233
|
skip_bound: !1,
|
|
234
234
|
root: t.target || l.$$.root
|
|
235
235
|
};
|
|
236
236
|
a && a(u.root);
|
|
237
237
|
let h = !1;
|
|
238
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
239
|
-
const
|
|
240
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
241
|
-
}) : [], u.update(), h = !0,
|
|
238
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
239
|
+
const p = d.length ? d[0] : c;
|
|
240
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Mr(e, f)), c;
|
|
241
|
+
}) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
242
242
|
if (t.hydrate) {
|
|
243
|
-
const f =
|
|
244
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
243
|
+
const f = _r(t.target);
|
|
244
|
+
u.fragment && u.fragment.l(f), f.forEach(X);
|
|
245
245
|
} else
|
|
246
246
|
u.fragment && u.fragment.c();
|
|
247
|
-
t.intro && Cr(e.$$.fragment),
|
|
247
|
+
t.intro && Cr(e.$$.fragment), Ar(e, t.target, t.anchor), M();
|
|
248
248
|
}
|
|
249
|
-
|
|
249
|
+
K(l);
|
|
250
250
|
}
|
|
251
|
-
let
|
|
252
|
-
typeof HTMLElement == "function" && (
|
|
251
|
+
let Ct;
|
|
252
|
+
typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
253
253
|
constructor(t, r, n) {
|
|
254
254
|
super();
|
|
255
255
|
/** The Svelte component constructor */
|
|
@@ -286,31 +286,31 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
connectedCallback() {
|
|
289
|
-
return
|
|
289
|
+
return tt(this, null, function* () {
|
|
290
290
|
if (this.$$cn = !0, !this.$$c) {
|
|
291
291
|
let t = function(o) {
|
|
292
292
|
return () => {
|
|
293
293
|
let a;
|
|
294
294
|
return {
|
|
295
295
|
c: function() {
|
|
296
|
-
a =
|
|
296
|
+
a = A("slot"), o !== "default" && C(a, "name", o);
|
|
297
297
|
},
|
|
298
298
|
/**
|
|
299
299
|
* @param {HTMLElement} target
|
|
300
300
|
* @param {HTMLElement} [anchor]
|
|
301
301
|
*/
|
|
302
302
|
m: function(u, h) {
|
|
303
|
-
|
|
303
|
+
ie(u, a, h);
|
|
304
304
|
},
|
|
305
305
|
d: function(u) {
|
|
306
|
-
u &&
|
|
306
|
+
u && X(a);
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
311
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
312
312
|
return;
|
|
313
|
-
const r = {}, n =
|
|
313
|
+
const r = {}, n = Er(this);
|
|
314
314
|
for (const o of this.$$s)
|
|
315
315
|
o in n && (r[o] = [t(o)]);
|
|
316
316
|
for (const o of this.attributes) {
|
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
321
321
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
322
322
|
this.$$c = new this.$$ctor({
|
|
323
323
|
target: this.shadowRoot || this,
|
|
324
|
-
props:
|
|
324
|
+
props: et(Ke({}, this.$$d), {
|
|
325
325
|
$$slots: r,
|
|
326
326
|
$$scope: {
|
|
327
327
|
ctx: []
|
|
@@ -399,8 +399,8 @@ function le(e, t, r, n) {
|
|
|
399
399
|
return t;
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
let a = class extends
|
|
402
|
+
function Nr(e, t, r, n, i, o) {
|
|
403
|
+
let a = class extends Ct {
|
|
404
404
|
constructor() {
|
|
405
405
|
super(e, r, i), this.$$p_d = t;
|
|
406
406
|
}
|
|
@@ -451,7 +451,7 @@ class Rr {
|
|
|
451
451
|
}
|
|
452
452
|
/** @returns {void} */
|
|
453
453
|
$destroy() {
|
|
454
|
-
|
|
454
|
+
Or(this, 1), this.$destroy = O;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -460,7 +460,7 @@ class Rr {
|
|
|
460
460
|
* @returns {() => void}
|
|
461
461
|
*/
|
|
462
462
|
$on(t, r) {
|
|
463
|
-
if (!
|
|
463
|
+
if (!We(r))
|
|
464
464
|
return O;
|
|
465
465
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
466
466
|
return n.push(r), () => {
|
|
@@ -476,8 +476,8 @@ class Rr {
|
|
|
476
476
|
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
const
|
|
480
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
479
|
+
const $r = "4";
|
|
480
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
|
|
481
481
|
/*! *****************************************************************************
|
|
482
482
|
Copyright (c) Microsoft Corporation.
|
|
483
483
|
|
|
@@ -492,24 +492,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
492
492
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
493
493
|
PERFORMANCE OF THIS SOFTWARE.
|
|
494
494
|
***************************************************************************** */
|
|
495
|
-
var
|
|
496
|
-
return
|
|
495
|
+
var Me = function(e, t) {
|
|
496
|
+
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
497
497
|
r.__proto__ = n;
|
|
498
498
|
} || function(r, n) {
|
|
499
499
|
for (var i in n)
|
|
500
500
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
501
|
-
},
|
|
501
|
+
}, Me(e, t);
|
|
502
502
|
};
|
|
503
|
-
function
|
|
503
|
+
function N(e, t) {
|
|
504
504
|
if (typeof t != "function" && t !== null)
|
|
505
505
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
506
|
-
|
|
506
|
+
Me(e, t);
|
|
507
507
|
function r() {
|
|
508
508
|
this.constructor = e;
|
|
509
509
|
}
|
|
510
510
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
var g = function() {
|
|
513
|
+
return g = Object.assign || function(t) {
|
|
514
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
515
|
+
r = arguments[n];
|
|
516
|
+
for (var o in r)
|
|
517
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
518
|
+
}
|
|
519
|
+
return t;
|
|
520
|
+
}, g.apply(this, arguments);
|
|
521
|
+
};
|
|
522
|
+
function Ur(e, t) {
|
|
523
|
+
var r = {};
|
|
524
|
+
for (var n in e)
|
|
525
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
526
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
527
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
528
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
529
|
+
return r;
|
|
530
|
+
}
|
|
531
|
+
function Le(e) {
|
|
513
532
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
514
533
|
if (r)
|
|
515
534
|
return r.call(e);
|
|
@@ -521,7 +540,7 @@ function $e(e) {
|
|
|
521
540
|
};
|
|
522
541
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
523
542
|
}
|
|
524
|
-
function
|
|
543
|
+
function Ne(e, t) {
|
|
525
544
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
526
545
|
if (!r)
|
|
527
546
|
return e;
|
|
@@ -541,22 +560,22 @@ function Re(e, t) {
|
|
|
541
560
|
}
|
|
542
561
|
return o;
|
|
543
562
|
}
|
|
544
|
-
function
|
|
545
|
-
if (arguments.length === 2)
|
|
563
|
+
function j(e, t, r) {
|
|
564
|
+
if (r || arguments.length === 2)
|
|
546
565
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
547
566
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
548
567
|
return e.concat(o || t);
|
|
549
568
|
}
|
|
550
|
-
function
|
|
569
|
+
function L(e) {
|
|
551
570
|
return typeof e == "function";
|
|
552
571
|
}
|
|
553
|
-
function
|
|
572
|
+
function At(e) {
|
|
554
573
|
var t = function(n) {
|
|
555
574
|
Error.call(n), n.stack = new Error().stack;
|
|
556
575
|
}, r = e(t);
|
|
557
576
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
558
577
|
}
|
|
559
|
-
var
|
|
578
|
+
var Te = At(function(e) {
|
|
560
579
|
return function(r) {
|
|
561
580
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
562
581
|
` + r.map(function(n, i) {
|
|
@@ -565,13 +584,13 @@ var we = Lt(function(e) {
|
|
|
565
584
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
566
585
|
};
|
|
567
586
|
});
|
|
568
|
-
function
|
|
587
|
+
function Re(e, t) {
|
|
569
588
|
if (e) {
|
|
570
589
|
var r = e.indexOf(t);
|
|
571
590
|
0 <= r && e.splice(r, 1);
|
|
572
591
|
}
|
|
573
592
|
}
|
|
574
|
-
var
|
|
593
|
+
var me = function() {
|
|
575
594
|
function e(t) {
|
|
576
595
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
577
596
|
}
|
|
@@ -583,12 +602,12 @@ var be = function() {
|
|
|
583
602
|
if (a)
|
|
584
603
|
if (this._parentage = null, Array.isArray(a))
|
|
585
604
|
try {
|
|
586
|
-
for (var s =
|
|
605
|
+
for (var s = Le(a), l = s.next(); !l.done; l = s.next()) {
|
|
587
606
|
var u = l.value;
|
|
588
607
|
u.remove(this);
|
|
589
608
|
}
|
|
590
|
-
} catch (
|
|
591
|
-
t = { error:
|
|
609
|
+
} catch (y) {
|
|
610
|
+
t = { error: y };
|
|
592
611
|
} finally {
|
|
593
612
|
try {
|
|
594
613
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -600,29 +619,29 @@ var be = function() {
|
|
|
600
619
|
else
|
|
601
620
|
a.remove(this);
|
|
602
621
|
var h = this.initialTeardown;
|
|
603
|
-
if (
|
|
622
|
+
if (L(h))
|
|
604
623
|
try {
|
|
605
624
|
h();
|
|
606
|
-
} catch (
|
|
607
|
-
o =
|
|
625
|
+
} catch (y) {
|
|
626
|
+
o = y instanceof Te ? y.errors : [y];
|
|
608
627
|
}
|
|
609
628
|
var f = this._finalizers;
|
|
610
629
|
if (f) {
|
|
611
630
|
this._finalizers = null;
|
|
612
631
|
try {
|
|
613
|
-
for (var c =
|
|
614
|
-
var
|
|
632
|
+
for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
|
|
633
|
+
var p = d.value;
|
|
615
634
|
try {
|
|
616
|
-
|
|
617
|
-
} catch (
|
|
618
|
-
o = o != null ? o : [],
|
|
635
|
+
it(p);
|
|
636
|
+
} catch (y) {
|
|
637
|
+
o = o != null ? o : [], y instanceof Te ? o = j(j([], Ne(o)), Ne(y.errors)) : o.push(y);
|
|
619
638
|
}
|
|
620
639
|
}
|
|
621
|
-
} catch (
|
|
622
|
-
n = { error:
|
|
640
|
+
} catch (y) {
|
|
641
|
+
n = { error: y };
|
|
623
642
|
} finally {
|
|
624
643
|
try {
|
|
625
|
-
|
|
644
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
626
645
|
} finally {
|
|
627
646
|
if (n)
|
|
628
647
|
throw n.error;
|
|
@@ -630,13 +649,13 @@ var be = function() {
|
|
|
630
649
|
}
|
|
631
650
|
}
|
|
632
651
|
if (o)
|
|
633
|
-
throw new
|
|
652
|
+
throw new Te(o);
|
|
634
653
|
}
|
|
635
654
|
}, e.prototype.add = function(t) {
|
|
636
655
|
var r;
|
|
637
656
|
if (t && t !== this)
|
|
638
657
|
if (this.closed)
|
|
639
|
-
|
|
658
|
+
it(t);
|
|
640
659
|
else {
|
|
641
660
|
if (t instanceof e) {
|
|
642
661
|
if (t.closed || t._hasParent(this))
|
|
@@ -653,52 +672,56 @@ var be = function() {
|
|
|
653
672
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
654
673
|
}, e.prototype._removeParent = function(t) {
|
|
655
674
|
var r = this._parentage;
|
|
656
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
675
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
657
676
|
}, e.prototype.remove = function(t) {
|
|
658
677
|
var r = this._finalizers;
|
|
659
|
-
r &&
|
|
678
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
660
679
|
}, e.EMPTY = function() {
|
|
661
680
|
var t = new e();
|
|
662
681
|
return t.closed = !0, t;
|
|
663
682
|
}(), e;
|
|
664
|
-
}(),
|
|
665
|
-
function
|
|
666
|
-
return e instanceof
|
|
667
|
-
}
|
|
668
|
-
function
|
|
669
|
-
|
|
670
|
-
}
|
|
671
|
-
var
|
|
672
|
-
|
|
673
|
-
|
|
683
|
+
}(), Ot = me.EMPTY;
|
|
684
|
+
function Mt(e) {
|
|
685
|
+
return e instanceof me || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
686
|
+
}
|
|
687
|
+
function it(e) {
|
|
688
|
+
L(e) ? e() : e.unsubscribe();
|
|
689
|
+
}
|
|
690
|
+
var Lt = {
|
|
691
|
+
onUnhandledError: null,
|
|
692
|
+
onStoppedNotification: null,
|
|
693
|
+
Promise: void 0,
|
|
694
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
695
|
+
useDeprecatedNextContext: !1
|
|
696
|
+
}, Gr = {
|
|
674
697
|
setTimeout: function(e, t) {
|
|
675
698
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
699
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0,
|
|
700
|
+
return setTimeout.apply(void 0, j([e, t], Ne(r)));
|
|
678
701
|
},
|
|
679
702
|
clearTimeout: function(e) {
|
|
680
703
|
return clearTimeout(e);
|
|
681
704
|
},
|
|
682
705
|
delegate: void 0
|
|
683
706
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
707
|
+
function Dr(e) {
|
|
708
|
+
Gr.setTimeout(function() {
|
|
686
709
|
throw e;
|
|
687
710
|
});
|
|
688
711
|
}
|
|
689
|
-
function
|
|
712
|
+
function ot() {
|
|
690
713
|
}
|
|
691
714
|
function he(e) {
|
|
692
715
|
e();
|
|
693
716
|
}
|
|
694
|
-
var
|
|
695
|
-
|
|
717
|
+
var Nt = function(e) {
|
|
718
|
+
N(t, e);
|
|
696
719
|
function t(r) {
|
|
697
720
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
721
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Vr, n;
|
|
699
722
|
}
|
|
700
723
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
724
|
+
return new $e(r, n, i);
|
|
702
725
|
}, t.prototype.next = function(r) {
|
|
703
726
|
this.isStopped || this._next(r);
|
|
704
727
|
}, t.prototype.error = function(r) {
|
|
@@ -722,7 +745,11 @@ var $t = function(e) {
|
|
|
722
745
|
this.unsubscribe();
|
|
723
746
|
}
|
|
724
747
|
}, t;
|
|
725
|
-
}(
|
|
748
|
+
}(me), Fr = Function.prototype.bind;
|
|
749
|
+
function Se(e, t) {
|
|
750
|
+
return Fr.call(e, t);
|
|
751
|
+
}
|
|
752
|
+
var jr = function() {
|
|
726
753
|
function e(t) {
|
|
727
754
|
this.partialObserver = t;
|
|
728
755
|
}
|
|
@@ -753,29 +780,41 @@ var $t = function(e) {
|
|
|
753
780
|
se(r);
|
|
754
781
|
}
|
|
755
782
|
}, e;
|
|
756
|
-
}(),
|
|
757
|
-
|
|
783
|
+
}(), $e = function(e) {
|
|
784
|
+
N(t, e);
|
|
758
785
|
function t(r, n, i) {
|
|
759
786
|
var o = e.call(this) || this, a;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
787
|
+
if (L(r) || !r)
|
|
788
|
+
a = {
|
|
789
|
+
next: r != null ? r : void 0,
|
|
790
|
+
error: n != null ? n : void 0,
|
|
791
|
+
complete: i != null ? i : void 0
|
|
792
|
+
};
|
|
793
|
+
else {
|
|
794
|
+
var s;
|
|
795
|
+
o && Lt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
796
|
+
return o.unsubscribe();
|
|
797
|
+
}, a = {
|
|
798
|
+
next: r.next && Se(r.next, s),
|
|
799
|
+
error: r.error && Se(r.error, s),
|
|
800
|
+
complete: r.complete && Se(r.complete, s)
|
|
801
|
+
}) : a = r;
|
|
802
|
+
}
|
|
803
|
+
return o.destination = new jr(a), o;
|
|
765
804
|
}
|
|
766
805
|
return t;
|
|
767
|
-
}(
|
|
806
|
+
}(Nt);
|
|
768
807
|
function se(e) {
|
|
769
|
-
|
|
808
|
+
Dr(e);
|
|
770
809
|
}
|
|
771
810
|
function kr(e) {
|
|
772
811
|
throw e;
|
|
773
812
|
}
|
|
774
813
|
var Vr = {
|
|
775
814
|
closed: !0,
|
|
776
|
-
next:
|
|
815
|
+
next: ot,
|
|
777
816
|
error: kr,
|
|
778
|
-
complete:
|
|
817
|
+
complete: ot
|
|
779
818
|
}, zr = function() {
|
|
780
819
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
820
|
}();
|
|
@@ -789,7 +828,7 @@ function Xr(e) {
|
|
|
789
828
|
}, r);
|
|
790
829
|
};
|
|
791
830
|
}
|
|
792
|
-
var
|
|
831
|
+
var at = function() {
|
|
793
832
|
function e(t) {
|
|
794
833
|
t && (this._subscribe = t);
|
|
795
834
|
}
|
|
@@ -797,7 +836,7 @@ var ut = function() {
|
|
|
797
836
|
var r = new e();
|
|
798
837
|
return r.source = this, r.operator = t, r;
|
|
799
838
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this, o = Zr(t) ? t : new
|
|
839
|
+
var i = this, o = Zr(t) ? t : new $e(t, r, n);
|
|
801
840
|
return he(function() {
|
|
802
841
|
var a = i, s = a.operator, l = a.source;
|
|
803
842
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -810,8 +849,8 @@ var ut = function() {
|
|
|
810
849
|
}
|
|
811
850
|
}, e.prototype.forEach = function(t, r) {
|
|
812
851
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var a = new
|
|
852
|
+
return r = st(r), new r(function(i, o) {
|
|
853
|
+
var a = new $e({
|
|
815
854
|
next: function(s) {
|
|
816
855
|
try {
|
|
817
856
|
t(s);
|
|
@@ -835,7 +874,7 @@ var ut = function() {
|
|
|
835
874
|
return Xr(t)(this);
|
|
836
875
|
}, e.prototype.toPromise = function(t) {
|
|
837
876
|
var r = this;
|
|
838
|
-
return t =
|
|
877
|
+
return t = st(t), new t(function(n, i) {
|
|
839
878
|
var o;
|
|
840
879
|
r.subscribe(function(a) {
|
|
841
880
|
return o = a;
|
|
@@ -849,28 +888,28 @@ var ut = function() {
|
|
|
849
888
|
return new e(t);
|
|
850
889
|
}, e;
|
|
851
890
|
}();
|
|
852
|
-
function
|
|
891
|
+
function st(e) {
|
|
853
892
|
var t;
|
|
854
|
-
return (t = e != null ? e :
|
|
893
|
+
return (t = e != null ? e : Lt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
894
|
}
|
|
856
895
|
function qr(e) {
|
|
857
|
-
return e &&
|
|
896
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
858
897
|
}
|
|
859
898
|
function Zr(e) {
|
|
860
|
-
return e && e instanceof
|
|
899
|
+
return e && e instanceof Nt || qr(e) && Mt(e);
|
|
861
900
|
}
|
|
862
|
-
var Yr =
|
|
901
|
+
var Yr = At(function(e) {
|
|
863
902
|
return function() {
|
|
864
903
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
904
|
};
|
|
866
905
|
}), Rt = function(e) {
|
|
867
|
-
|
|
906
|
+
N(t, e);
|
|
868
907
|
function t() {
|
|
869
908
|
var r = e.call(this) || this;
|
|
870
909
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
910
|
}
|
|
872
911
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
912
|
+
var n = new ut(this, this);
|
|
874
913
|
return n.operator = r, n;
|
|
875
914
|
}, t.prototype._throwIfClosed = function() {
|
|
876
915
|
if (this.closed)
|
|
@@ -882,7 +921,7 @@ var Yr = Lt(function(e) {
|
|
|
882
921
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
922
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
923
|
try {
|
|
885
|
-
for (var a =
|
|
924
|
+
for (var a = Le(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
886
925
|
var l = s.value;
|
|
887
926
|
l.next(r);
|
|
888
927
|
}
|
|
@@ -931,20 +970,20 @@ var Yr = Lt(function(e) {
|
|
|
931
970
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
932
971
|
}, t.prototype._innerSubscribe = function(r) {
|
|
933
972
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
934
|
-
return o || a ?
|
|
935
|
-
n.currentObservers = null,
|
|
973
|
+
return o || a ? Ot : (this.currentObservers = null, s.push(r), new me(function() {
|
|
974
|
+
n.currentObservers = null, Re(s, r);
|
|
936
975
|
}));
|
|
937
976
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
938
977
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
939
978
|
i ? r.error(o) : a && r.complete();
|
|
940
979
|
}, t.prototype.asObservable = function() {
|
|
941
|
-
var r = new
|
|
980
|
+
var r = new at();
|
|
942
981
|
return r.source = this, r;
|
|
943
982
|
}, t.create = function(r, n) {
|
|
944
|
-
return new
|
|
983
|
+
return new ut(r, n);
|
|
945
984
|
}, t;
|
|
946
|
-
}(
|
|
947
|
-
|
|
985
|
+
}(at), ut = function(e) {
|
|
986
|
+
N(t, e);
|
|
948
987
|
function t(r, n) {
|
|
949
988
|
var i = e.call(this) || this;
|
|
950
989
|
return i.destination = r, i.source = n, i;
|
|
@@ -960,17 +999,17 @@ var Yr = Lt(function(e) {
|
|
|
960
999
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
961
1000
|
}, t.prototype._subscribe = function(r) {
|
|
962
1001
|
var n, i;
|
|
963
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1002
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
|
|
964
1003
|
}, t;
|
|
965
|
-
}(Rt),
|
|
1004
|
+
}(Rt), $t = {
|
|
966
1005
|
now: function() {
|
|
967
|
-
return (
|
|
1006
|
+
return ($t.delegate || Date).now();
|
|
968
1007
|
},
|
|
969
1008
|
delegate: void 0
|
|
970
1009
|
}, Qr = function(e) {
|
|
971
|
-
|
|
1010
|
+
N(t, e);
|
|
972
1011
|
function t(r, n, i) {
|
|
973
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1012
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
|
|
974
1013
|
var o = e.call(this) || this;
|
|
975
1014
|
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;
|
|
976
1015
|
}
|
|
@@ -991,23 +1030,23 @@ var Yr = Lt(function(e) {
|
|
|
991
1030
|
}
|
|
992
1031
|
}, t;
|
|
993
1032
|
}(Rt);
|
|
994
|
-
const
|
|
995
|
-
if (
|
|
1033
|
+
const lt = [], ht = {}, Jr = (e, t = 0) => {
|
|
1034
|
+
if (lt.indexOf(e) == -1) {
|
|
996
1035
|
const r = new Qr(t);
|
|
997
|
-
|
|
1036
|
+
ht[e] = r, lt.push(e);
|
|
998
1037
|
}
|
|
999
|
-
return
|
|
1038
|
+
return ht[e];
|
|
1000
1039
|
}, G = [];
|
|
1001
1040
|
function Kr(e, t) {
|
|
1002
1041
|
return {
|
|
1003
|
-
subscribe:
|
|
1042
|
+
subscribe: be(e, t).subscribe
|
|
1004
1043
|
};
|
|
1005
1044
|
}
|
|
1006
|
-
function
|
|
1045
|
+
function be(e, t = O) {
|
|
1007
1046
|
let r;
|
|
1008
1047
|
const n = /* @__PURE__ */ new Set();
|
|
1009
1048
|
function i(s) {
|
|
1010
|
-
if (
|
|
1049
|
+
if (It(e, s) && (e = s, r)) {
|
|
1011
1050
|
const l = !G.length;
|
|
1012
1051
|
for (const u of n)
|
|
1013
1052
|
u[1](), G.push(u, e);
|
|
@@ -1029,7 +1068,7 @@ function ve(e, t = O) {
|
|
|
1029
1068
|
}
|
|
1030
1069
|
return { set: i, update: o, subscribe: a };
|
|
1031
1070
|
}
|
|
1032
|
-
function
|
|
1071
|
+
function q(e, t, r) {
|
|
1033
1072
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1034
1073
|
if (!i.every(Boolean))
|
|
1035
1074
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1042,21 +1081,21 @@ function X(e, t, r) {
|
|
|
1042
1081
|
if (h)
|
|
1043
1082
|
return;
|
|
1044
1083
|
f();
|
|
1045
|
-
const
|
|
1046
|
-
o ? a(
|
|
1047
|
-
},
|
|
1048
|
-
(
|
|
1049
|
-
|
|
1084
|
+
const p = t(n ? u[0] : u, a, s);
|
|
1085
|
+
o ? a(p) : f = We(p) ? p : O;
|
|
1086
|
+
}, d = i.map(
|
|
1087
|
+
(p, y) => Bt(
|
|
1088
|
+
p,
|
|
1050
1089
|
(S) => {
|
|
1051
|
-
u[
|
|
1090
|
+
u[y] = S, h &= ~(1 << y), l && c();
|
|
1052
1091
|
},
|
|
1053
1092
|
() => {
|
|
1054
|
-
h |= 1 <<
|
|
1093
|
+
h |= 1 << y;
|
|
1055
1094
|
}
|
|
1056
1095
|
)
|
|
1057
1096
|
);
|
|
1058
1097
|
return l = !0, c(), function() {
|
|
1059
|
-
|
|
1098
|
+
ne(d), f(), l = !1;
|
|
1060
1099
|
};
|
|
1061
1100
|
});
|
|
1062
1101
|
}
|
|
@@ -1080,29 +1119,29 @@ function sn(e) {
|
|
|
1080
1119
|
function un(e) {
|
|
1081
1120
|
return Array.isArray(e) ? [] : {};
|
|
1082
1121
|
}
|
|
1083
|
-
function
|
|
1084
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1122
|
+
function te(e, t) {
|
|
1123
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(un(e), e, t) : e;
|
|
1085
1124
|
}
|
|
1086
1125
|
function ln(e, t, r) {
|
|
1087
1126
|
return e.concat(t).map(function(n) {
|
|
1088
|
-
return
|
|
1127
|
+
return te(n, r);
|
|
1089
1128
|
});
|
|
1090
1129
|
}
|
|
1091
1130
|
function hn(e, t) {
|
|
1092
1131
|
if (!t.customMerge)
|
|
1093
|
-
return
|
|
1132
|
+
return k;
|
|
1094
1133
|
var r = t.customMerge(e);
|
|
1095
|
-
return typeof r == "function" ? r :
|
|
1134
|
+
return typeof r == "function" ? r : k;
|
|
1096
1135
|
}
|
|
1097
1136
|
function cn(e) {
|
|
1098
1137
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1099
1138
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1100
1139
|
}) : [];
|
|
1101
1140
|
}
|
|
1102
|
-
function
|
|
1141
|
+
function ct(e) {
|
|
1103
1142
|
return Object.keys(e).concat(cn(e));
|
|
1104
1143
|
}
|
|
1105
|
-
function
|
|
1144
|
+
function Ut(e, t) {
|
|
1106
1145
|
try {
|
|
1107
1146
|
return t in e;
|
|
1108
1147
|
} catch (r) {
|
|
@@ -1110,179 +1149,129 @@ function Gt(e, t) {
|
|
|
1110
1149
|
}
|
|
1111
1150
|
}
|
|
1112
1151
|
function fn(e, t) {
|
|
1113
|
-
return
|
|
1152
|
+
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1114
1153
|
}
|
|
1115
|
-
function
|
|
1154
|
+
function dn(e, t, r) {
|
|
1116
1155
|
var n = {};
|
|
1117
|
-
return r.isMergeableObject(e) &&
|
|
1118
|
-
n[i] =
|
|
1119
|
-
}),
|
|
1120
|
-
fn(e, i) || (
|
|
1156
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
1157
|
+
n[i] = te(e[i], r);
|
|
1158
|
+
}), ct(t).forEach(function(i) {
|
|
1159
|
+
fn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1121
1160
|
}), n;
|
|
1122
1161
|
}
|
|
1123
|
-
function
|
|
1124
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified =
|
|
1162
|
+
function k(e, t, r) {
|
|
1163
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = te;
|
|
1125
1164
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1126
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1165
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : te(t, r);
|
|
1127
1166
|
}
|
|
1128
|
-
|
|
1167
|
+
k.all = function(t, r) {
|
|
1129
1168
|
if (!Array.isArray(t))
|
|
1130
1169
|
throw new Error("first argument should be an array");
|
|
1131
1170
|
return t.reduce(function(n, i) {
|
|
1132
|
-
return
|
|
1171
|
+
return k(n, i, r);
|
|
1133
1172
|
}, {});
|
|
1134
1173
|
};
|
|
1135
|
-
var
|
|
1174
|
+
var pn = k, mn = pn;
|
|
1136
1175
|
const bn = /* @__PURE__ */ en(mn);
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
r.__proto__ = n;
|
|
1140
|
-
} || function(r, n) {
|
|
1141
|
-
for (var i in n)
|
|
1142
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1143
|
-
}, Fe(e, t);
|
|
1144
|
-
};
|
|
1145
|
-
function ge(e, t) {
|
|
1146
|
-
if (typeof t != "function" && t !== null)
|
|
1147
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1148
|
-
Fe(e, t);
|
|
1149
|
-
function r() {
|
|
1150
|
-
this.constructor = e;
|
|
1151
|
-
}
|
|
1152
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1153
|
-
}
|
|
1154
|
-
var M = function() {
|
|
1155
|
-
return M = Object.assign || function(t) {
|
|
1156
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1157
|
-
r = arguments[n];
|
|
1158
|
-
for (var o in r)
|
|
1159
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1160
|
-
}
|
|
1161
|
-
return t;
|
|
1162
|
-
}, M.apply(this, arguments);
|
|
1163
|
-
};
|
|
1164
|
-
function vn(e, t) {
|
|
1165
|
-
var r = {};
|
|
1166
|
-
for (var n in e)
|
|
1167
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1168
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1169
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1170
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1171
|
-
return r;
|
|
1172
|
-
}
|
|
1173
|
-
function Pe(e, t, r) {
|
|
1174
|
-
if (r || arguments.length === 2)
|
|
1175
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1176
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1177
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1178
|
-
}
|
|
1179
|
-
function He(e, t) {
|
|
1180
|
-
var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : xn;
|
|
1176
|
+
function we(e, t) {
|
|
1177
|
+
var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
|
|
1181
1178
|
return i(e, {
|
|
1182
1179
|
cache: r,
|
|
1183
1180
|
serializer: n
|
|
1184
1181
|
});
|
|
1185
1182
|
}
|
|
1186
|
-
function
|
|
1183
|
+
function vn(e) {
|
|
1187
1184
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1188
1185
|
}
|
|
1189
|
-
function
|
|
1190
|
-
var i =
|
|
1186
|
+
function Gt(e, t, r, n) {
|
|
1187
|
+
var i = vn(n) ? n : r(n), o = t.get(i);
|
|
1191
1188
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1192
1189
|
}
|
|
1193
1190
|
function Dt(e, t, r) {
|
|
1194
1191
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1195
1192
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1196
1193
|
}
|
|
1197
|
-
function
|
|
1194
|
+
function qe(e, t, r, n, i) {
|
|
1198
1195
|
return r.bind(t, e, n, i);
|
|
1199
1196
|
}
|
|
1200
|
-
function
|
|
1201
|
-
var r = e.length === 1 ?
|
|
1202
|
-
return
|
|
1197
|
+
function gn(e, t) {
|
|
1198
|
+
var r = e.length === 1 ? Gt : Dt;
|
|
1199
|
+
return qe(e, this, r, t.cache.create(), t.serializer);
|
|
1203
1200
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return
|
|
1201
|
+
function yn(e, t) {
|
|
1202
|
+
return qe(e, this, Dt, t.cache.create(), t.serializer);
|
|
1206
1203
|
}
|
|
1207
|
-
|
|
1204
|
+
function xn(e, t) {
|
|
1205
|
+
return qe(e, this, Gt, t.cache.create(), t.serializer);
|
|
1206
|
+
}
|
|
1207
|
+
var _n = function() {
|
|
1208
1208
|
return JSON.stringify(arguments);
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
}()
|
|
1221
|
-
), Sn = {
|
|
1209
|
+
};
|
|
1210
|
+
function Ze() {
|
|
1211
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1212
|
+
}
|
|
1213
|
+
Ze.prototype.get = function(e) {
|
|
1214
|
+
return this.cache[e];
|
|
1215
|
+
};
|
|
1216
|
+
Ze.prototype.set = function(e, t) {
|
|
1217
|
+
this.cache[e] = t;
|
|
1218
|
+
};
|
|
1219
|
+
var En = {
|
|
1222
1220
|
create: function() {
|
|
1223
|
-
return new
|
|
1221
|
+
return new Ze();
|
|
1224
1222
|
}
|
|
1225
|
-
},
|
|
1226
|
-
variadic:
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1230
|
-
r = arguments[n];
|
|
1231
|
-
for (var o in r)
|
|
1232
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1233
|
-
}
|
|
1234
|
-
return t;
|
|
1235
|
-
}, pe.apply(this, arguments);
|
|
1236
|
-
};
|
|
1237
|
-
var b;
|
|
1223
|
+
}, Pe = {
|
|
1224
|
+
variadic: yn,
|
|
1225
|
+
monadic: xn
|
|
1226
|
+
}, b;
|
|
1238
1227
|
(function(e) {
|
|
1239
1228
|
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";
|
|
1240
1229
|
})(b || (b = {}));
|
|
1241
|
-
var
|
|
1230
|
+
var _;
|
|
1242
1231
|
(function(e) {
|
|
1243
1232
|
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";
|
|
1244
|
-
})(
|
|
1245
|
-
var
|
|
1233
|
+
})(_ || (_ = {}));
|
|
1234
|
+
var V;
|
|
1246
1235
|
(function(e) {
|
|
1247
1236
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1248
|
-
})(
|
|
1249
|
-
function
|
|
1250
|
-
return e.type ===
|
|
1237
|
+
})(V || (V = {}));
|
|
1238
|
+
function ft(e) {
|
|
1239
|
+
return e.type === _.literal;
|
|
1251
1240
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return e.type ===
|
|
1241
|
+
function Tn(e) {
|
|
1242
|
+
return e.type === _.argument;
|
|
1243
|
+
}
|
|
1244
|
+
function Ft(e) {
|
|
1245
|
+
return e.type === _.number;
|
|
1254
1246
|
}
|
|
1255
1247
|
function jt(e) {
|
|
1256
|
-
return e.type ===
|
|
1248
|
+
return e.type === _.date;
|
|
1257
1249
|
}
|
|
1258
1250
|
function kt(e) {
|
|
1259
|
-
return e.type ===
|
|
1251
|
+
return e.type === _.time;
|
|
1260
1252
|
}
|
|
1261
1253
|
function Vt(e) {
|
|
1262
|
-
return e.type ===
|
|
1254
|
+
return e.type === _.select;
|
|
1263
1255
|
}
|
|
1264
1256
|
function zt(e) {
|
|
1265
|
-
return e.type ===
|
|
1257
|
+
return e.type === _.plural;
|
|
1266
1258
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1259
|
+
function Sn(e) {
|
|
1260
|
+
return e.type === _.pound;
|
|
1269
1261
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return e.type ===
|
|
1262
|
+
function Wt(e) {
|
|
1263
|
+
return e.type === _.tag;
|
|
1272
1264
|
}
|
|
1273
1265
|
function Xt(e) {
|
|
1274
|
-
return e.type ===
|
|
1266
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
1275
1267
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1268
|
+
function Ue(e) {
|
|
1269
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
1278
1270
|
}
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1282
|
-
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1283
|
-
function In(e) {
|
|
1271
|
+
var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
1272
|
+
function Pn(e) {
|
|
1284
1273
|
var t = {};
|
|
1285
|
-
return e.replace(
|
|
1274
|
+
return e.replace(wn, function(r) {
|
|
1286
1275
|
var n = r.length;
|
|
1287
1276
|
switch (r[0]) {
|
|
1288
1277
|
case "G":
|
|
@@ -1371,21 +1360,11 @@ function In(e) {
|
|
|
1371
1360
|
return "";
|
|
1372
1361
|
}), t;
|
|
1373
1362
|
}
|
|
1374
|
-
var
|
|
1375
|
-
|
|
1376
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1377
|
-
r = arguments[n];
|
|
1378
|
-
for (var o in r)
|
|
1379
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1380
|
-
}
|
|
1381
|
-
return t;
|
|
1382
|
-
}, _.apply(this, arguments);
|
|
1383
|
-
};
|
|
1384
|
-
var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1385
|
-
function Bn(e) {
|
|
1363
|
+
var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1364
|
+
function In(e) {
|
|
1386
1365
|
if (e.length === 0)
|
|
1387
1366
|
throw new Error("Number skeleton cannot be empty");
|
|
1388
|
-
for (var t = e.split(
|
|
1367
|
+
for (var t = e.split(Hn).filter(function(c) {
|
|
1389
1368
|
return c.length > 0;
|
|
1390
1369
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1391
1370
|
var o = i[n], a = o.split("/");
|
|
@@ -1400,17 +1379,17 @@ function Bn(e) {
|
|
|
1400
1379
|
}
|
|
1401
1380
|
return r;
|
|
1402
1381
|
}
|
|
1403
|
-
function
|
|
1382
|
+
function Bn(e) {
|
|
1404
1383
|
return e.replace(/^(.*?)-/, "");
|
|
1405
1384
|
}
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1385
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1386
|
+
function pt(e) {
|
|
1408
1387
|
var t = {};
|
|
1409
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1388
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
|
|
1410
1389
|
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)), "";
|
|
1411
1390
|
}), t;
|
|
1412
1391
|
}
|
|
1413
|
-
function
|
|
1392
|
+
function Qt(e) {
|
|
1414
1393
|
switch (e) {
|
|
1415
1394
|
case "sign-auto":
|
|
1416
1395
|
return {
|
|
@@ -1450,7 +1429,7 @@ function Jt(e) {
|
|
|
1450
1429
|
};
|
|
1451
1430
|
}
|
|
1452
1431
|
}
|
|
1453
|
-
function
|
|
1432
|
+
function An(e) {
|
|
1454
1433
|
var t;
|
|
1455
1434
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1456
1435
|
notation: "engineering"
|
|
@@ -1458,17 +1437,17 @@ function Ln(e) {
|
|
|
1458
1437
|
notation: "scientific"
|
|
1459
1438
|
}, e = e.slice(1)), t) {
|
|
1460
1439
|
var r = e.slice(0, 2);
|
|
1461
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1440
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
1462
1441
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1463
1442
|
t.minimumIntegerDigits = e.length;
|
|
1464
1443
|
}
|
|
1465
1444
|
return t;
|
|
1466
1445
|
}
|
|
1467
|
-
function
|
|
1468
|
-
var t = {}, r =
|
|
1446
|
+
function mt(e) {
|
|
1447
|
+
var t = {}, r = Qt(e);
|
|
1469
1448
|
return r || t;
|
|
1470
1449
|
}
|
|
1471
|
-
function
|
|
1450
|
+
function On(e) {
|
|
1472
1451
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1473
1452
|
var i = n[r];
|
|
1474
1453
|
switch (i.stem) {
|
|
@@ -1492,7 +1471,7 @@ function Mn(e) {
|
|
|
1492
1471
|
continue;
|
|
1493
1472
|
case "measure-unit":
|
|
1494
1473
|
case "unit":
|
|
1495
|
-
t.style = "unit", t.unit =
|
|
1474
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1496
1475
|
continue;
|
|
1497
1476
|
case "compact-short":
|
|
1498
1477
|
case "K":
|
|
@@ -1503,13 +1482,13 @@ function Mn(e) {
|
|
|
1503
1482
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1504
1483
|
continue;
|
|
1505
1484
|
case "scientific":
|
|
1506
|
-
t =
|
|
1507
|
-
return
|
|
1485
|
+
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1486
|
+
return g(g({}, l), mt(u));
|
|
1508
1487
|
}, {}));
|
|
1509
1488
|
continue;
|
|
1510
1489
|
case "engineering":
|
|
1511
|
-
t =
|
|
1512
|
-
return
|
|
1490
|
+
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1491
|
+
return g(g({}, l), mt(u));
|
|
1513
1492
|
}, {}));
|
|
1514
1493
|
continue;
|
|
1515
1494
|
case "notation-simple":
|
|
@@ -1554,41 +1533,41 @@ function Mn(e) {
|
|
|
1554
1533
|
case "integer-width":
|
|
1555
1534
|
if (i.options.length > 1)
|
|
1556
1535
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1557
|
-
i.options[0].replace(
|
|
1536
|
+
i.options[0].replace(Cn, function(l, u, h, f, c, d) {
|
|
1558
1537
|
if (u)
|
|
1559
1538
|
t.minimumIntegerDigits = h.length;
|
|
1560
1539
|
else {
|
|
1561
1540
|
if (f && c)
|
|
1562
1541
|
throw new Error("We currently do not support maximum integer digits");
|
|
1563
|
-
if (
|
|
1542
|
+
if (d)
|
|
1564
1543
|
throw new Error("We currently do not support exact integer digits");
|
|
1565
1544
|
}
|
|
1566
1545
|
return "";
|
|
1567
1546
|
});
|
|
1568
1547
|
continue;
|
|
1569
1548
|
}
|
|
1570
|
-
if (
|
|
1549
|
+
if (Yt.test(i.stem)) {
|
|
1571
1550
|
t.minimumIntegerDigits = i.stem.length;
|
|
1572
1551
|
continue;
|
|
1573
1552
|
}
|
|
1574
|
-
if (
|
|
1553
|
+
if (dt.test(i.stem)) {
|
|
1575
1554
|
if (i.options.length > 1)
|
|
1576
1555
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1577
|
-
i.stem.replace(
|
|
1578
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1556
|
+
i.stem.replace(dt, function(l, u, h, f, c, d) {
|
|
1557
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1579
1558
|
});
|
|
1580
1559
|
var o = i.options[0];
|
|
1581
|
-
o === "w" ? t =
|
|
1560
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
|
|
1582
1561
|
continue;
|
|
1583
1562
|
}
|
|
1584
|
-
if (
|
|
1585
|
-
t =
|
|
1563
|
+
if (Zt.test(i.stem)) {
|
|
1564
|
+
t = g(g({}, t), pt(i.stem));
|
|
1586
1565
|
continue;
|
|
1587
1566
|
}
|
|
1588
|
-
var a =
|
|
1589
|
-
a && (t =
|
|
1590
|
-
var s =
|
|
1591
|
-
s && (t =
|
|
1567
|
+
var a = Qt(i.stem);
|
|
1568
|
+
a && (t = g(g({}, t), a));
|
|
1569
|
+
var s = An(i.stem);
|
|
1570
|
+
s && (t = g(g({}, t), s));
|
|
1592
1571
|
}
|
|
1593
1572
|
return t;
|
|
1594
1573
|
}
|
|
@@ -3007,13 +2986,13 @@ var ue = {
|
|
|
3007
2986
|
"h"
|
|
3008
2987
|
]
|
|
3009
2988
|
};
|
|
3010
|
-
function
|
|
2989
|
+
function Mn(e, t) {
|
|
3011
2990
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3012
2991
|
var i = e.charAt(n);
|
|
3013
2992
|
if (i === "j") {
|
|
3014
2993
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3015
2994
|
o++, n++;
|
|
3016
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2995
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
|
|
3017
2996
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3018
2997
|
r += l;
|
|
3019
2998
|
for (; a-- > 0; )
|
|
@@ -3023,7 +3002,7 @@ function Nn(e, t) {
|
|
|
3023
3002
|
}
|
|
3024
3003
|
return r;
|
|
3025
3004
|
}
|
|
3026
|
-
function
|
|
3005
|
+
function Ln(e) {
|
|
3027
3006
|
var t = e.hourCycle;
|
|
3028
3007
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3029
3008
|
e.hourCycles && // @ts-ignore
|
|
@@ -3045,20 +3024,20 @@ function $n(e) {
|
|
|
3045
3024
|
var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
|
|
3046
3025
|
return i[0];
|
|
3047
3026
|
}
|
|
3048
|
-
var
|
|
3027
|
+
var He, Nn = new RegExp("^".concat(qt.source, "*")), Rn = new RegExp("".concat(qt.source, "*$"));
|
|
3049
3028
|
function v(e, t) {
|
|
3050
3029
|
return { start: e, end: t };
|
|
3051
3030
|
}
|
|
3052
|
-
var
|
|
3031
|
+
var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
|
|
3053
3032
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3054
|
-
},
|
|
3033
|
+
}, Ge = !0;
|
|
3055
3034
|
try {
|
|
3056
|
-
var
|
|
3057
|
-
|
|
3035
|
+
var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3036
|
+
Ge = ((He = zn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
3058
3037
|
} catch (e) {
|
|
3059
|
-
|
|
3038
|
+
Ge = !1;
|
|
3060
3039
|
}
|
|
3061
|
-
var
|
|
3040
|
+
var bt = $n ? (
|
|
3062
3041
|
// Native
|
|
3063
3042
|
function(t, r, n) {
|
|
3064
3043
|
return t.startsWith(r, n);
|
|
@@ -3068,7 +3047,7 @@ var gt = Gn ? (
|
|
|
3068
3047
|
function(t, r, n) {
|
|
3069
3048
|
return t.slice(n, n + r.length) === r;
|
|
3070
3049
|
}
|
|
3071
|
-
),
|
|
3050
|
+
), De = Un ? String.fromCodePoint : (
|
|
3072
3051
|
// IE11
|
|
3073
3052
|
function() {
|
|
3074
3053
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3080,9 +3059,9 @@ var gt = Gn ? (
|
|
|
3080
3059
|
}
|
|
3081
3060
|
return n;
|
|
3082
3061
|
}
|
|
3083
|
-
),
|
|
3062
|
+
), vt = (
|
|
3084
3063
|
// native
|
|
3085
|
-
|
|
3064
|
+
Gn ? Object.fromEntries : (
|
|
3086
3065
|
// Ponyfill
|
|
3087
3066
|
function(t) {
|
|
3088
3067
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3092,7 +3071,7 @@ var gt = Gn ? (
|
|
|
3092
3071
|
return r;
|
|
3093
3072
|
}
|
|
3094
3073
|
)
|
|
3095
|
-
),
|
|
3074
|
+
), Jt = Dn ? (
|
|
3096
3075
|
// Native
|
|
3097
3076
|
function(t, r) {
|
|
3098
3077
|
return t.codePointAt(r);
|
|
@@ -3106,7 +3085,7 @@ var gt = Gn ? (
|
|
|
3106
3085
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3107
3086
|
}
|
|
3108
3087
|
}
|
|
3109
|
-
),
|
|
3088
|
+
), Wn = Fn ? (
|
|
3110
3089
|
// Native
|
|
3111
3090
|
function(t) {
|
|
3112
3091
|
return t.trimStart();
|
|
@@ -3114,9 +3093,9 @@ var gt = Gn ? (
|
|
|
3114
3093
|
) : (
|
|
3115
3094
|
// Ponyfill
|
|
3116
3095
|
function(t) {
|
|
3117
|
-
return t.replace(
|
|
3096
|
+
return t.replace(Nn, "");
|
|
3118
3097
|
}
|
|
3119
|
-
),
|
|
3098
|
+
), Xn = jn ? (
|
|
3120
3099
|
// Native
|
|
3121
3100
|
function(t) {
|
|
3122
3101
|
return t.trimEnd();
|
|
@@ -3124,32 +3103,32 @@ var gt = Gn ? (
|
|
|
3124
3103
|
) : (
|
|
3125
3104
|
// Ponyfill
|
|
3126
3105
|
function(t) {
|
|
3127
|
-
return t.replace(
|
|
3106
|
+
return t.replace(Rn, "");
|
|
3128
3107
|
}
|
|
3129
3108
|
);
|
|
3130
|
-
function
|
|
3109
|
+
function Kt(e, t) {
|
|
3131
3110
|
return new RegExp(e, t);
|
|
3132
3111
|
}
|
|
3133
|
-
var
|
|
3134
|
-
if (
|
|
3135
|
-
var
|
|
3136
|
-
|
|
3112
|
+
var Fe;
|
|
3113
|
+
if (Ge) {
|
|
3114
|
+
var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3115
|
+
Fe = function(t, r) {
|
|
3137
3116
|
var n;
|
|
3138
|
-
|
|
3139
|
-
var i =
|
|
3117
|
+
gt.lastIndex = r;
|
|
3118
|
+
var i = gt.exec(t);
|
|
3140
3119
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3141
3120
|
};
|
|
3142
3121
|
} else
|
|
3143
|
-
|
|
3122
|
+
Fe = function(t, r) {
|
|
3144
3123
|
for (var n = []; ; ) {
|
|
3145
|
-
var i =
|
|
3146
|
-
if (i === void 0 ||
|
|
3124
|
+
var i = Jt(t, r);
|
|
3125
|
+
if (i === void 0 || er(i) || Qn(i))
|
|
3147
3126
|
break;
|
|
3148
3127
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3149
3128
|
}
|
|
3150
|
-
return
|
|
3129
|
+
return De.apply(void 0, n);
|
|
3151
3130
|
};
|
|
3152
|
-
var
|
|
3131
|
+
var qn = (
|
|
3153
3132
|
/** @class */
|
|
3154
3133
|
function() {
|
|
3155
3134
|
function e(t, r) {
|
|
@@ -3173,14 +3152,14 @@ var Yn = (
|
|
|
3173
3152
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3174
3153
|
var s = this.clonePosition();
|
|
3175
3154
|
this.bump(), i.push({
|
|
3176
|
-
type:
|
|
3155
|
+
type: _.pound,
|
|
3177
3156
|
location: v(s, this.clonePosition())
|
|
3178
3157
|
});
|
|
3179
3158
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3180
3159
|
if (n)
|
|
3181
3160
|
break;
|
|
3182
3161
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3183
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3162
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3184
3163
|
var a = this.parseTag(t, r);
|
|
3185
3164
|
if (a.err)
|
|
3186
3165
|
return a;
|
|
@@ -3201,7 +3180,7 @@ var Yn = (
|
|
|
3201
3180
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3202
3181
|
return {
|
|
3203
3182
|
val: {
|
|
3204
|
-
type:
|
|
3183
|
+
type: _.literal,
|
|
3205
3184
|
value: "<".concat(i, "/>"),
|
|
3206
3185
|
location: v(n, this.clonePosition())
|
|
3207
3186
|
},
|
|
@@ -3213,12 +3192,12 @@ var Yn = (
|
|
|
3213
3192
|
return o;
|
|
3214
3193
|
var a = o.val, s = this.clonePosition();
|
|
3215
3194
|
if (this.bumpIf("</")) {
|
|
3216
|
-
if (this.isEOF() || !
|
|
3195
|
+
if (this.isEOF() || !je(this.char()))
|
|
3217
3196
|
return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
|
|
3218
3197
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3219
3198
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3220
3199
|
val: {
|
|
3221
|
-
type:
|
|
3200
|
+
type: _.tag,
|
|
3222
3201
|
value: i,
|
|
3223
3202
|
children: a,
|
|
3224
3203
|
location: v(n, this.clonePosition())
|
|
@@ -3231,7 +3210,7 @@ var Yn = (
|
|
|
3231
3210
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3232
3211
|
}, e.prototype.parseTagName = function() {
|
|
3233
3212
|
var t = this.offset();
|
|
3234
|
-
for (this.bump(); !this.isEOF() &&
|
|
3213
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3235
3214
|
this.bump();
|
|
3236
3215
|
return this.message.slice(t, this.offset());
|
|
3237
3216
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3255,12 +3234,12 @@ var Yn = (
|
|
|
3255
3234
|
}
|
|
3256
3235
|
var l = v(n, this.clonePosition());
|
|
3257
3236
|
return {
|
|
3258
|
-
val: { type:
|
|
3237
|
+
val: { type: _.literal, value: i, location: l },
|
|
3259
3238
|
err: null
|
|
3260
3239
|
};
|
|
3261
3240
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3262
3241
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3263
|
-
!
|
|
3242
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3264
3243
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3265
3244
|
if (this.isEOF() || this.char() !== 39)
|
|
3266
3245
|
return null;
|
|
@@ -3294,12 +3273,12 @@ var Yn = (
|
|
|
3294
3273
|
r.push(n);
|
|
3295
3274
|
this.bump();
|
|
3296
3275
|
}
|
|
3297
|
-
return
|
|
3276
|
+
return De.apply(void 0, r);
|
|
3298
3277
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3299
3278
|
if (this.isEOF())
|
|
3300
3279
|
return null;
|
|
3301
3280
|
var n = this.char();
|
|
3302
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3281
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
|
|
3303
3282
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3304
3283
|
var n = this.clonePosition();
|
|
3305
3284
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3315,7 +3294,7 @@ var Yn = (
|
|
|
3315
3294
|
case 125:
|
|
3316
3295
|
return this.bump(), {
|
|
3317
3296
|
val: {
|
|
3318
|
-
type:
|
|
3297
|
+
type: _.argument,
|
|
3319
3298
|
// value does not include the opening and closing braces.
|
|
3320
3299
|
value: i,
|
|
3321
3300
|
location: v(n, this.clonePosition())
|
|
@@ -3328,7 +3307,7 @@ var Yn = (
|
|
|
3328
3307
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3329
3308
|
}
|
|
3330
3309
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3331
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3310
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
3332
3311
|
this.bumpTo(i);
|
|
3333
3312
|
var o = this.clonePosition(), a = v(t, o);
|
|
3334
3313
|
return { value: n, location: a };
|
|
@@ -3347,46 +3326,46 @@ var Yn = (
|
|
|
3347
3326
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3348
3327
|
if (f.err)
|
|
3349
3328
|
return f;
|
|
3350
|
-
var c =
|
|
3329
|
+
var c = Xn(f.val);
|
|
3351
3330
|
if (c.length === 0)
|
|
3352
3331
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3353
|
-
var
|
|
3354
|
-
u = { style: c, styleLocation:
|
|
3332
|
+
var d = v(h, this.clonePosition());
|
|
3333
|
+
u = { style: c, styleLocation: d };
|
|
3355
3334
|
}
|
|
3356
|
-
var
|
|
3357
|
-
if (
|
|
3358
|
-
return
|
|
3359
|
-
var
|
|
3360
|
-
if (u &&
|
|
3361
|
-
var S =
|
|
3335
|
+
var p = this.tryParseArgumentClose(i);
|
|
3336
|
+
if (p.err)
|
|
3337
|
+
return p;
|
|
3338
|
+
var y = v(i, this.clonePosition());
|
|
3339
|
+
if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3340
|
+
var S = Wn(u.style.slice(2));
|
|
3362
3341
|
if (s === "number") {
|
|
3363
3342
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3364
3343
|
return f.err ? f : {
|
|
3365
|
-
val: { type:
|
|
3344
|
+
val: { type: _.number, value: n, location: y, style: f.val },
|
|
3366
3345
|
err: null
|
|
3367
3346
|
};
|
|
3368
3347
|
} else {
|
|
3369
3348
|
if (S.length === 0)
|
|
3370
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3349
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
|
|
3371
3350
|
var H = S;
|
|
3372
|
-
this.locale && (H =
|
|
3351
|
+
this.locale && (H = Mn(S, this.locale));
|
|
3373
3352
|
var c = {
|
|
3374
|
-
type:
|
|
3353
|
+
type: V.dateTime,
|
|
3375
3354
|
pattern: H,
|
|
3376
3355
|
location: u.styleLocation,
|
|
3377
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3378
|
-
}, E = s === "date" ?
|
|
3356
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(H) : {}
|
|
3357
|
+
}, E = s === "date" ? _.date : _.time;
|
|
3379
3358
|
return {
|
|
3380
|
-
val: { type: E, value: n, location:
|
|
3359
|
+
val: { type: E, value: n, location: y, style: c },
|
|
3381
3360
|
err: null
|
|
3382
3361
|
};
|
|
3383
3362
|
}
|
|
3384
3363
|
}
|
|
3385
3364
|
return {
|
|
3386
3365
|
val: {
|
|
3387
|
-
type: s === "number" ?
|
|
3366
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3388
3367
|
value: n,
|
|
3389
|
-
location:
|
|
3368
|
+
location: y,
|
|
3390
3369
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3391
3370
|
},
|
|
3392
3371
|
err: null
|
|
@@ -3395,9 +3374,9 @@ var Yn = (
|
|
|
3395
3374
|
case "plural":
|
|
3396
3375
|
case "selectordinal":
|
|
3397
3376
|
case "select": {
|
|
3398
|
-
var
|
|
3377
|
+
var x = this.clonePosition();
|
|
3399
3378
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3400
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3379
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, g({}, x)));
|
|
3401
3380
|
this.bumpSpace();
|
|
3402
3381
|
var w = this.parseIdentifierIfPossible(), m = 0;
|
|
3403
3382
|
if (s !== "select" && w.value === "offset") {
|
|
@@ -3409,29 +3388,29 @@ var Yn = (
|
|
|
3409
3388
|
return f;
|
|
3410
3389
|
this.bumpSpace(), w = this.parseIdentifierIfPossible(), m = f.val;
|
|
3411
3390
|
}
|
|
3412
|
-
var
|
|
3413
|
-
if (
|
|
3414
|
-
return
|
|
3415
|
-
var
|
|
3416
|
-
if (
|
|
3417
|
-
return
|
|
3418
|
-
var
|
|
3391
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3392
|
+
if (B.err)
|
|
3393
|
+
return B;
|
|
3394
|
+
var p = this.tryParseArgumentClose(i);
|
|
3395
|
+
if (p.err)
|
|
3396
|
+
return p;
|
|
3397
|
+
var Q = v(i, this.clonePosition());
|
|
3419
3398
|
return s === "select" ? {
|
|
3420
3399
|
val: {
|
|
3421
|
-
type:
|
|
3400
|
+
type: _.select,
|
|
3422
3401
|
value: n,
|
|
3423
|
-
options:
|
|
3424
|
-
location:
|
|
3402
|
+
options: vt(B.val),
|
|
3403
|
+
location: Q
|
|
3425
3404
|
},
|
|
3426
3405
|
err: null
|
|
3427
3406
|
} : {
|
|
3428
3407
|
val: {
|
|
3429
|
-
type:
|
|
3408
|
+
type: _.plural,
|
|
3430
3409
|
value: n,
|
|
3431
|
-
options:
|
|
3410
|
+
options: vt(B.val),
|
|
3432
3411
|
offset: m,
|
|
3433
3412
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3434
|
-
location:
|
|
3413
|
+
location: Q
|
|
3435
3414
|
},
|
|
3436
3415
|
err: null
|
|
3437
3416
|
};
|
|
@@ -3479,16 +3458,16 @@ var Yn = (
|
|
|
3479
3458
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3480
3459
|
var n = [];
|
|
3481
3460
|
try {
|
|
3482
|
-
n =
|
|
3461
|
+
n = In(t);
|
|
3483
3462
|
} catch (i) {
|
|
3484
3463
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3485
3464
|
}
|
|
3486
3465
|
return {
|
|
3487
3466
|
val: {
|
|
3488
|
-
type:
|
|
3467
|
+
type: V.number,
|
|
3489
3468
|
tokens: n,
|
|
3490
3469
|
location: r,
|
|
3491
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3470
|
+
parsedOptions: this.shouldParseSkeletons ? On(n) : {}
|
|
3492
3471
|
},
|
|
3493
3472
|
err: null
|
|
3494
3473
|
};
|
|
@@ -3507,20 +3486,20 @@ var Yn = (
|
|
|
3507
3486
|
if (l.has(u))
|
|
3508
3487
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3509
3488
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3510
|
-
var
|
|
3489
|
+
var d = this.clonePosition();
|
|
3511
3490
|
if (!this.bumpIf("{"))
|
|
3512
3491
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3513
|
-
var
|
|
3514
|
-
if (
|
|
3515
|
-
return
|
|
3516
|
-
var
|
|
3517
|
-
if (
|
|
3518
|
-
return
|
|
3492
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3493
|
+
if (p.err)
|
|
3494
|
+
return p;
|
|
3495
|
+
var y = this.tryParseArgumentClose(d);
|
|
3496
|
+
if (y.err)
|
|
3497
|
+
return y;
|
|
3519
3498
|
s.push([
|
|
3520
3499
|
u,
|
|
3521
3500
|
{
|
|
3522
|
-
value:
|
|
3523
|
-
location: v(
|
|
3501
|
+
value: p.val,
|
|
3502
|
+
location: v(d, this.clonePosition())
|
|
3524
3503
|
}
|
|
3525
3504
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3526
3505
|
}
|
|
@@ -3536,7 +3515,7 @@ var Yn = (
|
|
|
3536
3515
|
break;
|
|
3537
3516
|
}
|
|
3538
3517
|
var l = v(i, this.clonePosition());
|
|
3539
|
-
return o ? (a *= n,
|
|
3518
|
+
return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3540
3519
|
}, e.prototype.offset = function() {
|
|
3541
3520
|
return this.position.offset;
|
|
3542
3521
|
}, e.prototype.isEOF = function() {
|
|
@@ -3551,7 +3530,7 @@ var Yn = (
|
|
|
3551
3530
|
var t = this.position.offset;
|
|
3552
3531
|
if (t >= this.message.length)
|
|
3553
3532
|
throw Error("out of bound");
|
|
3554
|
-
var r =
|
|
3533
|
+
var r = Jt(this.message, t);
|
|
3555
3534
|
if (r === void 0)
|
|
3556
3535
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3557
3536
|
return r;
|
|
@@ -3570,7 +3549,7 @@ var Yn = (
|
|
|
3570
3549
|
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);
|
|
3571
3550
|
}
|
|
3572
3551
|
}, e.prototype.bumpIf = function(t) {
|
|
3573
|
-
if (
|
|
3552
|
+
if (bt(this.message, t, this.offset())) {
|
|
3574
3553
|
for (var r = 0; r < t.length; r++)
|
|
3575
3554
|
this.bump();
|
|
3576
3555
|
return !0;
|
|
@@ -3592,7 +3571,7 @@ var Yn = (
|
|
|
3592
3571
|
break;
|
|
3593
3572
|
}
|
|
3594
3573
|
}, e.prototype.bumpSpace = function() {
|
|
3595
|
-
for (; !this.isEOF() &&
|
|
3574
|
+
for (; !this.isEOF() && er(this.char()); )
|
|
3596
3575
|
this.bump();
|
|
3597
3576
|
}, e.prototype.peek = function() {
|
|
3598
3577
|
if (this.isEOF())
|
|
@@ -3602,47 +3581,47 @@ var Yn = (
|
|
|
3602
3581
|
}, e;
|
|
3603
3582
|
}()
|
|
3604
3583
|
);
|
|
3605
|
-
function
|
|
3584
|
+
function je(e) {
|
|
3606
3585
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3607
3586
|
}
|
|
3608
|
-
function
|
|
3609
|
-
return
|
|
3587
|
+
function Zn(e) {
|
|
3588
|
+
return je(e) || e === 47;
|
|
3610
3589
|
}
|
|
3611
|
-
function
|
|
3590
|
+
function Yn(e) {
|
|
3612
3591
|
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;
|
|
3613
3592
|
}
|
|
3614
|
-
function
|
|
3593
|
+
function er(e) {
|
|
3615
3594
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3616
3595
|
}
|
|
3617
|
-
function
|
|
3596
|
+
function Qn(e) {
|
|
3618
3597
|
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;
|
|
3619
3598
|
}
|
|
3620
|
-
function
|
|
3599
|
+
function ke(e) {
|
|
3621
3600
|
e.forEach(function(t) {
|
|
3622
|
-
if (delete t.location,
|
|
3601
|
+
if (delete t.location, Vt(t) || zt(t))
|
|
3623
3602
|
for (var r in t.options)
|
|
3624
|
-
delete t.options[r].location,
|
|
3603
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3625
3604
|
else
|
|
3626
|
-
|
|
3605
|
+
Ft(t) && Xt(t.style) || (jt(t) || kt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && ke(t.children);
|
|
3627
3606
|
});
|
|
3628
3607
|
}
|
|
3629
|
-
function
|
|
3630
|
-
t === void 0 && (t = {}), t =
|
|
3631
|
-
var r = new
|
|
3608
|
+
function Jn(e, t) {
|
|
3609
|
+
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3610
|
+
var r = new qn(e, t).parse();
|
|
3632
3611
|
if (r.err) {
|
|
3633
3612
|
var n = SyntaxError(b[r.err.kind]);
|
|
3634
3613
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3635
3614
|
}
|
|
3636
|
-
return t != null && t.captureLocation ||
|
|
3615
|
+
return t != null && t.captureLocation || ke(r.val), r.val;
|
|
3637
3616
|
}
|
|
3638
|
-
var
|
|
3617
|
+
var z;
|
|
3639
3618
|
(function(e) {
|
|
3640
3619
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3641
|
-
})(
|
|
3642
|
-
var
|
|
3620
|
+
})(z || (z = {}));
|
|
3621
|
+
var ve = (
|
|
3643
3622
|
/** @class */
|
|
3644
3623
|
function(e) {
|
|
3645
|
-
|
|
3624
|
+
N(t, e);
|
|
3646
3625
|
function t(r, n, i) {
|
|
3647
3626
|
var o = e.call(this, r) || this;
|
|
3648
3627
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3651,48 +3630,48 @@ var ye = (
|
|
|
3651
3630
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3652
3631
|
}, t;
|
|
3653
3632
|
}(Error)
|
|
3654
|
-
),
|
|
3633
|
+
), yt = (
|
|
3655
3634
|
/** @class */
|
|
3656
3635
|
function(e) {
|
|
3657
|
-
|
|
3636
|
+
N(t, e);
|
|
3658
3637
|
function t(r, n, i, o) {
|
|
3659
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3638
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3660
3639
|
}
|
|
3661
3640
|
return t;
|
|
3662
|
-
}(
|
|
3663
|
-
),
|
|
3641
|
+
}(ve)
|
|
3642
|
+
), Kn = (
|
|
3664
3643
|
/** @class */
|
|
3665
3644
|
function(e) {
|
|
3666
|
-
|
|
3645
|
+
N(t, e);
|
|
3667
3646
|
function t(r, n, i) {
|
|
3668
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3647
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3669
3648
|
}
|
|
3670
3649
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3650
|
+
}(ve)
|
|
3651
|
+
), ei = (
|
|
3673
3652
|
/** @class */
|
|
3674
3653
|
function(e) {
|
|
3675
|
-
|
|
3654
|
+
N(t, e);
|
|
3676
3655
|
function t(r, n) {
|
|
3677
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3656
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3678
3657
|
}
|
|
3679
3658
|
return t;
|
|
3680
|
-
}(
|
|
3659
|
+
}(ve)
|
|
3681
3660
|
), T;
|
|
3682
3661
|
(function(e) {
|
|
3683
3662
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3684
3663
|
})(T || (T = {}));
|
|
3685
|
-
function
|
|
3664
|
+
function ti(e) {
|
|
3686
3665
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3687
3666
|
var n = t[t.length - 1];
|
|
3688
3667
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3689
3668
|
}, []);
|
|
3690
3669
|
}
|
|
3691
|
-
function
|
|
3670
|
+
function ri(e) {
|
|
3692
3671
|
return typeof e == "function";
|
|
3693
3672
|
}
|
|
3694
3673
|
function ce(e, t, r, n, i, o, a) {
|
|
3695
|
-
if (e.length === 1 &&
|
|
3674
|
+
if (e.length === 1 && ft(e[0]))
|
|
3696
3675
|
return [
|
|
3697
3676
|
{
|
|
3698
3677
|
type: T.literal,
|
|
@@ -3701,14 +3680,14 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3701
3680
|
];
|
|
3702
3681
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3703
3682
|
var h = u[l];
|
|
3704
|
-
if (
|
|
3683
|
+
if (ft(h)) {
|
|
3705
3684
|
s.push({
|
|
3706
3685
|
type: T.literal,
|
|
3707
3686
|
value: h.value
|
|
3708
3687
|
});
|
|
3709
3688
|
continue;
|
|
3710
3689
|
}
|
|
3711
|
-
if (
|
|
3690
|
+
if (Sn(h)) {
|
|
3712
3691
|
typeof o == "number" && s.push({
|
|
3713
3692
|
type: T.literal,
|
|
3714
3693
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3717,44 +3696,44 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3717
3696
|
}
|
|
3718
3697
|
var f = h.value;
|
|
3719
3698
|
if (!(i && f in i))
|
|
3720
|
-
throw new
|
|
3699
|
+
throw new ei(f, a);
|
|
3721
3700
|
var c = i[f];
|
|
3722
|
-
if (
|
|
3701
|
+
if (Tn(h)) {
|
|
3723
3702
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3724
3703
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3725
3704
|
value: c
|
|
3726
3705
|
});
|
|
3727
3706
|
continue;
|
|
3728
3707
|
}
|
|
3729
|
-
if (
|
|
3730
|
-
var
|
|
3708
|
+
if (jt(h)) {
|
|
3709
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
|
|
3731
3710
|
s.push({
|
|
3732
3711
|
type: T.literal,
|
|
3733
|
-
value: r.getDateTimeFormat(t,
|
|
3712
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3734
3713
|
});
|
|
3735
3714
|
continue;
|
|
3736
3715
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var
|
|
3716
|
+
if (kt(h)) {
|
|
3717
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3739
3718
|
s.push({
|
|
3740
3719
|
type: T.literal,
|
|
3741
|
-
value: r.getDateTimeFormat(t,
|
|
3720
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3742
3721
|
});
|
|
3743
3722
|
continue;
|
|
3744
3723
|
}
|
|
3745
|
-
if (
|
|
3746
|
-
var
|
|
3747
|
-
|
|
3724
|
+
if (Ft(h)) {
|
|
3725
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Xt(h.style) ? h.style.parsedOptions : void 0;
|
|
3726
|
+
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3748
3727
|
type: T.literal,
|
|
3749
|
-
value: r.getNumberFormat(t,
|
|
3728
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3750
3729
|
});
|
|
3751
3730
|
continue;
|
|
3752
3731
|
}
|
|
3753
|
-
if (
|
|
3754
|
-
var
|
|
3755
|
-
if (!
|
|
3756
|
-
throw new
|
|
3757
|
-
var H = ce(
|
|
3732
|
+
if (Wt(h)) {
|
|
3733
|
+
var p = h.children, y = h.value, S = i[y];
|
|
3734
|
+
if (!ri(S))
|
|
3735
|
+
throw new Kn(y, "function", a);
|
|
3736
|
+
var H = ce(p, t, r, n, i, o), E = S(H.map(function(m) {
|
|
3758
3737
|
return m.value;
|
|
3759
3738
|
}));
|
|
3760
3739
|
Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(m) {
|
|
@@ -3764,42 +3743,42 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3764
3743
|
};
|
|
3765
3744
|
}));
|
|
3766
3745
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
var
|
|
3769
|
-
if (!
|
|
3770
|
-
throw new
|
|
3771
|
-
s.push.apply(s, ce(
|
|
3746
|
+
if (Vt(h)) {
|
|
3747
|
+
var x = h.options[c] || h.options.other;
|
|
3748
|
+
if (!x)
|
|
3749
|
+
throw new yt(h.value, c, Object.keys(h.options), a);
|
|
3750
|
+
s.push.apply(s, ce(x.value, t, r, n, i));
|
|
3772
3751
|
continue;
|
|
3773
3752
|
}
|
|
3774
|
-
if (
|
|
3775
|
-
var
|
|
3776
|
-
if (!
|
|
3753
|
+
if (zt(h)) {
|
|
3754
|
+
var x = h.options["=".concat(c)];
|
|
3755
|
+
if (!x) {
|
|
3777
3756
|
if (!Intl.PluralRules)
|
|
3778
|
-
throw new
|
|
3757
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3779
3758
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3780
|
-
`,
|
|
3759
|
+
`, z.MISSING_INTL_API, a);
|
|
3781
3760
|
var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3782
|
-
|
|
3761
|
+
x = h.options[w] || h.options.other;
|
|
3783
3762
|
}
|
|
3784
|
-
if (!
|
|
3785
|
-
throw new
|
|
3786
|
-
s.push.apply(s, ce(
|
|
3763
|
+
if (!x)
|
|
3764
|
+
throw new yt(h.value, c, Object.keys(h.options), a);
|
|
3765
|
+
s.push.apply(s, ce(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
3787
3766
|
continue;
|
|
3788
3767
|
}
|
|
3789
3768
|
}
|
|
3790
|
-
return
|
|
3769
|
+
return ti(s);
|
|
3791
3770
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return t ?
|
|
3794
|
-
return r[n] =
|
|
3771
|
+
function ni(e, t) {
|
|
3772
|
+
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3773
|
+
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3795
3774
|
}, {})) : e;
|
|
3796
3775
|
}
|
|
3797
|
-
function
|
|
3776
|
+
function ii(e, t) {
|
|
3798
3777
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3799
|
-
return r[n] =
|
|
3800
|
-
},
|
|
3778
|
+
return r[n] = ni(e[n], t[n]), r;
|
|
3779
|
+
}, g({}, e)) : e;
|
|
3801
3780
|
}
|
|
3802
|
-
function
|
|
3781
|
+
function Ie(e) {
|
|
3803
3782
|
return {
|
|
3804
3783
|
create: function() {
|
|
3805
3784
|
return {
|
|
@@ -3813,39 +3792,39 @@ function Be(e) {
|
|
|
3813
3792
|
}
|
|
3814
3793
|
};
|
|
3815
3794
|
}
|
|
3816
|
-
function
|
|
3795
|
+
function oi(e) {
|
|
3817
3796
|
return e === void 0 && (e = {
|
|
3818
3797
|
number: {},
|
|
3819
3798
|
dateTime: {},
|
|
3820
3799
|
pluralRules: {}
|
|
3821
3800
|
}), {
|
|
3822
|
-
getNumberFormat:
|
|
3801
|
+
getNumberFormat: we(function() {
|
|
3823
3802
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3824
3803
|
r[n] = arguments[n];
|
|
3825
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3804
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3826
3805
|
}, {
|
|
3827
|
-
cache:
|
|
3828
|
-
strategy:
|
|
3806
|
+
cache: Ie(e.number),
|
|
3807
|
+
strategy: Pe.variadic
|
|
3829
3808
|
}),
|
|
3830
|
-
getDateTimeFormat:
|
|
3809
|
+
getDateTimeFormat: we(function() {
|
|
3831
3810
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3832
3811
|
r[n] = arguments[n];
|
|
3833
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3812
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3834
3813
|
}, {
|
|
3835
|
-
cache:
|
|
3836
|
-
strategy:
|
|
3814
|
+
cache: Ie(e.dateTime),
|
|
3815
|
+
strategy: Pe.variadic
|
|
3837
3816
|
}),
|
|
3838
|
-
getPluralRules:
|
|
3817
|
+
getPluralRules: we(function() {
|
|
3839
3818
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3840
3819
|
r[n] = arguments[n];
|
|
3841
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3820
|
+
return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
|
|
3842
3821
|
}, {
|
|
3843
|
-
cache:
|
|
3844
|
-
strategy:
|
|
3822
|
+
cache: Ie(e.pluralRules),
|
|
3823
|
+
strategy: Pe.variadic
|
|
3845
3824
|
})
|
|
3846
3825
|
};
|
|
3847
3826
|
}
|
|
3848
|
-
var
|
|
3827
|
+
var ai = (
|
|
3849
3828
|
/** @class */
|
|
3850
3829
|
function() {
|
|
3851
3830
|
function e(t, r, n, i) {
|
|
@@ -3877,13 +3856,13 @@ var ui = (
|
|
|
3877
3856
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3878
3857
|
var a = i || {};
|
|
3879
3858
|
a.formatters;
|
|
3880
|
-
var s =
|
|
3881
|
-
this.ast = e.__parse(t,
|
|
3859
|
+
var s = Ur(a, ["formatters"]);
|
|
3860
|
+
this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
|
|
3882
3861
|
} else
|
|
3883
3862
|
this.ast = t;
|
|
3884
3863
|
if (!Array.isArray(this.ast))
|
|
3885
3864
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3886
|
-
this.formats =
|
|
3865
|
+
this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
|
|
3887
3866
|
}
|
|
3888
3867
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3889
3868
|
get: function() {
|
|
@@ -3896,7 +3875,7 @@ var ui = (
|
|
|
3896
3875
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3897
3876
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3898
3877
|
}
|
|
3899
|
-
}, e.__parse =
|
|
3878
|
+
}, e.__parse = Jn, e.formats = {
|
|
3900
3879
|
number: {
|
|
3901
3880
|
integer: {
|
|
3902
3881
|
maximumFractionDigits: 0
|
|
@@ -3957,7 +3936,7 @@ var ui = (
|
|
|
3957
3936
|
}, e;
|
|
3958
3937
|
}()
|
|
3959
3938
|
);
|
|
3960
|
-
function
|
|
3939
|
+
function si(e, t) {
|
|
3961
3940
|
if (t == null)
|
|
3962
3941
|
return;
|
|
3963
3942
|
if (t in e)
|
|
@@ -3978,92 +3957,92 @@ function li(e, t) {
|
|
|
3978
3957
|
n = void 0;
|
|
3979
3958
|
return n;
|
|
3980
3959
|
}
|
|
3981
|
-
const
|
|
3960
|
+
const R = {}, ui = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
|
|
3982
3961
|
if (t == null)
|
|
3983
3962
|
return;
|
|
3984
|
-
if (t in
|
|
3985
|
-
return
|
|
3986
|
-
const r =
|
|
3963
|
+
if (t in R && e in R[t])
|
|
3964
|
+
return R[t][e];
|
|
3965
|
+
const r = ge(t);
|
|
3987
3966
|
for (let n = 0; n < r.length; n++) {
|
|
3988
|
-
const i = r[n], o =
|
|
3967
|
+
const i = r[n], o = hi(i, e);
|
|
3989
3968
|
if (o)
|
|
3990
|
-
return
|
|
3969
|
+
return ui(e, t, o);
|
|
3991
3970
|
}
|
|
3992
3971
|
};
|
|
3993
|
-
let
|
|
3994
|
-
const ae =
|
|
3995
|
-
function
|
|
3996
|
-
return
|
|
3972
|
+
let Ye;
|
|
3973
|
+
const ae = be({});
|
|
3974
|
+
function li(e) {
|
|
3975
|
+
return Ye[e] || null;
|
|
3997
3976
|
}
|
|
3998
|
-
function
|
|
3999
|
-
return e in
|
|
3977
|
+
function rr(e) {
|
|
3978
|
+
return e in Ye;
|
|
4000
3979
|
}
|
|
4001
|
-
function
|
|
4002
|
-
if (!
|
|
3980
|
+
function hi(e, t) {
|
|
3981
|
+
if (!rr(e))
|
|
4003
3982
|
return null;
|
|
4004
|
-
const r =
|
|
4005
|
-
return
|
|
3983
|
+
const r = li(e);
|
|
3984
|
+
return si(r, t);
|
|
4006
3985
|
}
|
|
4007
|
-
function
|
|
3986
|
+
function ci(e) {
|
|
4008
3987
|
if (e == null)
|
|
4009
3988
|
return;
|
|
4010
|
-
const t =
|
|
3989
|
+
const t = ge(e);
|
|
4011
3990
|
for (let r = 0; r < t.length; r++) {
|
|
4012
3991
|
const n = t[r];
|
|
4013
|
-
if (
|
|
3992
|
+
if (rr(n))
|
|
4014
3993
|
return n;
|
|
4015
3994
|
}
|
|
4016
3995
|
}
|
|
4017
|
-
function
|
|
4018
|
-
delete
|
|
3996
|
+
function nr(e, ...t) {
|
|
3997
|
+
delete R[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
|
|
4019
3998
|
}
|
|
4020
|
-
|
|
3999
|
+
q(
|
|
4021
4000
|
[ae],
|
|
4022
4001
|
([e]) => Object.keys(e)
|
|
4023
4002
|
);
|
|
4024
|
-
ae.subscribe((e) =>
|
|
4003
|
+
ae.subscribe((e) => Ye = e);
|
|
4025
4004
|
const fe = {};
|
|
4026
|
-
function
|
|
4005
|
+
function fi(e, t) {
|
|
4027
4006
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4028
4007
|
}
|
|
4029
|
-
function
|
|
4008
|
+
function ir(e) {
|
|
4030
4009
|
return fe[e];
|
|
4031
4010
|
}
|
|
4032
|
-
function
|
|
4033
|
-
return
|
|
4034
|
-
const r =
|
|
4011
|
+
function di(e) {
|
|
4012
|
+
return ge(e).map((t) => {
|
|
4013
|
+
const r = ir(t);
|
|
4035
4014
|
return [t, r ? [...r] : []];
|
|
4036
4015
|
}).filter(([, t]) => t.length > 0);
|
|
4037
4016
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return e == null ? !1 :
|
|
4017
|
+
function Ve(e) {
|
|
4018
|
+
return e == null ? !1 : ge(e).some(
|
|
4040
4019
|
(t) => {
|
|
4041
4020
|
var r;
|
|
4042
|
-
return (r =
|
|
4021
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
4043
4022
|
}
|
|
4044
4023
|
);
|
|
4045
4024
|
}
|
|
4046
|
-
function
|
|
4025
|
+
function pi(e, t) {
|
|
4047
4026
|
return Promise.all(
|
|
4048
|
-
t.map((n) => (
|
|
4049
|
-
).then((n) =>
|
|
4050
|
-
}
|
|
4051
|
-
const
|
|
4052
|
-
function
|
|
4053
|
-
if (!
|
|
4054
|
-
return e in
|
|
4055
|
-
const t =
|
|
4056
|
-
return
|
|
4027
|
+
t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
|
|
4028
|
+
).then((n) => nr(e, ...n));
|
|
4029
|
+
}
|
|
4030
|
+
const J = {};
|
|
4031
|
+
function or(e) {
|
|
4032
|
+
if (!Ve(e))
|
|
4033
|
+
return e in J ? J[e] : Promise.resolve();
|
|
4034
|
+
const t = di(e);
|
|
4035
|
+
return J[e] = Promise.all(
|
|
4057
4036
|
t.map(
|
|
4058
|
-
([r, n]) =>
|
|
4037
|
+
([r, n]) => pi(r, n)
|
|
4059
4038
|
)
|
|
4060
4039
|
).then(() => {
|
|
4061
|
-
if (
|
|
4062
|
-
return
|
|
4063
|
-
delete
|
|
4064
|
-
}),
|
|
4040
|
+
if (Ve(e))
|
|
4041
|
+
return or(e);
|
|
4042
|
+
delete J[e];
|
|
4043
|
+
}), J[e];
|
|
4065
4044
|
}
|
|
4066
|
-
const
|
|
4045
|
+
const mi = {
|
|
4067
4046
|
number: {
|
|
4068
4047
|
scientific: { notation: "scientific" },
|
|
4069
4048
|
engineering: { notation: "engineering" },
|
|
@@ -4092,150 +4071,150 @@ const vi = {
|
|
|
4092
4071
|
timeZoneName: "short"
|
|
4093
4072
|
}
|
|
4094
4073
|
}
|
|
4095
|
-
},
|
|
4074
|
+
}, bi = {
|
|
4096
4075
|
fallbackLocale: null,
|
|
4097
4076
|
loadingDelay: 200,
|
|
4098
|
-
formats:
|
|
4077
|
+
formats: mi,
|
|
4099
4078
|
warnOnMissingMessages: !0,
|
|
4100
4079
|
handleMissingMessage: void 0,
|
|
4101
4080
|
ignoreTag: !0
|
|
4102
|
-
},
|
|
4103
|
-
function
|
|
4104
|
-
return
|
|
4081
|
+
}, vi = bi;
|
|
4082
|
+
function W() {
|
|
4083
|
+
return vi;
|
|
4105
4084
|
}
|
|
4106
|
-
const
|
|
4107
|
-
var
|
|
4085
|
+
const Be = be(!1);
|
|
4086
|
+
var gi = Object.defineProperty, yi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
|
|
4108
4087
|
for (var r in t || (t = {}))
|
|
4109
|
-
|
|
4110
|
-
if (
|
|
4111
|
-
for (var r of
|
|
4112
|
-
|
|
4088
|
+
_i.call(t, r) && _t(e, r, t[r]);
|
|
4089
|
+
if (xt)
|
|
4090
|
+
for (var r of xt(t))
|
|
4091
|
+
Ei.call(t, r) && _t(e, r, t[r]);
|
|
4113
4092
|
return e;
|
|
4114
|
-
},
|
|
4115
|
-
let
|
|
4116
|
-
const de =
|
|
4117
|
-
function
|
|
4093
|
+
}, Si = (e, t) => yi(e, xi(t));
|
|
4094
|
+
let ze;
|
|
4095
|
+
const de = be(null);
|
|
4096
|
+
function Et(e) {
|
|
4118
4097
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4119
4098
|
}
|
|
4120
|
-
function
|
|
4121
|
-
const r =
|
|
4122
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4099
|
+
function ge(e, t = W().fallbackLocale) {
|
|
4100
|
+
const r = Et(e);
|
|
4101
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
|
|
4123
4102
|
}
|
|
4124
|
-
function
|
|
4125
|
-
return
|
|
4103
|
+
function $() {
|
|
4104
|
+
return ze != null ? ze : void 0;
|
|
4126
4105
|
}
|
|
4127
4106
|
de.subscribe((e) => {
|
|
4128
|
-
|
|
4107
|
+
ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4129
4108
|
});
|
|
4130
|
-
const
|
|
4131
|
-
if (e &&
|
|
4132
|
-
const { loadingDelay: t } =
|
|
4109
|
+
const wi = (e) => {
|
|
4110
|
+
if (e && ci(e) && Ve(e)) {
|
|
4111
|
+
const { loadingDelay: t } = W();
|
|
4133
4112
|
let r;
|
|
4134
|
-
return typeof window != "undefined" &&
|
|
4135
|
-
() =>
|
|
4113
|
+
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
4114
|
+
() => Be.set(!0),
|
|
4136
4115
|
t
|
|
4137
|
-
) :
|
|
4116
|
+
) : Be.set(!0), or(e).then(() => {
|
|
4138
4117
|
de.set(e);
|
|
4139
4118
|
}).finally(() => {
|
|
4140
|
-
clearTimeout(r),
|
|
4119
|
+
clearTimeout(r), Be.set(!1);
|
|
4141
4120
|
});
|
|
4142
4121
|
}
|
|
4143
4122
|
return de.set(e);
|
|
4144
|
-
},
|
|
4145
|
-
set:
|
|
4146
|
-
}),
|
|
4123
|
+
}, Z = Si(Ti({}, de), {
|
|
4124
|
+
set: wi
|
|
4125
|
+
}), ye = (e) => {
|
|
4147
4126
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4148
4127
|
return (n) => {
|
|
4149
4128
|
const i = JSON.stringify(n);
|
|
4150
4129
|
return i in t ? t[i] : t[i] = e(n);
|
|
4151
4130
|
};
|
|
4152
4131
|
};
|
|
4153
|
-
var
|
|
4132
|
+
var Pi = Object.defineProperty, pe = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
4154
4133
|
for (var r in t || (t = {}))
|
|
4155
|
-
|
|
4156
|
-
if (
|
|
4157
|
-
for (var r of
|
|
4158
|
-
|
|
4134
|
+
ar.call(t, r) && Tt(e, r, t[r]);
|
|
4135
|
+
if (pe)
|
|
4136
|
+
for (var r of pe(t))
|
|
4137
|
+
sr.call(t, r) && Tt(e, r, t[r]);
|
|
4159
4138
|
return e;
|
|
4160
|
-
},
|
|
4139
|
+
}, Y = (e, t) => {
|
|
4161
4140
|
var r = {};
|
|
4162
4141
|
for (var n in e)
|
|
4163
|
-
|
|
4164
|
-
if (e != null &&
|
|
4165
|
-
for (var n of
|
|
4166
|
-
t.indexOf(n) < 0 &&
|
|
4142
|
+
ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4143
|
+
if (e != null && pe)
|
|
4144
|
+
for (var n of pe(e))
|
|
4145
|
+
t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
|
|
4167
4146
|
return r;
|
|
4168
4147
|
};
|
|
4169
|
-
const
|
|
4170
|
-
const { formats: r } =
|
|
4148
|
+
const re = (e, t) => {
|
|
4149
|
+
const { formats: r } = W();
|
|
4171
4150
|
if (e in r && t in r[e])
|
|
4172
4151
|
return r[e][t];
|
|
4173
4152
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4174
|
-
},
|
|
4153
|
+
}, Hi = ye(
|
|
4175
4154
|
(e) => {
|
|
4176
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4155
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4177
4156
|
if (r == null)
|
|
4178
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4179
|
-
return n && (i =
|
|
4158
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4180
4159
|
}
|
|
4181
|
-
),
|
|
4160
|
+
), Ii = ye(
|
|
4182
4161
|
(e) => {
|
|
4183
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4162
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4184
4163
|
if (r == null)
|
|
4185
4164
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4186
|
-
return n ? i =
|
|
4165
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4187
4166
|
}
|
|
4188
|
-
),
|
|
4167
|
+
), Bi = ye(
|
|
4189
4168
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4191
4170
|
if (r == null)
|
|
4192
4171
|
throw new Error(
|
|
4193
4172
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4194
4173
|
);
|
|
4195
|
-
return n ? i =
|
|
4174
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4175
|
}
|
|
4197
|
-
),
|
|
4176
|
+
), Ci = (e = {}) => {
|
|
4198
4177
|
var t = e, {
|
|
4199
|
-
locale: r =
|
|
4200
|
-
} = t, n =
|
|
4178
|
+
locale: r = $()
|
|
4179
|
+
} = t, n = Y(t, [
|
|
4201
4180
|
"locale"
|
|
4202
4181
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4182
|
+
return Hi(Qe({ locale: r }, n));
|
|
4183
|
+
}, Ai = (e = {}) => {
|
|
4205
4184
|
var t = e, {
|
|
4206
|
-
locale: r =
|
|
4207
|
-
} = t, n =
|
|
4185
|
+
locale: r = $()
|
|
4186
|
+
} = t, n = Y(t, [
|
|
4208
4187
|
"locale"
|
|
4209
4188
|
]);
|
|
4210
|
-
return
|
|
4211
|
-
},
|
|
4189
|
+
return Ii(Qe({ locale: r }, n));
|
|
4190
|
+
}, Oi = (e = {}) => {
|
|
4212
4191
|
var t = e, {
|
|
4213
|
-
locale: r =
|
|
4214
|
-
} = t, n =
|
|
4192
|
+
locale: r = $()
|
|
4193
|
+
} = t, n = Y(t, [
|
|
4215
4194
|
"locale"
|
|
4216
4195
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4196
|
+
return Bi(Qe({ locale: r }, n));
|
|
4197
|
+
}, Mi = ye(
|
|
4219
4198
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4220
|
-
(e, t =
|
|
4221
|
-
ignoreTag:
|
|
4199
|
+
(e, t = $()) => new ai(e, t, W().formats, {
|
|
4200
|
+
ignoreTag: W().ignoreTag
|
|
4222
4201
|
})
|
|
4223
|
-
),
|
|
4202
|
+
), Li = (e, t = {}) => {
|
|
4224
4203
|
var r, n, i, o;
|
|
4225
4204
|
let a = t;
|
|
4226
4205
|
typeof e == "object" && (a = e, e = a.id);
|
|
4227
4206
|
const {
|
|
4228
4207
|
values: s,
|
|
4229
|
-
locale: l =
|
|
4208
|
+
locale: l = $(),
|
|
4230
4209
|
default: u
|
|
4231
4210
|
} = a;
|
|
4232
4211
|
if (l == null)
|
|
4233
4212
|
throw new Error(
|
|
4234
4213
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4235
4214
|
);
|
|
4236
|
-
let h =
|
|
4215
|
+
let h = tr(e, l);
|
|
4237
4216
|
if (!h)
|
|
4238
|
-
h = (o = (i = (n = (r =
|
|
4217
|
+
h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4239
4218
|
else if (typeof h != "string")
|
|
4240
4219
|
return console.warn(
|
|
4241
4220
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4244,7 +4223,7 @@ const te = (e, t) => {
|
|
|
4244
4223
|
return h;
|
|
4245
4224
|
let f = h;
|
|
4246
4225
|
try {
|
|
4247
|
-
f =
|
|
4226
|
+
f = Mi(h, l).format(s);
|
|
4248
4227
|
} catch (c) {
|
|
4249
4228
|
c instanceof Error && console.warn(
|
|
4250
4229
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4252,21 +4231,21 @@ const te = (e, t) => {
|
|
|
4252
4231
|
);
|
|
4253
4232
|
}
|
|
4254
4233
|
return f;
|
|
4255
|
-
},
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4234
|
+
}, Ni = (e, t) => Oi(t).format(e), Ri = (e, t) => Ai(t).format(e), $i = (e, t) => Ci(t).format(e), Ui = (e, t = $()) => tr(e, t), Gi = q([Z, ae], () => Li);
|
|
4235
|
+
q([Z], () => Ni);
|
|
4236
|
+
q([Z], () => Ri);
|
|
4237
|
+
q([Z], () => $i);
|
|
4238
|
+
q([Z, ae], () => Ui);
|
|
4260
4239
|
window.emWidgets = { topic: Jr };
|
|
4261
|
-
const
|
|
4240
|
+
const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4262
4241
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4242
|
+
function St(e, t) {
|
|
4243
|
+
nr(e, t);
|
|
4265
4244
|
}
|
|
4266
|
-
function
|
|
4267
|
-
|
|
4245
|
+
function Fi(e) {
|
|
4246
|
+
Z.set(e);
|
|
4268
4247
|
}
|
|
4269
|
-
const
|
|
4248
|
+
const wt = {
|
|
4270
4249
|
en: {
|
|
4271
4250
|
name: "Info",
|
|
4272
4251
|
amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
|
|
@@ -4328,13 +4307,13 @@ const Ht = {
|
|
|
4328
4307
|
defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
|
|
4329
4308
|
}
|
|
4330
4309
|
};
|
|
4331
|
-
function
|
|
4310
|
+
function ji(e, t) {
|
|
4332
4311
|
if (e) {
|
|
4333
4312
|
const r = document.createElement("style");
|
|
4334
4313
|
r.innerHTML = t, e.appendChild(r);
|
|
4335
4314
|
}
|
|
4336
4315
|
}
|
|
4337
|
-
function
|
|
4316
|
+
function ki(e, t) {
|
|
4338
4317
|
if (!e || !t)
|
|
4339
4318
|
return;
|
|
4340
4319
|
const r = new URL(t);
|
|
@@ -4345,7 +4324,7 @@ function zi(e, t) {
|
|
|
4345
4324
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4346
4325
|
});
|
|
4347
4326
|
}
|
|
4348
|
-
function
|
|
4327
|
+
function Vi(e, t, r) {
|
|
4349
4328
|
if (window.emMessageBus) {
|
|
4350
4329
|
const n = document.createElement("style");
|
|
4351
4330
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4353,74 +4332,74 @@ function Wi(e, t, r) {
|
|
|
4353
4332
|
});
|
|
4354
4333
|
}
|
|
4355
4334
|
}
|
|
4356
|
-
function
|
|
4357
|
-
|
|
4335
|
+
function zi(e) {
|
|
4336
|
+
mr(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
|
|
4358
4337
|
}
|
|
4359
|
-
function
|
|
4338
|
+
function Pt(e) {
|
|
4360
4339
|
let t, r, n, i, o, a, s = (
|
|
4361
4340
|
/*$_*/
|
|
4362
4341
|
e[4]("name") + ""
|
|
4363
|
-
), l, u, h, f, c,
|
|
4364
|
-
function S(
|
|
4342
|
+
), l, u, h, f, c, d, p, y;
|
|
4343
|
+
function S(x, w) {
|
|
4365
4344
|
return (
|
|
4366
4345
|
/*iteminfoamount*/
|
|
4367
|
-
|
|
4346
|
+
x[0] ? Xi : Wi
|
|
4368
4347
|
);
|
|
4369
4348
|
}
|
|
4370
4349
|
let H = S(e), E = H(e);
|
|
4371
4350
|
return {
|
|
4372
4351
|
c() {
|
|
4373
|
-
t =
|
|
4352
|
+
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = oe(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = _e(), c = A("div"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(c, "class", "InfoCardPopupContentArea"), C(r, "class", d = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4374
4353
|
(e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4375
|
-
(e[0] ? "InfoCardPopupLimitChanged" : "")),
|
|
4354
|
+
(e[0] ? "InfoCardPopupLimitChanged" : "")), C(
|
|
4376
4355
|
t,
|
|
4377
4356
|
"class",
|
|
4378
4357
|
/*isMobile*/
|
|
4379
4358
|
e[5] ? "InfoCardPopupMobileModal" : ""
|
|
4380
4359
|
);
|
|
4381
4360
|
},
|
|
4382
|
-
m(
|
|
4383
|
-
|
|
4361
|
+
m(x, w) {
|
|
4362
|
+
ie(x, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), p || (y = yr(h, "click", xr(
|
|
4384
4363
|
/*closeInfoPopup*/
|
|
4385
4364
|
e[6]
|
|
4386
|
-
)),
|
|
4365
|
+
)), p = !0);
|
|
4387
4366
|
},
|
|
4388
|
-
p(
|
|
4367
|
+
p(x, w) {
|
|
4389
4368
|
w & /*$_*/
|
|
4390
4369
|
16 && s !== (s = /*$_*/
|
|
4391
|
-
|
|
4392
|
-
1 &&
|
|
4393
|
-
(
|
|
4394
|
-
(
|
|
4370
|
+
x[4]("name") + "") && Xe(l, s), H === (H = S(x)) && E ? E.p(x, w) : (E.d(1), E = H(x), E && (E.c(), E.m(c, null))), w & /*iteminfoamount*/
|
|
4371
|
+
1 && d !== (d = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4372
|
+
(x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4373
|
+
(x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", d);
|
|
4395
4374
|
},
|
|
4396
|
-
d(
|
|
4397
|
-
|
|
4375
|
+
d(x) {
|
|
4376
|
+
x && X(t), E.d(), e[13](null), p = !1, y();
|
|
4398
4377
|
}
|
|
4399
4378
|
};
|
|
4400
4379
|
}
|
|
4401
|
-
function
|
|
4380
|
+
function Wi(e) {
|
|
4402
4381
|
let t, r = (
|
|
4403
4382
|
/*$_*/
|
|
4404
4383
|
e[4]("defaultText") + ""
|
|
4405
4384
|
), n;
|
|
4406
4385
|
return {
|
|
4407
4386
|
c() {
|
|
4408
|
-
t =
|
|
4387
|
+
t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
|
|
4409
4388
|
},
|
|
4410
4389
|
m(i, o) {
|
|
4411
|
-
|
|
4390
|
+
ie(i, t, o), P(t, n);
|
|
4412
4391
|
},
|
|
4413
4392
|
p(i, o) {
|
|
4414
4393
|
o & /*$_*/
|
|
4415
4394
|
16 && r !== (r = /*$_*/
|
|
4416
|
-
i[4]("defaultText") + "") &&
|
|
4395
|
+
i[4]("defaultText") + "") && Xe(n, r);
|
|
4417
4396
|
},
|
|
4418
4397
|
d(i) {
|
|
4419
|
-
i &&
|
|
4398
|
+
i && X(t);
|
|
4420
4399
|
}
|
|
4421
4400
|
};
|
|
4422
4401
|
}
|
|
4423
|
-
function
|
|
4402
|
+
function Xi(e) {
|
|
4424
4403
|
let t, r = (
|
|
4425
4404
|
/*$_*/
|
|
4426
4405
|
e[4]("amountChanged", {
|
|
@@ -4438,10 +4417,10 @@ function Zi(e) {
|
|
|
4438
4417
|
), n;
|
|
4439
4418
|
return {
|
|
4440
4419
|
c() {
|
|
4441
|
-
t =
|
|
4420
|
+
t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
|
|
4442
4421
|
},
|
|
4443
4422
|
m(i, o) {
|
|
4444
|
-
|
|
4423
|
+
ie(i, t, o), P(t, n);
|
|
4445
4424
|
},
|
|
4446
4425
|
p(i, o) {
|
|
4447
4426
|
o & /*$_, iteminfoamount, currency*/
|
|
@@ -4457,87 +4436,87 @@ function Zi(e) {
|
|
|
4457
4436
|
i[1]
|
|
4458
4437
|
)
|
|
4459
4438
|
}
|
|
4460
|
-
}) + "") &&
|
|
4439
|
+
}) + "") && Xe(n, r);
|
|
4461
4440
|
},
|
|
4462
4441
|
d(i) {
|
|
4463
|
-
i &&
|
|
4442
|
+
i && X(t);
|
|
4464
4443
|
}
|
|
4465
4444
|
};
|
|
4466
4445
|
}
|
|
4467
|
-
function
|
|
4446
|
+
function qi(e) {
|
|
4468
4447
|
let t, r = (
|
|
4469
4448
|
/*showPopup*/
|
|
4470
|
-
e[3] &&
|
|
4449
|
+
e[3] && Pt(e)
|
|
4471
4450
|
);
|
|
4472
4451
|
return {
|
|
4473
4452
|
c() {
|
|
4474
|
-
r && r.c(), t =
|
|
4453
|
+
r && r.c(), t = gr();
|
|
4475
4454
|
},
|
|
4476
4455
|
m(n, i) {
|
|
4477
|
-
r && r.m(n, i),
|
|
4456
|
+
r && r.m(n, i), ie(n, t, i);
|
|
4478
4457
|
},
|
|
4479
4458
|
p(n, [i]) {
|
|
4480
4459
|
/*showPopup*/
|
|
4481
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
4460
|
+
n[3] ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4482
4461
|
},
|
|
4483
4462
|
i: O,
|
|
4484
4463
|
o: O,
|
|
4485
4464
|
d(n) {
|
|
4486
|
-
n &&
|
|
4465
|
+
n && X(t), r && r.d(n);
|
|
4487
4466
|
}
|
|
4488
4467
|
};
|
|
4489
4468
|
}
|
|
4490
|
-
function
|
|
4469
|
+
function Zi(e, t, r) {
|
|
4491
4470
|
let n;
|
|
4492
|
-
|
|
4471
|
+
pr(e, Gi, (m) => r(4, n = m));
|
|
4493
4472
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t;
|
|
4494
4473
|
const c = () => {
|
|
4495
|
-
fetch(h).then((
|
|
4496
|
-
Object.keys(
|
|
4497
|
-
|
|
4474
|
+
fetch(h).then((B) => B.json()).then((B) => {
|
|
4475
|
+
Object.keys(B).forEach((Q) => {
|
|
4476
|
+
St(Q, B[Q]);
|
|
4498
4477
|
});
|
|
4499
|
-
}).catch((
|
|
4500
|
-
console.log(
|
|
4478
|
+
}).catch((B) => {
|
|
4479
|
+
console.log(B);
|
|
4501
4480
|
});
|
|
4502
4481
|
};
|
|
4503
|
-
Object.keys(
|
|
4504
|
-
|
|
4482
|
+
Object.keys(wt).forEach((m) => {
|
|
4483
|
+
St(m, wt[m]);
|
|
4505
4484
|
});
|
|
4506
|
-
let
|
|
4485
|
+
let d = !1, p, y = window.navigator.userAgent, S = Di(y) !== "PC";
|
|
4507
4486
|
const H = () => {
|
|
4508
|
-
r(3,
|
|
4487
|
+
r(3, d = !1), window.postMessage(
|
|
4509
4488
|
{
|
|
4510
4489
|
type: "ClosePlayerAccountGamingLimitsPopup"
|
|
4511
4490
|
},
|
|
4512
4491
|
window.location.href
|
|
4513
4492
|
);
|
|
4514
4493
|
}, E = (m) => {
|
|
4515
|
-
m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3,
|
|
4516
|
-
},
|
|
4517
|
-
|
|
4494
|
+
m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, d = !1);
|
|
4495
|
+
}, x = () => {
|
|
4496
|
+
Fi(a), o < 0 && r(0, o = "0"), r(3, d = i);
|
|
4518
4497
|
};
|
|
4519
|
-
|
|
4498
|
+
Sr(() => (window.addEventListener("message", E, !1), () => {
|
|
4520
4499
|
window.removeEventListener("message", E);
|
|
4521
4500
|
}));
|
|
4522
4501
|
function w(m) {
|
|
4523
|
-
|
|
4524
|
-
|
|
4502
|
+
Ce[m ? "unshift" : "push"](() => {
|
|
4503
|
+
p = m, r(2, p);
|
|
4525
4504
|
});
|
|
4526
4505
|
}
|
|
4527
4506
|
return e.$$set = (m) => {
|
|
4528
4507
|
"showpopup" in m && r(7, i = m.showpopup), "iteminfoamount" in m && r(0, o = m.iteminfoamount), "lang" in m && r(8, a = m.lang), "currency" in m && r(1, s = m.currency), "clientstyling" in m && r(9, l = m.clientstyling), "clientstylingurl" in m && r(10, u = m.clientstylingurl), "translationurl" in m && r(11, h = m.translationurl), "mbsource" in m && r(12, f = m.mbsource);
|
|
4529
4508
|
}, e.$$.update = () => {
|
|
4530
4509
|
e.$$.dirty & /*showpopup, lang*/
|
|
4531
|
-
384 && i && a &&
|
|
4532
|
-
516 && l &&
|
|
4533
|
-
1028 && u &&
|
|
4534
|
-
4100 && f &&
|
|
4510
|
+
384 && i && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4511
|
+
516 && l && p && ji(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4512
|
+
1028 && u && p && ki(p, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4513
|
+
4100 && f && p && Vi(p, `${f}.Style`), e.$$.dirty & /*translationurl*/
|
|
4535
4514
|
2048 && h && c();
|
|
4536
4515
|
}, [
|
|
4537
4516
|
o,
|
|
4538
4517
|
s,
|
|
4539
|
-
d,
|
|
4540
4518
|
p,
|
|
4519
|
+
d,
|
|
4541
4520
|
n,
|
|
4542
4521
|
S,
|
|
4543
4522
|
H,
|
|
@@ -4550,14 +4529,14 @@ function Qi(e, t, r) {
|
|
|
4550
4529
|
w
|
|
4551
4530
|
];
|
|
4552
4531
|
}
|
|
4553
|
-
class
|
|
4532
|
+
class Yi extends Rr {
|
|
4554
4533
|
constructor(t) {
|
|
4555
|
-
super(),
|
|
4534
|
+
super(), Lr(
|
|
4556
4535
|
this,
|
|
4557
4536
|
t,
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4537
|
+
Zi,
|
|
4538
|
+
qi,
|
|
4539
|
+
It,
|
|
4561
4540
|
{
|
|
4562
4541
|
showpopup: 7,
|
|
4563
4542
|
iteminfoamount: 0,
|
|
@@ -4568,59 +4547,59 @@ class Ji extends Rr {
|
|
|
4568
4547
|
translationurl: 11,
|
|
4569
4548
|
mbsource: 12
|
|
4570
4549
|
},
|
|
4571
|
-
|
|
4550
|
+
zi
|
|
4572
4551
|
);
|
|
4573
4552
|
}
|
|
4574
4553
|
get showpopup() {
|
|
4575
4554
|
return this.$$.ctx[7];
|
|
4576
4555
|
}
|
|
4577
4556
|
set showpopup(t) {
|
|
4578
|
-
this.$$set({ showpopup: t }),
|
|
4557
|
+
this.$$set({ showpopup: t }), M();
|
|
4579
4558
|
}
|
|
4580
4559
|
get iteminfoamount() {
|
|
4581
4560
|
return this.$$.ctx[0];
|
|
4582
4561
|
}
|
|
4583
4562
|
set iteminfoamount(t) {
|
|
4584
|
-
this.$$set({ iteminfoamount: t }),
|
|
4563
|
+
this.$$set({ iteminfoamount: t }), M();
|
|
4585
4564
|
}
|
|
4586
4565
|
get lang() {
|
|
4587
4566
|
return this.$$.ctx[8];
|
|
4588
4567
|
}
|
|
4589
4568
|
set lang(t) {
|
|
4590
|
-
this.$$set({ lang: t }),
|
|
4569
|
+
this.$$set({ lang: t }), M();
|
|
4591
4570
|
}
|
|
4592
4571
|
get currency() {
|
|
4593
4572
|
return this.$$.ctx[1];
|
|
4594
4573
|
}
|
|
4595
4574
|
set currency(t) {
|
|
4596
|
-
this.$$set({ currency: t }),
|
|
4575
|
+
this.$$set({ currency: t }), M();
|
|
4597
4576
|
}
|
|
4598
4577
|
get clientstyling() {
|
|
4599
4578
|
return this.$$.ctx[9];
|
|
4600
4579
|
}
|
|
4601
4580
|
set clientstyling(t) {
|
|
4602
|
-
this.$$set({ clientstyling: t }),
|
|
4581
|
+
this.$$set({ clientstyling: t }), M();
|
|
4603
4582
|
}
|
|
4604
4583
|
get clientstylingurl() {
|
|
4605
4584
|
return this.$$.ctx[10];
|
|
4606
4585
|
}
|
|
4607
4586
|
set clientstylingurl(t) {
|
|
4608
|
-
this.$$set({ clientstylingurl: t }),
|
|
4587
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4609
4588
|
}
|
|
4610
4589
|
get translationurl() {
|
|
4611
4590
|
return this.$$.ctx[11];
|
|
4612
4591
|
}
|
|
4613
4592
|
set translationurl(t) {
|
|
4614
|
-
this.$$set({ translationurl: t }),
|
|
4593
|
+
this.$$set({ translationurl: t }), M();
|
|
4615
4594
|
}
|
|
4616
4595
|
get mbsource() {
|
|
4617
4596
|
return this.$$.ctx[12];
|
|
4618
4597
|
}
|
|
4619
4598
|
set mbsource(t) {
|
|
4620
|
-
this.$$set({ mbsource: t }),
|
|
4599
|
+
this.$$set({ mbsource: t }), M();
|
|
4621
4600
|
}
|
|
4622
4601
|
}
|
|
4623
|
-
|
|
4602
|
+
Nr(Yi, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4624
4603
|
export {
|
|
4625
|
-
|
|
4604
|
+
Yi as default
|
|
4626
4605
|
};
|