@everymatrix/player-account-closure 1.76.0 → 1.76.1
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/{PlayerAccountClosure-JdG06bPX.js → PlayerAccountClosure-BfXpmf9E.js} +695 -716
- package/components/PlayerAccountClosure-D7u_zbPr.cjs +18 -0
- package/components/{PlayerAccountClosure-DshjEyVb.js → PlayerAccountClosure-wRHuxtfz.js} +688 -709
- package/es2015/player-account-closure.cjs +1 -1
- package/es2015/player-account-closure.js +1 -1
- package/esnext/player-account-closure.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountClosure-Wg7ZF8Mn.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var fr = Object.defineProperty, pr = Object.defineProperties;
|
|
2
|
+
var dr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var rt = Object.getOwnPropertySymbols;
|
|
4
|
+
var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ae = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
mr.call(t, r) && Ae(e, r, t[r]);
|
|
8
|
+
if (rt)
|
|
9
|
+
for (var r of rt(t))
|
|
10
|
+
br.call(t, r) && Ae(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, it = (e, t) => pr(e, dr(t));
|
|
13
|
+
var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ot = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(u));
|
|
@@ -29,25 +29,25 @@ var at = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Pt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function st() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function K(e) {
|
|
39
|
+
e.forEach(Pt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Qe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ot(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function vr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function It(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Lt(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 gr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(It(t, r));
|
|
61
61
|
}
|
|
62
62
|
function g(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function yr(e, t, r) {
|
|
66
|
+
const n = xr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = B("style");
|
|
69
69
|
i.id = t, i.textContent = r, Er(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function xr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -86,10 +86,10 @@ function Er(e, t) {
|
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ye(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ue(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
95
|
function B(e) {
|
|
@@ -107,17 +107,17 @@ function U() {
|
|
|
107
107
|
function be(e, t, r, n) {
|
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function E(e, t, r) {
|
|
111
111
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function _r(e) {
|
|
114
114
|
return Array.from(e.childNodes);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function W(e, t) {
|
|
117
117
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
118
|
t);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function wr(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -126,87 +126,87 @@ function Cr(e) {
|
|
|
126
126
|
}
|
|
127
127
|
), t;
|
|
128
128
|
}
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
129
|
+
let oe;
|
|
130
|
+
function ie(e) {
|
|
131
|
+
oe = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
if (!
|
|
133
|
+
function Cr() {
|
|
134
|
+
if (!oe)
|
|
135
135
|
throw new Error("Function called outside component initialization");
|
|
136
|
-
return
|
|
136
|
+
return oe;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function Ar(e) {
|
|
139
|
+
Cr().$$.on_mount.push(e);
|
|
140
140
|
}
|
|
141
|
-
const
|
|
141
|
+
const V = [], Ne = [];
|
|
142
142
|
let X = [];
|
|
143
|
-
const
|
|
144
|
-
let
|
|
145
|
-
function
|
|
146
|
-
|
|
143
|
+
const at = [], Sr = /* @__PURE__ */ Promise.resolve();
|
|
144
|
+
let Le = !1;
|
|
145
|
+
function Tr() {
|
|
146
|
+
Le || (Le = !0, Sr.then(D));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function $e(e) {
|
|
149
149
|
X.push(e);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const Se = /* @__PURE__ */ new Set();
|
|
152
152
|
let k = 0;
|
|
153
153
|
function D() {
|
|
154
154
|
if (k !== 0)
|
|
155
155
|
return;
|
|
156
|
-
const e =
|
|
156
|
+
const e = oe;
|
|
157
157
|
do {
|
|
158
158
|
try {
|
|
159
|
-
for (; k <
|
|
160
|
-
const t =
|
|
161
|
-
k++,
|
|
159
|
+
for (; k < V.length; ) {
|
|
160
|
+
const t = V[k];
|
|
161
|
+
k++, ie(t), Br(t.$$);
|
|
162
162
|
}
|
|
163
163
|
} catch (t) {
|
|
164
|
-
throw
|
|
164
|
+
throw V.length = 0, k = 0, t;
|
|
165
165
|
}
|
|
166
|
-
for (
|
|
167
|
-
|
|
166
|
+
for (ie(null), V.length = 0, k = 0; Ne.length; )
|
|
167
|
+
Ne.pop()();
|
|
168
168
|
for (let t = 0; t < X.length; t += 1) {
|
|
169
169
|
const r = X[t];
|
|
170
|
-
|
|
170
|
+
Se.has(r) || (Se.add(r), r());
|
|
171
171
|
}
|
|
172
172
|
X.length = 0;
|
|
173
|
-
} while (
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
} while (V.length);
|
|
174
|
+
for (; at.length; )
|
|
175
|
+
at.pop()();
|
|
176
|
+
Le = !1, Se.clear(), ie(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Br(e) {
|
|
179
179
|
if (e.fragment !== null) {
|
|
180
|
-
e.update(),
|
|
180
|
+
e.update(), K(e.before_update);
|
|
181
181
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Hr(e) {
|
|
186
186
|
const t = [], r = [];
|
|
187
187
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
189
|
+
const Mr = /* @__PURE__ */ new Set();
|
|
190
|
+
function Pr(e, t) {
|
|
191
|
+
e && e.i && (Mr.delete(e), e.i(t));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Or(e, t, r) {
|
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
|
-
n && n.m(t, r),
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
197
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
198
|
-
}), i.forEach(
|
|
195
|
+
n && n.m(t, r), $e(() => {
|
|
196
|
+
const o = e.$$.on_mount.map(Pt).filter(Qe);
|
|
197
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
198
|
+
}), i.forEach($e);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ir(e, t) {
|
|
201
201
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (
|
|
202
|
+
r.fragment !== null && (Hr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (
|
|
204
|
+
function Nr(e, t) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (V.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
const u =
|
|
209
|
-
|
|
207
|
+
function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
208
|
+
const u = oe;
|
|
209
|
+
ie(e);
|
|
210
210
|
const l = e.$$ = {
|
|
211
211
|
fragment: null,
|
|
212
212
|
ctx: [],
|
|
@@ -214,7 +214,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
props: o,
|
|
215
215
|
update: I,
|
|
216
216
|
not_equal: i,
|
|
217
|
-
bound:
|
|
217
|
+
bound: st(),
|
|
218
218
|
// lifecycle
|
|
219
219
|
on_mount: [],
|
|
220
220
|
on_destroy: [],
|
|
@@ -223,7 +223,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
223
|
after_update: [],
|
|
224
224
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
225
225
|
// everything else
|
|
226
|
-
callbacks:
|
|
226
|
+
callbacks: st(),
|
|
227
227
|
dirty: a,
|
|
228
228
|
skip_bound: !1,
|
|
229
229
|
root: t.target || u.$$.root
|
|
@@ -232,19 +232,19 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
232
232
|
let c = !1;
|
|
233
233
|
if (l.ctx = r ? r(e, t.props || {}, (f, h, ...p) => {
|
|
234
234
|
const m = p.length ? p[0] : h;
|
|
235
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c &&
|
|
236
|
-
}) : [], l.update(), c = !0,
|
|
235
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && Nr(e, f)), h;
|
|
236
|
+
}) : [], l.update(), c = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
237
237
|
if (t.hydrate) {
|
|
238
|
-
const f =
|
|
239
|
-
l.fragment && l.fragment.l(f), f.forEach(
|
|
238
|
+
const f = _r(t.target);
|
|
239
|
+
l.fragment && l.fragment.l(f), f.forEach(ue);
|
|
240
240
|
} else
|
|
241
241
|
l.fragment && l.fragment.c();
|
|
242
|
-
t.intro &&
|
|
242
|
+
t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), D();
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
ie(u);
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
246
|
+
let Nt;
|
|
247
|
+
typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
248
248
|
constructor(t, r, n) {
|
|
249
249
|
super();
|
|
250
250
|
/** The Svelte component constructor */
|
|
@@ -281,31 +281,31 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
connectedCallback() {
|
|
284
|
-
return
|
|
284
|
+
return ot(this, null, function* () {
|
|
285
285
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
286
|
let t = function(o) {
|
|
287
287
|
return () => {
|
|
288
288
|
let s;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
s = B("slot"), o !== "default" &&
|
|
291
|
+
s = B("slot"), o !== "default" && E(s, "name", o);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
295
295
|
* @param {HTMLElement} [anchor]
|
|
296
296
|
*/
|
|
297
297
|
m: function(l, c) {
|
|
298
|
-
|
|
298
|
+
ye(l, s, c);
|
|
299
299
|
},
|
|
300
300
|
d: function(l) {
|
|
301
|
-
l &&
|
|
301
|
+
l && ue(s);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const r = {}, n =
|
|
308
|
+
const r = {}, n = wr(this);
|
|
309
309
|
for (const o of this.$$s)
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
|
311
311
|
for (const o of this.attributes) {
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
317
|
this.$$c = new this.$$ctor({
|
|
318
318
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
319
|
+
props: it(nt({}, this.$$d), {
|
|
320
320
|
$$slots: r,
|
|
321
321
|
$$scope: {
|
|
322
322
|
ctx: []
|
|
@@ -394,8 +394,8 @@ function fe(e, t, r, n) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function $r(e, t, r, n, i, o) {
|
|
398
|
+
let s = class extends Nt {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -425,7 +425,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
s, s;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Rr {
|
|
429
429
|
constructor() {
|
|
430
430
|
/**
|
|
431
431
|
* ### PRIVATE API
|
|
@@ -446,7 +446,7 @@ class Dr {
|
|
|
446
446
|
}
|
|
447
447
|
/** @returns {void} */
|
|
448
448
|
$destroy() {
|
|
449
|
-
|
|
449
|
+
Ir(this, 1), this.$destroy = I;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -455,7 +455,7 @@ class Dr {
|
|
|
455
455
|
* @returns {() => void}
|
|
456
456
|
*/
|
|
457
457
|
$on(t, r) {
|
|
458
|
-
if (!
|
|
458
|
+
if (!Qe(r))
|
|
459
459
|
return I;
|
|
460
460
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
461
461
|
return n.push(r), () => {
|
|
@@ -468,11 +468,11 @@ class Dr {
|
|
|
468
468
|
* @returns {void}
|
|
469
469
|
*/
|
|
470
470
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
+
const Dr = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
476
476
|
/*! *****************************************************************************
|
|
477
477
|
Copyright (c) Microsoft Corporation.
|
|
478
478
|
|
|
@@ -487,24 +487,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
487
487
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
488
488
|
PERFORMANCE OF THIS SOFTWARE.
|
|
489
489
|
***************************************************************************** */
|
|
490
|
-
var
|
|
491
|
-
return
|
|
490
|
+
var Re = function(e, t) {
|
|
491
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
492
492
|
r.__proto__ = n;
|
|
493
493
|
} || function(r, n) {
|
|
494
494
|
for (var i in n)
|
|
495
495
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
496
|
+
}, Re(e, t);
|
|
497
497
|
};
|
|
498
|
-
function
|
|
498
|
+
function L(e, t) {
|
|
499
499
|
if (typeof t != "function" && t !== null)
|
|
500
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
501
|
+
Re(e, t);
|
|
502
502
|
function r() {
|
|
503
503
|
this.constructor = e;
|
|
504
504
|
}
|
|
505
505
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
var y = function() {
|
|
508
|
+
return y = Object.assign || function(t) {
|
|
509
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
510
|
+
r = arguments[n];
|
|
511
|
+
for (var o in r)
|
|
512
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
513
|
+
}
|
|
514
|
+
return t;
|
|
515
|
+
}, y.apply(this, arguments);
|
|
516
|
+
};
|
|
517
|
+
function Ur(e, t) {
|
|
518
|
+
var r = {};
|
|
519
|
+
for (var n in e)
|
|
520
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
521
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
522
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
523
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
524
|
+
return r;
|
|
525
|
+
}
|
|
526
|
+
function De(e) {
|
|
508
527
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
509
528
|
if (r)
|
|
510
529
|
return r.call(e);
|
|
@@ -516,7 +535,7 @@ function Fe(e) {
|
|
|
516
535
|
};
|
|
517
536
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
518
537
|
}
|
|
519
|
-
function
|
|
538
|
+
function Ue(e, t) {
|
|
520
539
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
521
540
|
if (!r)
|
|
522
541
|
return e;
|
|
@@ -536,22 +555,22 @@ function Ge(e, t) {
|
|
|
536
555
|
}
|
|
537
556
|
return o;
|
|
538
557
|
}
|
|
539
|
-
function
|
|
540
|
-
if (arguments.length === 2)
|
|
558
|
+
function Z(e, t, r) {
|
|
559
|
+
if (r || arguments.length === 2)
|
|
541
560
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
542
561
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
543
562
|
return e.concat(o || t);
|
|
544
563
|
}
|
|
545
|
-
function
|
|
564
|
+
function N(e) {
|
|
546
565
|
return typeof e == "function";
|
|
547
566
|
}
|
|
548
|
-
function
|
|
567
|
+
function Lt(e) {
|
|
549
568
|
var t = function(n) {
|
|
550
569
|
Error.call(n), n.stack = new Error().stack;
|
|
551
570
|
}, r = e(t);
|
|
552
571
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
553
572
|
}
|
|
554
|
-
var
|
|
573
|
+
var Te = Lt(function(e) {
|
|
555
574
|
return function(r) {
|
|
556
575
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
557
576
|
` + r.map(function(n, i) {
|
|
@@ -560,13 +579,13 @@ var He = Rt(function(e) {
|
|
|
560
579
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
561
580
|
};
|
|
562
581
|
});
|
|
563
|
-
function
|
|
582
|
+
function Fe(e, t) {
|
|
564
583
|
if (e) {
|
|
565
584
|
var r = e.indexOf(t);
|
|
566
585
|
0 <= r && e.splice(r, 1);
|
|
567
586
|
}
|
|
568
587
|
}
|
|
569
|
-
var
|
|
588
|
+
var xe = function() {
|
|
570
589
|
function e(t) {
|
|
571
590
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
572
591
|
}
|
|
@@ -578,7 +597,7 @@ var _e = function() {
|
|
|
578
597
|
if (s)
|
|
579
598
|
if (this._parentage = null, Array.isArray(s))
|
|
580
599
|
try {
|
|
581
|
-
for (var a =
|
|
600
|
+
for (var a = De(s), u = a.next(); !u.done; u = a.next()) {
|
|
582
601
|
var l = u.value;
|
|
583
602
|
l.remove(this);
|
|
584
603
|
}
|
|
@@ -595,22 +614,22 @@ var _e = function() {
|
|
|
595
614
|
else
|
|
596
615
|
s.remove(this);
|
|
597
616
|
var c = this.initialTeardown;
|
|
598
|
-
if (
|
|
617
|
+
if (N(c))
|
|
599
618
|
try {
|
|
600
619
|
c();
|
|
601
620
|
} catch (d) {
|
|
602
|
-
o = d instanceof
|
|
621
|
+
o = d instanceof Te ? d.errors : [d];
|
|
603
622
|
}
|
|
604
623
|
var f = this._finalizers;
|
|
605
624
|
if (f) {
|
|
606
625
|
this._finalizers = null;
|
|
607
626
|
try {
|
|
608
|
-
for (var h =
|
|
627
|
+
for (var h = De(f), p = h.next(); !p.done; p = h.next()) {
|
|
609
628
|
var m = p.value;
|
|
610
629
|
try {
|
|
611
|
-
|
|
630
|
+
ut(m);
|
|
612
631
|
} catch (d) {
|
|
613
|
-
o = o != null ? o : [], d instanceof
|
|
632
|
+
o = o != null ? o : [], d instanceof Te ? o = Z(Z([], Ue(o)), Ue(d.errors)) : o.push(d);
|
|
614
633
|
}
|
|
615
634
|
}
|
|
616
635
|
} catch (d) {
|
|
@@ -625,13 +644,13 @@ var _e = function() {
|
|
|
625
644
|
}
|
|
626
645
|
}
|
|
627
646
|
if (o)
|
|
628
|
-
throw new
|
|
647
|
+
throw new Te(o);
|
|
629
648
|
}
|
|
630
649
|
}, e.prototype.add = function(t) {
|
|
631
650
|
var r;
|
|
632
651
|
if (t && t !== this)
|
|
633
652
|
if (this.closed)
|
|
634
|
-
|
|
653
|
+
ut(t);
|
|
635
654
|
else {
|
|
636
655
|
if (t instanceof e) {
|
|
637
656
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,52 +667,56 @@ var _e = function() {
|
|
|
648
667
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
668
|
}, e.prototype._removeParent = function(t) {
|
|
650
669
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
670
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
652
671
|
}, e.prototype.remove = function(t) {
|
|
653
672
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
673
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
655
674
|
}, e.EMPTY = function() {
|
|
656
675
|
var t = new e();
|
|
657
676
|
return t.closed = !0, t;
|
|
658
677
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
661
|
-
return e instanceof
|
|
662
|
-
}
|
|
663
|
-
function
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
678
|
+
}(), $t = xe.EMPTY;
|
|
679
|
+
function Rt(e) {
|
|
680
|
+
return e instanceof xe || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
681
|
+
}
|
|
682
|
+
function ut(e) {
|
|
683
|
+
N(e) ? e() : e.unsubscribe();
|
|
684
|
+
}
|
|
685
|
+
var Dt = {
|
|
686
|
+
onUnhandledError: null,
|
|
687
|
+
onStoppedNotification: null,
|
|
688
|
+
Promise: void 0,
|
|
689
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
690
|
+
useDeprecatedNextContext: !1
|
|
691
|
+
}, Fr = {
|
|
669
692
|
setTimeout: function(e, t) {
|
|
670
693
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
694
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0,
|
|
695
|
+
return setTimeout.apply(void 0, Z([e, t], Ue(r)));
|
|
673
696
|
},
|
|
674
697
|
clearTimeout: function(e) {
|
|
675
698
|
return clearTimeout(e);
|
|
676
699
|
},
|
|
677
700
|
delegate: void 0
|
|
678
701
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
702
|
+
function Gr(e) {
|
|
703
|
+
Fr.setTimeout(function() {
|
|
681
704
|
throw e;
|
|
682
705
|
});
|
|
683
706
|
}
|
|
684
|
-
function
|
|
707
|
+
function lt() {
|
|
685
708
|
}
|
|
686
709
|
function pe(e) {
|
|
687
710
|
e();
|
|
688
711
|
}
|
|
689
|
-
var
|
|
690
|
-
|
|
712
|
+
var Ut = function(e) {
|
|
713
|
+
L(t, e);
|
|
691
714
|
function t(r) {
|
|
692
715
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
716
|
+
return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Vr, n;
|
|
694
717
|
}
|
|
695
718
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
719
|
+
return new Ge(r, n, i);
|
|
697
720
|
}, t.prototype.next = function(r) {
|
|
698
721
|
this.isStopped || this._next(r);
|
|
699
722
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +740,11 @@ var Ft = function(e) {
|
|
|
717
740
|
this.unsubscribe();
|
|
718
741
|
}
|
|
719
742
|
}, t;
|
|
720
|
-
}(
|
|
743
|
+
}(xe), jr = Function.prototype.bind;
|
|
744
|
+
function Be(e, t) {
|
|
745
|
+
return jr.call(e, t);
|
|
746
|
+
}
|
|
747
|
+
var kr = function() {
|
|
721
748
|
function e(t) {
|
|
722
749
|
this.partialObserver = t;
|
|
723
750
|
}
|
|
@@ -748,30 +775,42 @@ var Ft = function(e) {
|
|
|
748
775
|
ce(r);
|
|
749
776
|
}
|
|
750
777
|
}, e;
|
|
751
|
-
}(),
|
|
752
|
-
|
|
778
|
+
}(), Ge = function(e) {
|
|
779
|
+
L(t, e);
|
|
753
780
|
function t(r, n, i) {
|
|
754
781
|
var o = e.call(this) || this, s;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
782
|
+
if (N(r) || !r)
|
|
783
|
+
s = {
|
|
784
|
+
next: r != null ? r : void 0,
|
|
785
|
+
error: n != null ? n : void 0,
|
|
786
|
+
complete: i != null ? i : void 0
|
|
787
|
+
};
|
|
788
|
+
else {
|
|
789
|
+
var a;
|
|
790
|
+
o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
791
|
+
return o.unsubscribe();
|
|
792
|
+
}, s = {
|
|
793
|
+
next: r.next && Be(r.next, a),
|
|
794
|
+
error: r.error && Be(r.error, a),
|
|
795
|
+
complete: r.complete && Be(r.complete, a)
|
|
796
|
+
}) : s = r;
|
|
797
|
+
}
|
|
798
|
+
return o.destination = new kr(s), o;
|
|
760
799
|
}
|
|
761
800
|
return t;
|
|
762
|
-
}(
|
|
801
|
+
}(Ut);
|
|
763
802
|
function ce(e) {
|
|
764
|
-
|
|
803
|
+
Gr(e);
|
|
765
804
|
}
|
|
766
805
|
function zr(e) {
|
|
767
806
|
throw e;
|
|
768
807
|
}
|
|
769
|
-
var
|
|
808
|
+
var Vr = {
|
|
770
809
|
closed: !0,
|
|
771
|
-
next:
|
|
810
|
+
next: lt,
|
|
772
811
|
error: zr,
|
|
773
|
-
complete:
|
|
774
|
-
},
|
|
812
|
+
complete: lt
|
|
813
|
+
}, Wr = function() {
|
|
775
814
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
815
|
}();
|
|
777
816
|
function Xr(e) {
|
|
@@ -784,7 +823,7 @@ function Zr(e) {
|
|
|
784
823
|
}, r);
|
|
785
824
|
};
|
|
786
825
|
}
|
|
787
|
-
var
|
|
826
|
+
var ct = function() {
|
|
788
827
|
function e(t) {
|
|
789
828
|
t && (this._subscribe = t);
|
|
790
829
|
}
|
|
@@ -792,7 +831,7 @@ var ft = function() {
|
|
|
792
831
|
var r = new e();
|
|
793
832
|
return r.source = this, r.operator = t, r;
|
|
794
833
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var i = this, o = Qr(t) ? t : new
|
|
834
|
+
var i = this, o = Qr(t) ? t : new Ge(t, r, n);
|
|
796
835
|
return pe(function() {
|
|
797
836
|
var s = i, a = s.operator, u = s.source;
|
|
798
837
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -805,8 +844,8 @@ var ft = function() {
|
|
|
805
844
|
}
|
|
806
845
|
}, e.prototype.forEach = function(t, r) {
|
|
807
846
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var s = new
|
|
847
|
+
return r = ht(r), new r(function(i, o) {
|
|
848
|
+
var s = new Ge({
|
|
810
849
|
next: function(a) {
|
|
811
850
|
try {
|
|
812
851
|
t(a);
|
|
@@ -822,7 +861,7 @@ var ft = function() {
|
|
|
822
861
|
}, e.prototype._subscribe = function(t) {
|
|
823
862
|
var r;
|
|
824
863
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
825
|
-
}, e.prototype[
|
|
864
|
+
}, e.prototype[Wr] = function() {
|
|
826
865
|
return this;
|
|
827
866
|
}, e.prototype.pipe = function() {
|
|
828
867
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -830,7 +869,7 @@ var ft = function() {
|
|
|
830
869
|
return Zr(t)(this);
|
|
831
870
|
}, e.prototype.toPromise = function(t) {
|
|
832
871
|
var r = this;
|
|
833
|
-
return t =
|
|
872
|
+
return t = ht(t), new t(function(n, i) {
|
|
834
873
|
var o;
|
|
835
874
|
r.subscribe(function(s) {
|
|
836
875
|
return o = s;
|
|
@@ -844,28 +883,28 @@ var ft = function() {
|
|
|
844
883
|
return new e(t);
|
|
845
884
|
}, e;
|
|
846
885
|
}();
|
|
847
|
-
function
|
|
886
|
+
function ht(e) {
|
|
848
887
|
var t;
|
|
849
|
-
return (t = e != null ? e :
|
|
888
|
+
return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
889
|
}
|
|
851
890
|
function qr(e) {
|
|
852
|
-
return e &&
|
|
891
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
853
892
|
}
|
|
854
893
|
function Qr(e) {
|
|
855
|
-
return e && e instanceof
|
|
894
|
+
return e && e instanceof Ut || qr(e) && Rt(e);
|
|
856
895
|
}
|
|
857
|
-
var Yr =
|
|
896
|
+
var Yr = Lt(function(e) {
|
|
858
897
|
return function() {
|
|
859
898
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
899
|
};
|
|
861
|
-
}),
|
|
862
|
-
|
|
900
|
+
}), Ft = function(e) {
|
|
901
|
+
L(t, e);
|
|
863
902
|
function t() {
|
|
864
903
|
var r = e.call(this) || this;
|
|
865
904
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
905
|
}
|
|
867
906
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
907
|
+
var n = new ft(this, this);
|
|
869
908
|
return n.operator = r, n;
|
|
870
909
|
}, t.prototype._throwIfClosed = function() {
|
|
871
910
|
if (this.closed)
|
|
@@ -877,7 +916,7 @@ var Yr = Rt(function(e) {
|
|
|
877
916
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
917
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
918
|
try {
|
|
880
|
-
for (var s =
|
|
919
|
+
for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
881
920
|
var u = a.value;
|
|
882
921
|
u.next(r);
|
|
883
922
|
}
|
|
@@ -926,20 +965,20 @@ var Yr = Rt(function(e) {
|
|
|
926
965
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
927
966
|
}, t.prototype._innerSubscribe = function(r) {
|
|
928
967
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
929
|
-
return o || s ?
|
|
930
|
-
n.currentObservers = null,
|
|
968
|
+
return o || s ? $t : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
969
|
+
n.currentObservers = null, Fe(a, r);
|
|
931
970
|
}));
|
|
932
971
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
933
972
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
934
973
|
i ? r.error(o) : s && r.complete();
|
|
935
974
|
}, t.prototype.asObservable = function() {
|
|
936
|
-
var r = new
|
|
975
|
+
var r = new ct();
|
|
937
976
|
return r.source = this, r;
|
|
938
977
|
}, t.create = function(r, n) {
|
|
939
|
-
return new
|
|
978
|
+
return new ft(r, n);
|
|
940
979
|
}, t;
|
|
941
|
-
}(
|
|
942
|
-
|
|
980
|
+
}(ct), ft = function(e) {
|
|
981
|
+
L(t, e);
|
|
943
982
|
function t(r, n) {
|
|
944
983
|
var i = e.call(this) || this;
|
|
945
984
|
return i.destination = r, i.source = n, i;
|
|
@@ -955,17 +994,17 @@ var Yr = Rt(function(e) {
|
|
|
955
994
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
956
995
|
}, t.prototype._subscribe = function(r) {
|
|
957
996
|
var n, i;
|
|
958
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
997
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
959
998
|
}, t;
|
|
960
|
-
}(
|
|
999
|
+
}(Ft), Gt = {
|
|
961
1000
|
now: function() {
|
|
962
|
-
return (
|
|
1001
|
+
return (Gt.delegate || Date).now();
|
|
963
1002
|
},
|
|
964
1003
|
delegate: void 0
|
|
965
1004
|
}, Jr = function(e) {
|
|
966
|
-
|
|
1005
|
+
L(t, e);
|
|
967
1006
|
function t(r, n, i) {
|
|
968
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1007
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
|
|
969
1008
|
var o = e.call(this) || this;
|
|
970
1009
|
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;
|
|
971
1010
|
}
|
|
@@ -985,13 +1024,13 @@ var Yr = Rt(function(e) {
|
|
|
985
1024
|
l && o.splice(0, l + 1);
|
|
986
1025
|
}
|
|
987
1026
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
1027
|
+
}(Ft);
|
|
1028
|
+
const pt = [], dt = {}, Kr = (e, t = 0) => {
|
|
1029
|
+
if (pt.indexOf(e) == -1) {
|
|
991
1030
|
const r = new Jr(t);
|
|
992
|
-
|
|
1031
|
+
dt[e] = r, pt.push(e);
|
|
993
1032
|
}
|
|
994
|
-
return
|
|
1033
|
+
return dt[e];
|
|
995
1034
|
}, z = [];
|
|
996
1035
|
function en(e, t) {
|
|
997
1036
|
return {
|
|
@@ -1002,7 +1041,7 @@ function Ee(e, t = I) {
|
|
|
1002
1041
|
let r;
|
|
1003
1042
|
const n = /* @__PURE__ */ new Set();
|
|
1004
1043
|
function i(a) {
|
|
1005
|
-
if (
|
|
1044
|
+
if (Ot(e, a) && (e = a, r)) {
|
|
1006
1045
|
const u = !z.length;
|
|
1007
1046
|
for (const l of n)
|
|
1008
1047
|
l[1](), z.push(l, e);
|
|
@@ -1024,7 +1063,7 @@ function Ee(e, t = I) {
|
|
|
1024
1063
|
}
|
|
1025
1064
|
return { set: i, update: o, subscribe: s };
|
|
1026
1065
|
}
|
|
1027
|
-
function
|
|
1066
|
+
function ee(e, t, r) {
|
|
1028
1067
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1029
1068
|
if (!i.every(Boolean))
|
|
1030
1069
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1038,12 +1077,12 @@ function K(e, t, r) {
|
|
|
1038
1077
|
return;
|
|
1039
1078
|
f();
|
|
1040
1079
|
const m = t(n ? l[0] : l, s, a);
|
|
1041
|
-
o ? s(m) : f =
|
|
1080
|
+
o ? s(m) : f = Qe(m) ? m : I;
|
|
1042
1081
|
}, p = i.map(
|
|
1043
|
-
(m, d) =>
|
|
1082
|
+
(m, d) => It(
|
|
1044
1083
|
m,
|
|
1045
|
-
(
|
|
1046
|
-
l[d] =
|
|
1084
|
+
(C) => {
|
|
1085
|
+
l[d] = C, c &= ~(1 << d), u && h();
|
|
1047
1086
|
},
|
|
1048
1087
|
() => {
|
|
1049
1088
|
c |= 1 << d;
|
|
@@ -1051,7 +1090,7 @@ function K(e, t, r) {
|
|
|
1051
1090
|
)
|
|
1052
1091
|
);
|
|
1053
1092
|
return u = !0, h(), function() {
|
|
1054
|
-
|
|
1093
|
+
K(p), f(), u = !1;
|
|
1055
1094
|
};
|
|
1056
1095
|
});
|
|
1057
1096
|
}
|
|
@@ -1075,29 +1114,29 @@ function un(e) {
|
|
|
1075
1114
|
function ln(e) {
|
|
1076
1115
|
return Array.isArray(e) ? [] : {};
|
|
1077
1116
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1117
|
+
function se(e, t) {
|
|
1118
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(ln(e), e, t) : e;
|
|
1080
1119
|
}
|
|
1081
1120
|
function cn(e, t, r) {
|
|
1082
1121
|
return e.concat(t).map(function(n) {
|
|
1083
|
-
return
|
|
1122
|
+
return se(n, r);
|
|
1084
1123
|
});
|
|
1085
1124
|
}
|
|
1086
1125
|
function hn(e, t) {
|
|
1087
1126
|
if (!t.customMerge)
|
|
1088
|
-
return
|
|
1127
|
+
return q;
|
|
1089
1128
|
var r = t.customMerge(e);
|
|
1090
|
-
return typeof r == "function" ? r :
|
|
1129
|
+
return typeof r == "function" ? r : q;
|
|
1091
1130
|
}
|
|
1092
1131
|
function fn(e) {
|
|
1093
1132
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1094
1133
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1095
1134
|
}) : [];
|
|
1096
1135
|
}
|
|
1097
|
-
function
|
|
1136
|
+
function mt(e) {
|
|
1098
1137
|
return Object.keys(e).concat(fn(e));
|
|
1099
1138
|
}
|
|
1100
|
-
function
|
|
1139
|
+
function jt(e, t) {
|
|
1101
1140
|
try {
|
|
1102
1141
|
return t in e;
|
|
1103
1142
|
} catch (r) {
|
|
@@ -1105,179 +1144,129 @@ function kt(e, t) {
|
|
|
1105
1144
|
}
|
|
1106
1145
|
}
|
|
1107
1146
|
function pn(e, t) {
|
|
1108
|
-
return
|
|
1147
|
+
return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1109
1148
|
}
|
|
1110
1149
|
function dn(e, t, r) {
|
|
1111
1150
|
var n = {};
|
|
1112
|
-
return r.isMergeableObject(e) &&
|
|
1113
|
-
n[i] =
|
|
1114
|
-
}),
|
|
1115
|
-
pn(e, i) || (
|
|
1151
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1152
|
+
n[i] = se(e[i], r);
|
|
1153
|
+
}), mt(t).forEach(function(i) {
|
|
1154
|
+
pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1116
1155
|
}), n;
|
|
1117
1156
|
}
|
|
1118
|
-
function
|
|
1119
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified =
|
|
1157
|
+
function q(e, t, r) {
|
|
1158
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1120
1159
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1121
|
-
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) :
|
|
1160
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : se(t, r);
|
|
1122
1161
|
}
|
|
1123
|
-
|
|
1162
|
+
q.all = function(t, r) {
|
|
1124
1163
|
if (!Array.isArray(t))
|
|
1125
1164
|
throw new Error("first argument should be an array");
|
|
1126
1165
|
return t.reduce(function(n, i) {
|
|
1127
|
-
return
|
|
1166
|
+
return q(n, i, r);
|
|
1128
1167
|
}, {});
|
|
1129
1168
|
};
|
|
1130
|
-
var mn =
|
|
1169
|
+
var mn = q, bn = mn;
|
|
1131
1170
|
const vn = /* @__PURE__ */ tn(bn);
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
r.__proto__ = n;
|
|
1135
|
-
} || function(r, n) {
|
|
1136
|
-
for (var i in n)
|
|
1137
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1138
|
-
}, We(e, t);
|
|
1139
|
-
};
|
|
1140
|
-
function we(e, t) {
|
|
1141
|
-
if (typeof t != "function" && t !== null)
|
|
1142
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1143
|
-
We(e, t);
|
|
1144
|
-
function r() {
|
|
1145
|
-
this.constructor = e;
|
|
1146
|
-
}
|
|
1147
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1148
|
-
}
|
|
1149
|
-
var N = function() {
|
|
1150
|
-
return N = Object.assign || function(t) {
|
|
1151
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1152
|
-
r = arguments[n];
|
|
1153
|
-
for (var o in r)
|
|
1154
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1155
|
-
}
|
|
1156
|
-
return t;
|
|
1157
|
-
}, N.apply(this, arguments);
|
|
1158
|
-
};
|
|
1159
|
-
function gn(e, t) {
|
|
1160
|
-
var r = {};
|
|
1161
|
-
for (var n in e)
|
|
1162
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1163
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1164
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1165
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1166
|
-
return r;
|
|
1167
|
-
}
|
|
1168
|
-
function Me(e, t, r) {
|
|
1169
|
-
if (r || arguments.length === 2)
|
|
1170
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1171
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1172
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1173
|
-
}
|
|
1174
|
-
function Pe(e, t) {
|
|
1175
|
-
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
|
|
1171
|
+
function He(e, t) {
|
|
1172
|
+
var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
|
|
1176
1173
|
return i(e, {
|
|
1177
1174
|
cache: r,
|
|
1178
1175
|
serializer: n
|
|
1179
1176
|
});
|
|
1180
1177
|
}
|
|
1181
|
-
function
|
|
1178
|
+
function gn(e) {
|
|
1182
1179
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1183
1180
|
}
|
|
1184
|
-
function
|
|
1185
|
-
var i =
|
|
1181
|
+
function kt(e, t, r, n) {
|
|
1182
|
+
var i = gn(n) ? n : r(n), o = t.get(i);
|
|
1186
1183
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1187
1184
|
}
|
|
1188
1185
|
function zt(e, t, r) {
|
|
1189
1186
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1190
1187
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1191
1188
|
}
|
|
1192
|
-
function
|
|
1189
|
+
function Ye(e, t, r, n, i) {
|
|
1193
1190
|
return r.bind(t, e, n, i);
|
|
1194
1191
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var r = e.length === 1 ?
|
|
1197
|
-
return
|
|
1192
|
+
function yn(e, t) {
|
|
1193
|
+
var r = e.length === 1 ? kt : zt;
|
|
1194
|
+
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1195
|
+
}
|
|
1196
|
+
function xn(e, t) {
|
|
1197
|
+
return Ye(e, this, zt, t.cache.create(), t.serializer);
|
|
1198
1198
|
}
|
|
1199
1199
|
function En(e, t) {
|
|
1200
|
-
return
|
|
1200
|
+
return Ye(e, this, kt, t.cache.create(), t.serializer);
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var _n = function() {
|
|
1203
1203
|
return JSON.stringify(arguments);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}()
|
|
1216
|
-
), An = {
|
|
1204
|
+
};
|
|
1205
|
+
function Je() {
|
|
1206
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1207
|
+
}
|
|
1208
|
+
Je.prototype.get = function(e) {
|
|
1209
|
+
return this.cache[e];
|
|
1210
|
+
};
|
|
1211
|
+
Je.prototype.set = function(e, t) {
|
|
1212
|
+
this.cache[e] = t;
|
|
1213
|
+
};
|
|
1214
|
+
var wn = {
|
|
1217
1215
|
create: function() {
|
|
1218
|
-
return new
|
|
1216
|
+
return new Je();
|
|
1219
1217
|
}
|
|
1220
|
-
},
|
|
1221
|
-
variadic:
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1225
|
-
r = arguments[n];
|
|
1226
|
-
for (var o in r)
|
|
1227
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1228
|
-
}
|
|
1229
|
-
return t;
|
|
1230
|
-
}, ve.apply(this, arguments);
|
|
1231
|
-
};
|
|
1232
|
-
var b;
|
|
1218
|
+
}, Me = {
|
|
1219
|
+
variadic: xn,
|
|
1220
|
+
monadic: En
|
|
1221
|
+
}, b;
|
|
1233
1222
|
(function(e) {
|
|
1234
1223
|
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";
|
|
1235
1224
|
})(b || (b = {}));
|
|
1236
|
-
var
|
|
1225
|
+
var w;
|
|
1237
1226
|
(function(e) {
|
|
1238
1227
|
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";
|
|
1239
|
-
})(
|
|
1240
|
-
var
|
|
1228
|
+
})(w || (w = {}));
|
|
1229
|
+
var Q;
|
|
1241
1230
|
(function(e) {
|
|
1242
1231
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1243
|
-
})(
|
|
1244
|
-
function
|
|
1245
|
-
return e.type ===
|
|
1232
|
+
})(Q || (Q = {}));
|
|
1233
|
+
function bt(e) {
|
|
1234
|
+
return e.type === w.literal;
|
|
1246
1235
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1236
|
+
function Cn(e) {
|
|
1237
|
+
return e.type === w.argument;
|
|
1249
1238
|
}
|
|
1250
1239
|
function Vt(e) {
|
|
1251
|
-
return e.type ===
|
|
1240
|
+
return e.type === w.number;
|
|
1241
|
+
}
|
|
1242
|
+
function Wt(e) {
|
|
1243
|
+
return e.type === w.date;
|
|
1252
1244
|
}
|
|
1253
1245
|
function Xt(e) {
|
|
1254
|
-
return e.type ===
|
|
1246
|
+
return e.type === w.time;
|
|
1255
1247
|
}
|
|
1256
1248
|
function Zt(e) {
|
|
1257
|
-
return e.type ===
|
|
1249
|
+
return e.type === w.select;
|
|
1258
1250
|
}
|
|
1259
1251
|
function qt(e) {
|
|
1260
|
-
return e.type ===
|
|
1252
|
+
return e.type === w.plural;
|
|
1261
1253
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return e.type ===
|
|
1254
|
+
function An(e) {
|
|
1255
|
+
return e.type === w.pound;
|
|
1264
1256
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return e.type ===
|
|
1257
|
+
function Qt(e) {
|
|
1258
|
+
return e.type === w.tag;
|
|
1267
1259
|
}
|
|
1268
1260
|
function Yt(e) {
|
|
1269
|
-
return e.type ===
|
|
1270
|
-
}
|
|
1271
|
-
function Jt(e) {
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type === q.number);
|
|
1261
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1273
1262
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1263
|
+
function je(e) {
|
|
1264
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1276
1265
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1266
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
1267
|
+
function Tn(e) {
|
|
1279
1268
|
var t = {};
|
|
1280
|
-
return e.replace(
|
|
1269
|
+
return e.replace(Sn, function(r) {
|
|
1281
1270
|
var n = r.length;
|
|
1282
1271
|
switch (r[0]) {
|
|
1283
1272
|
case "G":
|
|
@@ -1366,21 +1355,11 @@ function Hn(e) {
|
|
|
1366
1355
|
return "";
|
|
1367
1356
|
}), t;
|
|
1368
1357
|
}
|
|
1369
|
-
var
|
|
1370
|
-
|
|
1371
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1372
|
-
r = arguments[n];
|
|
1373
|
-
for (var o in r)
|
|
1374
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1375
|
-
}
|
|
1376
|
-
return t;
|
|
1377
|
-
}, S.apply(this, arguments);
|
|
1378
|
-
};
|
|
1379
|
-
var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1380
|
-
function Pn(e) {
|
|
1358
|
+
var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1359
|
+
function Hn(e) {
|
|
1381
1360
|
if (e.length === 0)
|
|
1382
1361
|
throw new Error("Number skeleton cannot be empty");
|
|
1383
|
-
for (var t = e.split(
|
|
1362
|
+
for (var t = e.split(Bn).filter(function(h) {
|
|
1384
1363
|
return h.length > 0;
|
|
1385
1364
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1386
1365
|
var o = i[n], s = o.split("/");
|
|
@@ -1395,17 +1374,17 @@ function Pn(e) {
|
|
|
1395
1374
|
}
|
|
1396
1375
|
return r;
|
|
1397
1376
|
}
|
|
1398
|
-
function
|
|
1377
|
+
function Mn(e) {
|
|
1399
1378
|
return e.replace(/^(.*?)-/, "");
|
|
1400
1379
|
}
|
|
1401
|
-
var
|
|
1402
|
-
function
|
|
1380
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
|
|
1381
|
+
function gt(e) {
|
|
1403
1382
|
var t = {};
|
|
1404
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1383
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
|
1405
1384
|
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)), "";
|
|
1406
1385
|
}), t;
|
|
1407
1386
|
}
|
|
1408
|
-
function
|
|
1387
|
+
function tr(e) {
|
|
1409
1388
|
switch (e) {
|
|
1410
1389
|
case "sign-auto":
|
|
1411
1390
|
return {
|
|
@@ -1445,7 +1424,7 @@ function rr(e) {
|
|
|
1445
1424
|
};
|
|
1446
1425
|
}
|
|
1447
1426
|
}
|
|
1448
|
-
function
|
|
1427
|
+
function On(e) {
|
|
1449
1428
|
var t;
|
|
1450
1429
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1451
1430
|
notation: "engineering"
|
|
@@ -1453,17 +1432,17 @@ function Nn(e) {
|
|
|
1453
1432
|
notation: "scientific"
|
|
1454
1433
|
}, e = e.slice(1)), t) {
|
|
1455
1434
|
var r = e.slice(0, 2);
|
|
1456
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1435
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
|
|
1457
1436
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1458
1437
|
t.minimumIntegerDigits = e.length;
|
|
1459
1438
|
}
|
|
1460
1439
|
return t;
|
|
1461
1440
|
}
|
|
1462
|
-
function
|
|
1463
|
-
var t = {}, r =
|
|
1441
|
+
function yt(e) {
|
|
1442
|
+
var t = {}, r = tr(e);
|
|
1464
1443
|
return r || t;
|
|
1465
1444
|
}
|
|
1466
|
-
function
|
|
1445
|
+
function In(e) {
|
|
1467
1446
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1468
1447
|
var i = n[r];
|
|
1469
1448
|
switch (i.stem) {
|
|
@@ -1487,7 +1466,7 @@ function Ln(e) {
|
|
|
1487
1466
|
continue;
|
|
1488
1467
|
case "measure-unit":
|
|
1489
1468
|
case "unit":
|
|
1490
|
-
t.style = "unit", t.unit =
|
|
1469
|
+
t.style = "unit", t.unit = Mn(i.options[0]);
|
|
1491
1470
|
continue;
|
|
1492
1471
|
case "compact-short":
|
|
1493
1472
|
case "K":
|
|
@@ -1498,13 +1477,13 @@ function Ln(e) {
|
|
|
1498
1477
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1499
1478
|
continue;
|
|
1500
1479
|
case "scientific":
|
|
1501
|
-
t =
|
|
1502
|
-
return
|
|
1480
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1481
|
+
return y(y({}, u), yt(l));
|
|
1503
1482
|
}, {}));
|
|
1504
1483
|
continue;
|
|
1505
1484
|
case "engineering":
|
|
1506
|
-
t =
|
|
1507
|
-
return
|
|
1485
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1486
|
+
return y(y({}, u), yt(l));
|
|
1508
1487
|
}, {}));
|
|
1509
1488
|
continue;
|
|
1510
1489
|
case "notation-simple":
|
|
@@ -1549,7 +1528,7 @@ function Ln(e) {
|
|
|
1549
1528
|
case "integer-width":
|
|
1550
1529
|
if (i.options.length > 1)
|
|
1551
1530
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1552
|
-
i.options[0].replace(
|
|
1531
|
+
i.options[0].replace(Pn, function(u, l, c, f, h, p) {
|
|
1553
1532
|
if (l)
|
|
1554
1533
|
t.minimumIntegerDigits = c.length;
|
|
1555
1534
|
else {
|
|
@@ -1562,28 +1541,28 @@ function Ln(e) {
|
|
|
1562
1541
|
});
|
|
1563
1542
|
continue;
|
|
1564
1543
|
}
|
|
1565
|
-
if (
|
|
1544
|
+
if (er.test(i.stem)) {
|
|
1566
1545
|
t.minimumIntegerDigits = i.stem.length;
|
|
1567
1546
|
continue;
|
|
1568
1547
|
}
|
|
1569
|
-
if (
|
|
1548
|
+
if (vt.test(i.stem)) {
|
|
1570
1549
|
if (i.options.length > 1)
|
|
1571
1550
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1572
|
-
i.stem.replace(
|
|
1551
|
+
i.stem.replace(vt, function(u, l, c, f, h, p) {
|
|
1573
1552
|
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && p ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1574
1553
|
});
|
|
1575
1554
|
var o = i.options[0];
|
|
1576
|
-
o === "w" ? t =
|
|
1555
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
|
|
1577
1556
|
continue;
|
|
1578
1557
|
}
|
|
1579
|
-
if (
|
|
1580
|
-
t =
|
|
1558
|
+
if (Kt.test(i.stem)) {
|
|
1559
|
+
t = y(y({}, t), gt(i.stem));
|
|
1581
1560
|
continue;
|
|
1582
1561
|
}
|
|
1583
|
-
var s =
|
|
1584
|
-
s && (t =
|
|
1585
|
-
var a =
|
|
1586
|
-
a && (t =
|
|
1562
|
+
var s = tr(i.stem);
|
|
1563
|
+
s && (t = y(y({}, t), s));
|
|
1564
|
+
var a = On(i.stem);
|
|
1565
|
+
a && (t = y(y({}, t), a));
|
|
1587
1566
|
}
|
|
1588
1567
|
return t;
|
|
1589
1568
|
}
|
|
@@ -3002,13 +2981,13 @@ var he = {
|
|
|
3002
2981
|
"h"
|
|
3003
2982
|
]
|
|
3004
2983
|
};
|
|
3005
|
-
function
|
|
2984
|
+
function Nn(e, t) {
|
|
3006
2985
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3007
2986
|
var i = e.charAt(n);
|
|
3008
2987
|
if (i === "j") {
|
|
3009
2988
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3010
2989
|
o++, n++;
|
|
3011
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2990
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ln(t);
|
|
3012
2991
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3013
2992
|
r += u;
|
|
3014
2993
|
for (; s-- > 0; )
|
|
@@ -3018,7 +2997,7 @@ function $n(e, t) {
|
|
|
3018
2997
|
}
|
|
3019
2998
|
return r;
|
|
3020
2999
|
}
|
|
3021
|
-
function
|
|
3000
|
+
function Ln(e) {
|
|
3022
3001
|
var t = e.hourCycle;
|
|
3023
3002
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3024
3003
|
e.hourCycles && // @ts-ignore
|
|
@@ -3040,20 +3019,20 @@ function Rn(e) {
|
|
|
3040
3019
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3041
3020
|
return i[0];
|
|
3042
3021
|
}
|
|
3043
|
-
var
|
|
3022
|
+
var Pe, $n = new RegExp("^".concat(Jt.source, "*")), Rn = new RegExp("".concat(Jt.source, "*$"));
|
|
3044
3023
|
function v(e, t) {
|
|
3045
3024
|
return { start: e, end: t };
|
|
3046
3025
|
}
|
|
3047
|
-
var
|
|
3026
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Fn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
|
|
3048
3027
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3049
|
-
},
|
|
3028
|
+
}, ke = !0;
|
|
3050
3029
|
try {
|
|
3051
|
-
var
|
|
3052
|
-
|
|
3030
|
+
var Wn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3031
|
+
ke = ((Pe = Wn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
3053
3032
|
} catch (e) {
|
|
3054
|
-
|
|
3033
|
+
ke = !1;
|
|
3055
3034
|
}
|
|
3056
|
-
var
|
|
3035
|
+
var xt = Dn ? (
|
|
3057
3036
|
// Native
|
|
3058
3037
|
function(t, r, n) {
|
|
3059
3038
|
return t.startsWith(r, n);
|
|
@@ -3063,7 +3042,7 @@ var Et = Fn ? (
|
|
|
3063
3042
|
function(t, r, n) {
|
|
3064
3043
|
return t.slice(n, n + r.length) === r;
|
|
3065
3044
|
}
|
|
3066
|
-
),
|
|
3045
|
+
), ze = Un ? String.fromCodePoint : (
|
|
3067
3046
|
// IE11
|
|
3068
3047
|
function() {
|
|
3069
3048
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3075,9 +3054,9 @@ var Et = Fn ? (
|
|
|
3075
3054
|
}
|
|
3076
3055
|
return n;
|
|
3077
3056
|
}
|
|
3078
|
-
),
|
|
3057
|
+
), Et = (
|
|
3079
3058
|
// native
|
|
3080
|
-
|
|
3059
|
+
Fn ? Object.fromEntries : (
|
|
3081
3060
|
// Ponyfill
|
|
3082
3061
|
function(t) {
|
|
3083
3062
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3087,7 +3066,7 @@ var Et = Fn ? (
|
|
|
3087
3066
|
return r;
|
|
3088
3067
|
}
|
|
3089
3068
|
)
|
|
3090
|
-
),
|
|
3069
|
+
), rr = Gn ? (
|
|
3091
3070
|
// Native
|
|
3092
3071
|
function(t, r) {
|
|
3093
3072
|
return t.codePointAt(r);
|
|
@@ -3101,7 +3080,7 @@ var Et = Fn ? (
|
|
|
3101
3080
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3102
3081
|
}
|
|
3103
3082
|
}
|
|
3104
|
-
),
|
|
3083
|
+
), Xn = jn ? (
|
|
3105
3084
|
// Native
|
|
3106
3085
|
function(t) {
|
|
3107
3086
|
return t.trimStart();
|
|
@@ -3109,9 +3088,9 @@ var Et = Fn ? (
|
|
|
3109
3088
|
) : (
|
|
3110
3089
|
// Ponyfill
|
|
3111
3090
|
function(t) {
|
|
3112
|
-
return t.replace(
|
|
3091
|
+
return t.replace($n, "");
|
|
3113
3092
|
}
|
|
3114
|
-
),
|
|
3093
|
+
), Zn = kn ? (
|
|
3115
3094
|
// Native
|
|
3116
3095
|
function(t) {
|
|
3117
3096
|
return t.trimEnd();
|
|
@@ -3119,32 +3098,32 @@ var Et = Fn ? (
|
|
|
3119
3098
|
) : (
|
|
3120
3099
|
// Ponyfill
|
|
3121
3100
|
function(t) {
|
|
3122
|
-
return t.replace(
|
|
3101
|
+
return t.replace(Rn, "");
|
|
3123
3102
|
}
|
|
3124
3103
|
);
|
|
3125
|
-
function
|
|
3104
|
+
function nr(e, t) {
|
|
3126
3105
|
return new RegExp(e, t);
|
|
3127
3106
|
}
|
|
3128
|
-
var
|
|
3129
|
-
if (
|
|
3130
|
-
var
|
|
3131
|
-
|
|
3107
|
+
var Ve;
|
|
3108
|
+
if (ke) {
|
|
3109
|
+
var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3110
|
+
Ve = function(t, r) {
|
|
3132
3111
|
var n;
|
|
3133
|
-
|
|
3134
|
-
var i =
|
|
3112
|
+
_t.lastIndex = r;
|
|
3113
|
+
var i = _t.exec(t);
|
|
3135
3114
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3136
3115
|
};
|
|
3137
3116
|
} else
|
|
3138
|
-
|
|
3117
|
+
Ve = function(t, r) {
|
|
3139
3118
|
for (var n = []; ; ) {
|
|
3140
|
-
var i =
|
|
3141
|
-
if (i === void 0 ||
|
|
3119
|
+
var i = rr(t, r);
|
|
3120
|
+
if (i === void 0 || ir(i) || Jn(i))
|
|
3142
3121
|
break;
|
|
3143
3122
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3144
3123
|
}
|
|
3145
|
-
return
|
|
3124
|
+
return ze.apply(void 0, n);
|
|
3146
3125
|
};
|
|
3147
|
-
var
|
|
3126
|
+
var qn = (
|
|
3148
3127
|
/** @class */
|
|
3149
3128
|
function() {
|
|
3150
3129
|
function e(t, r) {
|
|
@@ -3168,14 +3147,14 @@ var Yn = (
|
|
|
3168
3147
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3169
3148
|
var a = this.clonePosition();
|
|
3170
3149
|
this.bump(), i.push({
|
|
3171
|
-
type:
|
|
3150
|
+
type: w.pound,
|
|
3172
3151
|
location: v(a, this.clonePosition())
|
|
3173
3152
|
});
|
|
3174
3153
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3175
3154
|
if (n)
|
|
3176
3155
|
break;
|
|
3177
3156
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3178
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3157
|
+
} else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
|
|
3179
3158
|
var s = this.parseTag(t, r);
|
|
3180
3159
|
if (s.err)
|
|
3181
3160
|
return s;
|
|
@@ -3196,7 +3175,7 @@ var Yn = (
|
|
|
3196
3175
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3197
3176
|
return {
|
|
3198
3177
|
val: {
|
|
3199
|
-
type:
|
|
3178
|
+
type: w.literal,
|
|
3200
3179
|
value: "<".concat(i, "/>"),
|
|
3201
3180
|
location: v(n, this.clonePosition())
|
|
3202
3181
|
},
|
|
@@ -3208,12 +3187,12 @@ var Yn = (
|
|
|
3208
3187
|
return o;
|
|
3209
3188
|
var s = o.val, a = this.clonePosition();
|
|
3210
3189
|
if (this.bumpIf("</")) {
|
|
3211
|
-
if (this.isEOF() || !
|
|
3190
|
+
if (this.isEOF() || !We(this.char()))
|
|
3212
3191
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3213
3192
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3214
3193
|
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3215
3194
|
val: {
|
|
3216
|
-
type:
|
|
3195
|
+
type: w.tag,
|
|
3217
3196
|
value: i,
|
|
3218
3197
|
children: s,
|
|
3219
3198
|
location: v(n, this.clonePosition())
|
|
@@ -3226,7 +3205,7 @@ var Yn = (
|
|
|
3226
3205
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3227
3206
|
}, e.prototype.parseTagName = function() {
|
|
3228
3207
|
var t = this.offset();
|
|
3229
|
-
for (this.bump(); !this.isEOF() &&
|
|
3208
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3230
3209
|
this.bump();
|
|
3231
3210
|
return this.message.slice(t, this.offset());
|
|
3232
3211
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3250,12 +3229,12 @@ var Yn = (
|
|
|
3250
3229
|
}
|
|
3251
3230
|
var u = v(n, this.clonePosition());
|
|
3252
3231
|
return {
|
|
3253
|
-
val: { type:
|
|
3232
|
+
val: { type: w.literal, value: i, location: u },
|
|
3254
3233
|
err: null
|
|
3255
3234
|
};
|
|
3256
3235
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3257
3236
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3258
|
-
!
|
|
3237
|
+
!Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3259
3238
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3260
3239
|
if (this.isEOF() || this.char() !== 39)
|
|
3261
3240
|
return null;
|
|
@@ -3289,12 +3268,12 @@ var Yn = (
|
|
|
3289
3268
|
r.push(n);
|
|
3290
3269
|
this.bump();
|
|
3291
3270
|
}
|
|
3292
|
-
return
|
|
3271
|
+
return ze.apply(void 0, r);
|
|
3293
3272
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3294
3273
|
if (this.isEOF())
|
|
3295
3274
|
return null;
|
|
3296
3275
|
var n = this.char();
|
|
3297
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3276
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
|
3298
3277
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3299
3278
|
var n = this.clonePosition();
|
|
3300
3279
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3310,7 +3289,7 @@ var Yn = (
|
|
|
3310
3289
|
case 125:
|
|
3311
3290
|
return this.bump(), {
|
|
3312
3291
|
val: {
|
|
3313
|
-
type:
|
|
3292
|
+
type: w.argument,
|
|
3314
3293
|
// value does not include the opening and closing braces.
|
|
3315
3294
|
value: i,
|
|
3316
3295
|
location: v(n, this.clonePosition())
|
|
@@ -3323,7 +3302,7 @@ var Yn = (
|
|
|
3323
3302
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3324
3303
|
}
|
|
3325
3304
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3326
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3305
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3327
3306
|
this.bumpTo(i);
|
|
3328
3307
|
var o = this.clonePosition(), s = v(t, o);
|
|
3329
3308
|
return { value: n, location: s };
|
|
@@ -3342,7 +3321,7 @@ var Yn = (
|
|
|
3342
3321
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3343
3322
|
if (f.err)
|
|
3344
3323
|
return f;
|
|
3345
|
-
var h =
|
|
3324
|
+
var h = Zn(f.val);
|
|
3346
3325
|
if (h.length === 0)
|
|
3347
3326
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3348
3327
|
var p = v(c, this.clonePosition());
|
|
@@ -3352,25 +3331,25 @@ var Yn = (
|
|
|
3352
3331
|
if (m.err)
|
|
3353
3332
|
return m;
|
|
3354
3333
|
var d = v(i, this.clonePosition());
|
|
3355
|
-
if (l &&
|
|
3356
|
-
var
|
|
3334
|
+
if (l && xt(l == null ? void 0 : l.style, "::", 0)) {
|
|
3335
|
+
var C = Xn(l.style.slice(2));
|
|
3357
3336
|
if (a === "number") {
|
|
3358
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3337
|
+
var f = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
3359
3338
|
return f.err ? f : {
|
|
3360
|
-
val: { type:
|
|
3339
|
+
val: { type: w.number, value: n, location: d, style: f.val },
|
|
3361
3340
|
err: null
|
|
3362
3341
|
};
|
|
3363
3342
|
} else {
|
|
3364
|
-
if (
|
|
3343
|
+
if (C.length === 0)
|
|
3365
3344
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3366
|
-
var M =
|
|
3367
|
-
this.locale && (M =
|
|
3345
|
+
var M = C;
|
|
3346
|
+
this.locale && (M = Nn(C, this.locale));
|
|
3368
3347
|
var h = {
|
|
3369
|
-
type:
|
|
3348
|
+
type: Q.dateTime,
|
|
3370
3349
|
pattern: M,
|
|
3371
3350
|
location: l.styleLocation,
|
|
3372
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3373
|
-
}, T = a === "date" ?
|
|
3351
|
+
parsedOptions: this.shouldParseSkeletons ? Tn(M) : {}
|
|
3352
|
+
}, T = a === "date" ? w.date : w.time;
|
|
3374
3353
|
return {
|
|
3375
3354
|
val: { type: T, value: n, location: d, style: h },
|
|
3376
3355
|
err: null
|
|
@@ -3379,7 +3358,7 @@ var Yn = (
|
|
|
3379
3358
|
}
|
|
3380
3359
|
return {
|
|
3381
3360
|
val: {
|
|
3382
|
-
type: a === "number" ?
|
|
3361
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3383
3362
|
value: n,
|
|
3384
3363
|
location: d,
|
|
3385
3364
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
@@ -3390,21 +3369,21 @@ var Yn = (
|
|
|
3390
3369
|
case "plural":
|
|
3391
3370
|
case "selectordinal":
|
|
3392
3371
|
case "select": {
|
|
3393
|
-
var
|
|
3372
|
+
var x = this.clonePosition();
|
|
3394
3373
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3395
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3374
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, y({}, x)));
|
|
3396
3375
|
this.bumpSpace();
|
|
3397
|
-
var
|
|
3398
|
-
if (a !== "select" &&
|
|
3376
|
+
var A = this.parseIdentifierIfPossible(), S = 0;
|
|
3377
|
+
if (a !== "select" && A.value === "offset") {
|
|
3399
3378
|
if (!this.bumpIf(":"))
|
|
3400
3379
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3401
3380
|
this.bumpSpace();
|
|
3402
3381
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3403
3382
|
if (f.err)
|
|
3404
3383
|
return f;
|
|
3405
|
-
this.bumpSpace(),
|
|
3384
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), S = f.val;
|
|
3406
3385
|
}
|
|
3407
|
-
var P = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3386
|
+
var P = this.tryParsePluralOrSelectOptions(t, a, r, A);
|
|
3408
3387
|
if (P.err)
|
|
3409
3388
|
return P;
|
|
3410
3389
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3413,18 +3392,18 @@ var Yn = (
|
|
|
3413
3392
|
var _ = v(i, this.clonePosition());
|
|
3414
3393
|
return a === "select" ? {
|
|
3415
3394
|
val: {
|
|
3416
|
-
type:
|
|
3395
|
+
type: w.select,
|
|
3417
3396
|
value: n,
|
|
3418
|
-
options:
|
|
3397
|
+
options: Et(P.val),
|
|
3419
3398
|
location: _
|
|
3420
3399
|
},
|
|
3421
3400
|
err: null
|
|
3422
3401
|
} : {
|
|
3423
3402
|
val: {
|
|
3424
|
-
type:
|
|
3403
|
+
type: w.plural,
|
|
3425
3404
|
value: n,
|
|
3426
|
-
options:
|
|
3427
|
-
offset:
|
|
3405
|
+
options: Et(P.val),
|
|
3406
|
+
offset: S,
|
|
3428
3407
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3429
3408
|
location: _
|
|
3430
3409
|
},
|
|
@@ -3474,16 +3453,16 @@ var Yn = (
|
|
|
3474
3453
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3475
3454
|
var n = [];
|
|
3476
3455
|
try {
|
|
3477
|
-
n =
|
|
3456
|
+
n = Hn(t);
|
|
3478
3457
|
} catch (i) {
|
|
3479
3458
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3480
3459
|
}
|
|
3481
3460
|
return {
|
|
3482
3461
|
val: {
|
|
3483
|
-
type:
|
|
3462
|
+
type: Q.number,
|
|
3484
3463
|
tokens: n,
|
|
3485
3464
|
location: r,
|
|
3486
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3465
|
+
parsedOptions: this.shouldParseSkeletons ? In(n) : {}
|
|
3487
3466
|
},
|
|
3488
3467
|
err: null
|
|
3489
3468
|
};
|
|
@@ -3531,7 +3510,7 @@ var Yn = (
|
|
|
3531
3510
|
break;
|
|
3532
3511
|
}
|
|
3533
3512
|
var u = v(i, this.clonePosition());
|
|
3534
|
-
return o ? (s *= n,
|
|
3513
|
+
return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3535
3514
|
}, e.prototype.offset = function() {
|
|
3536
3515
|
return this.position.offset;
|
|
3537
3516
|
}, e.prototype.isEOF = function() {
|
|
@@ -3546,7 +3525,7 @@ var Yn = (
|
|
|
3546
3525
|
var t = this.position.offset;
|
|
3547
3526
|
if (t >= this.message.length)
|
|
3548
3527
|
throw Error("out of bound");
|
|
3549
|
-
var r =
|
|
3528
|
+
var r = rr(this.message, t);
|
|
3550
3529
|
if (r === void 0)
|
|
3551
3530
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3552
3531
|
return r;
|
|
@@ -3565,7 +3544,7 @@ var Yn = (
|
|
|
3565
3544
|
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);
|
|
3566
3545
|
}
|
|
3567
3546
|
}, e.prototype.bumpIf = function(t) {
|
|
3568
|
-
if (
|
|
3547
|
+
if (xt(this.message, t, this.offset())) {
|
|
3569
3548
|
for (var r = 0; r < t.length; r++)
|
|
3570
3549
|
this.bump();
|
|
3571
3550
|
return !0;
|
|
@@ -3587,7 +3566,7 @@ var Yn = (
|
|
|
3587
3566
|
break;
|
|
3588
3567
|
}
|
|
3589
3568
|
}, e.prototype.bumpSpace = function() {
|
|
3590
|
-
for (; !this.isEOF() &&
|
|
3569
|
+
for (; !this.isEOF() && ir(this.char()); )
|
|
3591
3570
|
this.bump();
|
|
3592
3571
|
}, e.prototype.peek = function() {
|
|
3593
3572
|
if (this.isEOF())
|
|
@@ -3597,47 +3576,47 @@ var Yn = (
|
|
|
3597
3576
|
}, e;
|
|
3598
3577
|
}()
|
|
3599
3578
|
);
|
|
3600
|
-
function
|
|
3579
|
+
function We(e) {
|
|
3601
3580
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3602
3581
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3582
|
+
function Qn(e) {
|
|
3583
|
+
return We(e) || e === 47;
|
|
3605
3584
|
}
|
|
3606
|
-
function
|
|
3585
|
+
function Yn(e) {
|
|
3607
3586
|
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;
|
|
3608
3587
|
}
|
|
3609
|
-
function
|
|
3588
|
+
function ir(e) {
|
|
3610
3589
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3611
3590
|
}
|
|
3612
|
-
function
|
|
3591
|
+
function Jn(e) {
|
|
3613
3592
|
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;
|
|
3614
3593
|
}
|
|
3615
|
-
function
|
|
3594
|
+
function Xe(e) {
|
|
3616
3595
|
e.forEach(function(t) {
|
|
3617
|
-
if (delete t.location,
|
|
3596
|
+
if (delete t.location, Zt(t) || qt(t))
|
|
3618
3597
|
for (var r in t.options)
|
|
3619
|
-
delete t.options[r].location,
|
|
3598
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3620
3599
|
else
|
|
3621
|
-
Vt(t) &&
|
|
3600
|
+
Vt(t) && Yt(t.style) || (Wt(t) || Xt(t)) && je(t.style) ? delete t.style.location : Qt(t) && Xe(t.children);
|
|
3622
3601
|
});
|
|
3623
3602
|
}
|
|
3624
|
-
function
|
|
3625
|
-
t === void 0 && (t = {}), t =
|
|
3626
|
-
var r = new
|
|
3603
|
+
function Kn(e, t) {
|
|
3604
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3605
|
+
var r = new qn(e, t).parse();
|
|
3627
3606
|
if (r.err) {
|
|
3628
3607
|
var n = SyntaxError(b[r.err.kind]);
|
|
3629
3608
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3630
3609
|
}
|
|
3631
|
-
return t != null && t.captureLocation ||
|
|
3610
|
+
return t != null && t.captureLocation || Xe(r.val), r.val;
|
|
3632
3611
|
}
|
|
3633
|
-
var
|
|
3612
|
+
var Y;
|
|
3634
3613
|
(function(e) {
|
|
3635
3614
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3636
|
-
})(
|
|
3637
|
-
var
|
|
3615
|
+
})(Y || (Y = {}));
|
|
3616
|
+
var _e = (
|
|
3638
3617
|
/** @class */
|
|
3639
3618
|
function(e) {
|
|
3640
|
-
|
|
3619
|
+
L(t, e);
|
|
3641
3620
|
function t(r, n, i) {
|
|
3642
3621
|
var o = e.call(this, r) || this;
|
|
3643
3622
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3646,48 +3625,48 @@ var Ce = (
|
|
|
3646
3625
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3647
3626
|
}, t;
|
|
3648
3627
|
}(Error)
|
|
3649
|
-
),
|
|
3628
|
+
), wt = (
|
|
3650
3629
|
/** @class */
|
|
3651
3630
|
function(e) {
|
|
3652
|
-
|
|
3631
|
+
L(t, e);
|
|
3653
3632
|
function t(r, n, i, o) {
|
|
3654
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3633
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
|
3655
3634
|
}
|
|
3656
3635
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3636
|
+
}(_e)
|
|
3637
|
+
), ei = (
|
|
3659
3638
|
/** @class */
|
|
3660
3639
|
function(e) {
|
|
3661
|
-
|
|
3640
|
+
L(t, e);
|
|
3662
3641
|
function t(r, n, i) {
|
|
3663
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3642
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3664
3643
|
}
|
|
3665
3644
|
return t;
|
|
3666
|
-
}(
|
|
3667
|
-
),
|
|
3645
|
+
}(_e)
|
|
3646
|
+
), ti = (
|
|
3668
3647
|
/** @class */
|
|
3669
3648
|
function(e) {
|
|
3670
|
-
|
|
3649
|
+
L(t, e);
|
|
3671
3650
|
function t(r, n) {
|
|
3672
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3651
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3673
3652
|
}
|
|
3674
3653
|
return t;
|
|
3675
|
-
}(
|
|
3654
|
+
}(_e)
|
|
3676
3655
|
), H;
|
|
3677
3656
|
(function(e) {
|
|
3678
3657
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3679
3658
|
})(H || (H = {}));
|
|
3680
|
-
function
|
|
3659
|
+
function ri(e) {
|
|
3681
3660
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3682
3661
|
var n = t[t.length - 1];
|
|
3683
3662
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3684
3663
|
}, []);
|
|
3685
3664
|
}
|
|
3686
|
-
function
|
|
3665
|
+
function ni(e) {
|
|
3687
3666
|
return typeof e == "function";
|
|
3688
3667
|
}
|
|
3689
3668
|
function de(e, t, r, n, i, o, s) {
|
|
3690
|
-
if (e.length === 1 &&
|
|
3669
|
+
if (e.length === 1 && bt(e[0]))
|
|
3691
3670
|
return [
|
|
3692
3671
|
{
|
|
3693
3672
|
type: H.literal,
|
|
@@ -3696,14 +3675,14 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3696
3675
|
];
|
|
3697
3676
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3698
3677
|
var c = l[u];
|
|
3699
|
-
if (
|
|
3678
|
+
if (bt(c)) {
|
|
3700
3679
|
a.push({
|
|
3701
3680
|
type: H.literal,
|
|
3702
3681
|
value: c.value
|
|
3703
3682
|
});
|
|
3704
3683
|
continue;
|
|
3705
3684
|
}
|
|
3706
|
-
if (
|
|
3685
|
+
if (An(c)) {
|
|
3707
3686
|
typeof o == "number" && a.push({
|
|
3708
3687
|
type: H.literal,
|
|
3709
3688
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3712,25 +3691,25 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3712
3691
|
}
|
|
3713
3692
|
var f = c.value;
|
|
3714
3693
|
if (!(i && f in i))
|
|
3715
|
-
throw new
|
|
3694
|
+
throw new ti(f, s);
|
|
3716
3695
|
var h = i[f];
|
|
3717
|
-
if (
|
|
3696
|
+
if (Cn(c)) {
|
|
3718
3697
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3719
3698
|
type: typeof h == "string" ? H.literal : H.object,
|
|
3720
3699
|
value: h
|
|
3721
3700
|
});
|
|
3722
3701
|
continue;
|
|
3723
3702
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
|
3703
|
+
if (Wt(c)) {
|
|
3704
|
+
var p = typeof c.style == "string" ? n.date[c.style] : je(c.style) ? c.style.parsedOptions : void 0;
|
|
3726
3705
|
a.push({
|
|
3727
3706
|
type: H.literal,
|
|
3728
3707
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
3729
3708
|
});
|
|
3730
3709
|
continue;
|
|
3731
3710
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
|
3711
|
+
if (Xt(c)) {
|
|
3712
|
+
var p = typeof c.style == "string" ? n.time[c.style] : je(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3734
3713
|
a.push({
|
|
3735
3714
|
type: H.literal,
|
|
3736
3715
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
@@ -3738,63 +3717,63 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3738
3717
|
continue;
|
|
3739
3718
|
}
|
|
3740
3719
|
if (Vt(c)) {
|
|
3741
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3720
|
+
var p = typeof c.style == "string" ? n.number[c.style] : Yt(c.style) ? c.style.parsedOptions : void 0;
|
|
3742
3721
|
p && p.scale && (h = h * (p.scale || 1)), a.push({
|
|
3743
3722
|
type: H.literal,
|
|
3744
3723
|
value: r.getNumberFormat(t, p).format(h)
|
|
3745
3724
|
});
|
|
3746
3725
|
continue;
|
|
3747
3726
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var m = c.children, d = c.value,
|
|
3750
|
-
if (!
|
|
3751
|
-
throw new
|
|
3752
|
-
var M = de(m, t, r, n, i, o), T =
|
|
3753
|
-
return
|
|
3727
|
+
if (Qt(c)) {
|
|
3728
|
+
var m = c.children, d = c.value, C = i[d];
|
|
3729
|
+
if (!ni(C))
|
|
3730
|
+
throw new ei(d, "function", s);
|
|
3731
|
+
var M = de(m, t, r, n, i, o), T = C(M.map(function(S) {
|
|
3732
|
+
return S.value;
|
|
3754
3733
|
}));
|
|
3755
|
-
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(
|
|
3734
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(S) {
|
|
3756
3735
|
return {
|
|
3757
|
-
type: typeof
|
|
3758
|
-
value:
|
|
3736
|
+
type: typeof S == "string" ? H.literal : H.object,
|
|
3737
|
+
value: S
|
|
3759
3738
|
};
|
|
3760
3739
|
}));
|
|
3761
3740
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
var
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3766
|
-
a.push.apply(a, de(
|
|
3741
|
+
if (Zt(c)) {
|
|
3742
|
+
var x = c.options[h] || c.options.other;
|
|
3743
|
+
if (!x)
|
|
3744
|
+
throw new wt(c.value, h, Object.keys(c.options), s);
|
|
3745
|
+
a.push.apply(a, de(x.value, t, r, n, i));
|
|
3767
3746
|
continue;
|
|
3768
3747
|
}
|
|
3769
|
-
if (
|
|
3770
|
-
var
|
|
3771
|
-
if (!
|
|
3748
|
+
if (qt(c)) {
|
|
3749
|
+
var x = c.options["=".concat(h)];
|
|
3750
|
+
if (!x) {
|
|
3772
3751
|
if (!Intl.PluralRules)
|
|
3773
|
-
throw new
|
|
3752
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3774
3753
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3775
|
-
`,
|
|
3776
|
-
var
|
|
3777
|
-
|
|
3754
|
+
`, Y.MISSING_INTL_API, s);
|
|
3755
|
+
var A = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3756
|
+
x = c.options[A] || c.options.other;
|
|
3778
3757
|
}
|
|
3779
|
-
if (!
|
|
3780
|
-
throw new
|
|
3781
|
-
a.push.apply(a, de(
|
|
3758
|
+
if (!x)
|
|
3759
|
+
throw new wt(c.value, h, Object.keys(c.options), s);
|
|
3760
|
+
a.push.apply(a, de(x.value, t, r, n, i, h - (c.offset || 0)));
|
|
3782
3761
|
continue;
|
|
3783
3762
|
}
|
|
3784
3763
|
}
|
|
3785
|
-
return
|
|
3764
|
+
return ri(a);
|
|
3786
3765
|
}
|
|
3787
|
-
function
|
|
3788
|
-
return t ?
|
|
3789
|
-
return r[n] =
|
|
3766
|
+
function ii(e, t) {
|
|
3767
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3768
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3790
3769
|
}, {})) : e;
|
|
3791
3770
|
}
|
|
3792
|
-
function
|
|
3771
|
+
function oi(e, t) {
|
|
3793
3772
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3794
|
-
return r[n] =
|
|
3795
|
-
},
|
|
3773
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3774
|
+
}, y({}, e)) : e;
|
|
3796
3775
|
}
|
|
3797
|
-
function
|
|
3776
|
+
function Oe(e) {
|
|
3798
3777
|
return {
|
|
3799
3778
|
create: function() {
|
|
3800
3779
|
return {
|
|
@@ -3808,39 +3787,39 @@ function Ne(e) {
|
|
|
3808
3787
|
}
|
|
3809
3788
|
};
|
|
3810
3789
|
}
|
|
3811
|
-
function
|
|
3790
|
+
function si(e) {
|
|
3812
3791
|
return e === void 0 && (e = {
|
|
3813
3792
|
number: {},
|
|
3814
3793
|
dateTime: {},
|
|
3815
3794
|
pluralRules: {}
|
|
3816
3795
|
}), {
|
|
3817
|
-
getNumberFormat:
|
|
3796
|
+
getNumberFormat: He(function() {
|
|
3818
3797
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3819
3798
|
r[n] = arguments[n];
|
|
3820
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3799
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
3821
3800
|
}, {
|
|
3822
|
-
cache:
|
|
3823
|
-
strategy:
|
|
3801
|
+
cache: Oe(e.number),
|
|
3802
|
+
strategy: Me.variadic
|
|
3824
3803
|
}),
|
|
3825
|
-
getDateTimeFormat:
|
|
3804
|
+
getDateTimeFormat: He(function() {
|
|
3826
3805
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3806
|
r[n] = arguments[n];
|
|
3828
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3807
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
3829
3808
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3809
|
+
cache: Oe(e.dateTime),
|
|
3810
|
+
strategy: Me.variadic
|
|
3832
3811
|
}),
|
|
3833
|
-
getPluralRules:
|
|
3812
|
+
getPluralRules: He(function() {
|
|
3834
3813
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3814
|
r[n] = arguments[n];
|
|
3836
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3815
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
3837
3816
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3817
|
+
cache: Oe(e.pluralRules),
|
|
3818
|
+
strategy: Me.variadic
|
|
3840
3819
|
})
|
|
3841
3820
|
};
|
|
3842
3821
|
}
|
|
3843
|
-
var
|
|
3822
|
+
var ai = (
|
|
3844
3823
|
/** @class */
|
|
3845
3824
|
function() {
|
|
3846
3825
|
function e(t, r, n, i) {
|
|
@@ -3872,13 +3851,13 @@ var li = (
|
|
|
3872
3851
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3873
3852
|
var s = i || {};
|
|
3874
3853
|
s.formatters;
|
|
3875
|
-
var a =
|
|
3876
|
-
this.ast = e.__parse(t,
|
|
3854
|
+
var a = Ur(s, ["formatters"]);
|
|
3855
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3877
3856
|
} else
|
|
3878
3857
|
this.ast = t;
|
|
3879
3858
|
if (!Array.isArray(this.ast))
|
|
3880
3859
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3881
|
-
this.formats =
|
|
3860
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
|
|
3882
3861
|
}
|
|
3883
3862
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3884
3863
|
get: function() {
|
|
@@ -3891,7 +3870,7 @@ var li = (
|
|
|
3891
3870
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3892
3871
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3893
3872
|
}
|
|
3894
|
-
}, e.__parse =
|
|
3873
|
+
}, e.__parse = Kn, e.formats = {
|
|
3895
3874
|
number: {
|
|
3896
3875
|
integer: {
|
|
3897
3876
|
maximumFractionDigits: 0
|
|
@@ -3952,7 +3931,7 @@ var li = (
|
|
|
3952
3931
|
}, e;
|
|
3953
3932
|
}()
|
|
3954
3933
|
);
|
|
3955
|
-
function
|
|
3934
|
+
function ui(e, t) {
|
|
3956
3935
|
if (t == null)
|
|
3957
3936
|
return;
|
|
3958
3937
|
if (t in e)
|
|
@@ -3973,92 +3952,92 @@ function ci(e, t) {
|
|
|
3973
3952
|
n = void 0;
|
|
3974
3953
|
return n;
|
|
3975
3954
|
}
|
|
3976
|
-
const $ = {},
|
|
3955
|
+
const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
|
|
3977
3956
|
if (t == null)
|
|
3978
3957
|
return;
|
|
3979
3958
|
if (t in $ && e in $[t])
|
|
3980
3959
|
return $[t][e];
|
|
3981
|
-
const r =
|
|
3960
|
+
const r = we(t);
|
|
3982
3961
|
for (let n = 0; n < r.length; n++) {
|
|
3983
|
-
const i = r[n], o =
|
|
3962
|
+
const i = r[n], o = hi(i, e);
|
|
3984
3963
|
if (o)
|
|
3985
|
-
return
|
|
3964
|
+
return li(e, t, o);
|
|
3986
3965
|
}
|
|
3987
3966
|
};
|
|
3988
|
-
let
|
|
3967
|
+
let Ke;
|
|
3989
3968
|
const le = Ee({});
|
|
3990
|
-
function
|
|
3991
|
-
return
|
|
3969
|
+
function ci(e) {
|
|
3970
|
+
return Ke[e] || null;
|
|
3992
3971
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return e in
|
|
3972
|
+
function sr(e) {
|
|
3973
|
+
return e in Ke;
|
|
3995
3974
|
}
|
|
3996
|
-
function
|
|
3997
|
-
if (!
|
|
3975
|
+
function hi(e, t) {
|
|
3976
|
+
if (!sr(e))
|
|
3998
3977
|
return null;
|
|
3999
|
-
const r =
|
|
4000
|
-
return
|
|
3978
|
+
const r = ci(e);
|
|
3979
|
+
return ui(r, t);
|
|
4001
3980
|
}
|
|
4002
|
-
function
|
|
3981
|
+
function fi(e) {
|
|
4003
3982
|
if (e == null)
|
|
4004
3983
|
return;
|
|
4005
|
-
const t =
|
|
3984
|
+
const t = we(e);
|
|
4006
3985
|
for (let r = 0; r < t.length; r++) {
|
|
4007
3986
|
const n = t[r];
|
|
4008
|
-
if (
|
|
3987
|
+
if (sr(n))
|
|
4009
3988
|
return n;
|
|
4010
3989
|
}
|
|
4011
3990
|
}
|
|
4012
|
-
function
|
|
3991
|
+
function ar(e, ...t) {
|
|
4013
3992
|
delete $[e], le.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
|
|
4014
3993
|
}
|
|
4015
|
-
|
|
3994
|
+
ee(
|
|
4016
3995
|
[le],
|
|
4017
3996
|
([e]) => Object.keys(e)
|
|
4018
3997
|
);
|
|
4019
|
-
le.subscribe((e) =>
|
|
3998
|
+
le.subscribe((e) => Ke = e);
|
|
4020
3999
|
const me = {};
|
|
4021
|
-
function
|
|
4000
|
+
function pi(e, t) {
|
|
4022
4001
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
4023
4002
|
}
|
|
4024
|
-
function
|
|
4003
|
+
function ur(e) {
|
|
4025
4004
|
return me[e];
|
|
4026
4005
|
}
|
|
4027
|
-
function
|
|
4028
|
-
return
|
|
4029
|
-
const r =
|
|
4006
|
+
function di(e) {
|
|
4007
|
+
return we(e).map((t) => {
|
|
4008
|
+
const r = ur(t);
|
|
4030
4009
|
return [t, r ? [...r] : []];
|
|
4031
4010
|
}).filter(([, t]) => t.length > 0);
|
|
4032
4011
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return e == null ? !1 :
|
|
4012
|
+
function Ze(e) {
|
|
4013
|
+
return e == null ? !1 : we(e).some(
|
|
4035
4014
|
(t) => {
|
|
4036
4015
|
var r;
|
|
4037
|
-
return (r =
|
|
4016
|
+
return (r = ur(t)) == null ? void 0 : r.size;
|
|
4038
4017
|
}
|
|
4039
4018
|
);
|
|
4040
4019
|
}
|
|
4041
|
-
function
|
|
4020
|
+
function mi(e, t) {
|
|
4042
4021
|
return Promise.all(
|
|
4043
|
-
t.map((n) => (
|
|
4044
|
-
).then((n) =>
|
|
4045
|
-
}
|
|
4046
|
-
const
|
|
4047
|
-
function
|
|
4048
|
-
if (!
|
|
4049
|
-
return e in
|
|
4050
|
-
const t =
|
|
4051
|
-
return
|
|
4022
|
+
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
4023
|
+
).then((n) => ar(e, ...n));
|
|
4024
|
+
}
|
|
4025
|
+
const ne = {};
|
|
4026
|
+
function lr(e) {
|
|
4027
|
+
if (!Ze(e))
|
|
4028
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4029
|
+
const t = di(e);
|
|
4030
|
+
return ne[e] = Promise.all(
|
|
4052
4031
|
t.map(
|
|
4053
|
-
([r, n]) =>
|
|
4032
|
+
([r, n]) => mi(r, n)
|
|
4054
4033
|
)
|
|
4055
4034
|
).then(() => {
|
|
4056
|
-
if (
|
|
4057
|
-
return
|
|
4058
|
-
delete
|
|
4059
|
-
}),
|
|
4035
|
+
if (Ze(e))
|
|
4036
|
+
return lr(e);
|
|
4037
|
+
delete ne[e];
|
|
4038
|
+
}), ne[e];
|
|
4060
4039
|
}
|
|
4061
|
-
const
|
|
4040
|
+
const bi = {
|
|
4062
4041
|
number: {
|
|
4063
4042
|
scientific: { notation: "scientific" },
|
|
4064
4043
|
engineering: { notation: "engineering" },
|
|
@@ -4087,135 +4066,135 @@ const gi = {
|
|
|
4087
4066
|
timeZoneName: "short"
|
|
4088
4067
|
}
|
|
4089
4068
|
}
|
|
4090
|
-
},
|
|
4069
|
+
}, vi = {
|
|
4091
4070
|
fallbackLocale: null,
|
|
4092
4071
|
loadingDelay: 200,
|
|
4093
|
-
formats:
|
|
4072
|
+
formats: bi,
|
|
4094
4073
|
warnOnMissingMessages: !0,
|
|
4095
4074
|
handleMissingMessage: void 0,
|
|
4096
4075
|
ignoreTag: !0
|
|
4097
|
-
},
|
|
4098
|
-
function
|
|
4099
|
-
return
|
|
4076
|
+
}, gi = vi;
|
|
4077
|
+
function J() {
|
|
4078
|
+
return gi;
|
|
4100
4079
|
}
|
|
4101
|
-
const
|
|
4102
|
-
var
|
|
4080
|
+
const Ie = Ee(!1);
|
|
4081
|
+
var yi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
|
|
4103
4082
|
for (var r in t || (t = {}))
|
|
4104
|
-
|
|
4105
|
-
if (
|
|
4106
|
-
for (var r of
|
|
4107
|
-
|
|
4083
|
+
_i.call(t, r) && At(e, r, t[r]);
|
|
4084
|
+
if (Ct)
|
|
4085
|
+
for (var r of Ct(t))
|
|
4086
|
+
wi.call(t, r) && At(e, r, t[r]);
|
|
4108
4087
|
return e;
|
|
4109
|
-
},
|
|
4110
|
-
let
|
|
4111
|
-
const
|
|
4112
|
-
function
|
|
4088
|
+
}, Ai = (e, t) => xi(e, Ei(t));
|
|
4089
|
+
let qe;
|
|
4090
|
+
const ve = Ee(null);
|
|
4091
|
+
function St(e) {
|
|
4113
4092
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4114
4093
|
}
|
|
4115
|
-
function
|
|
4116
|
-
const r =
|
|
4117
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4094
|
+
function we(e, t = J().fallbackLocale) {
|
|
4095
|
+
const r = St(e);
|
|
4096
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
|
|
4118
4097
|
}
|
|
4119
4098
|
function F() {
|
|
4120
|
-
return
|
|
4099
|
+
return qe != null ? qe : void 0;
|
|
4121
4100
|
}
|
|
4122
|
-
|
|
4123
|
-
|
|
4101
|
+
ve.subscribe((e) => {
|
|
4102
|
+
qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4124
4103
|
});
|
|
4125
|
-
const
|
|
4126
|
-
if (e &&
|
|
4127
|
-
const { loadingDelay: t } =
|
|
4104
|
+
const Si = (e) => {
|
|
4105
|
+
if (e && fi(e) && Ze(e)) {
|
|
4106
|
+
const { loadingDelay: t } = J();
|
|
4128
4107
|
let r;
|
|
4129
4108
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4130
|
-
() =>
|
|
4109
|
+
() => Ie.set(!0),
|
|
4131
4110
|
t
|
|
4132
|
-
) :
|
|
4133
|
-
|
|
4111
|
+
) : Ie.set(!0), lr(e).then(() => {
|
|
4112
|
+
ve.set(e);
|
|
4134
4113
|
}).finally(() => {
|
|
4135
|
-
clearTimeout(r),
|
|
4114
|
+
clearTimeout(r), Ie.set(!1);
|
|
4136
4115
|
});
|
|
4137
4116
|
}
|
|
4138
|
-
return
|
|
4139
|
-
},
|
|
4140
|
-
set:
|
|
4141
|
-
}),
|
|
4117
|
+
return ve.set(e);
|
|
4118
|
+
}, te = Ai(Ci({}, ve), {
|
|
4119
|
+
set: Si
|
|
4120
|
+
}), Ce = (e) => {
|
|
4142
4121
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4143
4122
|
return (n) => {
|
|
4144
4123
|
const i = JSON.stringify(n);
|
|
4145
4124
|
return i in t ? t[i] : t[i] = e(n);
|
|
4146
4125
|
};
|
|
4147
4126
|
};
|
|
4148
|
-
var
|
|
4127
|
+
var Ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4149
4128
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4129
|
+
cr.call(t, r) && Tt(e, r, t[r]);
|
|
4130
|
+
if (ge)
|
|
4131
|
+
for (var r of ge(t))
|
|
4132
|
+
hr.call(t, r) && Tt(e, r, t[r]);
|
|
4154
4133
|
return e;
|
|
4155
|
-
},
|
|
4134
|
+
}, re = (e, t) => {
|
|
4156
4135
|
var r = {};
|
|
4157
4136
|
for (var n in e)
|
|
4158
|
-
|
|
4159
|
-
if (e != null &&
|
|
4160
|
-
for (var n of
|
|
4161
|
-
t.indexOf(n) < 0 &&
|
|
4137
|
+
cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4138
|
+
if (e != null && ge)
|
|
4139
|
+
for (var n of ge(e))
|
|
4140
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4162
4141
|
return r;
|
|
4163
4142
|
};
|
|
4164
|
-
const
|
|
4165
|
-
const { formats: r } =
|
|
4143
|
+
const ae = (e, t) => {
|
|
4144
|
+
const { formats: r } = J();
|
|
4166
4145
|
if (e in r && t in r[e])
|
|
4167
4146
|
return r[e][t];
|
|
4168
4147
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4169
|
-
},
|
|
4148
|
+
}, Bi = Ce(
|
|
4170
4149
|
(e) => {
|
|
4171
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4150
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4172
4151
|
if (r == null)
|
|
4173
4152
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4174
|
-
return n && (i =
|
|
4153
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4175
4154
|
}
|
|
4176
|
-
),
|
|
4155
|
+
), Hi = Ce(
|
|
4177
4156
|
(e) => {
|
|
4178
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4157
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4179
4158
|
if (r == null)
|
|
4180
4159
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4181
|
-
return n ? i =
|
|
4160
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4182
4161
|
}
|
|
4183
|
-
),
|
|
4162
|
+
), Mi = Ce(
|
|
4184
4163
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4164
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4186
4165
|
if (r == null)
|
|
4187
4166
|
throw new Error(
|
|
4188
4167
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4189
4168
|
);
|
|
4190
|
-
return n ? i =
|
|
4169
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4191
4170
|
}
|
|
4192
|
-
),
|
|
4171
|
+
), Pi = (e = {}) => {
|
|
4193
4172
|
var t = e, {
|
|
4194
4173
|
locale: r = F()
|
|
4195
|
-
} = t, n =
|
|
4174
|
+
} = t, n = re(t, [
|
|
4196
4175
|
"locale"
|
|
4197
4176
|
]);
|
|
4198
|
-
return
|
|
4199
|
-
},
|
|
4177
|
+
return Bi(et({ locale: r }, n));
|
|
4178
|
+
}, Oi = (e = {}) => {
|
|
4200
4179
|
var t = e, {
|
|
4201
4180
|
locale: r = F()
|
|
4202
|
-
} = t, n =
|
|
4181
|
+
} = t, n = re(t, [
|
|
4203
4182
|
"locale"
|
|
4204
4183
|
]);
|
|
4205
|
-
return
|
|
4206
|
-
},
|
|
4184
|
+
return Hi(et({ locale: r }, n));
|
|
4185
|
+
}, Ii = (e = {}) => {
|
|
4207
4186
|
var t = e, {
|
|
4208
4187
|
locale: r = F()
|
|
4209
|
-
} = t, n =
|
|
4188
|
+
} = t, n = re(t, [
|
|
4210
4189
|
"locale"
|
|
4211
4190
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4191
|
+
return Mi(et({ locale: r }, n));
|
|
4192
|
+
}, Ni = Ce(
|
|
4214
4193
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4215
|
-
(e, t = F()) => new
|
|
4216
|
-
ignoreTag:
|
|
4194
|
+
(e, t = F()) => new ai(e, t, J().formats, {
|
|
4195
|
+
ignoreTag: J().ignoreTag
|
|
4217
4196
|
})
|
|
4218
|
-
),
|
|
4197
|
+
), Li = (e, t = {}) => {
|
|
4219
4198
|
var r, n, i, o;
|
|
4220
4199
|
let s = t;
|
|
4221
4200
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4228,9 +4207,9 @@ const se = (e, t) => {
|
|
|
4228
4207
|
throw new Error(
|
|
4229
4208
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4230
4209
|
);
|
|
4231
|
-
let c =
|
|
4210
|
+
let c = or(e, u);
|
|
4232
4211
|
if (!c)
|
|
4233
|
-
c = (o = (i = (n = (r =
|
|
4212
|
+
c = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4234
4213
|
else if (typeof c != "string")
|
|
4235
4214
|
return console.warn(
|
|
4236
4215
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4239,7 +4218,7 @@ const se = (e, t) => {
|
|
|
4239
4218
|
return c;
|
|
4240
4219
|
let f = c;
|
|
4241
4220
|
try {
|
|
4242
|
-
f =
|
|
4221
|
+
f = Ni(c, u).format(a);
|
|
4243
4222
|
} catch (h) {
|
|
4244
4223
|
h instanceof Error && console.warn(
|
|
4245
4224
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4247,20 +4226,20 @@ const se = (e, t) => {
|
|
|
4247
4226
|
);
|
|
4248
4227
|
}
|
|
4249
4228
|
return f;
|
|
4250
|
-
},
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4229
|
+
}, $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Di = (e, t) => Pi(t).format(e), Ui = (e, t = F()) => or(e, t), Fi = ee([te, le], () => Li);
|
|
4230
|
+
ee([te], () => $i);
|
|
4231
|
+
ee([te], () => Ri);
|
|
4232
|
+
ee([te], () => Di);
|
|
4233
|
+
ee([te, le], () => Ui);
|
|
4255
4234
|
window.emWidgets = { topic: Kr };
|
|
4256
|
-
const
|
|
4257
|
-
function
|
|
4258
|
-
|
|
4235
|
+
const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4236
|
+
function Bt(e, t) {
|
|
4237
|
+
ar(e, t);
|
|
4259
4238
|
}
|
|
4260
|
-
function
|
|
4261
|
-
|
|
4239
|
+
function ji(e) {
|
|
4240
|
+
te.set(e);
|
|
4262
4241
|
}
|
|
4263
|
-
const
|
|
4242
|
+
const Ht = {
|
|
4264
4243
|
en: {
|
|
4265
4244
|
titleAccountClosure: "Account Closure",
|
|
4266
4245
|
accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
|
|
@@ -4350,13 +4329,13 @@ const Pt = {
|
|
|
4350
4329
|
accountClosureConfirm: "Yes"
|
|
4351
4330
|
}
|
|
4352
4331
|
};
|
|
4353
|
-
function
|
|
4332
|
+
function ki(e, t) {
|
|
4354
4333
|
if (e) {
|
|
4355
4334
|
const r = document.createElement("style");
|
|
4356
4335
|
r.innerHTML = t, e.appendChild(r);
|
|
4357
4336
|
}
|
|
4358
4337
|
}
|
|
4359
|
-
function
|
|
4338
|
+
function zi(e, t) {
|
|
4360
4339
|
const r = new URL(t);
|
|
4361
4340
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4362
4341
|
const i = document.createElement("style");
|
|
@@ -4365,7 +4344,7 @@ function Vi(e, t) {
|
|
|
4365
4344
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4366
4345
|
});
|
|
4367
4346
|
}
|
|
4368
|
-
function
|
|
4347
|
+
function Vi(e, t, r) {
|
|
4369
4348
|
if (window.emMessageBus) {
|
|
4370
4349
|
const n = document.createElement("style");
|
|
4371
4350
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4373,37 +4352,37 @@ function Xi(e, t, r) {
|
|
|
4373
4352
|
});
|
|
4374
4353
|
}
|
|
4375
4354
|
}
|
|
4376
|
-
function
|
|
4377
|
-
|
|
4355
|
+
function Wi(e) {
|
|
4356
|
+
yr(e, "svelte-11607qo", '.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
|
|
4378
4357
|
}
|
|
4379
|
-
function
|
|
4358
|
+
function Xi(e) {
|
|
4380
4359
|
let t, r, n, i, o, s, a, u, l, c, f = (
|
|
4381
4360
|
/*$_*/
|
|
4382
4361
|
e[2]("titleAccountClosure") + ""
|
|
4383
4362
|
), h, p, m;
|
|
4384
4363
|
return {
|
|
4385
4364
|
c() {
|
|
4386
|
-
t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), u = j("path"), l = U(), c = B("h2"), h = R(f),
|
|
4365
|
+
t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), u = j("path"), l = U(), c = B("h2"), h = R(f), E(u, "class", "aaa"), E(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(u, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(c, "class", "AccountClosureTitleMobile"), E(c, "part", "AccountClosureTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
|
|
4387
4366
|
},
|
|
4388
|
-
m(d,
|
|
4389
|
-
|
|
4367
|
+
m(d, C) {
|
|
4368
|
+
ye(d, t, C), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, u), g(t, l), g(t, c), g(c, h), p || (m = be(
|
|
4390
4369
|
t,
|
|
4391
4370
|
"click",
|
|
4392
4371
|
/*click_handler*/
|
|
4393
4372
|
e[12]
|
|
4394
4373
|
), p = !0);
|
|
4395
4374
|
},
|
|
4396
|
-
p(d,
|
|
4397
|
-
|
|
4375
|
+
p(d, C) {
|
|
4376
|
+
C & /*$_*/
|
|
4398
4377
|
4 && f !== (f = /*$_*/
|
|
4399
|
-
d[2]("titleAccountClosure") + "") &&
|
|
4378
|
+
d[2]("titleAccountClosure") + "") && W(h, f);
|
|
4400
4379
|
},
|
|
4401
4380
|
d(d) {
|
|
4402
|
-
d &&
|
|
4381
|
+
d && ue(t), p = !1, m();
|
|
4403
4382
|
}
|
|
4404
4383
|
};
|
|
4405
4384
|
}
|
|
4406
|
-
function
|
|
4385
|
+
function Mt(e) {
|
|
4407
4386
|
let t, r, n, i, o = (
|
|
4408
4387
|
/*$_*/
|
|
4409
4388
|
e[2]("modal") + ""
|
|
@@ -4413,14 +4392,14 @@ function Ot(e) {
|
|
|
4413
4392
|
), f, h, p, m = (
|
|
4414
4393
|
/*$_*/
|
|
4415
4394
|
e[2]("accountClosureConfirm") + ""
|
|
4416
|
-
), d,
|
|
4395
|
+
), d, C, M;
|
|
4417
4396
|
return {
|
|
4418
4397
|
c() {
|
|
4419
|
-
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = R(o), a = U(), u = B("div"), l = B("button"), f = R(c), h = U(), p = B("button"), d = R(m),
|
|
4398
|
+
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = R(o), a = U(), u = B("div"), l = B("button"), f = R(c), h = U(), p = B("button"), d = R(m), E(i, "class", "ModalText"), E(l, "class", "ModalCancel"), E(p, "class", "ModalConfirm"), E(u, "class", "ModalButtons"), E(n, "class", "ModalBody"), E(r, "class", "ModalContent"), E(t, "class", "ModalWrapper " + /*isMobile*/
|
|
4420
4399
|
(e[3] ? "ModalWrapperMobile" : ""));
|
|
4421
4400
|
},
|
|
4422
|
-
m(T,
|
|
4423
|
-
|
|
4401
|
+
m(T, x) {
|
|
4402
|
+
ye(T, t, x), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, u), g(u, l), g(l, f), g(u, h), g(u, p), g(p, d), C || (M = [
|
|
4424
4403
|
be(
|
|
4425
4404
|
l,
|
|
4426
4405
|
"click",
|
|
@@ -4433,23 +4412,23 @@ function Ot(e) {
|
|
|
4433
4412
|
/*click_handler_3*/
|
|
4434
4413
|
e[15]
|
|
4435
4414
|
)
|
|
4436
|
-
],
|
|
4415
|
+
], C = !0);
|
|
4437
4416
|
},
|
|
4438
|
-
p(T,
|
|
4439
|
-
|
|
4417
|
+
p(T, x) {
|
|
4418
|
+
x & /*$_*/
|
|
4440
4419
|
4 && o !== (o = /*$_*/
|
|
4441
|
-
T[2]("modal") + "") &&
|
|
4420
|
+
T[2]("modal") + "") && W(s, o), x & /*$_*/
|
|
4442
4421
|
4 && c !== (c = /*$_*/
|
|
4443
|
-
T[2]("accountClosureCancel") + "") &&
|
|
4422
|
+
T[2]("accountClosureCancel") + "") && W(f, c), x & /*$_*/
|
|
4444
4423
|
4 && m !== (m = /*$_*/
|
|
4445
|
-
T[2]("accountClosureConfirm") + "") &&
|
|
4424
|
+
T[2]("accountClosureConfirm") + "") && W(d, m);
|
|
4446
4425
|
},
|
|
4447
4426
|
d(T) {
|
|
4448
|
-
T &&
|
|
4427
|
+
T && ue(t), C = !1, K(M);
|
|
4449
4428
|
}
|
|
4450
4429
|
};
|
|
4451
4430
|
}
|
|
4452
|
-
function
|
|
4431
|
+
function Zi(e) {
|
|
4453
4432
|
let t, r, n, i, o = (
|
|
4454
4433
|
/*$_*/
|
|
4455
4434
|
e[2]("titleAccountClosure") + ""
|
|
@@ -4459,69 +4438,69 @@ function Qi(e) {
|
|
|
4459
4438
|
), f, h, p, m = (
|
|
4460
4439
|
/*$_*/
|
|
4461
4440
|
e[2]("closeAccount") + ""
|
|
4462
|
-
), d,
|
|
4441
|
+
), d, C, M, T, x = (
|
|
4463
4442
|
/*isMobile*/
|
|
4464
|
-
e[3] &&
|
|
4465
|
-
),
|
|
4443
|
+
e[3] && Xi(e)
|
|
4444
|
+
), A = (
|
|
4466
4445
|
/*closureModal*/
|
|
4467
|
-
e[1] &&
|
|
4446
|
+
e[1] && Mt(e)
|
|
4468
4447
|
);
|
|
4469
4448
|
return {
|
|
4470
4449
|
c() {
|
|
4471
|
-
t = B("div"), r = B("div"),
|
|
4472
|
-
(e[3] ? "AccountClosureTitleNone" : "")),
|
|
4473
|
-
(e[3] ? "AccountClosureDescriptionMobile" : "")),
|
|
4474
|
-
(e[3] ? "AccountClosureSaveMobile" : "")),
|
|
4475
|
-
(e[3] ? "AccountClosureActionButtonsMobile" : "")),
|
|
4450
|
+
t = B("div"), r = B("div"), x && x.c(), n = U(), i = B("h2"), s = R(o), a = U(), u = B("div"), l = B("p"), f = U(), h = B("div"), p = B("button"), d = R(m), C = U(), A && A.c(), E(i, "class", "AccountClosureTitle " + /*isMobile*/
|
|
4451
|
+
(e[3] ? "AccountClosureTitleNone" : "")), E(u, "class", "AccountClosureDescription " + /*isMobile*/
|
|
4452
|
+
(e[3] ? "AccountClosureDescriptionMobile" : "")), E(p, "class", "AccountClosureSave " + /*isMobile*/
|
|
4453
|
+
(e[3] ? "AccountClosureSaveMobile" : "")), E(h, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
4454
|
+
(e[3] ? "AccountClosureActionButtonsMobile" : "")), E(r, "class", "AccountClosureWrapper " + /*isMobile*/
|
|
4476
4455
|
(e[3] ? "AccountClosureWrapperMobile" : ""));
|
|
4477
4456
|
},
|
|
4478
|
-
m(
|
|
4479
|
-
|
|
4457
|
+
m(S, P) {
|
|
4458
|
+
ye(S, t, P), g(t, r), x && x.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), g(r, u), g(u, l), l.innerHTML = c, g(r, f), g(r, h), g(h, p), g(p, d), g(t, C), A && A.m(t, null), e[16](t), M || (T = be(
|
|
4480
4459
|
p,
|
|
4481
4460
|
"click",
|
|
4482
4461
|
/*click_handler_1*/
|
|
4483
4462
|
e[13]
|
|
4484
4463
|
), M = !0);
|
|
4485
4464
|
},
|
|
4486
|
-
p(
|
|
4465
|
+
p(S, [P]) {
|
|
4487
4466
|
/*isMobile*/
|
|
4488
|
-
|
|
4467
|
+
S[3] && x.p(S, P), P & /*$_*/
|
|
4489
4468
|
4 && o !== (o = /*$_*/
|
|
4490
|
-
|
|
4469
|
+
S[2]("titleAccountClosure") + "") && W(s, o), P & /*$_*/
|
|
4491
4470
|
4 && c !== (c = /*$_*/
|
|
4492
|
-
|
|
4471
|
+
S[2]("accountClosureDescription") + "") && (l.innerHTML = c), P & /*$_*/
|
|
4493
4472
|
4 && m !== (m = /*$_*/
|
|
4494
|
-
|
|
4495
|
-
|
|
4473
|
+
S[2]("closeAccount") + "") && W(d, m), /*closureModal*/
|
|
4474
|
+
S[1] ? A ? A.p(S, P) : (A = Mt(S), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
|
|
4496
4475
|
},
|
|
4497
4476
|
i: I,
|
|
4498
4477
|
o: I,
|
|
4499
|
-
d(
|
|
4500
|
-
|
|
4478
|
+
d(S) {
|
|
4479
|
+
S && ue(t), x && x.d(), A && A.d(), e[16](null), M = !1, T();
|
|
4501
4480
|
}
|
|
4502
4481
|
};
|
|
4503
4482
|
}
|
|
4504
|
-
function
|
|
4483
|
+
function qi(e, t, r) {
|
|
4505
4484
|
let n;
|
|
4506
|
-
|
|
4507
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c =
|
|
4485
|
+
gr(e, Fi, (_) => r(2, n = _));
|
|
4486
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c = Gi(l) !== "PC", f = !1, h;
|
|
4508
4487
|
const p = () => {
|
|
4509
4488
|
fetch(u).then((G) => G.json()).then((G) => {
|
|
4510
|
-
Object.keys(G).forEach((
|
|
4511
|
-
|
|
4489
|
+
Object.keys(G).forEach((tt) => {
|
|
4490
|
+
Bt(tt, G[tt]);
|
|
4512
4491
|
});
|
|
4513
4492
|
}).catch((G) => {
|
|
4514
4493
|
console.log(G);
|
|
4515
4494
|
});
|
|
4516
4495
|
};
|
|
4517
|
-
Object.keys(
|
|
4518
|
-
|
|
4496
|
+
Object.keys(Ht).forEach((_) => {
|
|
4497
|
+
Bt(_, Ht[_]);
|
|
4519
4498
|
});
|
|
4520
4499
|
const m = (_) => {
|
|
4521
4500
|
r(1, f = _), _ === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
4522
4501
|
}, d = () => {
|
|
4523
4502
|
m(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
|
|
4524
|
-
},
|
|
4503
|
+
}, C = () => {
|
|
4525
4504
|
window.postMessage(
|
|
4526
4505
|
{
|
|
4527
4506
|
type: "PlayerAccountMenuActive",
|
|
@@ -4530,13 +4509,13 @@ function Yi(e, t, r) {
|
|
|
4530
4509
|
window.location.href
|
|
4531
4510
|
);
|
|
4532
4511
|
}, M = () => {
|
|
4533
|
-
|
|
4512
|
+
ji(i);
|
|
4534
4513
|
};
|
|
4535
|
-
|
|
4514
|
+
Ar(() => () => {
|
|
4536
4515
|
});
|
|
4537
|
-
const T = () =>
|
|
4516
|
+
const T = () => C(), x = () => m(!0), A = () => m(!1), S = () => d();
|
|
4538
4517
|
function P(_) {
|
|
4539
|
-
|
|
4518
|
+
Ne[_ ? "unshift" : "push"](() => {
|
|
4540
4519
|
h = _, r(0, h);
|
|
4541
4520
|
});
|
|
4542
4521
|
}
|
|
@@ -4545,9 +4524,9 @@ function Yi(e, t, r) {
|
|
|
4545
4524
|
}, e.$$.update = () => {
|
|
4546
4525
|
e.$$.dirty & /*lang*/
|
|
4547
4526
|
128 && i && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4548
|
-
257 && o && h &&
|
|
4549
|
-
513 && s && h &&
|
|
4550
|
-
1025 && a && h &&
|
|
4527
|
+
257 && o && h && ki(h, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4528
|
+
513 && s && h && zi(h, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4529
|
+
1025 && a && h && Vi(h, `${a}.Style`), e.$$.dirty & /*translationurl*/
|
|
4551
4530
|
2048 && u && p();
|
|
4552
4531
|
}, [
|
|
4553
4532
|
h,
|
|
@@ -4556,27 +4535,27 @@ function Yi(e, t, r) {
|
|
|
4556
4535
|
c,
|
|
4557
4536
|
m,
|
|
4558
4537
|
d,
|
|
4559
|
-
|
|
4538
|
+
C,
|
|
4560
4539
|
i,
|
|
4561
4540
|
o,
|
|
4562
4541
|
s,
|
|
4563
4542
|
a,
|
|
4564
4543
|
u,
|
|
4565
4544
|
T,
|
|
4566
|
-
|
|
4567
|
-
C,
|
|
4545
|
+
x,
|
|
4568
4546
|
A,
|
|
4547
|
+
S,
|
|
4569
4548
|
P
|
|
4570
4549
|
];
|
|
4571
4550
|
}
|
|
4572
|
-
class
|
|
4551
|
+
class Qi extends Rr {
|
|
4573
4552
|
constructor(t) {
|
|
4574
|
-
super(),
|
|
4553
|
+
super(), Lr(
|
|
4575
4554
|
this,
|
|
4576
4555
|
t,
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4556
|
+
qi,
|
|
4557
|
+
Zi,
|
|
4558
|
+
Ot,
|
|
4580
4559
|
{
|
|
4581
4560
|
lang: 7,
|
|
4582
4561
|
clientstyling: 8,
|
|
@@ -4584,7 +4563,7 @@ class Ji extends Dr {
|
|
|
4584
4563
|
mbsource: 10,
|
|
4585
4564
|
translationurl: 11
|
|
4586
4565
|
},
|
|
4587
|
-
|
|
4566
|
+
Wi
|
|
4588
4567
|
);
|
|
4589
4568
|
}
|
|
4590
4569
|
get lang() {
|
|
@@ -4618,7 +4597,7 @@ class Ji extends Dr {
|
|
|
4618
4597
|
this.$$set({ translationurl: t }), D();
|
|
4619
4598
|
}
|
|
4620
4599
|
}
|
|
4621
|
-
|
|
4600
|
+
$r(Qi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4622
4601
|
export {
|
|
4623
|
-
|
|
4602
|
+
Qi as default
|
|
4624
4603
|
};
|