@everymatrix/player-account-general-confirmation-modal 1.56.0 → 1.56.2
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/PlayerAccountGeneralConfirmationModal-B7rHA2DP.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-xgQElosg.js → PlayerAccountGeneralConfirmationModal-C4g1TLWM.js} +602 -547
- package/components/{PlayerAccountGeneralConfirmationModal-BpYu_jB7.js → PlayerAccountGeneralConfirmationModal-IY2sNbEx.js} +610 -555
- package/es2015/player-account-general-confirmation-modal.cjs +1 -1
- package/es2015/player-account-general-confirmation-modal.js +1 -1
- package/esnext/player-account-general-confirmation-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BJ8eVVYi.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Te = (e, t, r) => t in e ?
|
|
1
|
+
var xr = Object.defineProperty, _r = Object.defineProperties;
|
|
2
|
+
var Er = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var nt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Sr.call(t, r) && Te(e, r, t[r]);
|
|
8
|
+
if (nt)
|
|
9
|
+
for (var r of nt(t))
|
|
10
|
+
wr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => Te(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
12
|
+
}, ot = (e, t) => _r(e, Er(t));
|
|
13
|
+
var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var st = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,32 +29,33 @@ var nt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
for (const r in t)
|
|
32
|
+
function Tr(e, t) {
|
|
33
|
+
for (const r in t)
|
|
34
|
+
e[r] = t[r];
|
|
34
35
|
return (
|
|
35
36
|
/** @type {T & S} */
|
|
36
37
|
e
|
|
37
38
|
);
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
+
function Lt(e) {
|
|
40
41
|
return e();
|
|
41
42
|
}
|
|
42
|
-
function
|
|
43
|
+
function at() {
|
|
43
44
|
return /* @__PURE__ */ Object.create(null);
|
|
44
45
|
}
|
|
45
46
|
function J(e) {
|
|
46
|
-
e.forEach(
|
|
47
|
+
e.forEach(Lt);
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function Ye(e) {
|
|
49
50
|
return typeof e == "function";
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function Rt(e, t) {
|
|
52
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function Hr(e) {
|
|
55
56
|
return Object.keys(e).length === 0;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function $t(e, ...t) {
|
|
58
59
|
if (e == null) {
|
|
59
60
|
for (const n of t)
|
|
60
61
|
n(void 0);
|
|
@@ -63,19 +64,19 @@ function Mt(e, ...t) {
|
|
|
63
64
|
const r = e.subscribe(...t);
|
|
64
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Br(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push($t(t, r));
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Ar(e, t, r, n) {
|
|
70
71
|
if (e) {
|
|
71
|
-
const i =
|
|
72
|
+
const i = Gt(e, t, r, n);
|
|
72
73
|
return e[0](i);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
-
return e[1] && n ?
|
|
76
|
+
function Gt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function Cr(e, t, r, n) {
|
|
79
80
|
if (e[2] && n) {
|
|
80
81
|
const i = e[2](n(r));
|
|
81
82
|
if (t.dirty === void 0)
|
|
@@ -90,13 +91,13 @@ function Tr(e, t, r, n) {
|
|
|
90
91
|
}
|
|
91
92
|
return t.dirty;
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function Pr(e, t, r, n, i, o) {
|
|
94
95
|
if (i) {
|
|
95
|
-
const s =
|
|
96
|
+
const s = Gt(t, r, n, o);
|
|
96
97
|
e.p(s, i);
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function Or(e) {
|
|
100
101
|
if (e.ctx.length > 32) {
|
|
101
102
|
const t = [], r = e.ctx.length / 32;
|
|
102
103
|
for (let n = 0; n < r; n++)
|
|
@@ -108,15 +109,16 @@ function Br(e) {
|
|
|
108
109
|
function B(e, t) {
|
|
109
110
|
e.appendChild(t);
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
-
const n =
|
|
112
|
+
function Ir(e, t, r) {
|
|
113
|
+
const n = Mr(e);
|
|
113
114
|
if (!n.getElementById(t)) {
|
|
114
|
-
const i =
|
|
115
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
const i = N("style");
|
|
116
|
+
i.id = t, i.textContent = r, Nr(n, i);
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!e)
|
|
119
|
+
function Mr(e) {
|
|
120
|
+
if (!e)
|
|
121
|
+
return document;
|
|
120
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
121
123
|
return t && /** @type {ShadowRoot} */
|
|
122
124
|
t.host ? (
|
|
@@ -124,7 +126,7 @@ function Cr(e) {
|
|
|
124
126
|
t
|
|
125
127
|
) : e.ownerDocument;
|
|
126
128
|
}
|
|
127
|
-
function
|
|
129
|
+
function Nr(e, t) {
|
|
128
130
|
return B(
|
|
129
131
|
/** @type {Document} */
|
|
130
132
|
e.head || e,
|
|
@@ -137,10 +139,10 @@ function ae(e, t, r) {
|
|
|
137
139
|
function Y(e) {
|
|
138
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
139
141
|
}
|
|
140
|
-
function
|
|
142
|
+
function N(e) {
|
|
141
143
|
return document.createElement(e);
|
|
142
144
|
}
|
|
143
|
-
function
|
|
145
|
+
function ut(e) {
|
|
144
146
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
145
147
|
}
|
|
146
148
|
function ne(e) {
|
|
@@ -155,14 +157,14 @@ function Ne(e, t, r, n) {
|
|
|
155
157
|
function H(e, t, r) {
|
|
156
158
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
157
159
|
}
|
|
158
|
-
function
|
|
160
|
+
function Lr(e) {
|
|
159
161
|
return Array.from(e.childNodes);
|
|
160
162
|
}
|
|
161
163
|
function ge(e, t) {
|
|
162
164
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
163
165
|
t);
|
|
164
166
|
}
|
|
165
|
-
function
|
|
167
|
+
function Rr(e) {
|
|
166
168
|
const t = {};
|
|
167
169
|
return e.childNodes.forEach(
|
|
168
170
|
/** @param {Element} node */
|
|
@@ -175,21 +177,22 @@ let ie;
|
|
|
175
177
|
function re(e) {
|
|
176
178
|
ie = e;
|
|
177
179
|
}
|
|
178
|
-
function
|
|
179
|
-
if (!ie)
|
|
180
|
+
function $r() {
|
|
181
|
+
if (!ie)
|
|
182
|
+
throw new Error("Function called outside component initialization");
|
|
180
183
|
return ie;
|
|
181
184
|
}
|
|
182
|
-
function
|
|
183
|
-
|
|
185
|
+
function Gr(e) {
|
|
186
|
+
$r().$$.on_mount.push(e);
|
|
184
187
|
}
|
|
185
|
-
const k = [],
|
|
188
|
+
const k = [], Le = [];
|
|
186
189
|
let V = [];
|
|
187
|
-
const
|
|
188
|
-
let
|
|
189
|
-
function
|
|
190
|
-
|
|
190
|
+
const lt = [], Ur = /* @__PURE__ */ Promise.resolve();
|
|
191
|
+
let Re = !1;
|
|
192
|
+
function Dr() {
|
|
193
|
+
Re || (Re = !0, Ur.then(I));
|
|
191
194
|
}
|
|
192
|
-
function
|
|
195
|
+
function $e(e) {
|
|
193
196
|
V.push(e);
|
|
194
197
|
}
|
|
195
198
|
const He = /* @__PURE__ */ new Set();
|
|
@@ -202,61 +205,63 @@ function I() {
|
|
|
202
205
|
try {
|
|
203
206
|
for (; F < k.length; ) {
|
|
204
207
|
const t = k[F];
|
|
205
|
-
F++, re(t),
|
|
208
|
+
F++, re(t), Fr(t.$$);
|
|
206
209
|
}
|
|
207
210
|
} catch (t) {
|
|
208
211
|
throw k.length = 0, F = 0, t;
|
|
209
212
|
}
|
|
210
|
-
for (re(null), k.length = 0, F = 0;
|
|
213
|
+
for (re(null), k.length = 0, F = 0; Le.length; )
|
|
214
|
+
Le.pop()();
|
|
211
215
|
for (let t = 0; t < V.length; t += 1) {
|
|
212
216
|
const r = V[t];
|
|
213
217
|
He.has(r) || (He.add(r), r());
|
|
214
218
|
}
|
|
215
219
|
V.length = 0;
|
|
216
220
|
} while (k.length);
|
|
217
|
-
for (;
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
for (; lt.length; )
|
|
222
|
+
lt.pop()();
|
|
223
|
+
Re = !1, He.clear(), re(e);
|
|
220
224
|
}
|
|
221
|
-
function
|
|
225
|
+
function Fr(e) {
|
|
222
226
|
if (e.fragment !== null) {
|
|
223
227
|
e.update(), J(e.before_update);
|
|
224
228
|
const t = e.dirty;
|
|
225
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
226
230
|
}
|
|
227
231
|
}
|
|
228
|
-
function
|
|
232
|
+
function jr(e) {
|
|
229
233
|
const t = [], r = [];
|
|
230
234
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
231
235
|
}
|
|
232
236
|
const fe = /* @__PURE__ */ new Set();
|
|
233
|
-
let
|
|
234
|
-
function
|
|
237
|
+
let kr;
|
|
238
|
+
function Ut(e, t) {
|
|
235
239
|
e && e.i && (fe.delete(e), e.i(t));
|
|
236
240
|
}
|
|
237
|
-
function
|
|
241
|
+
function Vr(e, t, r, n) {
|
|
238
242
|
if (e && e.o) {
|
|
239
|
-
if (fe.has(e))
|
|
240
|
-
|
|
243
|
+
if (fe.has(e))
|
|
244
|
+
return;
|
|
245
|
+
fe.add(e), kr.c.push(() => {
|
|
241
246
|
fe.delete(e);
|
|
242
247
|
}), e.o(t);
|
|
243
248
|
}
|
|
244
249
|
}
|
|
245
|
-
function
|
|
250
|
+
function Xr(e, t, r) {
|
|
246
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
247
|
-
n && n.m(t, r),
|
|
248
|
-
const o = e.$$.on_mount.map(
|
|
252
|
+
n && n.m(t, r), $e(() => {
|
|
253
|
+
const o = e.$$.on_mount.map(Lt).filter(Ye);
|
|
249
254
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
250
|
-
}), i.forEach(
|
|
255
|
+
}), i.forEach($e);
|
|
251
256
|
}
|
|
252
|
-
function
|
|
257
|
+
function zr(e, t) {
|
|
253
258
|
const r = e.$$;
|
|
254
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
255
260
|
}
|
|
256
|
-
function
|
|
257
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
261
|
+
function Wr(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (k.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
258
263
|
}
|
|
259
|
-
function
|
|
264
|
+
function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
260
265
|
const l = ie;
|
|
261
266
|
re(e);
|
|
262
267
|
const u = e.$$ = {
|
|
@@ -266,7 +271,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
266
271
|
props: o,
|
|
267
272
|
update: L,
|
|
268
273
|
not_equal: i,
|
|
269
|
-
bound:
|
|
274
|
+
bound: at(),
|
|
270
275
|
// lifecycle
|
|
271
276
|
on_mount: [],
|
|
272
277
|
on_destroy: [],
|
|
@@ -275,7 +280,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
275
280
|
after_update: [],
|
|
276
281
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
277
282
|
// everything else
|
|
278
|
-
callbacks:
|
|
283
|
+
callbacks: at(),
|
|
279
284
|
dirty: a,
|
|
280
285
|
skip_bound: !1,
|
|
281
286
|
root: t.target || l.$$.root
|
|
@@ -284,19 +289,19 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
284
289
|
let h = !1;
|
|
285
290
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
286
291
|
const d = m.length ? m[0] : f;
|
|
287
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
|
292
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Wr(e, c)), f;
|
|
288
293
|
}) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
289
294
|
if (t.hydrate) {
|
|
290
|
-
const c =
|
|
295
|
+
const c = Lr(t.target);
|
|
291
296
|
u.fragment && u.fragment.l(c), c.forEach(Y);
|
|
292
297
|
} else
|
|
293
298
|
u.fragment && u.fragment.c();
|
|
294
|
-
t.intro &&
|
|
299
|
+
t.intro && Ut(e.$$.fragment), Xr(e, t.target, t.anchor), I();
|
|
295
300
|
}
|
|
296
301
|
re(l);
|
|
297
302
|
}
|
|
298
|
-
let
|
|
299
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let Dt;
|
|
304
|
+
typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
300
305
|
constructor(t, r, n) {
|
|
301
306
|
super();
|
|
302
307
|
/** The Svelte component constructor */
|
|
@@ -333,14 +338,14 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
333
338
|
}
|
|
334
339
|
}
|
|
335
340
|
connectedCallback() {
|
|
336
|
-
return
|
|
341
|
+
return st(this, null, function* () {
|
|
337
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
338
343
|
let t = function(o) {
|
|
339
344
|
return () => {
|
|
340
345
|
let s;
|
|
341
346
|
return {
|
|
342
347
|
c: function() {
|
|
343
|
-
s =
|
|
348
|
+
s = N("slot"), o !== "default" && H(s, "name", o);
|
|
344
349
|
},
|
|
345
350
|
/**
|
|
346
351
|
* @param {HTMLElement} target
|
|
@@ -357,7 +362,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
357
362
|
};
|
|
358
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
364
|
return;
|
|
360
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = Rr(this);
|
|
361
366
|
for (const o of this.$$s)
|
|
362
367
|
o in n && (r[o] = [t(o)]);
|
|
363
368
|
for (const o of this.attributes) {
|
|
@@ -368,7 +373,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
368
373
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
369
374
|
this.$$c = new this.$$ctor({
|
|
370
375
|
target: this.shadowRoot || this,
|
|
371
|
-
props:
|
|
376
|
+
props: ot(it({}, this.$$d), {
|
|
372
377
|
$$slots: r,
|
|
373
378
|
$$scope: {
|
|
374
379
|
ctx: []
|
|
@@ -446,8 +451,8 @@ function me(e, t, r, n) {
|
|
|
446
451
|
return t;
|
|
447
452
|
}
|
|
448
453
|
}
|
|
449
|
-
function
|
|
450
|
-
let s = class extends
|
|
454
|
+
function Qr(e, t, r, n, i, o) {
|
|
455
|
+
let s = class extends Dt {
|
|
451
456
|
constructor() {
|
|
452
457
|
super(e, r, i), this.$$p_d = t;
|
|
453
458
|
}
|
|
@@ -477,7 +482,7 @@ function Xr(e, t, r, n, i, o) {
|
|
|
477
482
|
}), e.element = /** @type {any} */
|
|
478
483
|
s, s;
|
|
479
484
|
}
|
|
480
|
-
class
|
|
485
|
+
class Jr {
|
|
481
486
|
constructor() {
|
|
482
487
|
/**
|
|
483
488
|
* ### PRIVATE API
|
|
@@ -498,7 +503,7 @@ class Wr {
|
|
|
498
503
|
}
|
|
499
504
|
/** @returns {void} */
|
|
500
505
|
$destroy() {
|
|
501
|
-
|
|
506
|
+
zr(this, 1), this.$destroy = L;
|
|
502
507
|
}
|
|
503
508
|
/**
|
|
504
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -507,7 +512,7 @@ class Wr {
|
|
|
507
512
|
* @returns {() => void}
|
|
508
513
|
*/
|
|
509
514
|
$on(t, r) {
|
|
510
|
-
if (!
|
|
515
|
+
if (!Ye(r))
|
|
511
516
|
return L;
|
|
512
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
513
518
|
return n.push(r), () => {
|
|
@@ -520,22 +525,37 @@ class Wr {
|
|
|
520
525
|
* @returns {void}
|
|
521
526
|
*/
|
|
522
527
|
$set(t) {
|
|
523
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
524
529
|
}
|
|
525
530
|
}
|
|
526
|
-
const
|
|
527
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
528
|
-
|
|
529
|
-
|
|
531
|
+
const Yr = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
|
|
533
|
+
/*! *****************************************************************************
|
|
534
|
+
Copyright (c) Microsoft Corporation.
|
|
535
|
+
|
|
536
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
537
|
+
purpose with or without fee is hereby granted.
|
|
538
|
+
|
|
539
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
540
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
541
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
542
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
543
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
544
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
546
|
+
***************************************************************************** */
|
|
547
|
+
var Ge = function(e, t) {
|
|
548
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
530
549
|
r.__proto__ = n;
|
|
531
550
|
} || function(r, n) {
|
|
532
|
-
for (var i in n)
|
|
533
|
-
|
|
551
|
+
for (var i in n)
|
|
552
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
+
}, Ge(e, t);
|
|
534
554
|
};
|
|
535
555
|
function $(e, t) {
|
|
536
556
|
if (typeof t != "function" && t !== null)
|
|
537
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
538
|
-
|
|
558
|
+
Ge(e, t);
|
|
539
559
|
function r() {
|
|
540
560
|
this.constructor = e;
|
|
541
561
|
}
|
|
@@ -545,61 +565,69 @@ var y = function() {
|
|
|
545
565
|
return y = Object.assign || function(t) {
|
|
546
566
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
547
567
|
r = arguments[n];
|
|
548
|
-
for (var o in r)
|
|
568
|
+
for (var o in r)
|
|
569
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
549
570
|
}
|
|
550
571
|
return t;
|
|
551
572
|
}, y.apply(this, arguments);
|
|
552
573
|
};
|
|
553
|
-
function
|
|
574
|
+
function qr(e, t) {
|
|
554
575
|
var r = {};
|
|
555
|
-
for (var n in e)
|
|
576
|
+
for (var n in e)
|
|
577
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
556
578
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
557
579
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
558
580
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
559
581
|
return r;
|
|
560
582
|
}
|
|
561
|
-
function
|
|
583
|
+
function Ue(e) {
|
|
562
584
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
563
|
-
if (r)
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
585
|
+
if (r)
|
|
586
|
+
return r.call(e);
|
|
587
|
+
if (e && typeof e.length == "number")
|
|
588
|
+
return {
|
|
589
|
+
next: function() {
|
|
590
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
591
|
+
}
|
|
592
|
+
};
|
|
569
593
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
570
594
|
}
|
|
571
|
-
function
|
|
595
|
+
function De(e, t) {
|
|
572
596
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
573
|
-
if (!r)
|
|
597
|
+
if (!r)
|
|
598
|
+
return e;
|
|
574
599
|
var n = r.call(e), i, o = [], s;
|
|
575
600
|
try {
|
|
576
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
601
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
602
|
+
o.push(i.value);
|
|
577
603
|
} catch (a) {
|
|
578
604
|
s = { error: a };
|
|
579
605
|
} finally {
|
|
580
606
|
try {
|
|
581
607
|
i && !i.done && (r = n.return) && r.call(n);
|
|
582
608
|
} finally {
|
|
583
|
-
if (s)
|
|
609
|
+
if (s)
|
|
610
|
+
throw s.error;
|
|
584
611
|
}
|
|
585
612
|
}
|
|
586
613
|
return o;
|
|
587
614
|
}
|
|
588
615
|
function X(e, t, r) {
|
|
589
|
-
if (r || arguments.length === 2)
|
|
590
|
-
(
|
|
591
|
-
|
|
616
|
+
if (r || arguments.length === 2)
|
|
617
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
618
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
619
|
+
return e.concat(o || t);
|
|
592
620
|
}
|
|
593
621
|
function R(e) {
|
|
594
622
|
return typeof e == "function";
|
|
595
623
|
}
|
|
596
|
-
function
|
|
624
|
+
function Ft(e) {
|
|
597
625
|
var t = function(n) {
|
|
598
626
|
Error.call(n), n.stack = new Error().stack;
|
|
599
627
|
}, r = e(t);
|
|
600
628
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
601
629
|
}
|
|
602
|
-
var Be =
|
|
630
|
+
var Be = Ft(function(e) {
|
|
603
631
|
return function(r) {
|
|
604
632
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
605
633
|
` + r.map(function(n, i) {
|
|
@@ -608,7 +636,7 @@ var Be = Gt(function(e) {
|
|
|
608
636
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
609
637
|
};
|
|
610
638
|
});
|
|
611
|
-
function
|
|
639
|
+
function Fe(e, t) {
|
|
612
640
|
if (e) {
|
|
613
641
|
var r = e.indexOf(t);
|
|
614
642
|
0 <= r && e.splice(r, 1);
|
|
@@ -626,7 +654,7 @@ var xe = function() {
|
|
|
626
654
|
if (s)
|
|
627
655
|
if (this._parentage = null, Array.isArray(s))
|
|
628
656
|
try {
|
|
629
|
-
for (var a =
|
|
657
|
+
for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
|
|
630
658
|
var u = l.value;
|
|
631
659
|
u.remove(this);
|
|
632
660
|
}
|
|
@@ -636,7 +664,8 @@ var xe = function() {
|
|
|
636
664
|
try {
|
|
637
665
|
l && !l.done && (r = a.return) && r.call(a);
|
|
638
666
|
} finally {
|
|
639
|
-
if (t)
|
|
667
|
+
if (t)
|
|
668
|
+
throw t.error;
|
|
640
669
|
}
|
|
641
670
|
}
|
|
642
671
|
else
|
|
@@ -652,12 +681,12 @@ var xe = function() {
|
|
|
652
681
|
if (c) {
|
|
653
682
|
this._finalizers = null;
|
|
654
683
|
try {
|
|
655
|
-
for (var f =
|
|
684
|
+
for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
|
|
656
685
|
var d = m.value;
|
|
657
686
|
try {
|
|
658
|
-
|
|
687
|
+
ht(d);
|
|
659
688
|
} catch (p) {
|
|
660
|
-
o = o != null ? o : [], p instanceof Be ? o = X(X([],
|
|
689
|
+
o = o != null ? o : [], p instanceof Be ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
|
|
661
690
|
}
|
|
662
691
|
}
|
|
663
692
|
} catch (p) {
|
|
@@ -666,7 +695,8 @@ var xe = function() {
|
|
|
666
695
|
try {
|
|
667
696
|
m && !m.done && (i = f.return) && i.call(f);
|
|
668
697
|
} finally {
|
|
669
|
-
if (n)
|
|
698
|
+
if (n)
|
|
699
|
+
throw n.error;
|
|
670
700
|
}
|
|
671
701
|
}
|
|
672
702
|
}
|
|
@@ -677,7 +707,7 @@ var xe = function() {
|
|
|
677
707
|
var r;
|
|
678
708
|
if (t && t !== this)
|
|
679
709
|
if (this.closed)
|
|
680
|
-
|
|
710
|
+
ht(t);
|
|
681
711
|
else {
|
|
682
712
|
if (t instanceof e) {
|
|
683
713
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,52 +724,56 @@ var xe = function() {
|
|
|
694
724
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
725
|
}, e.prototype._removeParent = function(t) {
|
|
696
726
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
727
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
698
728
|
}, e.prototype.remove = function(t) {
|
|
699
729
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
730
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
701
731
|
}, e.EMPTY = function() {
|
|
702
732
|
var t = new e();
|
|
703
733
|
return t.closed = !0, t;
|
|
704
734
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
735
|
+
}(), jt = xe.EMPTY;
|
|
736
|
+
function kt(e) {
|
|
707
737
|
return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
708
738
|
}
|
|
709
|
-
function
|
|
739
|
+
function ht(e) {
|
|
710
740
|
R(e) ? e() : e.unsubscribe();
|
|
711
741
|
}
|
|
712
|
-
var
|
|
713
|
-
|
|
714
|
-
|
|
742
|
+
var Vt = {
|
|
743
|
+
onUnhandledError: null,
|
|
744
|
+
onStoppedNotification: null,
|
|
745
|
+
Promise: void 0,
|
|
746
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
747
|
+
useDeprecatedNextContext: !1
|
|
748
|
+
}, Kr = {
|
|
715
749
|
setTimeout: function(e, t) {
|
|
716
750
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
717
751
|
r[n - 2] = arguments[n];
|
|
718
|
-
return setTimeout.apply(void 0, X([e, t],
|
|
752
|
+
return setTimeout.apply(void 0, X([e, t], De(r)));
|
|
719
753
|
},
|
|
720
754
|
clearTimeout: function(e) {
|
|
721
755
|
return clearTimeout(e);
|
|
722
756
|
},
|
|
723
757
|
delegate: void 0
|
|
724
758
|
};
|
|
725
|
-
function
|
|
726
|
-
|
|
759
|
+
function en(e) {
|
|
760
|
+
Kr.setTimeout(function() {
|
|
727
761
|
throw e;
|
|
728
762
|
});
|
|
729
763
|
}
|
|
730
|
-
function
|
|
764
|
+
function ct() {
|
|
731
765
|
}
|
|
732
766
|
function de(e) {
|
|
733
767
|
e();
|
|
734
768
|
}
|
|
735
|
-
var
|
|
769
|
+
var Xt = function(e) {
|
|
736
770
|
$(t, e);
|
|
737
771
|
function t(r) {
|
|
738
772
|
var n = e.call(this) || this;
|
|
739
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
773
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = on, n;
|
|
740
774
|
}
|
|
741
775
|
return t.create = function(r, n, i) {
|
|
742
|
-
return new
|
|
776
|
+
return new je(r, n, i);
|
|
743
777
|
}, t.prototype.next = function(r) {
|
|
744
778
|
this.isStopped || this._next(r);
|
|
745
779
|
}, t.prototype.error = function(r) {
|
|
@@ -763,7 +797,11 @@ var Ft = function(e) {
|
|
|
763
797
|
this.unsubscribe();
|
|
764
798
|
}
|
|
765
799
|
}, t;
|
|
766
|
-
}(xe),
|
|
800
|
+
}(xe), tn = Function.prototype.bind;
|
|
801
|
+
function Ae(e, t) {
|
|
802
|
+
return tn.call(e, t);
|
|
803
|
+
}
|
|
804
|
+
var rn = function() {
|
|
767
805
|
function e(t) {
|
|
768
806
|
this.partialObserver = t;
|
|
769
807
|
}
|
|
@@ -794,43 +832,55 @@ var Ft = function(e) {
|
|
|
794
832
|
he(r);
|
|
795
833
|
}
|
|
796
834
|
}, e;
|
|
797
|
-
}(),
|
|
835
|
+
}(), je = function(e) {
|
|
798
836
|
$(t, e);
|
|
799
837
|
function t(r, n, i) {
|
|
800
838
|
var o = e.call(this) || this, s;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
839
|
+
if (R(r) || !r)
|
|
840
|
+
s = {
|
|
841
|
+
next: r != null ? r : void 0,
|
|
842
|
+
error: n != null ? n : void 0,
|
|
843
|
+
complete: i != null ? i : void 0
|
|
844
|
+
};
|
|
845
|
+
else {
|
|
846
|
+
var a;
|
|
847
|
+
o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
848
|
+
return o.unsubscribe();
|
|
849
|
+
}, s = {
|
|
850
|
+
next: r.next && Ae(r.next, a),
|
|
851
|
+
error: r.error && Ae(r.error, a),
|
|
852
|
+
complete: r.complete && Ae(r.complete, a)
|
|
853
|
+
}) : s = r;
|
|
854
|
+
}
|
|
855
|
+
return o.destination = new rn(s), o;
|
|
806
856
|
}
|
|
807
857
|
return t;
|
|
808
|
-
}(
|
|
858
|
+
}(Xt);
|
|
809
859
|
function he(e) {
|
|
810
|
-
|
|
860
|
+
en(e);
|
|
811
861
|
}
|
|
812
|
-
function
|
|
862
|
+
function nn(e) {
|
|
813
863
|
throw e;
|
|
814
864
|
}
|
|
815
|
-
var
|
|
865
|
+
var on = {
|
|
816
866
|
closed: !0,
|
|
817
|
-
next:
|
|
818
|
-
error:
|
|
819
|
-
complete:
|
|
820
|
-
},
|
|
867
|
+
next: ct,
|
|
868
|
+
error: nn,
|
|
869
|
+
complete: ct
|
|
870
|
+
}, sn = function() {
|
|
821
871
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
822
872
|
}();
|
|
823
|
-
function
|
|
873
|
+
function an(e) {
|
|
824
874
|
return e;
|
|
825
875
|
}
|
|
826
|
-
function
|
|
827
|
-
return e.length === 0 ?
|
|
876
|
+
function un(e) {
|
|
877
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
|
828
878
|
return e.reduce(function(n, i) {
|
|
829
879
|
return i(n);
|
|
830
880
|
}, r);
|
|
831
881
|
};
|
|
832
882
|
}
|
|
833
|
-
var
|
|
883
|
+
var ft = function() {
|
|
834
884
|
function e(t) {
|
|
835
885
|
t && (this._subscribe = t);
|
|
836
886
|
}
|
|
@@ -838,7 +888,7 @@ var lt = function() {
|
|
|
838
888
|
var r = new e();
|
|
839
889
|
return r.source = this, r.operator = t, r;
|
|
840
890
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
841
|
-
var i = this, o =
|
|
891
|
+
var i = this, o = hn(t) ? t : new je(t, r, n);
|
|
842
892
|
return de(function() {
|
|
843
893
|
var s = i, a = s.operator, l = s.source;
|
|
844
894
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -851,8 +901,8 @@ var lt = function() {
|
|
|
851
901
|
}
|
|
852
902
|
}, e.prototype.forEach = function(t, r) {
|
|
853
903
|
var n = this;
|
|
854
|
-
return r =
|
|
855
|
-
var s = new
|
|
904
|
+
return r = mt(r), new r(function(i, o) {
|
|
905
|
+
var s = new je({
|
|
856
906
|
next: function(a) {
|
|
857
907
|
try {
|
|
858
908
|
t(a);
|
|
@@ -868,15 +918,15 @@ var lt = function() {
|
|
|
868
918
|
}, e.prototype._subscribe = function(t) {
|
|
869
919
|
var r;
|
|
870
920
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
871
|
-
}, e.prototype[
|
|
921
|
+
}, e.prototype[sn] = function() {
|
|
872
922
|
return this;
|
|
873
923
|
}, e.prototype.pipe = function() {
|
|
874
924
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
875
925
|
t[r] = arguments[r];
|
|
876
|
-
return
|
|
926
|
+
return un(t)(this);
|
|
877
927
|
}, e.prototype.toPromise = function(t) {
|
|
878
928
|
var r = this;
|
|
879
|
-
return t =
|
|
929
|
+
return t = mt(t), new t(function(n, i) {
|
|
880
930
|
var o;
|
|
881
931
|
r.subscribe(function(s) {
|
|
882
932
|
return o = s;
|
|
@@ -890,32 +940,32 @@ var lt = function() {
|
|
|
890
940
|
return new e(t);
|
|
891
941
|
}, e;
|
|
892
942
|
}();
|
|
893
|
-
function
|
|
943
|
+
function mt(e) {
|
|
894
944
|
var t;
|
|
895
|
-
return (t = e != null ? e :
|
|
945
|
+
return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
946
|
}
|
|
897
|
-
function
|
|
947
|
+
function ln(e) {
|
|
898
948
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
899
949
|
}
|
|
900
|
-
function
|
|
901
|
-
return e && e instanceof
|
|
950
|
+
function hn(e) {
|
|
951
|
+
return e && e instanceof Xt || ln(e) && kt(e);
|
|
902
952
|
}
|
|
903
|
-
var
|
|
953
|
+
var cn = Ft(function(e) {
|
|
904
954
|
return function() {
|
|
905
955
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
906
956
|
};
|
|
907
|
-
}),
|
|
957
|
+
}), zt = function(e) {
|
|
908
958
|
$(t, e);
|
|
909
959
|
function t() {
|
|
910
960
|
var r = e.call(this) || this;
|
|
911
961
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
912
962
|
}
|
|
913
963
|
return t.prototype.lift = function(r) {
|
|
914
|
-
var n = new
|
|
964
|
+
var n = new dt(this, this);
|
|
915
965
|
return n.operator = r, n;
|
|
916
966
|
}, t.prototype._throwIfClosed = function() {
|
|
917
967
|
if (this.closed)
|
|
918
|
-
throw new
|
|
968
|
+
throw new cn();
|
|
919
969
|
}, t.prototype.next = function(r) {
|
|
920
970
|
var n = this;
|
|
921
971
|
de(function() {
|
|
@@ -923,7 +973,7 @@ var an = Gt(function(e) {
|
|
|
923
973
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
924
974
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
925
975
|
try {
|
|
926
|
-
for (var s =
|
|
976
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
927
977
|
var l = a.value;
|
|
928
978
|
l.next(r);
|
|
929
979
|
}
|
|
@@ -933,7 +983,8 @@ var an = Gt(function(e) {
|
|
|
933
983
|
try {
|
|
934
984
|
a && !a.done && (o = s.return) && o.call(s);
|
|
935
985
|
} finally {
|
|
936
|
-
if (i)
|
|
986
|
+
if (i)
|
|
987
|
+
throw i.error;
|
|
937
988
|
}
|
|
938
989
|
}
|
|
939
990
|
}
|
|
@@ -971,19 +1022,19 @@ var an = Gt(function(e) {
|
|
|
971
1022
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
972
1023
|
}, t.prototype._innerSubscribe = function(r) {
|
|
973
1024
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
974
|
-
return o || s ?
|
|
975
|
-
n.currentObservers = null,
|
|
1025
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1026
|
+
n.currentObservers = null, Fe(a, r);
|
|
976
1027
|
}));
|
|
977
1028
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
978
1029
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
979
1030
|
i ? r.error(o) : s && r.complete();
|
|
980
1031
|
}, t.prototype.asObservable = function() {
|
|
981
|
-
var r = new
|
|
1032
|
+
var r = new ft();
|
|
982
1033
|
return r.source = this, r;
|
|
983
1034
|
}, t.create = function(r, n) {
|
|
984
|
-
return new
|
|
1035
|
+
return new dt(r, n);
|
|
985
1036
|
}, t;
|
|
986
|
-
}(
|
|
1037
|
+
}(ft), dt = function(e) {
|
|
987
1038
|
$(t, e);
|
|
988
1039
|
function t(r, n) {
|
|
989
1040
|
var i = e.call(this) || this;
|
|
@@ -1000,17 +1051,17 @@ var an = Gt(function(e) {
|
|
|
1000
1051
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1001
1052
|
}, t.prototype._subscribe = function(r) {
|
|
1002
1053
|
var n, i;
|
|
1003
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1054
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1004
1055
|
}, t;
|
|
1005
|
-
}(
|
|
1056
|
+
}(zt), Wt = {
|
|
1006
1057
|
now: function() {
|
|
1007
|
-
return (
|
|
1058
|
+
return (Wt.delegate || Date).now();
|
|
1008
1059
|
},
|
|
1009
1060
|
delegate: void 0
|
|
1010
|
-
},
|
|
1061
|
+
}, fn = function(e) {
|
|
1011
1062
|
$(t, e);
|
|
1012
1063
|
function t(r, n, i) {
|
|
1013
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1064
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
1014
1065
|
var o = e.call(this) || this;
|
|
1015
1066
|
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;
|
|
1016
1067
|
}
|
|
@@ -1030,15 +1081,15 @@ var an = Gt(function(e) {
|
|
|
1030
1081
|
u && o.splice(0, u + 1);
|
|
1031
1082
|
}
|
|
1032
1083
|
}, t;
|
|
1033
|
-
}(
|
|
1034
|
-
const
|
|
1035
|
-
if (
|
|
1036
|
-
const r = new
|
|
1037
|
-
|
|
1084
|
+
}(zt);
|
|
1085
|
+
const pt = [], bt = {}, mn = (e, t = 0) => {
|
|
1086
|
+
if (pt.indexOf(e) == -1) {
|
|
1087
|
+
const r = new fn(t);
|
|
1088
|
+
bt[e] = r, pt.push(e);
|
|
1038
1089
|
}
|
|
1039
|
-
return
|
|
1090
|
+
return bt[e];
|
|
1040
1091
|
}, j = [];
|
|
1041
|
-
function
|
|
1092
|
+
function dn(e, t) {
|
|
1042
1093
|
return {
|
|
1043
1094
|
subscribe: _e(e, t).subscribe
|
|
1044
1095
|
};
|
|
@@ -1047,7 +1098,7 @@ function _e(e, t = L) {
|
|
|
1047
1098
|
let r;
|
|
1048
1099
|
const n = /* @__PURE__ */ new Set();
|
|
1049
1100
|
function i(a) {
|
|
1050
|
-
if (
|
|
1101
|
+
if (Rt(e, a) && (e = a, r)) {
|
|
1051
1102
|
const l = !j.length;
|
|
1052
1103
|
for (const u of n)
|
|
1053
1104
|
u[1](), j.push(u, e);
|
|
@@ -1074,7 +1125,7 @@ function q(e, t, r) {
|
|
|
1074
1125
|
if (!i.every(Boolean))
|
|
1075
1126
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1076
1127
|
const o = t.length < 2;
|
|
1077
|
-
return
|
|
1128
|
+
return dn(r, (s, a) => {
|
|
1078
1129
|
let l = !1;
|
|
1079
1130
|
const u = [];
|
|
1080
1131
|
let h = 0, c = L;
|
|
@@ -1083,9 +1134,9 @@ function q(e, t, r) {
|
|
|
1083
1134
|
return;
|
|
1084
1135
|
c();
|
|
1085
1136
|
const d = t(n ? u[0] : u, s, a);
|
|
1086
|
-
o ? s(d) : c =
|
|
1137
|
+
o ? s(d) : c = Ye(d) ? d : L;
|
|
1087
1138
|
}, m = i.map(
|
|
1088
|
-
(d, p) =>
|
|
1139
|
+
(d, p) => $t(
|
|
1089
1140
|
d,
|
|
1090
1141
|
(w) => {
|
|
1091
1142
|
u[p] = w, h &= ~(1 << p), l && f();
|
|
@@ -1100,128 +1151,130 @@ function q(e, t, r) {
|
|
|
1100
1151
|
};
|
|
1101
1152
|
});
|
|
1102
1153
|
}
|
|
1103
|
-
function
|
|
1154
|
+
function pn(e) {
|
|
1104
1155
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1105
1156
|
}
|
|
1106
|
-
var
|
|
1107
|
-
return
|
|
1157
|
+
var bn = function(t) {
|
|
1158
|
+
return gn(t) && !vn(t);
|
|
1108
1159
|
};
|
|
1109
|
-
function
|
|
1160
|
+
function gn(e) {
|
|
1110
1161
|
return !!e && typeof e == "object";
|
|
1111
1162
|
}
|
|
1112
|
-
function
|
|
1163
|
+
function vn(e) {
|
|
1113
1164
|
var t = Object.prototype.toString.call(e);
|
|
1114
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1165
|
+
return t === "[object RegExp]" || t === "[object Date]" || _n(e);
|
|
1115
1166
|
}
|
|
1116
|
-
var
|
|
1117
|
-
function
|
|
1118
|
-
return e.$$typeof ===
|
|
1167
|
+
var yn = typeof Symbol == "function" && Symbol.for, xn = yn ? Symbol.for("react.element") : 60103;
|
|
1168
|
+
function _n(e) {
|
|
1169
|
+
return e.$$typeof === xn;
|
|
1119
1170
|
}
|
|
1120
|
-
function
|
|
1171
|
+
function En(e) {
|
|
1121
1172
|
return Array.isArray(e) ? [] : {};
|
|
1122
1173
|
}
|
|
1123
1174
|
function oe(e, t) {
|
|
1124
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1175
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(En(e), e, t) : e;
|
|
1125
1176
|
}
|
|
1126
|
-
function
|
|
1177
|
+
function Sn(e, t, r) {
|
|
1127
1178
|
return e.concat(t).map(function(n) {
|
|
1128
1179
|
return oe(n, r);
|
|
1129
1180
|
});
|
|
1130
1181
|
}
|
|
1131
|
-
function
|
|
1182
|
+
function wn(e, t) {
|
|
1132
1183
|
if (!t.customMerge)
|
|
1133
|
-
return
|
|
1184
|
+
return z;
|
|
1134
1185
|
var r = t.customMerge(e);
|
|
1135
|
-
return typeof r == "function" ? r :
|
|
1186
|
+
return typeof r == "function" ? r : z;
|
|
1136
1187
|
}
|
|
1137
|
-
function
|
|
1188
|
+
function Tn(e) {
|
|
1138
1189
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1139
1190
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1140
1191
|
}) : [];
|
|
1141
1192
|
}
|
|
1142
|
-
function
|
|
1143
|
-
return Object.keys(e).concat(
|
|
1193
|
+
function gt(e) {
|
|
1194
|
+
return Object.keys(e).concat(Tn(e));
|
|
1144
1195
|
}
|
|
1145
|
-
function
|
|
1196
|
+
function Zt(e, t) {
|
|
1146
1197
|
try {
|
|
1147
1198
|
return t in e;
|
|
1148
1199
|
} catch (r) {
|
|
1149
1200
|
return !1;
|
|
1150
1201
|
}
|
|
1151
1202
|
}
|
|
1152
|
-
function
|
|
1153
|
-
return
|
|
1203
|
+
function Hn(e, t) {
|
|
1204
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1154
1205
|
}
|
|
1155
|
-
function
|
|
1206
|
+
function Bn(e, t, r) {
|
|
1156
1207
|
var n = {};
|
|
1157
|
-
return r.isMergeableObject(e) &&
|
|
1208
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1158
1209
|
n[i] = oe(e[i], r);
|
|
1159
|
-
}),
|
|
1160
|
-
|
|
1210
|
+
}), gt(t).forEach(function(i) {
|
|
1211
|
+
Hn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1161
1212
|
}), n;
|
|
1162
1213
|
}
|
|
1163
|
-
function
|
|
1164
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1214
|
+
function z(e, t, r) {
|
|
1215
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1165
1216
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1166
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1217
|
+
return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : oe(t, r);
|
|
1167
1218
|
}
|
|
1168
|
-
|
|
1219
|
+
z.all = function(t, r) {
|
|
1169
1220
|
if (!Array.isArray(t))
|
|
1170
1221
|
throw new Error("first argument should be an array");
|
|
1171
1222
|
return t.reduce(function(n, i) {
|
|
1172
|
-
return
|
|
1223
|
+
return z(n, i, r);
|
|
1173
1224
|
}, {});
|
|
1174
1225
|
};
|
|
1175
|
-
var
|
|
1176
|
-
const
|
|
1177
|
-
function
|
|
1178
|
-
var r = t && t.cache ? t.cache :
|
|
1226
|
+
var An = z, Cn = An;
|
|
1227
|
+
const Pn = /* @__PURE__ */ pn(Cn);
|
|
1228
|
+
function Ce(e, t) {
|
|
1229
|
+
var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : In;
|
|
1179
1230
|
return i(e, {
|
|
1180
1231
|
cache: r,
|
|
1181
1232
|
serializer: n
|
|
1182
1233
|
});
|
|
1183
1234
|
}
|
|
1184
|
-
function
|
|
1235
|
+
function On(e) {
|
|
1185
1236
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1186
1237
|
}
|
|
1187
|
-
function
|
|
1188
|
-
var i =
|
|
1238
|
+
function Qt(e, t, r, n) {
|
|
1239
|
+
var i = On(n) ? n : r(n), o = t.get(i);
|
|
1189
1240
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1190
1241
|
}
|
|
1191
|
-
function
|
|
1242
|
+
function Jt(e, t, r) {
|
|
1192
1243
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1193
1244
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1194
1245
|
}
|
|
1195
|
-
function
|
|
1246
|
+
function qe(e, t, r, n, i) {
|
|
1196
1247
|
return r.bind(t, e, n, i);
|
|
1197
1248
|
}
|
|
1198
|
-
function
|
|
1199
|
-
var r = e.length === 1 ?
|
|
1200
|
-
return
|
|
1249
|
+
function In(e, t) {
|
|
1250
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1251
|
+
return qe(e, this, r, t.cache.create(), t.serializer);
|
|
1201
1252
|
}
|
|
1202
|
-
function
|
|
1203
|
-
return
|
|
1253
|
+
function Mn(e, t) {
|
|
1254
|
+
return qe(e, this, Jt, t.cache.create(), t.serializer);
|
|
1204
1255
|
}
|
|
1205
|
-
|
|
1256
|
+
function Nn(e, t) {
|
|
1257
|
+
return qe(e, this, Qt, t.cache.create(), t.serializer);
|
|
1258
|
+
}
|
|
1259
|
+
var Ln = function() {
|
|
1206
1260
|
return JSON.stringify(arguments);
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
}()
|
|
1219
|
-
), Nn = {
|
|
1261
|
+
};
|
|
1262
|
+
function Ke() {
|
|
1263
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1264
|
+
}
|
|
1265
|
+
Ke.prototype.get = function(e) {
|
|
1266
|
+
return this.cache[e];
|
|
1267
|
+
};
|
|
1268
|
+
Ke.prototype.set = function(e, t) {
|
|
1269
|
+
this.cache[e] = t;
|
|
1270
|
+
};
|
|
1271
|
+
var Rn = {
|
|
1220
1272
|
create: function() {
|
|
1221
|
-
return new
|
|
1273
|
+
return new Ke();
|
|
1222
1274
|
}
|
|
1223
|
-
},
|
|
1224
|
-
variadic:
|
|
1275
|
+
}, Pe = {
|
|
1276
|
+
variadic: Mn,
|
|
1277
|
+
monadic: Nn
|
|
1225
1278
|
}, b;
|
|
1226
1279
|
(function(e) {
|
|
1227
1280
|
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";
|
|
@@ -1230,47 +1283,47 @@ var S;
|
|
|
1230
1283
|
(function(e) {
|
|
1231
1284
|
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";
|
|
1232
1285
|
})(S || (S = {}));
|
|
1233
|
-
var
|
|
1286
|
+
var W;
|
|
1234
1287
|
(function(e) {
|
|
1235
1288
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1236
|
-
})(
|
|
1237
|
-
function
|
|
1289
|
+
})(W || (W = {}));
|
|
1290
|
+
function vt(e) {
|
|
1238
1291
|
return e.type === S.literal;
|
|
1239
1292
|
}
|
|
1240
|
-
function
|
|
1293
|
+
function $n(e) {
|
|
1241
1294
|
return e.type === S.argument;
|
|
1242
1295
|
}
|
|
1243
|
-
function
|
|
1296
|
+
function Yt(e) {
|
|
1244
1297
|
return e.type === S.number;
|
|
1245
1298
|
}
|
|
1246
|
-
function
|
|
1299
|
+
function qt(e) {
|
|
1247
1300
|
return e.type === S.date;
|
|
1248
1301
|
}
|
|
1249
|
-
function
|
|
1302
|
+
function Kt(e) {
|
|
1250
1303
|
return e.type === S.time;
|
|
1251
1304
|
}
|
|
1252
|
-
function
|
|
1305
|
+
function er(e) {
|
|
1253
1306
|
return e.type === S.select;
|
|
1254
1307
|
}
|
|
1255
|
-
function
|
|
1308
|
+
function tr(e) {
|
|
1256
1309
|
return e.type === S.plural;
|
|
1257
1310
|
}
|
|
1258
|
-
function
|
|
1311
|
+
function Gn(e) {
|
|
1259
1312
|
return e.type === S.pound;
|
|
1260
1313
|
}
|
|
1261
|
-
function
|
|
1314
|
+
function rr(e) {
|
|
1262
1315
|
return e.type === S.tag;
|
|
1263
1316
|
}
|
|
1264
|
-
function
|
|
1265
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1317
|
+
function nr(e) {
|
|
1318
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1266
1319
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1320
|
+
function ke(e) {
|
|
1321
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1269
1322
|
}
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1323
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
|
|
1324
|
+
function Dn(e) {
|
|
1272
1325
|
var t = {};
|
|
1273
|
-
return e.replace(
|
|
1326
|
+
return e.replace(Un, function(r) {
|
|
1274
1327
|
var n = r.length;
|
|
1275
1328
|
switch (r[0]) {
|
|
1276
1329
|
case "G":
|
|
@@ -1359,11 +1412,11 @@ function $n(e) {
|
|
|
1359
1412
|
return "";
|
|
1360
1413
|
}), t;
|
|
1361
1414
|
}
|
|
1362
|
-
var
|
|
1363
|
-
function
|
|
1415
|
+
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1416
|
+
function jn(e) {
|
|
1364
1417
|
if (e.length === 0)
|
|
1365
1418
|
throw new Error("Number skeleton cannot be empty");
|
|
1366
|
-
for (var t = e.split(
|
|
1419
|
+
for (var t = e.split(Fn).filter(function(f) {
|
|
1367
1420
|
return f.length > 0;
|
|
1368
1421
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1369
1422
|
var o = i[n], s = o.split("/");
|
|
@@ -1378,17 +1431,17 @@ function Un(e) {
|
|
|
1378
1431
|
}
|
|
1379
1432
|
return r;
|
|
1380
1433
|
}
|
|
1381
|
-
function
|
|
1434
|
+
function kn(e) {
|
|
1382
1435
|
return e.replace(/^(.*?)-/, "");
|
|
1383
1436
|
}
|
|
1384
|
-
var
|
|
1385
|
-
function
|
|
1437
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1438
|
+
function xt(e) {
|
|
1386
1439
|
var t = {};
|
|
1387
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1440
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1388
1441
|
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)), "";
|
|
1389
1442
|
}), t;
|
|
1390
1443
|
}
|
|
1391
|
-
function
|
|
1444
|
+
function ar(e) {
|
|
1392
1445
|
switch (e) {
|
|
1393
1446
|
case "sign-auto":
|
|
1394
1447
|
return {
|
|
@@ -1428,7 +1481,7 @@ function nr(e) {
|
|
|
1428
1481
|
};
|
|
1429
1482
|
}
|
|
1430
1483
|
}
|
|
1431
|
-
function
|
|
1484
|
+
function Xn(e) {
|
|
1432
1485
|
var t;
|
|
1433
1486
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1434
1487
|
notation: "engineering"
|
|
@@ -1436,17 +1489,17 @@ function jn(e) {
|
|
|
1436
1489
|
notation: "scientific"
|
|
1437
1490
|
}, e = e.slice(1)), t) {
|
|
1438
1491
|
var r = e.slice(0, 2);
|
|
1439
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1492
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1440
1493
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1441
1494
|
t.minimumIntegerDigits = e.length;
|
|
1442
1495
|
}
|
|
1443
1496
|
return t;
|
|
1444
1497
|
}
|
|
1445
|
-
function
|
|
1446
|
-
var t = {}, r =
|
|
1498
|
+
function _t(e) {
|
|
1499
|
+
var t = {}, r = ar(e);
|
|
1447
1500
|
return r || t;
|
|
1448
1501
|
}
|
|
1449
|
-
function
|
|
1502
|
+
function zn(e) {
|
|
1450
1503
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1451
1504
|
var i = n[r];
|
|
1452
1505
|
switch (i.stem) {
|
|
@@ -1470,7 +1523,7 @@ function kn(e) {
|
|
|
1470
1523
|
continue;
|
|
1471
1524
|
case "measure-unit":
|
|
1472
1525
|
case "unit":
|
|
1473
|
-
t.style = "unit", t.unit =
|
|
1526
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1474
1527
|
continue;
|
|
1475
1528
|
case "compact-short":
|
|
1476
1529
|
case "K":
|
|
@@ -1482,12 +1535,12 @@ function kn(e) {
|
|
|
1482
1535
|
continue;
|
|
1483
1536
|
case "scientific":
|
|
1484
1537
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1485
|
-
return y(y({}, l),
|
|
1538
|
+
return y(y({}, l), _t(u));
|
|
1486
1539
|
}, {}));
|
|
1487
1540
|
continue;
|
|
1488
1541
|
case "engineering":
|
|
1489
1542
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1490
|
-
return y(y({}, l),
|
|
1543
|
+
return y(y({}, l), _t(u));
|
|
1491
1544
|
}, {}));
|
|
1492
1545
|
continue;
|
|
1493
1546
|
case "notation-simple":
|
|
@@ -1532,7 +1585,7 @@ function kn(e) {
|
|
|
1532
1585
|
case "integer-width":
|
|
1533
1586
|
if (i.options.length > 1)
|
|
1534
1587
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1535
|
-
i.options[0].replace(
|
|
1588
|
+
i.options[0].replace(Vn, function(l, u, h, c, f, m) {
|
|
1536
1589
|
if (u)
|
|
1537
1590
|
t.minimumIntegerDigits = h.length;
|
|
1538
1591
|
else {
|
|
@@ -1545,27 +1598,27 @@ function kn(e) {
|
|
|
1545
1598
|
});
|
|
1546
1599
|
continue;
|
|
1547
1600
|
}
|
|
1548
|
-
if (
|
|
1601
|
+
if (sr.test(i.stem)) {
|
|
1549
1602
|
t.minimumIntegerDigits = i.stem.length;
|
|
1550
1603
|
continue;
|
|
1551
1604
|
}
|
|
1552
|
-
if (
|
|
1605
|
+
if (yt.test(i.stem)) {
|
|
1553
1606
|
if (i.options.length > 1)
|
|
1554
1607
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1555
|
-
i.stem.replace(
|
|
1608
|
+
i.stem.replace(yt, function(l, u, h, c, f, m) {
|
|
1556
1609
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1557
1610
|
});
|
|
1558
1611
|
var o = i.options[0];
|
|
1559
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1612
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
|
|
1560
1613
|
continue;
|
|
1561
1614
|
}
|
|
1562
|
-
if (
|
|
1563
|
-
t = y(y({}, t),
|
|
1615
|
+
if (or.test(i.stem)) {
|
|
1616
|
+
t = y(y({}, t), xt(i.stem));
|
|
1564
1617
|
continue;
|
|
1565
1618
|
}
|
|
1566
|
-
var s =
|
|
1619
|
+
var s = ar(i.stem);
|
|
1567
1620
|
s && (t = y(y({}, t), s));
|
|
1568
|
-
var a =
|
|
1621
|
+
var a = Xn(i.stem);
|
|
1569
1622
|
a && (t = y(y({}, t), a));
|
|
1570
1623
|
}
|
|
1571
1624
|
return t;
|
|
@@ -2985,22 +3038,23 @@ var ce = {
|
|
|
2985
3038
|
"h"
|
|
2986
3039
|
]
|
|
2987
3040
|
};
|
|
2988
|
-
function
|
|
3041
|
+
function Wn(e, t) {
|
|
2989
3042
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2990
3043
|
var i = e.charAt(n);
|
|
2991
3044
|
if (i === "j") {
|
|
2992
3045
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2993
3046
|
o++, n++;
|
|
2994
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3047
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
|
|
2995
3048
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2996
3049
|
r += l;
|
|
2997
3050
|
for (; s-- > 0; )
|
|
2998
3051
|
r = u + r;
|
|
2999
|
-
} else
|
|
3052
|
+
} else
|
|
3053
|
+
i === "J" ? r += "H" : r += i;
|
|
3000
3054
|
}
|
|
3001
3055
|
return r;
|
|
3002
3056
|
}
|
|
3003
|
-
function
|
|
3057
|
+
function Zn(e) {
|
|
3004
3058
|
var t = e.hourCycle;
|
|
3005
3059
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3006
3060
|
e.hourCycles && // @ts-ignore
|
|
@@ -3022,20 +3076,20 @@ function Xn(e) {
|
|
|
3022
3076
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3023
3077
|
return i[0];
|
|
3024
3078
|
}
|
|
3025
|
-
var
|
|
3079
|
+
var Oe, Qn = new RegExp("^".concat(ir.source, "*")), Jn = new RegExp("".concat(ir.source, "*$"));
|
|
3026
3080
|
function v(e, t) {
|
|
3027
3081
|
return { start: e, end: t };
|
|
3028
3082
|
}
|
|
3029
|
-
var
|
|
3083
|
+
var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
|
|
3030
3084
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3031
|
-
},
|
|
3085
|
+
}, Ve = !0;
|
|
3032
3086
|
try {
|
|
3033
|
-
var
|
|
3034
|
-
|
|
3087
|
+
var oi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3088
|
+
Ve = ((Oe = oi.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3035
3089
|
} catch (e) {
|
|
3036
|
-
|
|
3090
|
+
Ve = !1;
|
|
3037
3091
|
}
|
|
3038
|
-
var
|
|
3092
|
+
var Et = Yn ? (
|
|
3039
3093
|
// Native
|
|
3040
3094
|
function(t, r, n) {
|
|
3041
3095
|
return t.startsWith(r, n);
|
|
@@ -3045,7 +3099,7 @@ var yt = Zn ? (
|
|
|
3045
3099
|
function(t, r, n) {
|
|
3046
3100
|
return t.slice(n, n + r.length) === r;
|
|
3047
3101
|
}
|
|
3048
|
-
),
|
|
3102
|
+
), Xe = qn ? String.fromCodePoint : (
|
|
3049
3103
|
// IE11
|
|
3050
3104
|
function() {
|
|
3051
3105
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3057,9 +3111,9 @@ var yt = Zn ? (
|
|
|
3057
3111
|
}
|
|
3058
3112
|
return n;
|
|
3059
3113
|
}
|
|
3060
|
-
),
|
|
3114
|
+
), St = (
|
|
3061
3115
|
// native
|
|
3062
|
-
|
|
3116
|
+
Kn ? Object.fromEntries : (
|
|
3063
3117
|
// Ponyfill
|
|
3064
3118
|
function(t) {
|
|
3065
3119
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3069,7 +3123,7 @@ var yt = Zn ? (
|
|
|
3069
3123
|
return r;
|
|
3070
3124
|
}
|
|
3071
3125
|
)
|
|
3072
|
-
),
|
|
3126
|
+
), ur = ei ? (
|
|
3073
3127
|
// Native
|
|
3074
3128
|
function(t, r) {
|
|
3075
3129
|
return t.codePointAt(r);
|
|
@@ -3083,7 +3137,7 @@ var yt = Zn ? (
|
|
|
3083
3137
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3084
3138
|
}
|
|
3085
3139
|
}
|
|
3086
|
-
),
|
|
3140
|
+
), si = ti ? (
|
|
3087
3141
|
// Native
|
|
3088
3142
|
function(t) {
|
|
3089
3143
|
return t.trimStart();
|
|
@@ -3091,9 +3145,9 @@ var yt = Zn ? (
|
|
|
3091
3145
|
) : (
|
|
3092
3146
|
// Ponyfill
|
|
3093
3147
|
function(t) {
|
|
3094
|
-
return t.replace(
|
|
3148
|
+
return t.replace(Qn, "");
|
|
3095
3149
|
}
|
|
3096
|
-
),
|
|
3150
|
+
), ai = ri ? (
|
|
3097
3151
|
// Native
|
|
3098
3152
|
function(t) {
|
|
3099
3153
|
return t.trimEnd();
|
|
@@ -3101,32 +3155,32 @@ var yt = Zn ? (
|
|
|
3101
3155
|
) : (
|
|
3102
3156
|
// Ponyfill
|
|
3103
3157
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3158
|
+
return t.replace(Jn, "");
|
|
3105
3159
|
}
|
|
3106
3160
|
);
|
|
3107
|
-
function
|
|
3161
|
+
function lr(e, t) {
|
|
3108
3162
|
return new RegExp(e, t);
|
|
3109
3163
|
}
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3164
|
+
var ze;
|
|
3165
|
+
if (Ve) {
|
|
3166
|
+
var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3167
|
+
ze = function(t, r) {
|
|
3114
3168
|
var n;
|
|
3115
|
-
|
|
3116
|
-
var i =
|
|
3169
|
+
wt.lastIndex = r;
|
|
3170
|
+
var i = wt.exec(t);
|
|
3117
3171
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3118
3172
|
};
|
|
3119
3173
|
} else
|
|
3120
|
-
|
|
3174
|
+
ze = function(t, r) {
|
|
3121
3175
|
for (var n = []; ; ) {
|
|
3122
|
-
var i =
|
|
3123
|
-
if (i === void 0 ||
|
|
3176
|
+
var i = ur(t, r);
|
|
3177
|
+
if (i === void 0 || hr(i) || ci(i))
|
|
3124
3178
|
break;
|
|
3125
3179
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3126
3180
|
}
|
|
3127
|
-
return
|
|
3181
|
+
return Xe.apply(void 0, n);
|
|
3128
3182
|
};
|
|
3129
|
-
var
|
|
3183
|
+
var ui = (
|
|
3130
3184
|
/** @class */
|
|
3131
3185
|
function() {
|
|
3132
3186
|
function e(t, r) {
|
|
@@ -3208,7 +3262,7 @@ var oi = (
|
|
|
3208
3262
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3209
3263
|
}, e.prototype.parseTagName = function() {
|
|
3210
3264
|
var t = this.offset();
|
|
3211
|
-
for (this.bump(); !this.isEOF() &&
|
|
3265
|
+
for (this.bump(); !this.isEOF() && hi(this.char()); )
|
|
3212
3266
|
this.bump();
|
|
3213
3267
|
return this.message.slice(t, this.offset());
|
|
3214
3268
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3237,7 +3291,7 @@ var oi = (
|
|
|
3237
3291
|
};
|
|
3238
3292
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3239
3293
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3240
|
-
!
|
|
3294
|
+
!li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3241
3295
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3242
3296
|
if (this.isEOF() || this.char() !== 39)
|
|
3243
3297
|
return null;
|
|
@@ -3271,12 +3325,12 @@ var oi = (
|
|
|
3271
3325
|
r.push(n);
|
|
3272
3326
|
this.bump();
|
|
3273
3327
|
}
|
|
3274
|
-
return
|
|
3328
|
+
return Xe.apply(void 0, r);
|
|
3275
3329
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3276
3330
|
if (this.isEOF())
|
|
3277
3331
|
return null;
|
|
3278
3332
|
var n = this.char();
|
|
3279
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3333
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
3280
3334
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3281
3335
|
var n = this.clonePosition();
|
|
3282
3336
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3305,7 +3359,7 @@ var oi = (
|
|
|
3305
3359
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3306
3360
|
}
|
|
3307
3361
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3308
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3362
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3309
3363
|
this.bumpTo(i);
|
|
3310
3364
|
var o = this.clonePosition(), s = v(t, o);
|
|
3311
3365
|
return { value: n, location: s };
|
|
@@ -3324,7 +3378,7 @@ var oi = (
|
|
|
3324
3378
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3325
3379
|
if (c.err)
|
|
3326
3380
|
return c;
|
|
3327
|
-
var f =
|
|
3381
|
+
var f = ai(c.val);
|
|
3328
3382
|
if (f.length === 0)
|
|
3329
3383
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3330
3384
|
var m = v(h, this.clonePosition());
|
|
@@ -3334,8 +3388,8 @@ var oi = (
|
|
|
3334
3388
|
if (d.err)
|
|
3335
3389
|
return d;
|
|
3336
3390
|
var p = v(i, this.clonePosition());
|
|
3337
|
-
if (u &&
|
|
3338
|
-
var w =
|
|
3391
|
+
if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
|
|
3392
|
+
var w = si(u.style.slice(2));
|
|
3339
3393
|
if (a === "number") {
|
|
3340
3394
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3341
3395
|
return c.err ? c : {
|
|
@@ -3345,13 +3399,13 @@ var oi = (
|
|
|
3345
3399
|
} else {
|
|
3346
3400
|
if (w.length === 0)
|
|
3347
3401
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3348
|
-
var
|
|
3349
|
-
this.locale && (
|
|
3402
|
+
var M = w;
|
|
3403
|
+
this.locale && (M = Wn(w, this.locale));
|
|
3350
3404
|
var f = {
|
|
3351
|
-
type:
|
|
3352
|
-
pattern:
|
|
3405
|
+
type: W.dateTime,
|
|
3406
|
+
pattern: M,
|
|
3353
3407
|
location: u.styleLocation,
|
|
3354
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3408
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(M) : {}
|
|
3355
3409
|
}, C = a === "date" ? S.date : S.time;
|
|
3356
3410
|
return {
|
|
3357
3411
|
val: { type: C, value: n, location: p, style: f },
|
|
@@ -3397,7 +3451,7 @@ var oi = (
|
|
|
3397
3451
|
val: {
|
|
3398
3452
|
type: S.select,
|
|
3399
3453
|
value: n,
|
|
3400
|
-
options:
|
|
3454
|
+
options: St(x.val),
|
|
3401
3455
|
location: P
|
|
3402
3456
|
},
|
|
3403
3457
|
err: null
|
|
@@ -3405,7 +3459,7 @@ var oi = (
|
|
|
3405
3459
|
val: {
|
|
3406
3460
|
type: S.plural,
|
|
3407
3461
|
value: n,
|
|
3408
|
-
options:
|
|
3462
|
+
options: St(x.val),
|
|
3409
3463
|
offset: E,
|
|
3410
3464
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3411
3465
|
location: P
|
|
@@ -3456,16 +3510,16 @@ var oi = (
|
|
|
3456
3510
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3457
3511
|
var n = [];
|
|
3458
3512
|
try {
|
|
3459
|
-
n =
|
|
3513
|
+
n = jn(t);
|
|
3460
3514
|
} catch (i) {
|
|
3461
3515
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3462
3516
|
}
|
|
3463
3517
|
return {
|
|
3464
3518
|
val: {
|
|
3465
|
-
type:
|
|
3519
|
+
type: W.number,
|
|
3466
3520
|
tokens: n,
|
|
3467
3521
|
location: r,
|
|
3468
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3522
|
+
parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
|
|
3469
3523
|
},
|
|
3470
3524
|
err: null
|
|
3471
3525
|
};
|
|
@@ -3513,7 +3567,7 @@ var oi = (
|
|
|
3513
3567
|
break;
|
|
3514
3568
|
}
|
|
3515
3569
|
var l = v(i, this.clonePosition());
|
|
3516
|
-
return o ? (s *= n,
|
|
3570
|
+
return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3517
3571
|
}, e.prototype.offset = function() {
|
|
3518
3572
|
return this.position.offset;
|
|
3519
3573
|
}, e.prototype.isEOF = function() {
|
|
@@ -3528,7 +3582,7 @@ var oi = (
|
|
|
3528
3582
|
var t = this.position.offset;
|
|
3529
3583
|
if (t >= this.message.length)
|
|
3530
3584
|
throw Error("out of bound");
|
|
3531
|
-
var r =
|
|
3585
|
+
var r = ur(this.message, t);
|
|
3532
3586
|
if (r === void 0)
|
|
3533
3587
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3534
3588
|
return r;
|
|
@@ -3547,7 +3601,7 @@ var oi = (
|
|
|
3547
3601
|
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);
|
|
3548
3602
|
}
|
|
3549
3603
|
}, e.prototype.bumpIf = function(t) {
|
|
3550
|
-
if (
|
|
3604
|
+
if (Et(this.message, t, this.offset())) {
|
|
3551
3605
|
for (var r = 0; r < t.length; r++)
|
|
3552
3606
|
this.bump();
|
|
3553
3607
|
return !0;
|
|
@@ -3569,7 +3623,7 @@ var oi = (
|
|
|
3569
3623
|
break;
|
|
3570
3624
|
}
|
|
3571
3625
|
}, e.prototype.bumpSpace = function() {
|
|
3572
|
-
for (; !this.isEOF() &&
|
|
3626
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3573
3627
|
this.bump();
|
|
3574
3628
|
}, e.prototype.peek = function() {
|
|
3575
3629
|
if (this.isEOF())
|
|
@@ -3582,34 +3636,35 @@ var oi = (
|
|
|
3582
3636
|
function We(e) {
|
|
3583
3637
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3584
3638
|
}
|
|
3585
|
-
function
|
|
3639
|
+
function li(e) {
|
|
3586
3640
|
return We(e) || e === 47;
|
|
3587
3641
|
}
|
|
3588
|
-
function
|
|
3642
|
+
function hi(e) {
|
|
3589
3643
|
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;
|
|
3590
3644
|
}
|
|
3591
|
-
function
|
|
3645
|
+
function hr(e) {
|
|
3592
3646
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3593
3647
|
}
|
|
3594
|
-
function
|
|
3648
|
+
function ci(e) {
|
|
3595
3649
|
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;
|
|
3596
3650
|
}
|
|
3597
|
-
function
|
|
3651
|
+
function Ze(e) {
|
|
3598
3652
|
e.forEach(function(t) {
|
|
3599
|
-
if (delete t.location,
|
|
3653
|
+
if (delete t.location, er(t) || tr(t))
|
|
3600
3654
|
for (var r in t.options)
|
|
3601
|
-
delete t.options[r].location,
|
|
3602
|
-
else
|
|
3655
|
+
delete t.options[r].location, Ze(t.options[r].value);
|
|
3656
|
+
else
|
|
3657
|
+
Yt(t) && nr(t.style) || (qt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
|
|
3603
3658
|
});
|
|
3604
3659
|
}
|
|
3605
|
-
function
|
|
3660
|
+
function fi(e, t) {
|
|
3606
3661
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3607
|
-
var r = new
|
|
3662
|
+
var r = new ui(e, t).parse();
|
|
3608
3663
|
if (r.err) {
|
|
3609
3664
|
var n = SyntaxError(b[r.err.kind]);
|
|
3610
3665
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3611
3666
|
}
|
|
3612
|
-
return t != null && t.captureLocation ||
|
|
3667
|
+
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
3613
3668
|
}
|
|
3614
3669
|
var Z;
|
|
3615
3670
|
(function(e) {
|
|
@@ -3627,7 +3682,7 @@ var Ee = (
|
|
|
3627
3682
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3628
3683
|
}, t;
|
|
3629
3684
|
}(Error)
|
|
3630
|
-
),
|
|
3685
|
+
), Tt = (
|
|
3631
3686
|
/** @class */
|
|
3632
3687
|
function(e) {
|
|
3633
3688
|
$(t, e);
|
|
@@ -3636,7 +3691,7 @@ var Ee = (
|
|
|
3636
3691
|
}
|
|
3637
3692
|
return t;
|
|
3638
3693
|
}(Ee)
|
|
3639
|
-
),
|
|
3694
|
+
), mi = (
|
|
3640
3695
|
/** @class */
|
|
3641
3696
|
function(e) {
|
|
3642
3697
|
$(t, e);
|
|
@@ -3645,7 +3700,7 @@ var Ee = (
|
|
|
3645
3700
|
}
|
|
3646
3701
|
return t;
|
|
3647
3702
|
}(Ee)
|
|
3648
|
-
),
|
|
3703
|
+
), di = (
|
|
3649
3704
|
/** @class */
|
|
3650
3705
|
function(e) {
|
|
3651
3706
|
$(t, e);
|
|
@@ -3658,17 +3713,17 @@ var Ee = (
|
|
|
3658
3713
|
(function(e) {
|
|
3659
3714
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3660
3715
|
})(A || (A = {}));
|
|
3661
|
-
function
|
|
3716
|
+
function pi(e) {
|
|
3662
3717
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3663
3718
|
var n = t[t.length - 1];
|
|
3664
3719
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3665
3720
|
}, []);
|
|
3666
3721
|
}
|
|
3667
|
-
function
|
|
3722
|
+
function bi(e) {
|
|
3668
3723
|
return typeof e == "function";
|
|
3669
3724
|
}
|
|
3670
3725
|
function pe(e, t, r, n, i, o, s) {
|
|
3671
|
-
if (e.length === 1 &&
|
|
3726
|
+
if (e.length === 1 && vt(e[0]))
|
|
3672
3727
|
return [
|
|
3673
3728
|
{
|
|
3674
3729
|
type: A.literal,
|
|
@@ -3677,14 +3732,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3677
3732
|
];
|
|
3678
3733
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3679
3734
|
var h = u[l];
|
|
3680
|
-
if (
|
|
3735
|
+
if (vt(h)) {
|
|
3681
3736
|
a.push({
|
|
3682
3737
|
type: A.literal,
|
|
3683
3738
|
value: h.value
|
|
3684
3739
|
});
|
|
3685
3740
|
continue;
|
|
3686
3741
|
}
|
|
3687
|
-
if (
|
|
3742
|
+
if (Gn(h)) {
|
|
3688
3743
|
typeof o == "number" && a.push({
|
|
3689
3744
|
type: A.literal,
|
|
3690
3745
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3693,44 +3748,44 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3693
3748
|
}
|
|
3694
3749
|
var c = h.value;
|
|
3695
3750
|
if (!(i && c in i))
|
|
3696
|
-
throw new
|
|
3751
|
+
throw new di(c, s);
|
|
3697
3752
|
var f = i[c];
|
|
3698
|
-
if (
|
|
3753
|
+
if ($n(h)) {
|
|
3699
3754
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3700
3755
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3701
3756
|
value: f
|
|
3702
3757
|
});
|
|
3703
3758
|
continue;
|
|
3704
3759
|
}
|
|
3705
|
-
if (
|
|
3706
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3760
|
+
if (qt(h)) {
|
|
3761
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3707
3762
|
a.push({
|
|
3708
3763
|
type: A.literal,
|
|
3709
3764
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3710
3765
|
});
|
|
3711
3766
|
continue;
|
|
3712
3767
|
}
|
|
3713
|
-
if (
|
|
3714
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3768
|
+
if (Kt(h)) {
|
|
3769
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3715
3770
|
a.push({
|
|
3716
3771
|
type: A.literal,
|
|
3717
3772
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3718
3773
|
});
|
|
3719
3774
|
continue;
|
|
3720
3775
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3776
|
+
if (Yt(h)) {
|
|
3777
|
+
var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3723
3778
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3724
3779
|
type: A.literal,
|
|
3725
3780
|
value: r.getNumberFormat(t, m).format(f)
|
|
3726
3781
|
});
|
|
3727
3782
|
continue;
|
|
3728
3783
|
}
|
|
3729
|
-
if (
|
|
3784
|
+
if (rr(h)) {
|
|
3730
3785
|
var d = h.children, p = h.value, w = i[p];
|
|
3731
|
-
if (!
|
|
3732
|
-
throw new
|
|
3733
|
-
var
|
|
3786
|
+
if (!bi(w))
|
|
3787
|
+
throw new mi(p, "function", s);
|
|
3788
|
+
var M = pe(d, t, r, n, i, o), C = w(M.map(function(E) {
|
|
3734
3789
|
return E.value;
|
|
3735
3790
|
}));
|
|
3736
3791
|
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
|
|
@@ -3740,14 +3795,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3740
3795
|
};
|
|
3741
3796
|
}));
|
|
3742
3797
|
}
|
|
3743
|
-
if (
|
|
3798
|
+
if (er(h)) {
|
|
3744
3799
|
var T = h.options[f] || h.options.other;
|
|
3745
3800
|
if (!T)
|
|
3746
|
-
throw new
|
|
3801
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3747
3802
|
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3748
3803
|
continue;
|
|
3749
3804
|
}
|
|
3750
|
-
if (
|
|
3805
|
+
if (tr(h)) {
|
|
3751
3806
|
var T = h.options["=".concat(f)];
|
|
3752
3807
|
if (!T) {
|
|
3753
3808
|
if (!Intl.PluralRules)
|
|
@@ -3758,24 +3813,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3758
3813
|
T = h.options[_] || h.options.other;
|
|
3759
3814
|
}
|
|
3760
3815
|
if (!T)
|
|
3761
|
-
throw new
|
|
3816
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3762
3817
|
a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3763
3818
|
continue;
|
|
3764
3819
|
}
|
|
3765
3820
|
}
|
|
3766
|
-
return
|
|
3821
|
+
return pi(a);
|
|
3767
3822
|
}
|
|
3768
|
-
function
|
|
3823
|
+
function gi(e, t) {
|
|
3769
3824
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3770
3825
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3771
3826
|
}, {})) : e;
|
|
3772
3827
|
}
|
|
3773
|
-
function
|
|
3828
|
+
function vi(e, t) {
|
|
3774
3829
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3775
|
-
return r[n] =
|
|
3830
|
+
return r[n] = gi(e[n], t[n]), r;
|
|
3776
3831
|
}, y({}, e)) : e;
|
|
3777
3832
|
}
|
|
3778
|
-
function
|
|
3833
|
+
function Ie(e) {
|
|
3779
3834
|
return {
|
|
3780
3835
|
create: function() {
|
|
3781
3836
|
return {
|
|
@@ -3789,39 +3844,39 @@ function Oe(e) {
|
|
|
3789
3844
|
}
|
|
3790
3845
|
};
|
|
3791
3846
|
}
|
|
3792
|
-
function
|
|
3847
|
+
function yi(e) {
|
|
3793
3848
|
return e === void 0 && (e = {
|
|
3794
3849
|
number: {},
|
|
3795
3850
|
dateTime: {},
|
|
3796
3851
|
pluralRules: {}
|
|
3797
3852
|
}), {
|
|
3798
|
-
getNumberFormat:
|
|
3853
|
+
getNumberFormat: Ce(function() {
|
|
3799
3854
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3800
3855
|
r[n] = arguments[n];
|
|
3801
3856
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3802
3857
|
}, {
|
|
3803
|
-
cache:
|
|
3804
|
-
strategy:
|
|
3858
|
+
cache: Ie(e.number),
|
|
3859
|
+
strategy: Pe.variadic
|
|
3805
3860
|
}),
|
|
3806
|
-
getDateTimeFormat:
|
|
3861
|
+
getDateTimeFormat: Ce(function() {
|
|
3807
3862
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3808
3863
|
r[n] = arguments[n];
|
|
3809
3864
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3810
3865
|
}, {
|
|
3811
|
-
cache:
|
|
3812
|
-
strategy:
|
|
3866
|
+
cache: Ie(e.dateTime),
|
|
3867
|
+
strategy: Pe.variadic
|
|
3813
3868
|
}),
|
|
3814
|
-
getPluralRules:
|
|
3869
|
+
getPluralRules: Ce(function() {
|
|
3815
3870
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3816
3871
|
r[n] = arguments[n];
|
|
3817
3872
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3818
3873
|
}, {
|
|
3819
|
-
cache:
|
|
3820
|
-
strategy:
|
|
3874
|
+
cache: Ie(e.pluralRules),
|
|
3875
|
+
strategy: Pe.variadic
|
|
3821
3876
|
})
|
|
3822
3877
|
};
|
|
3823
3878
|
}
|
|
3824
|
-
var
|
|
3879
|
+
var xi = (
|
|
3825
3880
|
/** @class */
|
|
3826
3881
|
function() {
|
|
3827
3882
|
function e(t, r, n, i) {
|
|
@@ -3853,13 +3908,13 @@ var gi = (
|
|
|
3853
3908
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3854
3909
|
var s = i || {};
|
|
3855
3910
|
s.formatters;
|
|
3856
|
-
var a =
|
|
3911
|
+
var a = qr(s, ["formatters"]);
|
|
3857
3912
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3858
3913
|
} else
|
|
3859
3914
|
this.ast = t;
|
|
3860
3915
|
if (!Array.isArray(this.ast))
|
|
3861
3916
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3862
|
-
this.formats =
|
|
3917
|
+
this.formats = vi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
|
|
3863
3918
|
}
|
|
3864
3919
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3865
3920
|
get: function() {
|
|
@@ -3872,7 +3927,7 @@ var gi = (
|
|
|
3872
3927
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3873
3928
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3874
3929
|
}
|
|
3875
|
-
}, e.__parse =
|
|
3930
|
+
}, e.__parse = fi, e.formats = {
|
|
3876
3931
|
number: {
|
|
3877
3932
|
integer: {
|
|
3878
3933
|
maximumFractionDigits: 0
|
|
@@ -3933,7 +3988,7 @@ var gi = (
|
|
|
3933
3988
|
}, e;
|
|
3934
3989
|
}()
|
|
3935
3990
|
);
|
|
3936
|
-
function
|
|
3991
|
+
function _i(e, t) {
|
|
3937
3992
|
if (t == null)
|
|
3938
3993
|
return;
|
|
3939
3994
|
if (t in e)
|
|
@@ -3954,92 +4009,92 @@ function vi(e, t) {
|
|
|
3954
4009
|
n = void 0;
|
|
3955
4010
|
return n;
|
|
3956
4011
|
}
|
|
3957
|
-
const G = {},
|
|
4012
|
+
const G = {}, Ei = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), cr = (e, t) => {
|
|
3958
4013
|
if (t == null)
|
|
3959
4014
|
return;
|
|
3960
4015
|
if (t in G && e in G[t])
|
|
3961
4016
|
return G[t][e];
|
|
3962
4017
|
const r = Se(t);
|
|
3963
4018
|
for (let n = 0; n < r.length; n++) {
|
|
3964
|
-
const i = r[n], o =
|
|
4019
|
+
const i = r[n], o = wi(i, e);
|
|
3965
4020
|
if (o)
|
|
3966
|
-
return
|
|
4021
|
+
return Ei(e, t, o);
|
|
3967
4022
|
}
|
|
3968
4023
|
};
|
|
3969
|
-
let
|
|
4024
|
+
let et;
|
|
3970
4025
|
const ue = _e({});
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
4026
|
+
function Si(e) {
|
|
4027
|
+
return et[e] || null;
|
|
3973
4028
|
}
|
|
3974
|
-
function
|
|
3975
|
-
return e in
|
|
4029
|
+
function fr(e) {
|
|
4030
|
+
return e in et;
|
|
3976
4031
|
}
|
|
3977
|
-
function
|
|
3978
|
-
if (!
|
|
4032
|
+
function wi(e, t) {
|
|
4033
|
+
if (!fr(e))
|
|
3979
4034
|
return null;
|
|
3980
|
-
const r =
|
|
3981
|
-
return
|
|
4035
|
+
const r = Si(e);
|
|
4036
|
+
return _i(r, t);
|
|
3982
4037
|
}
|
|
3983
|
-
function
|
|
4038
|
+
function Ti(e) {
|
|
3984
4039
|
if (e == null)
|
|
3985
4040
|
return;
|
|
3986
4041
|
const t = Se(e);
|
|
3987
4042
|
for (let r = 0; r < t.length; r++) {
|
|
3988
4043
|
const n = t[r];
|
|
3989
|
-
if (
|
|
4044
|
+
if (fr(n))
|
|
3990
4045
|
return n;
|
|
3991
4046
|
}
|
|
3992
4047
|
}
|
|
3993
|
-
function
|
|
3994
|
-
delete G[e], ue.update((r) => (r[e] =
|
|
4048
|
+
function mr(e, ...t) {
|
|
4049
|
+
delete G[e], ue.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
|
|
3995
4050
|
}
|
|
3996
4051
|
q(
|
|
3997
4052
|
[ue],
|
|
3998
4053
|
([e]) => Object.keys(e)
|
|
3999
4054
|
);
|
|
4000
|
-
ue.subscribe((e) =>
|
|
4055
|
+
ue.subscribe((e) => et = e);
|
|
4001
4056
|
const be = {};
|
|
4002
|
-
function
|
|
4057
|
+
function Hi(e, t) {
|
|
4003
4058
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4004
4059
|
}
|
|
4005
|
-
function
|
|
4060
|
+
function dr(e) {
|
|
4006
4061
|
return be[e];
|
|
4007
4062
|
}
|
|
4008
|
-
function
|
|
4063
|
+
function Bi(e) {
|
|
4009
4064
|
return Se(e).map((t) => {
|
|
4010
|
-
const r =
|
|
4065
|
+
const r = dr(t);
|
|
4011
4066
|
return [t, r ? [...r] : []];
|
|
4012
4067
|
}).filter(([, t]) => t.length > 0);
|
|
4013
4068
|
}
|
|
4014
|
-
function
|
|
4069
|
+
function Qe(e) {
|
|
4015
4070
|
return e == null ? !1 : Se(e).some(
|
|
4016
4071
|
(t) => {
|
|
4017
4072
|
var r;
|
|
4018
|
-
return (r =
|
|
4073
|
+
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4019
4074
|
}
|
|
4020
4075
|
);
|
|
4021
4076
|
}
|
|
4022
|
-
function
|
|
4077
|
+
function Ai(e, t) {
|
|
4023
4078
|
return Promise.all(
|
|
4024
|
-
t.map((n) => (
|
|
4025
|
-
).then((n) =>
|
|
4079
|
+
t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
|
|
4080
|
+
).then((n) => mr(e, ...n));
|
|
4026
4081
|
}
|
|
4027
4082
|
const te = {};
|
|
4028
|
-
function
|
|
4029
|
-
if (!
|
|
4083
|
+
function pr(e) {
|
|
4084
|
+
if (!Qe(e))
|
|
4030
4085
|
return e in te ? te[e] : Promise.resolve();
|
|
4031
|
-
const t =
|
|
4086
|
+
const t = Bi(e);
|
|
4032
4087
|
return te[e] = Promise.all(
|
|
4033
4088
|
t.map(
|
|
4034
|
-
([r, n]) =>
|
|
4089
|
+
([r, n]) => Ai(r, n)
|
|
4035
4090
|
)
|
|
4036
4091
|
).then(() => {
|
|
4037
|
-
if (
|
|
4038
|
-
return
|
|
4092
|
+
if (Qe(e))
|
|
4093
|
+
return pr(e);
|
|
4039
4094
|
delete te[e];
|
|
4040
4095
|
}), te[e];
|
|
4041
4096
|
}
|
|
4042
|
-
const
|
|
4097
|
+
const Ci = {
|
|
4043
4098
|
number: {
|
|
4044
4099
|
scientific: { notation: "scientific" },
|
|
4045
4100
|
engineering: { notation: "engineering" },
|
|
@@ -4068,57 +4123,57 @@ const Hi = {
|
|
|
4068
4123
|
timeZoneName: "short"
|
|
4069
4124
|
}
|
|
4070
4125
|
}
|
|
4071
|
-
},
|
|
4126
|
+
}, Pi = {
|
|
4072
4127
|
fallbackLocale: null,
|
|
4073
4128
|
loadingDelay: 200,
|
|
4074
|
-
formats:
|
|
4129
|
+
formats: Ci,
|
|
4075
4130
|
warnOnMissingMessages: !0,
|
|
4076
4131
|
handleMissingMessage: void 0,
|
|
4077
4132
|
ignoreTag: !0
|
|
4078
|
-
},
|
|
4133
|
+
}, Oi = Pi;
|
|
4079
4134
|
function Q() {
|
|
4080
|
-
return
|
|
4135
|
+
return Oi;
|
|
4081
4136
|
}
|
|
4082
|
-
const
|
|
4083
|
-
var
|
|
4137
|
+
const Me = _e(!1);
|
|
4138
|
+
var Ii = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
|
|
4084
4139
|
for (var r in t || (t = {}))
|
|
4085
|
-
|
|
4086
|
-
if (
|
|
4087
|
-
for (var r of
|
|
4088
|
-
|
|
4140
|
+
Li.call(t, r) && Bt(e, r, t[r]);
|
|
4141
|
+
if (Ht)
|
|
4142
|
+
for (var r of Ht(t))
|
|
4143
|
+
Ri.call(t, r) && Bt(e, r, t[r]);
|
|
4089
4144
|
return e;
|
|
4090
|
-
},
|
|
4091
|
-
let
|
|
4145
|
+
}, Gi = (e, t) => Mi(e, Ni(t));
|
|
4146
|
+
let Je;
|
|
4092
4147
|
const ve = _e(null);
|
|
4093
|
-
function
|
|
4148
|
+
function At(e) {
|
|
4094
4149
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4095
4150
|
}
|
|
4096
4151
|
function Se(e, t = Q().fallbackLocale) {
|
|
4097
|
-
const r =
|
|
4098
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4152
|
+
const r = At(e);
|
|
4153
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
|
|
4099
4154
|
}
|
|
4100
4155
|
function U() {
|
|
4101
|
-
return
|
|
4156
|
+
return Je != null ? Je : void 0;
|
|
4102
4157
|
}
|
|
4103
4158
|
ve.subscribe((e) => {
|
|
4104
|
-
|
|
4159
|
+
Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4105
4160
|
});
|
|
4106
|
-
const
|
|
4107
|
-
if (e &&
|
|
4161
|
+
const Ui = (e) => {
|
|
4162
|
+
if (e && Ti(e) && Qe(e)) {
|
|
4108
4163
|
const { loadingDelay: t } = Q();
|
|
4109
4164
|
let r;
|
|
4110
4165
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4111
|
-
() =>
|
|
4166
|
+
() => Me.set(!0),
|
|
4112
4167
|
t
|
|
4113
|
-
) :
|
|
4168
|
+
) : Me.set(!0), pr(e).then(() => {
|
|
4114
4169
|
ve.set(e);
|
|
4115
4170
|
}).finally(() => {
|
|
4116
|
-
clearTimeout(r),
|
|
4171
|
+
clearTimeout(r), Me.set(!1);
|
|
4117
4172
|
});
|
|
4118
4173
|
}
|
|
4119
4174
|
return ve.set(e);
|
|
4120
|
-
}, K =
|
|
4121
|
-
set:
|
|
4175
|
+
}, K = Gi($i({}, ve), {
|
|
4176
|
+
set: Ui
|
|
4122
4177
|
}), we = (e) => {
|
|
4123
4178
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4124
4179
|
return (n) => {
|
|
@@ -4126,20 +4181,20 @@ const Ri = (e) => {
|
|
|
4126
4181
|
return i in t ? t[i] : t[i] = e(n);
|
|
4127
4182
|
};
|
|
4128
4183
|
};
|
|
4129
|
-
var
|
|
4184
|
+
var Di = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
4130
4185
|
for (var r in t || (t = {}))
|
|
4131
|
-
|
|
4186
|
+
br.call(t, r) && Ct(e, r, t[r]);
|
|
4132
4187
|
if (ye)
|
|
4133
4188
|
for (var r of ye(t))
|
|
4134
|
-
|
|
4189
|
+
gr.call(t, r) && Ct(e, r, t[r]);
|
|
4135
4190
|
return e;
|
|
4136
4191
|
}, ee = (e, t) => {
|
|
4137
4192
|
var r = {};
|
|
4138
4193
|
for (var n in e)
|
|
4139
|
-
|
|
4194
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4140
4195
|
if (e != null && ye)
|
|
4141
4196
|
for (var n of ye(e))
|
|
4142
|
-
t.indexOf(n) < 0 &&
|
|
4197
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4143
4198
|
return r;
|
|
4144
4199
|
};
|
|
4145
4200
|
const se = (e, t) => {
|
|
@@ -4147,21 +4202,21 @@ const se = (e, t) => {
|
|
|
4147
4202
|
if (e in r && t in r[e])
|
|
4148
4203
|
return r[e][t];
|
|
4149
4204
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4150
|
-
},
|
|
4205
|
+
}, Fi = we(
|
|
4151
4206
|
(e) => {
|
|
4152
4207
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4153
4208
|
if (r == null)
|
|
4154
4209
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4155
4210
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4156
4211
|
}
|
|
4157
|
-
),
|
|
4212
|
+
), ji = we(
|
|
4158
4213
|
(e) => {
|
|
4159
4214
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4160
4215
|
if (r == null)
|
|
4161
4216
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4162
4217
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4163
4218
|
}
|
|
4164
|
-
),
|
|
4219
|
+
), ki = we(
|
|
4165
4220
|
(e) => {
|
|
4166
4221
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4167
4222
|
if (r == null)
|
|
@@ -4170,33 +4225,33 @@ const se = (e, t) => {
|
|
|
4170
4225
|
);
|
|
4171
4226
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4172
4227
|
}
|
|
4173
|
-
),
|
|
4228
|
+
), Vi = (e = {}) => {
|
|
4174
4229
|
var t = e, {
|
|
4175
4230
|
locale: r = U()
|
|
4176
4231
|
} = t, n = ee(t, [
|
|
4177
4232
|
"locale"
|
|
4178
4233
|
]);
|
|
4179
|
-
return
|
|
4180
|
-
},
|
|
4234
|
+
return Fi(tt({ locale: r }, n));
|
|
4235
|
+
}, Xi = (e = {}) => {
|
|
4181
4236
|
var t = e, {
|
|
4182
4237
|
locale: r = U()
|
|
4183
4238
|
} = t, n = ee(t, [
|
|
4184
4239
|
"locale"
|
|
4185
4240
|
]);
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4241
|
+
return ji(tt({ locale: r }, n));
|
|
4242
|
+
}, zi = (e = {}) => {
|
|
4188
4243
|
var t = e, {
|
|
4189
4244
|
locale: r = U()
|
|
4190
4245
|
} = t, n = ee(t, [
|
|
4191
4246
|
"locale"
|
|
4192
4247
|
]);
|
|
4193
|
-
return
|
|
4194
|
-
},
|
|
4248
|
+
return ki(tt({ locale: r }, n));
|
|
4249
|
+
}, Wi = we(
|
|
4195
4250
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4196
|
-
(e, t = U()) => new
|
|
4251
|
+
(e, t = U()) => new xi(e, t, Q().formats, {
|
|
4197
4252
|
ignoreTag: Q().ignoreTag
|
|
4198
4253
|
})
|
|
4199
|
-
),
|
|
4254
|
+
), Zi = (e, t = {}) => {
|
|
4200
4255
|
var r, n, i, o;
|
|
4201
4256
|
let s = t;
|
|
4202
4257
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4209,7 +4264,7 @@ const se = (e, t) => {
|
|
|
4209
4264
|
throw new Error(
|
|
4210
4265
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4211
4266
|
);
|
|
4212
|
-
let h =
|
|
4267
|
+
let h = cr(e, l);
|
|
4213
4268
|
if (!h)
|
|
4214
4269
|
h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4215
4270
|
else if (typeof h != "string")
|
|
@@ -4220,7 +4275,7 @@ const se = (e, t) => {
|
|
|
4220
4275
|
return h;
|
|
4221
4276
|
let c = h;
|
|
4222
4277
|
try {
|
|
4223
|
-
c =
|
|
4278
|
+
c = Wi(h, l).format(a);
|
|
4224
4279
|
} catch (f) {
|
|
4225
4280
|
f instanceof Error && console.warn(
|
|
4226
4281
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4228,20 +4283,20 @@ const se = (e, t) => {
|
|
|
4228
4283
|
);
|
|
4229
4284
|
}
|
|
4230
4285
|
return c;
|
|
4231
|
-
},
|
|
4232
|
-
q([K], () =>
|
|
4233
|
-
q([K], () =>
|
|
4234
|
-
q([K], () =>
|
|
4235
|
-
q([K, ue], () =>
|
|
4236
|
-
window.emWidgets = { topic:
|
|
4237
|
-
const
|
|
4238
|
-
function
|
|
4239
|
-
|
|
4240
|
-
}
|
|
4241
|
-
function
|
|
4286
|
+
}, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Xi(t).format(e), Yi = (e, t) => Vi(t).format(e), qi = (e, t = U()) => cr(e, t), Ki = q([K, ue], () => Zi);
|
|
4287
|
+
q([K], () => Qi);
|
|
4288
|
+
q([K], () => Ji);
|
|
4289
|
+
q([K], () => Yi);
|
|
4290
|
+
q([K, ue], () => qi);
|
|
4291
|
+
window.emWidgets = { topic: mn };
|
|
4292
|
+
const eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4293
|
+
function Pt(e, t) {
|
|
4294
|
+
mr(e, t);
|
|
4295
|
+
}
|
|
4296
|
+
function to(e) {
|
|
4242
4297
|
K.set(e);
|
|
4243
4298
|
}
|
|
4244
|
-
const
|
|
4299
|
+
const Ot = {
|
|
4245
4300
|
en: {
|
|
4246
4301
|
cancel: "Cancel",
|
|
4247
4302
|
confirm: "Confirm"
|
|
@@ -4287,13 +4342,13 @@ const At = {
|
|
|
4287
4342
|
confirm: "Confirm"
|
|
4288
4343
|
}
|
|
4289
4344
|
};
|
|
4290
|
-
function
|
|
4345
|
+
function ro(e, t) {
|
|
4291
4346
|
if (e) {
|
|
4292
4347
|
const r = document.createElement("style");
|
|
4293
4348
|
r.innerHTML = t, e.appendChild(r);
|
|
4294
4349
|
}
|
|
4295
4350
|
}
|
|
4296
|
-
function
|
|
4351
|
+
function no(e, t) {
|
|
4297
4352
|
const r = new URL(t);
|
|
4298
4353
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4299
4354
|
const i = document.createElement("style");
|
|
@@ -4302,7 +4357,7 @@ function eo(e, t) {
|
|
|
4302
4357
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4303
4358
|
});
|
|
4304
4359
|
}
|
|
4305
|
-
function
|
|
4360
|
+
function io(e, t, r) {
|
|
4306
4361
|
if (window.emMessageBus) {
|
|
4307
4362
|
const n = document.createElement("style");
|
|
4308
4363
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4310,15 +4365,15 @@ function to(e, t, r) {
|
|
|
4310
4365
|
});
|
|
4311
4366
|
}
|
|
4312
4367
|
}
|
|
4313
|
-
function
|
|
4314
|
-
|
|
4368
|
+
function oo(e) {
|
|
4369
|
+
Ir(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::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, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4315
4370
|
}
|
|
4316
|
-
const
|
|
4317
|
-
function
|
|
4371
|
+
const so = (e) => ({}), It = (e) => ({});
|
|
4372
|
+
function ao(e) {
|
|
4318
4373
|
let t, r;
|
|
4319
4374
|
return {
|
|
4320
4375
|
c() {
|
|
4321
|
-
t =
|
|
4376
|
+
t = ut("svg"), r = ut("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4322
4377
|
},
|
|
4323
4378
|
m(n, i) {
|
|
4324
4379
|
ae(n, t, i), B(t, r);
|
|
@@ -4329,11 +4384,11 @@ function io(e) {
|
|
|
4329
4384
|
}
|
|
4330
4385
|
};
|
|
4331
4386
|
}
|
|
4332
|
-
function
|
|
4387
|
+
function Mt(e) {
|
|
4333
4388
|
let t, r, n;
|
|
4334
4389
|
return {
|
|
4335
4390
|
c() {
|
|
4336
|
-
t =
|
|
4391
|
+
t = N("div"), r = N("h2"), n = ne(
|
|
4337
4392
|
/*modaltitle*/
|
|
4338
4393
|
e[1]
|
|
4339
4394
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
@@ -4354,14 +4409,14 @@ function Pt(e) {
|
|
|
4354
4409
|
}
|
|
4355
4410
|
};
|
|
4356
4411
|
}
|
|
4357
|
-
function
|
|
4412
|
+
function Nt(e) {
|
|
4358
4413
|
let t, r = (
|
|
4359
4414
|
/*$_*/
|
|
4360
4415
|
e[4]("cancel") + ""
|
|
4361
4416
|
), n, i, o;
|
|
4362
4417
|
return {
|
|
4363
4418
|
c() {
|
|
4364
|
-
t =
|
|
4419
|
+
t = N("button"), n = ne(r), H(t, "class", "GeneralCancelButton");
|
|
4365
4420
|
},
|
|
4366
4421
|
m(s, a) {
|
|
4367
4422
|
ae(s, t, a), B(t, n), i || (o = Ne(
|
|
@@ -4381,34 +4436,34 @@ function Ot(e) {
|
|
|
4381
4436
|
}
|
|
4382
4437
|
};
|
|
4383
4438
|
}
|
|
4384
|
-
function
|
|
4439
|
+
function uo(e) {
|
|
4385
4440
|
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4386
4441
|
/*$_*/
|
|
4387
4442
|
e[4]("confirm") + ""
|
|
4388
4443
|
), m, d, p, w;
|
|
4389
|
-
const
|
|
4444
|
+
const M = (
|
|
4390
4445
|
/*#slots*/
|
|
4391
4446
|
e[16].close
|
|
4392
|
-
), C =
|
|
4393
|
-
|
|
4447
|
+
), C = Ar(
|
|
4448
|
+
M,
|
|
4394
4449
|
e,
|
|
4395
4450
|
/*$$scope*/
|
|
4396
4451
|
e[15],
|
|
4397
|
-
|
|
4398
|
-
), T = C ||
|
|
4452
|
+
It
|
|
4453
|
+
), T = C || ao();
|
|
4399
4454
|
let _ = (
|
|
4400
4455
|
/*modaltitle*/
|
|
4401
|
-
e[1] &&
|
|
4456
|
+
e[1] && Mt(e)
|
|
4402
4457
|
), E = (
|
|
4403
4458
|
/*hascancelbutton*/
|
|
4404
|
-
e[2] &&
|
|
4459
|
+
e[2] && Nt(e)
|
|
4405
4460
|
);
|
|
4406
4461
|
return {
|
|
4407
4462
|
c() {
|
|
4408
|
-
t =
|
|
4463
|
+
t = N("div"), r = N("div"), n = N("span"), T && T.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = ne(
|
|
4409
4464
|
/*modaltext*/
|
|
4410
4465
|
e[0]
|
|
4411
|
-
), l = le(), u =
|
|
4466
|
+
), l = le(), u = N("div"), E && E.c(), h = le(), c = N("button"), m = ne(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4412
4467
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4413
4468
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4414
4469
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
@@ -4431,73 +4486,73 @@ function oo(e) {
|
|
|
4431
4486
|
},
|
|
4432
4487
|
p(x, [P]) {
|
|
4433
4488
|
C && C.p && (!d || P & /*$$scope*/
|
|
4434
|
-
32768) &&
|
|
4489
|
+
32768) && Pr(
|
|
4435
4490
|
C,
|
|
4436
|
-
|
|
4491
|
+
M,
|
|
4437
4492
|
x,
|
|
4438
4493
|
/*$$scope*/
|
|
4439
4494
|
x[15],
|
|
4440
|
-
d ?
|
|
4441
|
-
|
|
4495
|
+
d ? Cr(
|
|
4496
|
+
M,
|
|
4442
4497
|
/*$$scope*/
|
|
4443
4498
|
x[15],
|
|
4444
4499
|
P,
|
|
4445
|
-
|
|
4446
|
-
) :
|
|
4500
|
+
so
|
|
4501
|
+
) : Or(
|
|
4447
4502
|
/*$$scope*/
|
|
4448
4503
|
x[15]
|
|
4449
4504
|
),
|
|
4450
|
-
|
|
4505
|
+
It
|
|
4451
4506
|
), /*modaltitle*/
|
|
4452
|
-
x[1] ? _ ? _.p(x, P) : (_ =
|
|
4507
|
+
x[1] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
|
|
4453
4508
|
1) && ge(
|
|
4454
4509
|
a,
|
|
4455
4510
|
/*modaltext*/
|
|
4456
4511
|
x[0]
|
|
4457
4512
|
), /*hascancelbutton*/
|
|
4458
|
-
x[2] ? E ? E.p(x, P) : (E =
|
|
4513
|
+
x[2] ? E ? E.p(x, P) : (E = Nt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
|
|
4459
4514
|
16) && f !== (f = /*$_*/
|
|
4460
4515
|
x[4]("confirm") + "") && ge(m, f);
|
|
4461
4516
|
},
|
|
4462
4517
|
i(x) {
|
|
4463
|
-
d || (
|
|
4518
|
+
d || (Ut(T, x), d = !0);
|
|
4464
4519
|
},
|
|
4465
4520
|
o(x) {
|
|
4466
|
-
|
|
4521
|
+
Vr(T, x), d = !1;
|
|
4467
4522
|
},
|
|
4468
4523
|
d(x) {
|
|
4469
4524
|
x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
|
|
4470
4525
|
}
|
|
4471
4526
|
};
|
|
4472
4527
|
}
|
|
4473
|
-
function
|
|
4528
|
+
function lo(e, t, r) {
|
|
4474
4529
|
let n;
|
|
4475
|
-
|
|
4476
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w,
|
|
4530
|
+
Br(e, Ki, (g) => r(4, n = g));
|
|
4531
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, M = window.navigator.userAgent, C = eo(M) !== "PC";
|
|
4477
4532
|
const T = () => {
|
|
4478
4533
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4479
4534
|
}, _ = (g) => {
|
|
4480
4535
|
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
|
|
4481
4536
|
}, E = () => {
|
|
4482
4537
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
4483
|
-
Object.keys(D).forEach((
|
|
4484
|
-
|
|
4538
|
+
Object.keys(D).forEach((rt) => {
|
|
4539
|
+
Pt(rt, D[rt]);
|
|
4485
4540
|
});
|
|
4486
4541
|
}).catch((D) => {
|
|
4487
4542
|
console.log(D);
|
|
4488
4543
|
});
|
|
4489
4544
|
};
|
|
4490
|
-
Object.keys(
|
|
4491
|
-
|
|
4545
|
+
Object.keys(Ot).forEach((g) => {
|
|
4546
|
+
Pt(g, Ot[g]);
|
|
4492
4547
|
});
|
|
4493
4548
|
const x = () => {
|
|
4494
|
-
|
|
4549
|
+
to(c);
|
|
4495
4550
|
};
|
|
4496
|
-
|
|
4551
|
+
Gr(() => () => {
|
|
4497
4552
|
});
|
|
4498
|
-
const P = () => _("cancel"),
|
|
4499
|
-
function
|
|
4500
|
-
|
|
4553
|
+
const P = () => _("cancel"), vr = () => _("confirm");
|
|
4554
|
+
function yr(g) {
|
|
4555
|
+
Le[g ? "unshift" : "push"](() => {
|
|
4501
4556
|
w = g, r(3, w);
|
|
4502
4557
|
});
|
|
4503
4558
|
}
|
|
@@ -4506,9 +4561,9 @@ function so(e, t, r) {
|
|
|
4506
4561
|
}, e.$$.update = () => {
|
|
4507
4562
|
e.$$.dirty & /*modaltext, lang*/
|
|
4508
4563
|
1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4509
|
-
2056 && f && w &&
|
|
4510
|
-
4104 && m && w &&
|
|
4511
|
-
16392 && p && w &&
|
|
4564
|
+
2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4565
|
+
4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4566
|
+
16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4512
4567
|
8192 && d && E();
|
|
4513
4568
|
}, [
|
|
4514
4569
|
s,
|
|
@@ -4529,18 +4584,18 @@ function so(e, t, r) {
|
|
|
4529
4584
|
o,
|
|
4530
4585
|
i,
|
|
4531
4586
|
P,
|
|
4532
|
-
|
|
4533
|
-
|
|
4587
|
+
vr,
|
|
4588
|
+
yr
|
|
4534
4589
|
];
|
|
4535
4590
|
}
|
|
4536
|
-
class
|
|
4591
|
+
class ho extends Jr {
|
|
4537
4592
|
constructor(t) {
|
|
4538
|
-
super(),
|
|
4593
|
+
super(), Zr(
|
|
4539
4594
|
this,
|
|
4540
4595
|
t,
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4596
|
+
lo,
|
|
4597
|
+
uo,
|
|
4598
|
+
Rt,
|
|
4544
4599
|
{
|
|
4545
4600
|
modaltext: 0,
|
|
4546
4601
|
modaltitle: 1,
|
|
@@ -4553,7 +4608,7 @@ class ao extends Wr {
|
|
|
4553
4608
|
translationurl: 13,
|
|
4554
4609
|
mbsource: 14
|
|
4555
4610
|
},
|
|
4556
|
-
|
|
4611
|
+
oo
|
|
4557
4612
|
);
|
|
4558
4613
|
}
|
|
4559
4614
|
get modaltext() {
|
|
@@ -4617,7 +4672,7 @@ class ao extends Wr {
|
|
|
4617
4672
|
this.$$set({ mbsource: t }), I();
|
|
4618
4673
|
}
|
|
4619
4674
|
}
|
|
4620
|
-
|
|
4675
|
+
Qr(ho, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4621
4676
|
export {
|
|
4622
|
-
|
|
4677
|
+
ho as default
|
|
4623
4678
|
};
|