@everymatrix/player-account-general-confirmation-modal 1.68.0 → 1.69.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-CkfFFof4.js → PlayerAccountGeneralConfirmationModal-C6A0byEQ.js} +504 -509
- package/components/PlayerAccountGeneralConfirmationModal-CyX4hu1Y.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-TSUMEy-p.js → PlayerAccountGeneralConfirmationModal-DjvlJWq1.js} +513 -518
- 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-Dk2mhUvc.cjs +0 -18
|
@@ -2,15 +2,15 @@ var xr = Object.defineProperty, Er = Object.defineProperties;
|
|
|
2
2
|
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ot = Object.getOwnPropertySymbols;
|
|
4
4
|
var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var He = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
wr.call(t, r) &&
|
|
7
|
+
wr.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (ot)
|
|
9
9
|
for (var r of ot(t))
|
|
10
|
-
Tr.call(t, r) &&
|
|
10
|
+
Tr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, at = (e, t) => Er(e, Sr(t));
|
|
13
|
-
var O = (e, t, r) => (
|
|
13
|
+
var O = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -27,7 +27,7 @@ var ut = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function L() {
|
|
31
31
|
}
|
|
32
32
|
function Hr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
@@ -43,28 +43,28 @@ function $t(e) {
|
|
|
43
43
|
function lt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Z(e) {
|
|
47
47
|
e.forEach($t);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function et(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
52
|
function Gt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ar(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
58
|
function Ut(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
62
|
-
return
|
|
62
|
+
return L;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Br(e, t, r) {
|
|
68
68
|
e.$$.on_destroy.push(Ut(t, r));
|
|
69
69
|
}
|
|
70
70
|
function Cr(e, t, r, n) {
|
|
@@ -109,14 +109,14 @@ function Ir(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Mr(e, t, r) {
|
|
113
|
+
const n = Nr(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
115
|
const i = M("style");
|
|
116
116
|
i.id = t, i.textContent = r, Lr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Nr(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -133,10 +133,10 @@ function Lr(e, t) {
|
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function ie(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Q(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
142
|
function M(e) {
|
|
@@ -145,22 +145,22 @@ function M(e) {
|
|
|
145
145
|
function ht(e) {
|
|
146
146
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function ye(e) {
|
|
149
149
|
return document.createTextNode(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return
|
|
151
|
+
function ue() {
|
|
152
|
+
return ye(" ");
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Le(e, t, r, n) {
|
|
155
155
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function T(e, t, r) {
|
|
158
158
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
159
159
|
}
|
|
160
160
|
function Rr(e) {
|
|
161
161
|
return Array.from(e.childNodes);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function tt(e, t) {
|
|
164
164
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
165
165
|
t);
|
|
166
166
|
}
|
|
@@ -173,103 +173,103 @@ function $r(e) {
|
|
|
173
173
|
}
|
|
174
174
|
), t;
|
|
175
175
|
}
|
|
176
|
-
let
|
|
177
|
-
function
|
|
178
|
-
|
|
176
|
+
let te;
|
|
177
|
+
function ee(e) {
|
|
178
|
+
te = e;
|
|
179
179
|
}
|
|
180
180
|
function Gr() {
|
|
181
|
-
if (!
|
|
181
|
+
if (!te)
|
|
182
182
|
throw new Error("Function called outside component initialization");
|
|
183
|
-
return
|
|
183
|
+
return te;
|
|
184
184
|
}
|
|
185
185
|
function Ur(e) {
|
|
186
186
|
Gr().$$.on_mount.push(e);
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
let
|
|
188
|
+
const j = [], Re = [];
|
|
189
|
+
let k = [];
|
|
190
190
|
const ct = [], Dr = /* @__PURE__ */ Promise.resolve();
|
|
191
|
-
let
|
|
191
|
+
let $e = !1;
|
|
192
192
|
function Fr() {
|
|
193
|
-
|
|
193
|
+
$e || ($e = !0, Dr.then(I));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
|
|
195
|
+
function Ge(e) {
|
|
196
|
+
k.push(e);
|
|
197
197
|
}
|
|
198
198
|
const Ae = /* @__PURE__ */ new Set();
|
|
199
|
-
let
|
|
199
|
+
let D = 0;
|
|
200
200
|
function I() {
|
|
201
|
-
if (
|
|
201
|
+
if (D !== 0)
|
|
202
202
|
return;
|
|
203
|
-
const e =
|
|
203
|
+
const e = te;
|
|
204
204
|
do {
|
|
205
205
|
try {
|
|
206
|
-
for (;
|
|
207
|
-
const t =
|
|
208
|
-
|
|
206
|
+
for (; D < j.length; ) {
|
|
207
|
+
const t = j[D];
|
|
208
|
+
D++, ee(t), jr(t.$$);
|
|
209
209
|
}
|
|
210
210
|
} catch (t) {
|
|
211
|
-
throw
|
|
211
|
+
throw j.length = 0, D = 0, t;
|
|
212
212
|
}
|
|
213
|
-
for (
|
|
214
|
-
|
|
215
|
-
for (let t = 0; t <
|
|
216
|
-
const r =
|
|
213
|
+
for (ee(null), j.length = 0, D = 0; Re.length; )
|
|
214
|
+
Re.pop()();
|
|
215
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
216
|
+
const r = k[t];
|
|
217
217
|
Ae.has(r) || (Ae.add(r), r());
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
} while (
|
|
219
|
+
k.length = 0;
|
|
220
|
+
} while (j.length);
|
|
221
221
|
for (; ct.length; )
|
|
222
222
|
ct.pop()();
|
|
223
|
-
|
|
223
|
+
$e = !1, Ae.clear(), ee(e);
|
|
224
224
|
}
|
|
225
225
|
function jr(e) {
|
|
226
226
|
if (e.fragment !== null) {
|
|
227
|
-
e.update(),
|
|
227
|
+
e.update(), Z(e.before_update);
|
|
228
228
|
const t = e.dirty;
|
|
229
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
function kr(e) {
|
|
233
233
|
const t = [], r = [];
|
|
234
|
-
|
|
234
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
235
235
|
}
|
|
236
|
-
const
|
|
236
|
+
const ce = /* @__PURE__ */ new Set();
|
|
237
237
|
let Vr;
|
|
238
238
|
function Ft(e, t) {
|
|
239
|
-
e && e.i && (
|
|
239
|
+
e && e.i && (ce.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
241
|
function Xr(e, t, r, n) {
|
|
242
242
|
if (e && e.o) {
|
|
243
|
-
if (
|
|
243
|
+
if (ce.has(e))
|
|
244
244
|
return;
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
ce.add(e), Vr.c.push(() => {
|
|
246
|
+
ce.delete(e);
|
|
247
247
|
}), e.o(t);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
function Wr(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const o = e.$$.on_mount.map($t).filter(
|
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
255
|
-
}), i.forEach(
|
|
252
|
+
n && n.m(t, r), Ge(() => {
|
|
253
|
+
const o = e.$$.on_mount.map($t).filter(et);
|
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
|
|
255
|
+
}), i.forEach(Ge);
|
|
256
256
|
}
|
|
257
257
|
function zr(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (kr(r.after_update),
|
|
259
|
+
r.fragment !== null && (kr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
261
|
function Zr(e, t) {
|
|
262
|
-
e.$$.dirty[0] === -1 && (
|
|
262
|
+
e.$$.dirty[0] === -1 && (j.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
264
|
function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
265
|
-
const l =
|
|
266
|
-
|
|
265
|
+
const l = te;
|
|
266
|
+
ee(e);
|
|
267
267
|
const u = e.$$ = {
|
|
268
268
|
fragment: null,
|
|
269
269
|
ctx: [],
|
|
270
270
|
// state
|
|
271
271
|
props: o,
|
|
272
|
-
update:
|
|
272
|
+
update: L,
|
|
273
273
|
not_equal: i,
|
|
274
274
|
bound: lt(),
|
|
275
275
|
// lifecycle
|
|
@@ -288,17 +288,17 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
288
288
|
s && s(u.root);
|
|
289
289
|
let h = !1;
|
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
291
|
-
const
|
|
292
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
293
|
-
}) : [], u.update(), h = !0,
|
|
291
|
+
const v = m.length ? m[0] : f;
|
|
292
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Zr(e, c)), f;
|
|
293
|
+
}) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
295
|
const c = Rr(t.target);
|
|
296
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
296
|
+
u.fragment && u.fragment.l(c), c.forEach(Q);
|
|
297
297
|
} else
|
|
298
298
|
u.fragment && u.fragment.c();
|
|
299
299
|
t.intro && Ft(e.$$.fragment), Wr(e, t.target, t.anchor), I();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
ee(l);
|
|
302
302
|
}
|
|
303
303
|
let jt;
|
|
304
304
|
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
@@ -345,17 +345,17 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
345
345
|
let s;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
s = M("slot"), o !== "default" &&
|
|
348
|
+
s = M("slot"), o !== "default" && T(s, "name", o);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
354
|
m: function(u, h) {
|
|
355
|
-
|
|
355
|
+
ie(u, s, h);
|
|
356
356
|
},
|
|
357
357
|
d: function(u) {
|
|
358
|
-
u &&
|
|
358
|
+
u && Q(s);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
};
|
|
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
367
367
|
o in n && (r[o] = [t(o)]);
|
|
368
368
|
for (const o of this.attributes) {
|
|
369
369
|
const s = this.$$g_p(o.name);
|
|
370
|
-
s in this.$$d || (this.$$d[s] =
|
|
370
|
+
s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
|
|
371
371
|
}
|
|
372
372
|
for (const o in this.$$p_d)
|
|
373
373
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
384
384
|
this.$$r = !0;
|
|
385
385
|
for (const o in this.$$p_d)
|
|
386
386
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
387
|
-
const s =
|
|
387
|
+
const s = fe(
|
|
388
388
|
o,
|
|
389
389
|
this.$$d[o],
|
|
390
390
|
this.$$p_d,
|
|
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
408
408
|
// and setting attributes through setAttribute etc, this is helpful
|
|
409
409
|
attributeChangedCallback(t, r, n) {
|
|
410
410
|
var i;
|
|
411
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
412
412
|
}
|
|
413
413
|
disconnectedCallback() {
|
|
414
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
421
421
|
) || t;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
function
|
|
424
|
+
function fe(e, t, r, n) {
|
|
425
425
|
var o;
|
|
426
426
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
427
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -469,7 +469,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
469
469
|
},
|
|
470
470
|
set(l) {
|
|
471
471
|
var u;
|
|
472
|
-
l =
|
|
472
|
+
l = fe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}), n.forEach((a) => {
|
|
@@ -503,7 +503,7 @@ class Yr {
|
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
zr(this, 1), this.$destroy =
|
|
506
|
+
zr(this, 1), this.$destroy = L;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,8 +512,8 @@ class Yr {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
516
|
-
return
|
|
515
|
+
if (!et(r))
|
|
516
|
+
return L;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
519
519
|
const i = n.indexOf(r);
|
|
@@ -525,7 +525,7 @@ class Yr {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
const qr = "4";
|
|
@@ -544,24 +544,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
|
546
546
|
***************************************************************************** */
|
|
547
|
-
var
|
|
548
|
-
return
|
|
547
|
+
var Ue = function(e, t) {
|
|
548
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
549
549
|
r.__proto__ = n;
|
|
550
550
|
} || function(r, n) {
|
|
551
551
|
for (var i in n)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
-
},
|
|
553
|
+
}, Ue(e, t);
|
|
554
554
|
};
|
|
555
|
-
function
|
|
555
|
+
function oe(e, t) {
|
|
556
556
|
if (typeof t != "function" && t !== null)
|
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
558
|
-
|
|
558
|
+
Ue(e, t);
|
|
559
559
|
function r() {
|
|
560
560
|
this.constructor = e;
|
|
561
561
|
}
|
|
562
562
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function De(e) {
|
|
565
565
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
566
566
|
if (r)
|
|
567
567
|
return r.call(e);
|
|
@@ -573,7 +573,7 @@ function Fe(e) {
|
|
|
573
573
|
};
|
|
574
574
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Fe(e, t) {
|
|
577
577
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
578
578
|
if (!r)
|
|
579
579
|
return e;
|
|
@@ -593,13 +593,13 @@ function je(e, t) {
|
|
|
593
593
|
}
|
|
594
594
|
return o;
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function je(e, t, r) {
|
|
597
597
|
if (arguments.length === 2)
|
|
598
598
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
599
599
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
600
600
|
return e.concat(o || t);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function R(e) {
|
|
603
603
|
return typeof e == "function";
|
|
604
604
|
}
|
|
605
605
|
function kt(e) {
|
|
@@ -608,7 +608,7 @@ function kt(e) {
|
|
|
608
608
|
}, r = e(t);
|
|
609
609
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var Be = kt(function(e) {
|
|
612
612
|
return function(r) {
|
|
613
613
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
614
614
|
` + r.map(function(n, i) {
|
|
@@ -617,13 +617,13 @@ var Ce = kt(function(e) {
|
|
|
617
617
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
618
618
|
};
|
|
619
619
|
});
|
|
620
|
-
function
|
|
620
|
+
function ke(e, t) {
|
|
621
621
|
if (e) {
|
|
622
622
|
var r = e.indexOf(t);
|
|
623
623
|
0 <= r && e.splice(r, 1);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
var
|
|
626
|
+
var _e = function() {
|
|
627
627
|
function e(t) {
|
|
628
628
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
629
629
|
}
|
|
@@ -635,7 +635,7 @@ var xe = function() {
|
|
|
635
635
|
if (s)
|
|
636
636
|
if (this._parentage = null, Array.isArray(s))
|
|
637
637
|
try {
|
|
638
|
-
for (var a =
|
|
638
|
+
for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
|
|
639
639
|
var u = l.value;
|
|
640
640
|
u.remove(this);
|
|
641
641
|
}
|
|
@@ -652,22 +652,22 @@ var xe = function() {
|
|
|
652
652
|
else
|
|
653
653
|
s.remove(this);
|
|
654
654
|
var h = this.initialTeardown;
|
|
655
|
-
if (
|
|
655
|
+
if (R(h))
|
|
656
656
|
try {
|
|
657
657
|
h();
|
|
658
658
|
} catch (d) {
|
|
659
|
-
o = d instanceof
|
|
659
|
+
o = d instanceof Be ? d.errors : [d];
|
|
660
660
|
}
|
|
661
661
|
var c = this._finalizers;
|
|
662
662
|
if (c) {
|
|
663
663
|
this._finalizers = null;
|
|
664
664
|
try {
|
|
665
|
-
for (var f =
|
|
666
|
-
var
|
|
665
|
+
for (var f = De(c), m = f.next(); !m.done; m = f.next()) {
|
|
666
|
+
var v = m.value;
|
|
667
667
|
try {
|
|
668
|
-
ft(
|
|
668
|
+
ft(v);
|
|
669
669
|
} catch (d) {
|
|
670
|
-
o = o != null ? o : [], d instanceof
|
|
670
|
+
o = o != null ? o : [], d instanceof Be ? o = je(je([], Fe(o)), Fe(d.errors)) : o.push(d);
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
} catch (d) {
|
|
@@ -682,7 +682,7 @@ var xe = function() {
|
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
if (o)
|
|
685
|
-
throw new
|
|
685
|
+
throw new Be(o);
|
|
686
686
|
}
|
|
687
687
|
}, e.prototype.add = function(t) {
|
|
688
688
|
var r;
|
|
@@ -705,20 +705,20 @@ var xe = function() {
|
|
|
705
705
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
706
706
|
}, e.prototype._removeParent = function(t) {
|
|
707
707
|
var r = this._parentage;
|
|
708
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
708
|
+
r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
|
|
709
709
|
}, e.prototype.remove = function(t) {
|
|
710
710
|
var r = this._finalizers;
|
|
711
|
-
r &&
|
|
711
|
+
r && ke(r, t), t instanceof e && t._removeParent(this);
|
|
712
712
|
}, e.EMPTY = function() {
|
|
713
713
|
var t = new e();
|
|
714
714
|
return t.closed = !0, t;
|
|
715
715
|
}(), e;
|
|
716
|
-
}(), Vt =
|
|
716
|
+
}(), Vt = _e.EMPTY;
|
|
717
717
|
function Xt(e) {
|
|
718
|
-
return e instanceof
|
|
718
|
+
return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
719
719
|
}
|
|
720
720
|
function ft(e) {
|
|
721
|
-
|
|
721
|
+
R(e) ? e() : e.unsubscribe();
|
|
722
722
|
}
|
|
723
723
|
var Kr = {
|
|
724
724
|
Promise: void 0
|
|
@@ -726,7 +726,7 @@ var Kr = {
|
|
|
726
726
|
setTimeout: function(e, t) {
|
|
727
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
728
728
|
r[n - 2] = arguments[n];
|
|
729
|
-
return setTimeout.apply(void 0,
|
|
729
|
+
return setTimeout.apply(void 0, je([e, t], Fe(r)));
|
|
730
730
|
},
|
|
731
731
|
clearTimeout: function(e) {
|
|
732
732
|
return clearTimeout(e);
|
|
@@ -740,17 +740,17 @@ function tn(e) {
|
|
|
740
740
|
}
|
|
741
741
|
function mt() {
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function me(e) {
|
|
744
744
|
e();
|
|
745
745
|
}
|
|
746
746
|
var Wt = function(e) {
|
|
747
|
-
|
|
747
|
+
oe(t, e);
|
|
748
748
|
function t(r) {
|
|
749
749
|
var n = e.call(this) || this;
|
|
750
750
|
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = on, n;
|
|
751
751
|
}
|
|
752
752
|
return t.create = function(r, n, i) {
|
|
753
|
-
return new
|
|
753
|
+
return new Ve(r, n, i);
|
|
754
754
|
}, t.prototype.next = function(r) {
|
|
755
755
|
this.isStopped || this._next(r);
|
|
756
756
|
}, t.prototype.error = function(r) {
|
|
@@ -774,7 +774,7 @@ var Wt = function(e) {
|
|
|
774
774
|
this.unsubscribe();
|
|
775
775
|
}
|
|
776
776
|
}, t;
|
|
777
|
-
}(
|
|
777
|
+
}(_e), rn = function() {
|
|
778
778
|
function e(t) {
|
|
779
779
|
this.partialObserver = t;
|
|
780
780
|
}
|
|
@@ -784,7 +784,7 @@ var Wt = function(e) {
|
|
|
784
784
|
try {
|
|
785
785
|
r.next(t);
|
|
786
786
|
} catch (n) {
|
|
787
|
-
|
|
787
|
+
le(n);
|
|
788
788
|
}
|
|
789
789
|
}, e.prototype.error = function(t) {
|
|
790
790
|
var r = this.partialObserver;
|
|
@@ -792,24 +792,24 @@ var Wt = function(e) {
|
|
|
792
792
|
try {
|
|
793
793
|
r.error(t);
|
|
794
794
|
} catch (n) {
|
|
795
|
-
|
|
795
|
+
le(n);
|
|
796
796
|
}
|
|
797
797
|
else
|
|
798
|
-
|
|
798
|
+
le(t);
|
|
799
799
|
}, e.prototype.complete = function() {
|
|
800
800
|
var t = this.partialObserver;
|
|
801
801
|
if (t.complete)
|
|
802
802
|
try {
|
|
803
803
|
t.complete();
|
|
804
804
|
} catch (r) {
|
|
805
|
-
|
|
805
|
+
le(r);
|
|
806
806
|
}
|
|
807
807
|
}, e;
|
|
808
|
-
}(),
|
|
809
|
-
|
|
808
|
+
}(), Ve = function(e) {
|
|
809
|
+
oe(t, e);
|
|
810
810
|
function t(r, n, i) {
|
|
811
811
|
var o = e.call(this) || this, s;
|
|
812
|
-
return
|
|
812
|
+
return R(r) || !r ? s = {
|
|
813
813
|
next: r != null ? r : void 0,
|
|
814
814
|
error: n != null ? n : void 0,
|
|
815
815
|
complete: i != null ? i : void 0
|
|
@@ -817,7 +817,7 @@ var Wt = function(e) {
|
|
|
817
817
|
}
|
|
818
818
|
return t;
|
|
819
819
|
}(Wt);
|
|
820
|
-
function
|
|
820
|
+
function le(e) {
|
|
821
821
|
tn(e);
|
|
822
822
|
}
|
|
823
823
|
function nn(e) {
|
|
@@ -849,8 +849,8 @@ var pt = function() {
|
|
|
849
849
|
var r = new e();
|
|
850
850
|
return r.source = this, r.operator = t, r;
|
|
851
851
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
852
|
-
var i = this, o = hn(t) ? t : new
|
|
853
|
-
return
|
|
852
|
+
var i = this, o = hn(t) ? t : new Ve(t, r, n);
|
|
853
|
+
return me(function() {
|
|
854
854
|
var s = i, a = s.operator, l = s.source;
|
|
855
855
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
856
856
|
}), o;
|
|
@@ -863,7 +863,7 @@ var pt = function() {
|
|
|
863
863
|
}, e.prototype.forEach = function(t, r) {
|
|
864
864
|
var n = this;
|
|
865
865
|
return r = dt(r), new r(function(i, o) {
|
|
866
|
-
var s = new
|
|
866
|
+
var s = new Ve({
|
|
867
867
|
next: function(a) {
|
|
868
868
|
try {
|
|
869
869
|
t(a);
|
|
@@ -906,7 +906,7 @@ function dt(e) {
|
|
|
906
906
|
return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
907
907
|
}
|
|
908
908
|
function ln(e) {
|
|
909
|
-
return e &&
|
|
909
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
910
910
|
}
|
|
911
911
|
function hn(e) {
|
|
912
912
|
return e && e instanceof Wt || ln(e) && Xt(e);
|
|
@@ -916,7 +916,7 @@ var cn = kt(function(e) {
|
|
|
916
916
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
917
917
|
};
|
|
918
918
|
}), zt = function(e) {
|
|
919
|
-
|
|
919
|
+
oe(t, e);
|
|
920
920
|
function t() {
|
|
921
921
|
var r = e.call(this) || this;
|
|
922
922
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -929,12 +929,12 @@ var cn = kt(function(e) {
|
|
|
929
929
|
throw new cn();
|
|
930
930
|
}, t.prototype.next = function(r) {
|
|
931
931
|
var n = this;
|
|
932
|
-
|
|
932
|
+
me(function() {
|
|
933
933
|
var i, o;
|
|
934
934
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
935
935
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
936
936
|
try {
|
|
937
|
-
for (var s =
|
|
937
|
+
for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
938
938
|
var l = a.value;
|
|
939
939
|
l.next(r);
|
|
940
940
|
}
|
|
@@ -952,7 +952,7 @@ var cn = kt(function(e) {
|
|
|
952
952
|
});
|
|
953
953
|
}, t.prototype.error = function(r) {
|
|
954
954
|
var n = this;
|
|
955
|
-
|
|
955
|
+
me(function() {
|
|
956
956
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
957
957
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
958
958
|
for (var i = n.observers; i.length; )
|
|
@@ -961,7 +961,7 @@ var cn = kt(function(e) {
|
|
|
961
961
|
});
|
|
962
962
|
}, t.prototype.complete = function() {
|
|
963
963
|
var r = this;
|
|
964
|
-
|
|
964
|
+
me(function() {
|
|
965
965
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
966
966
|
r.isStopped = !0;
|
|
967
967
|
for (var n = r.observers; n.length; )
|
|
@@ -983,8 +983,8 @@ var cn = kt(function(e) {
|
|
|
983
983
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
984
984
|
}, t.prototype._innerSubscribe = function(r) {
|
|
985
985
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
986
|
-
return o || s ? Vt : (this.currentObservers = null, a.push(r), new
|
|
987
|
-
n.currentObservers = null,
|
|
986
|
+
return o || s ? Vt : (this.currentObservers = null, a.push(r), new _e(function() {
|
|
987
|
+
n.currentObservers = null, ke(a, r);
|
|
988
988
|
}));
|
|
989
989
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
990
990
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
@@ -996,7 +996,7 @@ var cn = kt(function(e) {
|
|
|
996
996
|
return new bt(r, n);
|
|
997
997
|
}, t;
|
|
998
998
|
}(pt), bt = function(e) {
|
|
999
|
-
|
|
999
|
+
oe(t, e);
|
|
1000
1000
|
function t(r, n) {
|
|
1001
1001
|
var i = e.call(this) || this;
|
|
1002
1002
|
return i.destination = r, i.source = n, i;
|
|
@@ -1020,7 +1020,7 @@ var cn = kt(function(e) {
|
|
|
1020
1020
|
},
|
|
1021
1021
|
delegate: void 0
|
|
1022
1022
|
}, fn = function(e) {
|
|
1023
|
-
|
|
1023
|
+
oe(t, e);
|
|
1024
1024
|
function t(r, n, i) {
|
|
1025
1025
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
1026
1026
|
var o = e.call(this) || this;
|
|
@@ -1049,39 +1049,39 @@ const gt = [], vt = {}, mn = (e, t = 0) => {
|
|
|
1049
1049
|
vt[e] = r, gt.push(e);
|
|
1050
1050
|
}
|
|
1051
1051
|
return vt[e];
|
|
1052
|
-
},
|
|
1052
|
+
}, F = [];
|
|
1053
1053
|
function pn(e, t) {
|
|
1054
1054
|
return {
|
|
1055
|
-
subscribe:
|
|
1055
|
+
subscribe: xe(e, t).subscribe
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function xe(e, t = L) {
|
|
1059
1059
|
let r;
|
|
1060
1060
|
const n = /* @__PURE__ */ new Set();
|
|
1061
1061
|
function i(a) {
|
|
1062
1062
|
if (Gt(e, a) && (e = a, r)) {
|
|
1063
|
-
const l = !
|
|
1063
|
+
const l = !F.length;
|
|
1064
1064
|
for (const u of n)
|
|
1065
|
-
u[1](),
|
|
1065
|
+
u[1](), F.push(u, e);
|
|
1066
1066
|
if (l) {
|
|
1067
|
-
for (let u = 0; u <
|
|
1068
|
-
|
|
1069
|
-
|
|
1067
|
+
for (let u = 0; u < F.length; u += 2)
|
|
1068
|
+
F[u][0](F[u + 1]);
|
|
1069
|
+
F.length = 0;
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
1073
|
function o(a) {
|
|
1074
1074
|
i(a(e));
|
|
1075
1075
|
}
|
|
1076
|
-
function s(a, l =
|
|
1076
|
+
function s(a, l = L) {
|
|
1077
1077
|
const u = [a, l];
|
|
1078
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1078
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
|
|
1079
1079
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1080
1080
|
};
|
|
1081
1081
|
}
|
|
1082
1082
|
return { set: i, update: o, subscribe: s };
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function J(e, t, r) {
|
|
1085
1085
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1086
1086
|
if (!i.every(Boolean))
|
|
1087
1087
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1089,16 +1089,16 @@ function Y(e, t, r) {
|
|
|
1089
1089
|
return pn(r, (s, a) => {
|
|
1090
1090
|
let l = !1;
|
|
1091
1091
|
const u = [];
|
|
1092
|
-
let h = 0, c =
|
|
1092
|
+
let h = 0, c = L;
|
|
1093
1093
|
const f = () => {
|
|
1094
1094
|
if (h)
|
|
1095
1095
|
return;
|
|
1096
1096
|
c();
|
|
1097
|
-
const
|
|
1098
|
-
o ? s(
|
|
1097
|
+
const v = t(n ? u[0] : u, s, a);
|
|
1098
|
+
o ? s(v) : c = et(v) ? v : L;
|
|
1099
1099
|
}, m = i.map(
|
|
1100
|
-
(
|
|
1101
|
-
|
|
1100
|
+
(v, d) => Ut(
|
|
1101
|
+
v,
|
|
1102
1102
|
(S) => {
|
|
1103
1103
|
u[d] = S, h &= ~(1 << d), l && f();
|
|
1104
1104
|
},
|
|
@@ -1108,7 +1108,7 @@ function Y(e, t, r) {
|
|
|
1108
1108
|
)
|
|
1109
1109
|
);
|
|
1110
1110
|
return l = !0, f(), function() {
|
|
1111
|
-
|
|
1111
|
+
Z(m), c(), l = !1;
|
|
1112
1112
|
};
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
@@ -1132,19 +1132,19 @@ function xn(e) {
|
|
|
1132
1132
|
function En(e) {
|
|
1133
1133
|
return Array.isArray(e) ? [] : {};
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1135
|
+
function re(e, t) {
|
|
1136
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(En(e), e, t) : e;
|
|
1137
1137
|
}
|
|
1138
1138
|
function Sn(e, t, r) {
|
|
1139
1139
|
return e.concat(t).map(function(n) {
|
|
1140
|
-
return
|
|
1140
|
+
return re(n, r);
|
|
1141
1141
|
});
|
|
1142
1142
|
}
|
|
1143
1143
|
function wn(e, t) {
|
|
1144
1144
|
if (!t.customMerge)
|
|
1145
|
-
return
|
|
1145
|
+
return V;
|
|
1146
1146
|
var r = t.customMerge(e);
|
|
1147
|
-
return typeof r == "function" ? r :
|
|
1147
|
+
return typeof r == "function" ? r : V;
|
|
1148
1148
|
}
|
|
1149
1149
|
function Tn(e) {
|
|
1150
1150
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1164,54 +1164,54 @@ function Qt(e, t) {
|
|
|
1164
1164
|
function Hn(e, t) {
|
|
1165
1165
|
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function An(e, t, r) {
|
|
1168
1168
|
var n = {};
|
|
1169
1169
|
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1170
|
-
n[i] =
|
|
1170
|
+
n[i] = re(e[i], r);
|
|
1171
1171
|
}), yt(t).forEach(function(i) {
|
|
1172
|
-
Hn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] =
|
|
1172
|
+
Hn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1173
1173
|
}), n;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified =
|
|
1175
|
+
function V(e, t, r) {
|
|
1176
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1177
1177
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1178
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1178
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : re(t, r);
|
|
1179
1179
|
}
|
|
1180
|
-
|
|
1180
|
+
V.all = function(t, r) {
|
|
1181
1181
|
if (!Array.isArray(t))
|
|
1182
1182
|
throw new Error("first argument should be an array");
|
|
1183
1183
|
return t.reduce(function(n, i) {
|
|
1184
|
-
return
|
|
1184
|
+
return V(n, i, r);
|
|
1185
1185
|
}, {});
|
|
1186
1186
|
};
|
|
1187
|
-
var
|
|
1187
|
+
var Bn = V, Cn = Bn;
|
|
1188
1188
|
const Pn = /* @__PURE__ */ dn(Cn);
|
|
1189
|
-
var
|
|
1190
|
-
return
|
|
1189
|
+
var Xe = function(e, t) {
|
|
1190
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1191
1191
|
r.__proto__ = n;
|
|
1192
1192
|
} || function(r, n) {
|
|
1193
1193
|
for (var i in n)
|
|
1194
1194
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1195
|
-
},
|
|
1195
|
+
}, Xe(e, t);
|
|
1196
1196
|
};
|
|
1197
|
-
function
|
|
1197
|
+
function Ee(e, t) {
|
|
1198
1198
|
if (typeof t != "function" && t !== null)
|
|
1199
1199
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1200
|
-
|
|
1200
|
+
Xe(e, t);
|
|
1201
1201
|
function r() {
|
|
1202
1202
|
this.constructor = e;
|
|
1203
1203
|
}
|
|
1204
1204
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1205
1205
|
}
|
|
1206
|
-
var
|
|
1207
|
-
return
|
|
1206
|
+
var N = function() {
|
|
1207
|
+
return N = Object.assign || function(t) {
|
|
1208
1208
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1209
1209
|
r = arguments[n];
|
|
1210
1210
|
for (var o in r)
|
|
1211
1211
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1212
1212
|
}
|
|
1213
1213
|
return t;
|
|
1214
|
-
},
|
|
1214
|
+
}, N.apply(this, arguments);
|
|
1215
1215
|
};
|
|
1216
1216
|
function On(e, t) {
|
|
1217
1217
|
var r = {};
|
|
@@ -1222,14 +1222,14 @@ function On(e, t) {
|
|
|
1222
1222
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1223
1223
|
return r;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function Ce(e, t, r) {
|
|
1226
1226
|
if (r || arguments.length === 2)
|
|
1227
1227
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1228
1228
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1229
1229
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy :
|
|
1231
|
+
function Pe(e, t) {
|
|
1232
|
+
var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Nn;
|
|
1233
1233
|
return i(e, {
|
|
1234
1234
|
cache: r,
|
|
1235
1235
|
serializer: n
|
|
@@ -1238,7 +1238,7 @@ function Oe(e, t) {
|
|
|
1238
1238
|
function In(e) {
|
|
1239
1239
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function Mn(e, t, r, n) {
|
|
1242
1242
|
var i = In(n) ? n : r(n), o = t.get(i);
|
|
1243
1243
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1244
1244
|
}
|
|
@@ -1249,8 +1249,8 @@ function Jt(e, t, r) {
|
|
|
1249
1249
|
function Yt(e, t, r, n, i) {
|
|
1250
1250
|
return r.bind(t, e, n, i);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1253
|
-
var r = e.length === 1 ?
|
|
1252
|
+
function Nn(e, t) {
|
|
1253
|
+
var r = e.length === 1 ? Mn : Jt;
|
|
1254
1254
|
return Yt(e, this, r, t.cache.create(), t.serializer);
|
|
1255
1255
|
}
|
|
1256
1256
|
function Ln(e, t) {
|
|
@@ -1274,30 +1274,30 @@ var Rn = function() {
|
|
|
1274
1274
|
create: function() {
|
|
1275
1275
|
return new $n();
|
|
1276
1276
|
}
|
|
1277
|
-
},
|
|
1277
|
+
}, Oe = {
|
|
1278
1278
|
variadic: Ln
|
|
1279
|
-
},
|
|
1280
|
-
return
|
|
1279
|
+
}, be = function() {
|
|
1280
|
+
return be = Object.assign || function(t) {
|
|
1281
1281
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1282
1282
|
r = arguments[n];
|
|
1283
1283
|
for (var o in r)
|
|
1284
1284
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1285
1285
|
}
|
|
1286
1286
|
return t;
|
|
1287
|
-
},
|
|
1287
|
+
}, be.apply(this, arguments);
|
|
1288
1288
|
};
|
|
1289
|
-
var
|
|
1289
|
+
var p;
|
|
1290
1290
|
(function(e) {
|
|
1291
1291
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1292
|
-
})(
|
|
1292
|
+
})(p || (p = {}));
|
|
1293
1293
|
var E;
|
|
1294
1294
|
(function(e) {
|
|
1295
1295
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1296
1296
|
})(E || (E = {}));
|
|
1297
|
-
var
|
|
1297
|
+
var X;
|
|
1298
1298
|
(function(e) {
|
|
1299
1299
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1300
|
-
})(
|
|
1300
|
+
})(X || (X = {}));
|
|
1301
1301
|
function _t(e) {
|
|
1302
1302
|
return e.type === E.literal;
|
|
1303
1303
|
}
|
|
@@ -1326,10 +1326,10 @@ function nr(e) {
|
|
|
1326
1326
|
return e.type === E.tag;
|
|
1327
1327
|
}
|
|
1328
1328
|
function ir(e) {
|
|
1329
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1329
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1331
|
+
function We(e) {
|
|
1332
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1333
1333
|
}
|
|
1334
1334
|
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
|
1335
1335
|
function jn(e) {
|
|
@@ -1423,15 +1423,15 @@ function jn(e) {
|
|
|
1423
1423
|
return "";
|
|
1424
1424
|
}), t;
|
|
1425
1425
|
}
|
|
1426
|
-
var
|
|
1427
|
-
return
|
|
1426
|
+
var w = function() {
|
|
1427
|
+
return w = Object.assign || function(t) {
|
|
1428
1428
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1429
1429
|
r = arguments[n];
|
|
1430
1430
|
for (var o in r)
|
|
1431
1431
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1432
1432
|
}
|
|
1433
1433
|
return t;
|
|
1434
|
-
},
|
|
1434
|
+
}, w.apply(this, arguments);
|
|
1435
1435
|
};
|
|
1436
1436
|
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1437
1437
|
function Vn(e) {
|
|
@@ -1555,13 +1555,13 @@ function Zn(e) {
|
|
|
1555
1555
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1556
1556
|
continue;
|
|
1557
1557
|
case "scientific":
|
|
1558
|
-
t =
|
|
1559
|
-
return
|
|
1558
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1559
|
+
return w(w({}, l), St(u));
|
|
1560
1560
|
}, {}));
|
|
1561
1561
|
continue;
|
|
1562
1562
|
case "engineering":
|
|
1563
|
-
t =
|
|
1564
|
-
return
|
|
1563
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1564
|
+
return w(w({}, l), St(u));
|
|
1565
1565
|
}, {}));
|
|
1566
1566
|
continue;
|
|
1567
1567
|
case "notation-simple":
|
|
@@ -1630,21 +1630,21 @@ function Zn(e) {
|
|
|
1630
1630
|
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), "";
|
|
1631
1631
|
});
|
|
1632
1632
|
var o = i.options[0];
|
|
1633
|
-
o === "w" ? t =
|
|
1633
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
|
|
1634
1634
|
continue;
|
|
1635
1635
|
}
|
|
1636
1636
|
if (sr.test(i.stem)) {
|
|
1637
|
-
t =
|
|
1637
|
+
t = w(w({}, t), Et(i.stem));
|
|
1638
1638
|
continue;
|
|
1639
1639
|
}
|
|
1640
1640
|
var s = ur(i.stem);
|
|
1641
|
-
s && (t =
|
|
1641
|
+
s && (t = w(w({}, t), s));
|
|
1642
1642
|
var a = zn(i.stem);
|
|
1643
|
-
a && (t =
|
|
1643
|
+
a && (t = w(w({}, t), a));
|
|
1644
1644
|
}
|
|
1645
1645
|
return t;
|
|
1646
1646
|
}
|
|
1647
|
-
var
|
|
1647
|
+
var he = {
|
|
1648
1648
|
"001": [
|
|
1649
1649
|
"H",
|
|
1650
1650
|
"h"
|
|
@@ -3094,21 +3094,21 @@ function Jn(e) {
|
|
|
3094
3094
|
}
|
|
3095
3095
|
var r = e.language, n;
|
|
3096
3096
|
r !== "root" && (n = e.maximize().region);
|
|
3097
|
-
var i =
|
|
3097
|
+
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3098
3098
|
return i[0];
|
|
3099
3099
|
}
|
|
3100
|
-
var
|
|
3101
|
-
function
|
|
3100
|
+
var Ie, Yn = new RegExp("^".concat(or.source, "*")), qn = new RegExp("".concat(or.source, "*$"));
|
|
3101
|
+
function g(e, t) {
|
|
3102
3102
|
return { start: e, end: t };
|
|
3103
3103
|
}
|
|
3104
3104
|
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
|
|
3105
3105
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3106
|
-
},
|
|
3106
|
+
}, ze = !0;
|
|
3107
3107
|
try {
|
|
3108
3108
|
var ai = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
|
-
|
|
3109
|
+
ze = ((Ie = ai.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3110
3110
|
} catch (e) {
|
|
3111
|
-
|
|
3111
|
+
ze = !1;
|
|
3112
3112
|
}
|
|
3113
3113
|
var wt = Kn ? (
|
|
3114
3114
|
// Native
|
|
@@ -3120,7 +3120,7 @@ var wt = Kn ? (
|
|
|
3120
3120
|
function(t, r, n) {
|
|
3121
3121
|
return t.slice(n, n + r.length) === r;
|
|
3122
3122
|
}
|
|
3123
|
-
),
|
|
3123
|
+
), Ze = ei ? String.fromCodePoint : (
|
|
3124
3124
|
// IE11
|
|
3125
3125
|
function() {
|
|
3126
3126
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3182,24 +3182,24 @@ var wt = Kn ? (
|
|
|
3182
3182
|
function hr(e, t) {
|
|
3183
3183
|
return new RegExp(e, t);
|
|
3184
3184
|
}
|
|
3185
|
-
var
|
|
3186
|
-
if (
|
|
3185
|
+
var Qe;
|
|
3186
|
+
if (ze) {
|
|
3187
3187
|
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3188
|
-
|
|
3188
|
+
Qe = function(t, r) {
|
|
3189
3189
|
var n;
|
|
3190
3190
|
Ht.lastIndex = r;
|
|
3191
3191
|
var i = Ht.exec(t);
|
|
3192
3192
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3193
3193
|
};
|
|
3194
3194
|
} else
|
|
3195
|
-
|
|
3195
|
+
Qe = function(t, r) {
|
|
3196
3196
|
for (var n = []; ; ) {
|
|
3197
3197
|
var i = lr(t, r);
|
|
3198
3198
|
if (i === void 0 || cr(i) || mi(i))
|
|
3199
3199
|
break;
|
|
3200
3200
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3201
3201
|
}
|
|
3202
|
-
return
|
|
3202
|
+
return Ze.apply(void 0, n);
|
|
3203
3203
|
};
|
|
3204
3204
|
var hi = (
|
|
3205
3205
|
/** @class */
|
|
@@ -3226,13 +3226,13 @@ var hi = (
|
|
|
3226
3226
|
var a = this.clonePosition();
|
|
3227
3227
|
this.bump(), i.push({
|
|
3228
3228
|
type: E.pound,
|
|
3229
|
-
location:
|
|
3229
|
+
location: g(a, this.clonePosition())
|
|
3230
3230
|
});
|
|
3231
3231
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3232
3232
|
if (n)
|
|
3233
3233
|
break;
|
|
3234
|
-
return this.error(
|
|
3235
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3234
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3235
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3236
3236
|
var s = this.parseTag(t, r);
|
|
3237
3237
|
if (s.err)
|
|
3238
3238
|
return s;
|
|
@@ -3255,7 +3255,7 @@ var hi = (
|
|
|
3255
3255
|
val: {
|
|
3256
3256
|
type: E.literal,
|
|
3257
3257
|
value: "<".concat(i, "/>"),
|
|
3258
|
-
location:
|
|
3258
|
+
location: g(n, this.clonePosition())
|
|
3259
3259
|
},
|
|
3260
3260
|
err: null
|
|
3261
3261
|
};
|
|
@@ -3265,22 +3265,22 @@ var hi = (
|
|
|
3265
3265
|
return o;
|
|
3266
3266
|
var s = o.val, a = this.clonePosition();
|
|
3267
3267
|
if (this.bumpIf("</")) {
|
|
3268
|
-
if (this.isEOF() || !
|
|
3269
|
-
return this.error(
|
|
3268
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3269
|
+
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
|
3270
3270
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3271
|
-
return i !== u ? this.error(
|
|
3271
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3272
3272
|
val: {
|
|
3273
3273
|
type: E.tag,
|
|
3274
3274
|
value: i,
|
|
3275
3275
|
children: s,
|
|
3276
|
-
location:
|
|
3276
|
+
location: g(n, this.clonePosition())
|
|
3277
3277
|
},
|
|
3278
3278
|
err: null
|
|
3279
|
-
} : this.error(
|
|
3279
|
+
} : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
|
|
3280
3280
|
} else
|
|
3281
|
-
return this.error(
|
|
3281
|
+
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3282
3282
|
} else
|
|
3283
|
-
return this.error(
|
|
3283
|
+
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
|
3284
3284
|
}, e.prototype.parseTagName = function() {
|
|
3285
3285
|
var t = this.offset();
|
|
3286
3286
|
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
|
@@ -3305,7 +3305,7 @@ var hi = (
|
|
|
3305
3305
|
}
|
|
3306
3306
|
break;
|
|
3307
3307
|
}
|
|
3308
|
-
var l =
|
|
3308
|
+
var l = g(n, this.clonePosition());
|
|
3309
3309
|
return {
|
|
3310
3310
|
val: { type: E.literal, value: i, location: l },
|
|
3311
3311
|
err: null
|
|
@@ -3346,23 +3346,23 @@ var hi = (
|
|
|
3346
3346
|
r.push(n);
|
|
3347
3347
|
this.bump();
|
|
3348
3348
|
}
|
|
3349
|
-
return
|
|
3349
|
+
return Ze.apply(void 0, r);
|
|
3350
3350
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3351
3351
|
if (this.isEOF())
|
|
3352
3352
|
return null;
|
|
3353
3353
|
var n = this.char();
|
|
3354
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3354
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3355
3355
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3356
3356
|
var n = this.clonePosition();
|
|
3357
3357
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3358
|
-
return this.error(
|
|
3358
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3359
3359
|
if (this.char() === 125)
|
|
3360
|
-
return this.bump(), this.error(
|
|
3360
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3361
3361
|
var i = this.parseIdentifierIfPossible().value;
|
|
3362
3362
|
if (!i)
|
|
3363
|
-
return this.error(
|
|
3363
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3364
3364
|
if (this.bumpSpace(), this.isEOF())
|
|
3365
|
-
return this.error(
|
|
3365
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3366
3366
|
switch (this.char()) {
|
|
3367
3367
|
case 125:
|
|
3368
3368
|
return this.bump(), {
|
|
@@ -3370,25 +3370,25 @@ var hi = (
|
|
|
3370
3370
|
type: E.argument,
|
|
3371
3371
|
// value does not include the opening and closing braces.
|
|
3372
3372
|
value: i,
|
|
3373
|
-
location:
|
|
3373
|
+
location: g(n, this.clonePosition())
|
|
3374
3374
|
},
|
|
3375
3375
|
err: null
|
|
3376
3376
|
};
|
|
3377
3377
|
case 44:
|
|
3378
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3378
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3379
3379
|
default:
|
|
3380
|
-
return this.error(
|
|
3380
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3381
3381
|
}
|
|
3382
3382
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3383
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3383
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3384
3384
|
this.bumpTo(i);
|
|
3385
|
-
var o = this.clonePosition(), s =
|
|
3385
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3386
3386
|
return { value: n, location: s };
|
|
3387
3387
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3388
3388
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3389
3389
|
switch (a) {
|
|
3390
3390
|
case "":
|
|
3391
|
-
return this.error(
|
|
3391
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
|
|
3392
3392
|
case "number":
|
|
3393
3393
|
case "date":
|
|
3394
3394
|
case "time": {
|
|
@@ -3401,14 +3401,14 @@ var hi = (
|
|
|
3401
3401
|
return c;
|
|
3402
3402
|
var f = li(c.val);
|
|
3403
3403
|
if (f.length === 0)
|
|
3404
|
-
return this.error(
|
|
3405
|
-
var m =
|
|
3404
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3405
|
+
var m = g(h, this.clonePosition());
|
|
3406
3406
|
u = { style: f, styleLocation: m };
|
|
3407
3407
|
}
|
|
3408
|
-
var
|
|
3409
|
-
if (
|
|
3410
|
-
return
|
|
3411
|
-
var d =
|
|
3408
|
+
var v = this.tryParseArgumentClose(i);
|
|
3409
|
+
if (v.err)
|
|
3410
|
+
return v;
|
|
3411
|
+
var d = g(i, this.clonePosition());
|
|
3412
3412
|
if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3413
3413
|
var S = ui(u.style.slice(2));
|
|
3414
3414
|
if (a === "number") {
|
|
@@ -3419,17 +3419,17 @@ var hi = (
|
|
|
3419
3419
|
};
|
|
3420
3420
|
} else {
|
|
3421
3421
|
if (S.length === 0)
|
|
3422
|
-
return this.error(
|
|
3423
|
-
var
|
|
3424
|
-
this.locale && (
|
|
3422
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
|
|
3423
|
+
var P = S;
|
|
3424
|
+
this.locale && (P = Qn(S, this.locale));
|
|
3425
3425
|
var f = {
|
|
3426
|
-
type:
|
|
3427
|
-
pattern:
|
|
3426
|
+
type: X.dateTime,
|
|
3427
|
+
pattern: P,
|
|
3428
3428
|
location: u.styleLocation,
|
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ? jn(
|
|
3430
|
-
},
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? jn(P) : {}
|
|
3430
|
+
}, H = a === "date" ? E.date : E.time;
|
|
3431
3431
|
return {
|
|
3432
|
-
val: { type:
|
|
3432
|
+
val: { type: H, value: n, location: d, style: f },
|
|
3433
3433
|
err: null
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
@@ -3447,52 +3447,52 @@ var hi = (
|
|
|
3447
3447
|
case "plural":
|
|
3448
3448
|
case "selectordinal":
|
|
3449
3449
|
case "select": {
|
|
3450
|
-
var
|
|
3450
|
+
var _ = this.clonePosition();
|
|
3451
3451
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3452
|
-
return this.error(
|
|
3452
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
|
|
3453
3453
|
this.bumpSpace();
|
|
3454
|
-
var
|
|
3455
|
-
if (a !== "select" &&
|
|
3454
|
+
var x = this.parseIdentifierIfPossible(), y = 0;
|
|
3455
|
+
if (a !== "select" && x.value === "offset") {
|
|
3456
3456
|
if (!this.bumpIf(":"))
|
|
3457
|
-
return this.error(
|
|
3457
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3458
3458
|
this.bumpSpace();
|
|
3459
|
-
var c = this.tryParseDecimalInteger(
|
|
3459
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3460
3460
|
if (c.err)
|
|
3461
3461
|
return c;
|
|
3462
|
-
this.bumpSpace(),
|
|
3462
|
+
this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
|
|
3463
3463
|
}
|
|
3464
|
-
var
|
|
3465
|
-
if (
|
|
3466
|
-
return
|
|
3467
|
-
var
|
|
3468
|
-
if (
|
|
3469
|
-
return
|
|
3470
|
-
var
|
|
3464
|
+
var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
|
|
3465
|
+
if (A.err)
|
|
3466
|
+
return A;
|
|
3467
|
+
var v = this.tryParseArgumentClose(i);
|
|
3468
|
+
if (v.err)
|
|
3469
|
+
return v;
|
|
3470
|
+
var ae = g(i, this.clonePosition());
|
|
3471
3471
|
return a === "select" ? {
|
|
3472
3472
|
val: {
|
|
3473
3473
|
type: E.select,
|
|
3474
3474
|
value: n,
|
|
3475
|
-
options: Tt(
|
|
3476
|
-
location:
|
|
3475
|
+
options: Tt(A.val),
|
|
3476
|
+
location: ae
|
|
3477
3477
|
},
|
|
3478
3478
|
err: null
|
|
3479
3479
|
} : {
|
|
3480
3480
|
val: {
|
|
3481
3481
|
type: E.plural,
|
|
3482
3482
|
value: n,
|
|
3483
|
-
options: Tt(
|
|
3484
|
-
offset:
|
|
3483
|
+
options: Tt(A.val),
|
|
3484
|
+
offset: y,
|
|
3485
3485
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3486
|
-
location:
|
|
3486
|
+
location: ae
|
|
3487
3487
|
},
|
|
3488
3488
|
err: null
|
|
3489
3489
|
};
|
|
3490
3490
|
}
|
|
3491
3491
|
default:
|
|
3492
|
-
return this.error(
|
|
3492
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
|
|
3493
3493
|
}
|
|
3494
3494
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3495
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3495
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3496
3496
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3497
3497
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3498
3498
|
var n = this.char();
|
|
@@ -3501,7 +3501,7 @@ var hi = (
|
|
|
3501
3501
|
this.bump();
|
|
3502
3502
|
var i = this.clonePosition();
|
|
3503
3503
|
if (!this.bumpUntil("'"))
|
|
3504
|
-
return this.error(
|
|
3504
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3505
3505
|
this.bump();
|
|
3506
3506
|
break;
|
|
3507
3507
|
}
|
|
@@ -3533,11 +3533,11 @@ var hi = (
|
|
|
3533
3533
|
try {
|
|
3534
3534
|
n = Vn(t);
|
|
3535
3535
|
} catch (i) {
|
|
3536
|
-
return this.error(
|
|
3536
|
+
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3537
3537
|
}
|
|
3538
3538
|
return {
|
|
3539
3539
|
val: {
|
|
3540
|
-
type:
|
|
3540
|
+
type: X.number,
|
|
3541
3541
|
tokens: n,
|
|
3542
3542
|
location: r,
|
|
3543
3543
|
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
|
@@ -3549,34 +3549,34 @@ var hi = (
|
|
|
3549
3549
|
if (u.length === 0) {
|
|
3550
3550
|
var c = this.clonePosition();
|
|
3551
3551
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3552
|
-
var f = this.tryParseDecimalInteger(
|
|
3552
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3553
3553
|
if (f.err)
|
|
3554
3554
|
return f;
|
|
3555
|
-
h =
|
|
3555
|
+
h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3556
3556
|
} else
|
|
3557
3557
|
break;
|
|
3558
3558
|
}
|
|
3559
3559
|
if (l.has(u))
|
|
3560
|
-
return this.error(r === "select" ?
|
|
3560
|
+
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3561
3561
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3562
3562
|
var m = this.clonePosition();
|
|
3563
3563
|
if (!this.bumpIf("{"))
|
|
3564
|
-
return this.error(r === "select" ?
|
|
3565
|
-
var
|
|
3566
|
-
if (
|
|
3567
|
-
return
|
|
3564
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3565
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3566
|
+
if (v.err)
|
|
3567
|
+
return v;
|
|
3568
3568
|
var d = this.tryParseArgumentClose(m);
|
|
3569
3569
|
if (d.err)
|
|
3570
3570
|
return d;
|
|
3571
3571
|
a.push([
|
|
3572
3572
|
u,
|
|
3573
3573
|
{
|
|
3574
|
-
value:
|
|
3575
|
-
location:
|
|
3574
|
+
value: v.val,
|
|
3575
|
+
location: g(m, this.clonePosition())
|
|
3576
3576
|
}
|
|
3577
3577
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3578
3578
|
}
|
|
3579
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3579
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3580
3580
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3581
3581
|
var n = 1, i = this.clonePosition();
|
|
3582
3582
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3587,7 +3587,7 @@ var hi = (
|
|
|
3587
3587
|
else
|
|
3588
3588
|
break;
|
|
3589
3589
|
}
|
|
3590
|
-
var l =
|
|
3590
|
+
var l = g(i, this.clonePosition());
|
|
3591
3591
|
return o ? (s *= n, si(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3592
3592
|
}, e.prototype.offset = function() {
|
|
3593
3593
|
return this.position.offset;
|
|
@@ -3654,11 +3654,11 @@ var hi = (
|
|
|
3654
3654
|
}, e;
|
|
3655
3655
|
}()
|
|
3656
3656
|
);
|
|
3657
|
-
function
|
|
3657
|
+
function Je(e) {
|
|
3658
3658
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3659
3659
|
}
|
|
3660
3660
|
function ci(e) {
|
|
3661
|
-
return
|
|
3661
|
+
return Je(e) || e === 47;
|
|
3662
3662
|
}
|
|
3663
3663
|
function fi(e) {
|
|
3664
3664
|
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;
|
|
@@ -3669,32 +3669,32 @@ function cr(e) {
|
|
|
3669
3669
|
function mi(e) {
|
|
3670
3670
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3671
3671
|
}
|
|
3672
|
-
function
|
|
3672
|
+
function Ye(e) {
|
|
3673
3673
|
e.forEach(function(t) {
|
|
3674
3674
|
if (delete t.location, tr(t) || rr(t))
|
|
3675
3675
|
for (var r in t.options)
|
|
3676
|
-
delete t.options[r].location,
|
|
3676
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3677
3677
|
else
|
|
3678
|
-
qt(t) && ir(t.style) || (Kt(t) || er(t)) &&
|
|
3678
|
+
qt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
|
3679
3679
|
});
|
|
3680
3680
|
}
|
|
3681
3681
|
function pi(e, t) {
|
|
3682
|
-
t === void 0 && (t = {}), t =
|
|
3682
|
+
t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3683
3683
|
var r = new hi(e, t).parse();
|
|
3684
3684
|
if (r.err) {
|
|
3685
|
-
var n = SyntaxError(
|
|
3685
|
+
var n = SyntaxError(p[r.err.kind]);
|
|
3686
3686
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3687
3687
|
}
|
|
3688
|
-
return t != null && t.captureLocation ||
|
|
3688
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3689
3689
|
}
|
|
3690
|
-
var
|
|
3690
|
+
var W;
|
|
3691
3691
|
(function(e) {
|
|
3692
3692
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3693
|
-
})(
|
|
3694
|
-
var
|
|
3693
|
+
})(W || (W = {}));
|
|
3694
|
+
var Se = (
|
|
3695
3695
|
/** @class */
|
|
3696
3696
|
function(e) {
|
|
3697
|
-
|
|
3697
|
+
Ee(t, e);
|
|
3698
3698
|
function t(r, n, i) {
|
|
3699
3699
|
var o = e.call(this, r) || this;
|
|
3700
3700
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3703,51 +3703,51 @@ var we = (
|
|
|
3703
3703
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3704
3704
|
}, t;
|
|
3705
3705
|
}(Error)
|
|
3706
|
-
),
|
|
3706
|
+
), At = (
|
|
3707
3707
|
/** @class */
|
|
3708
3708
|
function(e) {
|
|
3709
|
-
|
|
3709
|
+
Ee(t, e);
|
|
3710
3710
|
function t(r, n, i, o) {
|
|
3711
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3711
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3712
3712
|
}
|
|
3713
3713
|
return t;
|
|
3714
|
-
}(
|
|
3714
|
+
}(Se)
|
|
3715
3715
|
), di = (
|
|
3716
3716
|
/** @class */
|
|
3717
3717
|
function(e) {
|
|
3718
|
-
|
|
3718
|
+
Ee(t, e);
|
|
3719
3719
|
function t(r, n, i) {
|
|
3720
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3720
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3721
3721
|
}
|
|
3722
3722
|
return t;
|
|
3723
|
-
}(
|
|
3723
|
+
}(Se)
|
|
3724
3724
|
), bi = (
|
|
3725
3725
|
/** @class */
|
|
3726
3726
|
function(e) {
|
|
3727
|
-
|
|
3727
|
+
Ee(t, e);
|
|
3728
3728
|
function t(r, n) {
|
|
3729
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3729
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3730
3730
|
}
|
|
3731
3731
|
return t;
|
|
3732
|
-
}(
|
|
3733
|
-
),
|
|
3732
|
+
}(Se)
|
|
3733
|
+
), C;
|
|
3734
3734
|
(function(e) {
|
|
3735
3735
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3736
|
-
})(
|
|
3736
|
+
})(C || (C = {}));
|
|
3737
3737
|
function gi(e) {
|
|
3738
3738
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3739
3739
|
var n = t[t.length - 1];
|
|
3740
|
-
return !n || n.type !==
|
|
3740
|
+
return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
|
|
3741
3741
|
}, []);
|
|
3742
3742
|
}
|
|
3743
3743
|
function vi(e) {
|
|
3744
3744
|
return typeof e == "function";
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3746
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3747
3747
|
if (e.length === 1 && _t(e[0]))
|
|
3748
3748
|
return [
|
|
3749
3749
|
{
|
|
3750
|
-
type:
|
|
3750
|
+
type: C.literal,
|
|
3751
3751
|
value: e[0].value
|
|
3752
3752
|
}
|
|
3753
3753
|
];
|
|
@@ -3755,14 +3755,14 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3755
3755
|
var h = u[l];
|
|
3756
3756
|
if (_t(h)) {
|
|
3757
3757
|
a.push({
|
|
3758
|
-
type:
|
|
3758
|
+
type: C.literal,
|
|
3759
3759
|
value: h.value
|
|
3760
3760
|
});
|
|
3761
3761
|
continue;
|
|
3762
3762
|
}
|
|
3763
3763
|
if (Dn(h)) {
|
|
3764
3764
|
typeof o == "number" && a.push({
|
|
3765
|
-
type:
|
|
3765
|
+
type: C.literal,
|
|
3766
3766
|
value: r.getNumberFormat(t).format(o)
|
|
3767
3767
|
});
|
|
3768
3768
|
continue;
|
|
@@ -3773,23 +3773,23 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3773
3773
|
var f = i[c];
|
|
3774
3774
|
if (Un(h)) {
|
|
3775
3775
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3776
|
-
type: typeof f == "string" ?
|
|
3776
|
+
type: typeof f == "string" ? C.literal : C.object,
|
|
3777
3777
|
value: f
|
|
3778
3778
|
});
|
|
3779
3779
|
continue;
|
|
3780
3780
|
}
|
|
3781
3781
|
if (Kt(h)) {
|
|
3782
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3782
|
+
var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3783
3783
|
a.push({
|
|
3784
|
-
type:
|
|
3784
|
+
type: C.literal,
|
|
3785
3785
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3786
3786
|
});
|
|
3787
3787
|
continue;
|
|
3788
3788
|
}
|
|
3789
3789
|
if (er(h)) {
|
|
3790
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3790
|
+
var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3791
3791
|
a.push({
|
|
3792
|
-
type:
|
|
3792
|
+
type: C.literal,
|
|
3793
3793
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3794
3794
|
});
|
|
3795
3795
|
continue;
|
|
@@ -3797,59 +3797,59 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3797
3797
|
if (qt(h)) {
|
|
3798
3798
|
var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3799
3799
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3800
|
-
type:
|
|
3800
|
+
type: C.literal,
|
|
3801
3801
|
value: r.getNumberFormat(t, m).format(f)
|
|
3802
3802
|
});
|
|
3803
3803
|
continue;
|
|
3804
3804
|
}
|
|
3805
3805
|
if (nr(h)) {
|
|
3806
|
-
var
|
|
3806
|
+
var v = h.children, d = h.value, S = i[d];
|
|
3807
3807
|
if (!vi(S))
|
|
3808
3808
|
throw new di(d, "function", s);
|
|
3809
|
-
var
|
|
3810
|
-
return
|
|
3809
|
+
var P = pe(v, t, r, n, i, o), H = S(P.map(function(y) {
|
|
3810
|
+
return y.value;
|
|
3811
3811
|
}));
|
|
3812
|
-
Array.isArray(
|
|
3812
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
|
|
3813
3813
|
return {
|
|
3814
|
-
type: typeof
|
|
3815
|
-
value:
|
|
3814
|
+
type: typeof y == "string" ? C.literal : C.object,
|
|
3815
|
+
value: y
|
|
3816
3816
|
};
|
|
3817
3817
|
}));
|
|
3818
3818
|
}
|
|
3819
3819
|
if (tr(h)) {
|
|
3820
|
-
var
|
|
3821
|
-
if (!
|
|
3822
|
-
throw new
|
|
3823
|
-
a.push.apply(a,
|
|
3820
|
+
var _ = h.options[f] || h.options.other;
|
|
3821
|
+
if (!_)
|
|
3822
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
|
3823
|
+
a.push.apply(a, pe(_.value, t, r, n, i));
|
|
3824
3824
|
continue;
|
|
3825
3825
|
}
|
|
3826
3826
|
if (rr(h)) {
|
|
3827
|
-
var
|
|
3828
|
-
if (!
|
|
3827
|
+
var _ = h.options["=".concat(f)];
|
|
3828
|
+
if (!_) {
|
|
3829
3829
|
if (!Intl.PluralRules)
|
|
3830
|
-
throw new
|
|
3830
|
+
throw new Se(`Intl.PluralRules is not available in this environment.
|
|
3831
3831
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3832
|
-
`,
|
|
3833
|
-
var
|
|
3834
|
-
|
|
3832
|
+
`, W.MISSING_INTL_API, s);
|
|
3833
|
+
var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3834
|
+
_ = h.options[x] || h.options.other;
|
|
3835
3835
|
}
|
|
3836
|
-
if (!
|
|
3837
|
-
throw new
|
|
3838
|
-
a.push.apply(a,
|
|
3836
|
+
if (!_)
|
|
3837
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
|
3838
|
+
a.push.apply(a, pe(_.value, t, r, n, i, f - (h.offset || 0)));
|
|
3839
3839
|
continue;
|
|
3840
3840
|
}
|
|
3841
3841
|
}
|
|
3842
3842
|
return gi(a);
|
|
3843
3843
|
}
|
|
3844
3844
|
function yi(e, t) {
|
|
3845
|
-
return t ?
|
|
3846
|
-
return r[n] =
|
|
3845
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3846
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3847
3847
|
}, {})) : e;
|
|
3848
3848
|
}
|
|
3849
3849
|
function _i(e, t) {
|
|
3850
3850
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3851
3851
|
return r[n] = yi(e[n], t[n]), r;
|
|
3852
|
-
},
|
|
3852
|
+
}, N({}, e)) : e;
|
|
3853
3853
|
}
|
|
3854
3854
|
function Me(e) {
|
|
3855
3855
|
return {
|
|
@@ -3871,29 +3871,29 @@ function xi(e) {
|
|
|
3871
3871
|
dateTime: {},
|
|
3872
3872
|
pluralRules: {}
|
|
3873
3873
|
}), {
|
|
3874
|
-
getNumberFormat:
|
|
3874
|
+
getNumberFormat: Pe(function() {
|
|
3875
3875
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3876
3876
|
r[n] = arguments[n];
|
|
3877
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3877
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3878
3878
|
}, {
|
|
3879
3879
|
cache: Me(e.number),
|
|
3880
|
-
strategy:
|
|
3880
|
+
strategy: Oe.variadic
|
|
3881
3881
|
}),
|
|
3882
|
-
getDateTimeFormat:
|
|
3882
|
+
getDateTimeFormat: Pe(function() {
|
|
3883
3883
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3884
3884
|
r[n] = arguments[n];
|
|
3885
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3885
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3886
3886
|
}, {
|
|
3887
3887
|
cache: Me(e.dateTime),
|
|
3888
|
-
strategy:
|
|
3888
|
+
strategy: Oe.variadic
|
|
3889
3889
|
}),
|
|
3890
|
-
getPluralRules:
|
|
3890
|
+
getPluralRules: Pe(function() {
|
|
3891
3891
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3892
3892
|
r[n] = arguments[n];
|
|
3893
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3893
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3894
3894
|
}, {
|
|
3895
3895
|
cache: Me(e.pluralRules),
|
|
3896
|
-
strategy:
|
|
3896
|
+
strategy: Oe.variadic
|
|
3897
3897
|
})
|
|
3898
3898
|
};
|
|
3899
3899
|
}
|
|
@@ -3912,11 +3912,11 @@ var Ei = (
|
|
|
3912
3912
|
if (u.length === 1)
|
|
3913
3913
|
return u[0].value;
|
|
3914
3914
|
var h = u.reduce(function(c, f) {
|
|
3915
|
-
return !c.length || f.type !==
|
|
3915
|
+
return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3916
3916
|
}, []);
|
|
3917
3917
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3918
3918
|
}, this.formatToParts = function(l) {
|
|
3919
|
-
return
|
|
3919
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3920
3920
|
}, this.resolvedOptions = function() {
|
|
3921
3921
|
var l;
|
|
3922
3922
|
return {
|
|
@@ -3930,7 +3930,7 @@ var Ei = (
|
|
|
3930
3930
|
var s = i || {};
|
|
3931
3931
|
s.formatters;
|
|
3932
3932
|
var a = On(s, ["formatters"]);
|
|
3933
|
-
this.ast = e.__parse(t,
|
|
3933
|
+
this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
|
|
3934
3934
|
} else
|
|
3935
3935
|
this.ast = t;
|
|
3936
3936
|
if (!Array.isArray(this.ast))
|
|
@@ -4030,12 +4030,12 @@ function Si(e, t) {
|
|
|
4030
4030
|
n = void 0;
|
|
4031
4031
|
return n;
|
|
4032
4032
|
}
|
|
4033
|
-
const
|
|
4033
|
+
const $ = {}, wi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
|
|
4034
4034
|
if (t == null)
|
|
4035
4035
|
return;
|
|
4036
|
-
if (t in
|
|
4037
|
-
return
|
|
4038
|
-
const r =
|
|
4036
|
+
if (t in $ && e in $[t])
|
|
4037
|
+
return $[t][e];
|
|
4038
|
+
const r = we(t);
|
|
4039
4039
|
for (let n = 0; n < r.length; n++) {
|
|
4040
4040
|
const i = r[n], o = Hi(i, e);
|
|
4041
4041
|
if (o)
|
|
@@ -4043,7 +4043,7 @@ const G = {}, wi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
|
|
|
4043
4043
|
}
|
|
4044
4044
|
};
|
|
4045
4045
|
let rt;
|
|
4046
|
-
const
|
|
4046
|
+
const se = xe({});
|
|
4047
4047
|
function Ti(e) {
|
|
4048
4048
|
return rt[e] || null;
|
|
4049
4049
|
}
|
|
@@ -4056,10 +4056,10 @@ function Hi(e, t) {
|
|
|
4056
4056
|
const r = Ti(e);
|
|
4057
4057
|
return Si(r, t);
|
|
4058
4058
|
}
|
|
4059
|
-
function
|
|
4059
|
+
function Ai(e) {
|
|
4060
4060
|
if (e == null)
|
|
4061
4061
|
return;
|
|
4062
|
-
const t =
|
|
4062
|
+
const t = we(e);
|
|
4063
4063
|
for (let r = 0; r < t.length; r++) {
|
|
4064
4064
|
const n = t[r];
|
|
4065
4065
|
if (mr(n))
|
|
@@ -4067,28 +4067,28 @@ function Bi(e) {
|
|
|
4067
4067
|
}
|
|
4068
4068
|
}
|
|
4069
4069
|
function pr(e, ...t) {
|
|
4070
|
-
delete
|
|
4070
|
+
delete $[e], se.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
|
|
4071
4071
|
}
|
|
4072
|
-
|
|
4073
|
-
[
|
|
4072
|
+
J(
|
|
4073
|
+
[se],
|
|
4074
4074
|
([e]) => Object.keys(e)
|
|
4075
4075
|
);
|
|
4076
|
-
|
|
4077
|
-
const
|
|
4078
|
-
function
|
|
4079
|
-
|
|
4076
|
+
se.subscribe((e) => rt = e);
|
|
4077
|
+
const de = {};
|
|
4078
|
+
function Bi(e, t) {
|
|
4079
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
4080
4080
|
}
|
|
4081
4081
|
function dr(e) {
|
|
4082
|
-
return
|
|
4082
|
+
return de[e];
|
|
4083
4083
|
}
|
|
4084
4084
|
function Ci(e) {
|
|
4085
|
-
return
|
|
4085
|
+
return we(e).map((t) => {
|
|
4086
4086
|
const r = dr(t);
|
|
4087
4087
|
return [t, r ? [...r] : []];
|
|
4088
4088
|
}).filter(([, t]) => t.length > 0);
|
|
4089
4089
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return e == null ? !1 :
|
|
4090
|
+
function qe(e) {
|
|
4091
|
+
return e == null ? !1 : we(e).some(
|
|
4092
4092
|
(t) => {
|
|
4093
4093
|
var r;
|
|
4094
4094
|
return (r = dr(t)) == null ? void 0 : r.size;
|
|
@@ -4097,23 +4097,23 @@ function Ke(e) {
|
|
|
4097
4097
|
}
|
|
4098
4098
|
function Pi(e, t) {
|
|
4099
4099
|
return Promise.all(
|
|
4100
|
-
t.map((n) => (
|
|
4100
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
|
4101
4101
|
).then((n) => pr(e, ...n));
|
|
4102
4102
|
}
|
|
4103
|
-
const
|
|
4103
|
+
const K = {};
|
|
4104
4104
|
function br(e) {
|
|
4105
|
-
if (!
|
|
4106
|
-
return e in
|
|
4105
|
+
if (!qe(e))
|
|
4106
|
+
return e in K ? K[e] : Promise.resolve();
|
|
4107
4107
|
const t = Ci(e);
|
|
4108
|
-
return
|
|
4108
|
+
return K[e] = Promise.all(
|
|
4109
4109
|
t.map(
|
|
4110
4110
|
([r, n]) => Pi(r, n)
|
|
4111
4111
|
)
|
|
4112
4112
|
).then(() => {
|
|
4113
|
-
if (
|
|
4113
|
+
if (qe(e))
|
|
4114
4114
|
return br(e);
|
|
4115
|
-
delete
|
|
4116
|
-
}),
|
|
4115
|
+
delete K[e];
|
|
4116
|
+
}), K[e];
|
|
4117
4117
|
}
|
|
4118
4118
|
const Oi = {
|
|
4119
4119
|
number: {
|
|
@@ -4151,126 +4151,126 @@ const Oi = {
|
|
|
4151
4151
|
warnOnMissingMessages: !0,
|
|
4152
4152
|
handleMissingMessage: void 0,
|
|
4153
4153
|
ignoreTag: !0
|
|
4154
|
-
},
|
|
4155
|
-
function
|
|
4156
|
-
return
|
|
4154
|
+
}, Mi = Ii;
|
|
4155
|
+
function z() {
|
|
4156
|
+
return Mi;
|
|
4157
4157
|
}
|
|
4158
|
-
const
|
|
4159
|
-
var
|
|
4158
|
+
const Ne = xe(!1);
|
|
4159
|
+
var Ni = Object.defineProperty, Li = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
|
|
4160
4160
|
for (var r in t || (t = {}))
|
|
4161
4161
|
$i.call(t, r) && Ct(e, r, t[r]);
|
|
4162
|
-
if (
|
|
4163
|
-
for (var r of
|
|
4162
|
+
if (Bt)
|
|
4163
|
+
for (var r of Bt(t))
|
|
4164
4164
|
Gi.call(t, r) && Ct(e, r, t[r]);
|
|
4165
4165
|
return e;
|
|
4166
4166
|
}, Di = (e, t) => Li(e, Ri(t));
|
|
4167
|
-
let
|
|
4168
|
-
const
|
|
4167
|
+
let Ke;
|
|
4168
|
+
const ge = xe(null);
|
|
4169
4169
|
function Pt(e) {
|
|
4170
4170
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4171
4171
|
}
|
|
4172
|
-
function
|
|
4172
|
+
function we(e, t = z().fallbackLocale) {
|
|
4173
4173
|
const r = Pt(e);
|
|
4174
4174
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4175
4175
|
}
|
|
4176
|
-
function
|
|
4177
|
-
return
|
|
4176
|
+
function G() {
|
|
4177
|
+
return Ke != null ? Ke : void 0;
|
|
4178
4178
|
}
|
|
4179
|
-
|
|
4180
|
-
|
|
4179
|
+
ge.subscribe((e) => {
|
|
4180
|
+
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4181
4181
|
});
|
|
4182
4182
|
const Fi = (e) => {
|
|
4183
|
-
if (e &&
|
|
4184
|
-
const { loadingDelay: t } =
|
|
4183
|
+
if (e && Ai(e) && qe(e)) {
|
|
4184
|
+
const { loadingDelay: t } = z();
|
|
4185
4185
|
let r;
|
|
4186
|
-
return typeof window != "undefined" &&
|
|
4187
|
-
() =>
|
|
4186
|
+
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
4187
|
+
() => Ne.set(!0),
|
|
4188
4188
|
t
|
|
4189
|
-
) :
|
|
4190
|
-
|
|
4189
|
+
) : Ne.set(!0), br(e).then(() => {
|
|
4190
|
+
ge.set(e);
|
|
4191
4191
|
}).finally(() => {
|
|
4192
|
-
clearTimeout(r),
|
|
4192
|
+
clearTimeout(r), Ne.set(!1);
|
|
4193
4193
|
});
|
|
4194
4194
|
}
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4195
|
+
return ge.set(e);
|
|
4196
|
+
}, Y = Di(Ui({}, ge), {
|
|
4197
4197
|
set: Fi
|
|
4198
|
-
}),
|
|
4198
|
+
}), Te = (e) => {
|
|
4199
4199
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4200
4200
|
return (n) => {
|
|
4201
4201
|
const i = JSON.stringify(n);
|
|
4202
4202
|
return i in t ? t[i] : t[i] = e(n);
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
|
-
var ji = Object.defineProperty,
|
|
4205
|
+
var ji = Object.defineProperty, ve = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4206
4206
|
for (var r in t || (t = {}))
|
|
4207
4207
|
gr.call(t, r) && Ot(e, r, t[r]);
|
|
4208
|
-
if (
|
|
4209
|
-
for (var r of
|
|
4208
|
+
if (ve)
|
|
4209
|
+
for (var r of ve(t))
|
|
4210
4210
|
vr.call(t, r) && Ot(e, r, t[r]);
|
|
4211
4211
|
return e;
|
|
4212
|
-
},
|
|
4212
|
+
}, q = (e, t) => {
|
|
4213
4213
|
var r = {};
|
|
4214
4214
|
for (var n in e)
|
|
4215
4215
|
gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4216
|
-
if (e != null &&
|
|
4217
|
-
for (var n of
|
|
4216
|
+
if (e != null && ve)
|
|
4217
|
+
for (var n of ve(e))
|
|
4218
4218
|
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
|
4219
4219
|
return r;
|
|
4220
4220
|
};
|
|
4221
|
-
const
|
|
4222
|
-
const { formats: r } =
|
|
4221
|
+
const ne = (e, t) => {
|
|
4222
|
+
const { formats: r } = z();
|
|
4223
4223
|
if (e in r && t in r[e])
|
|
4224
4224
|
return r[e][t];
|
|
4225
4225
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4226
|
-
}, ki =
|
|
4226
|
+
}, ki = Te(
|
|
4227
4227
|
(e) => {
|
|
4228
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4228
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4229
4229
|
if (r == null)
|
|
4230
4230
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4231
|
-
return n && (i =
|
|
4231
|
+
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4232
4232
|
}
|
|
4233
|
-
), Vi =
|
|
4233
|
+
), Vi = Te(
|
|
4234
4234
|
(e) => {
|
|
4235
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4235
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4236
4236
|
if (r == null)
|
|
4237
4237
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4238
|
-
return n ? i =
|
|
4238
|
+
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4239
4239
|
}
|
|
4240
|
-
), Xi =
|
|
4240
|
+
), Xi = Te(
|
|
4241
4241
|
(e) => {
|
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4242
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4243
4243
|
if (r == null)
|
|
4244
4244
|
throw new Error(
|
|
4245
4245
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4246
4246
|
);
|
|
4247
|
-
return n ? i =
|
|
4247
|
+
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4248
4248
|
}
|
|
4249
4249
|
), Wi = (e = {}) => {
|
|
4250
4250
|
var t = e, {
|
|
4251
|
-
locale: r =
|
|
4252
|
-
} = t, n =
|
|
4251
|
+
locale: r = G()
|
|
4252
|
+
} = t, n = q(t, [
|
|
4253
4253
|
"locale"
|
|
4254
4254
|
]);
|
|
4255
4255
|
return ki(nt({ locale: r }, n));
|
|
4256
4256
|
}, zi = (e = {}) => {
|
|
4257
4257
|
var t = e, {
|
|
4258
|
-
locale: r =
|
|
4259
|
-
} = t, n =
|
|
4258
|
+
locale: r = G()
|
|
4259
|
+
} = t, n = q(t, [
|
|
4260
4260
|
"locale"
|
|
4261
4261
|
]);
|
|
4262
4262
|
return Vi(nt({ locale: r }, n));
|
|
4263
4263
|
}, Zi = (e = {}) => {
|
|
4264
4264
|
var t = e, {
|
|
4265
|
-
locale: r =
|
|
4266
|
-
} = t, n =
|
|
4265
|
+
locale: r = G()
|
|
4266
|
+
} = t, n = q(t, [
|
|
4267
4267
|
"locale"
|
|
4268
4268
|
]);
|
|
4269
4269
|
return Xi(nt({ locale: r }, n));
|
|
4270
|
-
}, Qi =
|
|
4270
|
+
}, Qi = Te(
|
|
4271
4271
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4272
|
-
(e, t =
|
|
4273
|
-
ignoreTag:
|
|
4272
|
+
(e, t = G()) => new Ei(e, t, z().formats, {
|
|
4273
|
+
ignoreTag: z().ignoreTag
|
|
4274
4274
|
})
|
|
4275
4275
|
), Ji = (e, t = {}) => {
|
|
4276
4276
|
var r, n, i, o;
|
|
@@ -4278,7 +4278,7 @@ const oe = (e, t) => {
|
|
|
4278
4278
|
typeof e == "object" && (s = e, e = s.id);
|
|
4279
4279
|
const {
|
|
4280
4280
|
values: a,
|
|
4281
|
-
locale: l =
|
|
4281
|
+
locale: l = G(),
|
|
4282
4282
|
default: u
|
|
4283
4283
|
} = s;
|
|
4284
4284
|
if (l == null)
|
|
@@ -4287,7 +4287,7 @@ const oe = (e, t) => {
|
|
|
4287
4287
|
);
|
|
4288
4288
|
let h = fr(e, l);
|
|
4289
4289
|
if (!h)
|
|
4290
|
-
h = (o = (i = (n = (r =
|
|
4290
|
+
h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4291
4291
|
else if (typeof h != "string")
|
|
4292
4292
|
return console.warn(
|
|
4293
4293
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4304,20 +4304,20 @@ const oe = (e, t) => {
|
|
|
4304
4304
|
);
|
|
4305
4305
|
}
|
|
4306
4306
|
return c;
|
|
4307
|
-
}, Yi = (e, t) => Zi(t).format(e), qi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t =
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4307
|
+
}, Yi = (e, t) => Zi(t).format(e), qi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = G()) => fr(e, t), to = J([Y, se], () => Ji);
|
|
4308
|
+
J([Y], () => Yi);
|
|
4309
|
+
J([Y], () => qi);
|
|
4310
|
+
J([Y], () => Ki);
|
|
4311
|
+
J([Y, se], () => eo);
|
|
4312
4312
|
window.emWidgets = { topic: mn };
|
|
4313
4313
|
const ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4314
4314
|
function It(e, t) {
|
|
4315
4315
|
pr(e, t);
|
|
4316
4316
|
}
|
|
4317
4317
|
function no(e) {
|
|
4318
|
-
|
|
4318
|
+
Y.set(e);
|
|
4319
4319
|
}
|
|
4320
|
-
const
|
|
4320
|
+
const Mt = {
|
|
4321
4321
|
en: {
|
|
4322
4322
|
cancel: "Cancel",
|
|
4323
4323
|
confirm: "Confirm"
|
|
@@ -4387,21 +4387,21 @@ function so(e, t, r) {
|
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
4389
4389
|
function ao(e) {
|
|
4390
|
-
|
|
4390
|
+
Mr(e, "svelte-8g0wf4", '*,*::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, 10px);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, 10px)}.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}');
|
|
4391
4391
|
}
|
|
4392
|
-
const uo = (e) => ({}),
|
|
4392
|
+
const uo = (e) => ({}), Nt = (e) => ({});
|
|
4393
4393
|
function lo(e) {
|
|
4394
4394
|
let t, r;
|
|
4395
4395
|
return {
|
|
4396
4396
|
c() {
|
|
4397
|
-
t = ht("svg"), r = ht("path"),
|
|
4397
|
+
t = ht("svg"), r = ht("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4398
4398
|
},
|
|
4399
4399
|
m(n, i) {
|
|
4400
|
-
|
|
4400
|
+
ie(n, t, i), B(t, r);
|
|
4401
4401
|
},
|
|
4402
|
-
p:
|
|
4402
|
+
p: L,
|
|
4403
4403
|
d(n) {
|
|
4404
|
-
n &&
|
|
4404
|
+
n && Q(t);
|
|
4405
4405
|
}
|
|
4406
4406
|
};
|
|
4407
4407
|
}
|
|
@@ -4409,24 +4409,24 @@ function Lt(e) {
|
|
|
4409
4409
|
let t, r, n;
|
|
4410
4410
|
return {
|
|
4411
4411
|
c() {
|
|
4412
|
-
t = M("div"), r = M("h2"), n =
|
|
4412
|
+
t = M("div"), r = M("h2"), n = ye(
|
|
4413
4413
|
/*modaltitle*/
|
|
4414
4414
|
e[1]
|
|
4415
|
-
),
|
|
4415
|
+
), T(t, "class", "GeneralConfirmationTitle");
|
|
4416
4416
|
},
|
|
4417
4417
|
m(i, o) {
|
|
4418
|
-
|
|
4418
|
+
ie(i, t, o), B(t, r), B(r, n);
|
|
4419
4419
|
},
|
|
4420
4420
|
p(i, o) {
|
|
4421
4421
|
o & /*modaltitle*/
|
|
4422
|
-
2 &&
|
|
4422
|
+
2 && tt(
|
|
4423
4423
|
n,
|
|
4424
4424
|
/*modaltitle*/
|
|
4425
4425
|
i[1]
|
|
4426
4426
|
);
|
|
4427
4427
|
},
|
|
4428
4428
|
d(i) {
|
|
4429
|
-
i &&
|
|
4429
|
+
i && Q(t);
|
|
4430
4430
|
}
|
|
4431
4431
|
};
|
|
4432
4432
|
}
|
|
@@ -4437,10 +4437,10 @@ function Rt(e) {
|
|
|
4437
4437
|
), n, i, o;
|
|
4438
4438
|
return {
|
|
4439
4439
|
c() {
|
|
4440
|
-
t = M("button"), n =
|
|
4440
|
+
t = M("button"), n = ye(r), T(t, "class", "GeneralCancelButton");
|
|
4441
4441
|
},
|
|
4442
4442
|
m(s, a) {
|
|
4443
|
-
|
|
4443
|
+
ie(s, t, a), B(t, n), i || (o = Le(
|
|
4444
4444
|
t,
|
|
4445
4445
|
"click",
|
|
4446
4446
|
/*click_handler*/
|
|
@@ -4450,28 +4450,28 @@ function Rt(e) {
|
|
|
4450
4450
|
p(s, a) {
|
|
4451
4451
|
a & /*$_*/
|
|
4452
4452
|
16 && r !== (r = /*$_*/
|
|
4453
|
-
s[4]("cancel") + "") &&
|
|
4453
|
+
s[4]("cancel") + "") && tt(n, r);
|
|
4454
4454
|
},
|
|
4455
4455
|
d(s) {
|
|
4456
|
-
s &&
|
|
4456
|
+
s && Q(t), i = !1, o();
|
|
4457
4457
|
}
|
|
4458
4458
|
};
|
|
4459
4459
|
}
|
|
4460
4460
|
function ho(e) {
|
|
4461
|
-
let t, r, n, i, o, s, a, l, u, h, c
|
|
4461
|
+
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4462
4462
|
/*$_*/
|
|
4463
4463
|
e[4]("confirm") + ""
|
|
4464
|
-
), m,
|
|
4465
|
-
const
|
|
4464
|
+
), f, m, v, d;
|
|
4465
|
+
const S = (
|
|
4466
4466
|
/*#slots*/
|
|
4467
4467
|
e[16].close
|
|
4468
|
-
),
|
|
4469
|
-
|
|
4468
|
+
), P = Cr(
|
|
4469
|
+
S,
|
|
4470
4470
|
e,
|
|
4471
4471
|
/*$$scope*/
|
|
4472
4472
|
e[15],
|
|
4473
|
-
|
|
4474
|
-
),
|
|
4473
|
+
Nt
|
|
4474
|
+
), H = P || lo();
|
|
4475
4475
|
let _ = (
|
|
4476
4476
|
/*modaltitle*/
|
|
4477
4477
|
e[1] && Lt(e)
|
|
@@ -4481,130 +4481,125 @@ function ho(e) {
|
|
|
4481
4481
|
);
|
|
4482
4482
|
return {
|
|
4483
4483
|
c() {
|
|
4484
|
-
t = M("div"), r = M("div"), n = M("span"),
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
), l = le(), u = M("div"), x && x.c(), h = le(), c = M("button"), m = re(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4488
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4489
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4484
|
+
t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = ue(), _ && _.c(), o = ue(), s = M("div"), a = ue(), l = M("div"), x && x.c(), u = ue(), h = M("button"), f = ye(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4485
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4486
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4490
4487
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4491
4488
|
},
|
|
4492
|
-
m(y,
|
|
4493
|
-
|
|
4494
|
-
|
|
4489
|
+
m(y, A) {
|
|
4490
|
+
ie(y, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
|
|
4491
|
+
e[0], B(r, a), B(r, l), x && x.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, v || (d = [
|
|
4492
|
+
Le(
|
|
4495
4493
|
n,
|
|
4496
4494
|
"click",
|
|
4497
4495
|
/*close*/
|
|
4498
4496
|
e[6]
|
|
4499
4497
|
),
|
|
4500
|
-
|
|
4501
|
-
|
|
4498
|
+
Le(
|
|
4499
|
+
h,
|
|
4502
4500
|
"click",
|
|
4503
4501
|
/*click_handler_1*/
|
|
4504
4502
|
e[18]
|
|
4505
4503
|
)
|
|
4506
|
-
],
|
|
4504
|
+
], v = !0);
|
|
4507
4505
|
},
|
|
4508
|
-
p(y, [
|
|
4509
|
-
|
|
4506
|
+
p(y, [A]) {
|
|
4507
|
+
P && P.p && (!m || A & /*$$scope*/
|
|
4510
4508
|
32768) && Or(
|
|
4511
|
-
|
|
4512
|
-
|
|
4509
|
+
P,
|
|
4510
|
+
S,
|
|
4513
4511
|
y,
|
|
4514
4512
|
/*$$scope*/
|
|
4515
4513
|
y[15],
|
|
4516
|
-
|
|
4517
|
-
|
|
4514
|
+
m ? Pr(
|
|
4515
|
+
S,
|
|
4518
4516
|
/*$$scope*/
|
|
4519
4517
|
y[15],
|
|
4520
|
-
|
|
4518
|
+
A,
|
|
4521
4519
|
uo
|
|
4522
4520
|
) : Ir(
|
|
4523
4521
|
/*$$scope*/
|
|
4524
4522
|
y[15]
|
|
4525
4523
|
),
|
|
4526
|
-
|
|
4524
|
+
Nt
|
|
4527
4525
|
), /*modaltitle*/
|
|
4528
|
-
y[1] ? _ ? _.p(y,
|
|
4529
|
-
1) &&
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
),
|
|
4534
|
-
y[2] ? x ? x.p(y, P) : (x = Rt(y), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
|
|
4535
|
-
16) && f !== (f = /*$_*/
|
|
4536
|
-
y[4]("confirm") + "") && ge(m, f);
|
|
4526
|
+
y[1] ? _ ? _.p(y, A) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
|
|
4527
|
+
1) && (s.innerHTML = /*modaltext*/
|
|
4528
|
+
y[0]), /*hascancelbutton*/
|
|
4529
|
+
y[2] ? x ? x.p(y, A) : (x = Rt(y), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
|
|
4530
|
+
16) && c !== (c = /*$_*/
|
|
4531
|
+
y[4]("confirm") + "") && tt(f, c);
|
|
4537
4532
|
},
|
|
4538
4533
|
i(y) {
|
|
4539
|
-
|
|
4534
|
+
m || (Ft(H, y), m = !0);
|
|
4540
4535
|
},
|
|
4541
4536
|
o(y) {
|
|
4542
|
-
Xr(
|
|
4537
|
+
Xr(H, y), m = !1;
|
|
4543
4538
|
},
|
|
4544
4539
|
d(y) {
|
|
4545
|
-
y &&
|
|
4540
|
+
y && Q(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, Z(d);
|
|
4546
4541
|
}
|
|
4547
4542
|
};
|
|
4548
4543
|
}
|
|
4549
4544
|
function co(e, t, r) {
|
|
4550
4545
|
let n;
|
|
4551
|
-
|
|
4552
|
-
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:
|
|
4553
|
-
const
|
|
4546
|
+
Br(e, to, (b) => r(4, n = b));
|
|
4547
|
+
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: v = "" } = t, { mbsource: d } = t, S, P = window.navigator.userAgent, H = ro(P) !== "PC";
|
|
4548
|
+
const _ = () => {
|
|
4554
4549
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4555
|
-
},
|
|
4556
|
-
|
|
4557
|
-
},
|
|
4558
|
-
fetch(
|
|
4559
|
-
Object.keys(
|
|
4560
|
-
It(it,
|
|
4550
|
+
}, x = (b) => {
|
|
4551
|
+
b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
|
|
4552
|
+
}, y = () => {
|
|
4553
|
+
fetch(v).then((U) => U.json()).then((U) => {
|
|
4554
|
+
Object.keys(U).forEach((it) => {
|
|
4555
|
+
It(it, U[it]);
|
|
4561
4556
|
});
|
|
4562
|
-
}).catch((
|
|
4563
|
-
console.log(
|
|
4557
|
+
}).catch((U) => {
|
|
4558
|
+
console.log(U);
|
|
4564
4559
|
});
|
|
4565
4560
|
};
|
|
4566
|
-
Object.keys(
|
|
4567
|
-
It(
|
|
4561
|
+
Object.keys(Mt).forEach((b) => {
|
|
4562
|
+
It(b, Mt[b]);
|
|
4568
4563
|
});
|
|
4569
|
-
const
|
|
4564
|
+
const A = () => {
|
|
4570
4565
|
no(c);
|
|
4571
4566
|
};
|
|
4572
4567
|
Ur(() => () => {
|
|
4573
4568
|
});
|
|
4574
|
-
const
|
|
4575
|
-
function _r(
|
|
4576
|
-
|
|
4577
|
-
S =
|
|
4569
|
+
const ae = () => x("cancel"), yr = () => x("confirm");
|
|
4570
|
+
function _r(b) {
|
|
4571
|
+
Re[b ? "unshift" : "push"](() => {
|
|
4572
|
+
S = b, r(3, S);
|
|
4578
4573
|
});
|
|
4579
4574
|
}
|
|
4580
|
-
return e.$$set = (
|
|
4581
|
-
"modaltext" in
|
|
4575
|
+
return e.$$set = (b) => {
|
|
4576
|
+
"modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, d = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
|
|
4582
4577
|
}, e.$$.update = () => {
|
|
4583
4578
|
e.$$.dirty & /*modaltext, lang*/
|
|
4584
|
-
1025 && s && c &&
|
|
4579
|
+
1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4585
4580
|
2056 && f && S && io(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4586
4581
|
4104 && m && S && oo(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4587
4582
|
16392 && d && S && so(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4588
|
-
8192 &&
|
|
4583
|
+
8192 && v && y();
|
|
4589
4584
|
}, [
|
|
4590
4585
|
s,
|
|
4591
4586
|
a,
|
|
4592
4587
|
l,
|
|
4593
4588
|
S,
|
|
4594
4589
|
n,
|
|
4595
|
-
|
|
4596
|
-
w,
|
|
4590
|
+
H,
|
|
4597
4591
|
_,
|
|
4592
|
+
x,
|
|
4598
4593
|
u,
|
|
4599
4594
|
h,
|
|
4600
4595
|
c,
|
|
4601
4596
|
f,
|
|
4602
4597
|
m,
|
|
4603
|
-
|
|
4598
|
+
v,
|
|
4604
4599
|
d,
|
|
4605
4600
|
o,
|
|
4606
4601
|
i,
|
|
4607
|
-
|
|
4602
|
+
ae,
|
|
4608
4603
|
yr,
|
|
4609
4604
|
_r
|
|
4610
4605
|
];
|