@everymatrix/player-account-biometrics-action 0.0.6 → 0.0.8
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/{PlayerAccountBiometricsAction-C_eUa76b.js → PlayerAccountBiometricsAction-BJNK9SmR.js} +958 -883
- package/components/{PlayerAccountBiometricsAction-DdV8pqoY.js → PlayerAccountBiometricsAction-BSQ7g14j.js} +849 -773
- package/components/PlayerAccountBiometricsAction-BlcoZ7aV.cjs +3 -0
- package/es2015/player-account-biometrics-action.cjs +1 -1
- package/es2015/player-account-biometrics-action.js +1 -1
- package/esnext/player-account-biometrics-action.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometricsAction-DHL1jiDg.cjs +0 -3
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function H() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ht(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function We() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function re(e) {
|
|
10
|
+
e.forEach(ht);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function $e(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function lt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function jt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ct(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function ot(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Vt(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(ct(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ue(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Xt(e, t, r) {
|
|
37
|
+
const n = zt(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = F("style");
|
|
40
|
+
i.id = t, i.textContent = r, Wt(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function zt(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,45 +50,45 @@ function Gt(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function Wt(e, t) {
|
|
54
|
+
return Ue(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function ne(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function z(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function F(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ft(e) {
|
|
70
70
|
return document.createTextNode(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
72
|
+
function Zt() {
|
|
73
|
+
return ft("");
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function mt(e, t, r, n) {
|
|
76
76
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function he(e, t, r) {
|
|
79
79
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Qt(e) {
|
|
82
82
|
return Array.from(e.childNodes);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Jt(e, t) {
|
|
85
85
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
86
86
|
t);
|
|
87
87
|
}
|
|
88
88
|
function C(e, t, r) {
|
|
89
89
|
e.classList.toggle(t, !!r);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function qt(e) {
|
|
92
92
|
const t = {};
|
|
93
93
|
return e.childNodes.forEach(
|
|
94
94
|
/** @param {Element} node */
|
|
@@ -97,87 +97,87 @@ function Xt(e) {
|
|
|
97
97
|
}
|
|
98
98
|
), t;
|
|
99
99
|
}
|
|
100
|
-
let
|
|
101
|
-
function
|
|
102
|
-
|
|
100
|
+
let K;
|
|
101
|
+
function Y(e) {
|
|
102
|
+
K = e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
if (!
|
|
104
|
+
function Yt() {
|
|
105
|
+
if (!K)
|
|
106
106
|
throw new Error("Function called outside component initialization");
|
|
107
|
-
return
|
|
107
|
+
return K;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function Kt(e) {
|
|
110
|
+
Yt().$$.on_mount.push(e);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
112
|
+
const $ = [], He = [];
|
|
113
|
+
let G = [];
|
|
114
|
+
const Ze = [], er = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let we = !1;
|
|
116
|
+
function tr() {
|
|
117
|
+
we || (we = !0, er.then(S));
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function Ae(e) {
|
|
120
|
+
G.push(e);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const ye = /* @__PURE__ */ new Set();
|
|
123
123
|
let R = 0;
|
|
124
|
-
function
|
|
124
|
+
function S() {
|
|
125
125
|
if (R !== 0)
|
|
126
126
|
return;
|
|
127
|
-
const e =
|
|
127
|
+
const e = K;
|
|
128
128
|
do {
|
|
129
129
|
try {
|
|
130
|
-
for (; R <
|
|
131
|
-
const t =
|
|
132
|
-
R++,
|
|
130
|
+
for (; R < $.length; ) {
|
|
131
|
+
const t = $[R];
|
|
132
|
+
R++, Y(t), rr(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
|
-
throw
|
|
135
|
+
throw $.length = 0, R = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (
|
|
137
|
+
for (Y(null), $.length = 0, R = 0; He.length; )
|
|
138
138
|
He.pop()();
|
|
139
|
-
for (let t = 0; t <
|
|
140
|
-
const r =
|
|
141
|
-
|
|
139
|
+
for (let t = 0; t < G.length; t += 1) {
|
|
140
|
+
const r = G[t];
|
|
141
|
+
ye.has(r) || (ye.add(r), r());
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
145
|
-
for (;
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
G.length = 0;
|
|
144
|
+
} while ($.length);
|
|
145
|
+
for (; Ze.length; )
|
|
146
|
+
Ze.pop()();
|
|
147
|
+
we = !1, ye.clear(), Y(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function rr(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
151
|
+
e.update(), re(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function nr(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
|
-
|
|
158
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const ir = /* @__PURE__ */ new Set();
|
|
161
|
+
function sr(e, t) {
|
|
162
|
+
e && e.i && (ir.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function or(e, t, r) {
|
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
166
|
-
n && n.m(t, r),
|
|
167
|
-
const s = e.$$.on_mount.map(
|
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
169
|
-
}), i.forEach(
|
|
166
|
+
n && n.m(t, r), Ae(() => {
|
|
167
|
+
const s = e.$$.on_mount.map(ht).filter($e);
|
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
169
|
+
}), i.forEach(Ae);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ar(e, t) {
|
|
172
172
|
const r = e.$$;
|
|
173
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (nr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
175
|
+
function ur(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && ($.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
const
|
|
180
|
-
|
|
178
|
+
function hr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
179
|
+
const h = K;
|
|
180
|
+
Y(e);
|
|
181
181
|
const u = e.$$ = {
|
|
182
182
|
fragment: null,
|
|
183
183
|
ctx: [],
|
|
@@ -185,37 +185,37 @@ function nr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
185
185
|
props: s,
|
|
186
186
|
update: H,
|
|
187
187
|
not_equal: i,
|
|
188
|
-
bound:
|
|
188
|
+
bound: We(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
192
192
|
on_disconnect: [],
|
|
193
193
|
before_update: [],
|
|
194
194
|
after_update: [],
|
|
195
|
-
context: new Map(t.context || (
|
|
195
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
198
|
-
dirty:
|
|
197
|
+
callbacks: We(),
|
|
198
|
+
dirty: o,
|
|
199
199
|
skip_bound: !1,
|
|
200
|
-
root: t.target ||
|
|
200
|
+
root: t.target || h.$$.root
|
|
201
201
|
};
|
|
202
|
-
|
|
203
|
-
let
|
|
204
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
205
|
-
const
|
|
206
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
207
|
-
}) : [], u.update(),
|
|
202
|
+
a && a(u.root);
|
|
203
|
+
let l = !1;
|
|
204
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
205
|
+
const E = d.length ? d[0] : f;
|
|
206
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = E) && (!u.skip_bound && u.bound[c] && u.bound[c](E), l && ur(e, c)), f;
|
|
207
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
|
-
const c =
|
|
210
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
209
|
+
const c = Qt(t.target);
|
|
210
|
+
u.fragment && u.fragment.l(c), c.forEach(z);
|
|
211
211
|
} else
|
|
212
212
|
u.fragment && u.fragment.c();
|
|
213
|
-
t.intro &&
|
|
213
|
+
t.intro && sr(e.$$.fragment), or(e, t.target, t.anchor), S();
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
Y(h);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let bt;
|
|
218
|
+
typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
257
257
|
let s;
|
|
258
258
|
return {
|
|
259
259
|
c: function() {
|
|
260
|
-
s =
|
|
260
|
+
s = F("slot"), i !== "default" && he(s, "name", i);
|
|
261
261
|
},
|
|
262
262
|
/**
|
|
263
263
|
* @param {HTMLElement} target
|
|
264
264
|
* @param {HTMLElement} [anchor]
|
|
265
265
|
*/
|
|
266
|
-
m: function(
|
|
267
|
-
|
|
266
|
+
m: function(h, u) {
|
|
267
|
+
ne(h, s, u);
|
|
268
268
|
},
|
|
269
|
-
d: function(
|
|
270
|
-
|
|
269
|
+
d: function(h) {
|
|
270
|
+
h && z(s);
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
};
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = qt(this);
|
|
278
278
|
for (const i of this.$$s)
|
|
279
279
|
i in r && (t[i] = [e(i)]);
|
|
280
280
|
for (const i of this.attributes) {
|
|
281
281
|
const s = this.$$g_p(i.name);
|
|
282
|
-
s in this.$$d || (this.$$d[s] =
|
|
282
|
+
s in this.$$d || (this.$$d[s] = oe(s, i.value, this.$$p_d, "toProp"));
|
|
283
283
|
}
|
|
284
284
|
for (const i in this.$$p_d)
|
|
285
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
297
297
|
this.$$r = !0;
|
|
298
298
|
for (const i in this.$$p_d)
|
|
299
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
300
|
-
const s =
|
|
300
|
+
const s = oe(
|
|
301
301
|
i,
|
|
302
302
|
this.$$d[i],
|
|
303
303
|
this.$$p_d,
|
|
@@ -310,8 +310,8 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
310
310
|
this.$$c.$$.after_update.push(n), n();
|
|
311
311
|
for (const i in this.$$l)
|
|
312
312
|
for (const s of this.$$l[i]) {
|
|
313
|
-
const
|
|
314
|
-
this.$$l_u.set(s,
|
|
313
|
+
const a = this.$$c.$on(i, s);
|
|
314
|
+
this.$$l_u.set(s, a);
|
|
315
315
|
}
|
|
316
316
|
this.$$l = {};
|
|
317
317
|
}
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
319
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
320
320
|
// and setting attributes through setAttribute etc, this is helpful
|
|
321
321
|
attributeChangedCallback(e, t, r) {
|
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
323
323
|
}
|
|
324
324
|
disconnectedCallback() {
|
|
325
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
332
332
|
) || e;
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
-
function
|
|
335
|
+
function oe(e, t, r, n) {
|
|
336
336
|
const i = r[e]?.type;
|
|
337
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
338
338
|
return t;
|
|
@@ -361,36 +361,36 @@ function se(e, t, r, n) {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let
|
|
364
|
+
function lr(e, t, r, n, i, s) {
|
|
365
|
+
let a = class extends bt {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
|
368
368
|
}
|
|
369
369
|
static get observedAttributes() {
|
|
370
370
|
return Object.keys(t).map(
|
|
371
|
-
(
|
|
371
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
|
-
return Object.keys(t).forEach((
|
|
376
|
-
Object.defineProperty(
|
|
375
|
+
return Object.keys(t).forEach((o) => {
|
|
376
|
+
Object.defineProperty(a.prototype, o, {
|
|
377
377
|
get() {
|
|
378
|
-
return this.$$c &&
|
|
378
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
379
379
|
},
|
|
380
|
-
set(
|
|
381
|
-
|
|
380
|
+
set(h) {
|
|
381
|
+
h = oe(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
-
}), n.forEach((
|
|
385
|
-
Object.defineProperty(
|
|
384
|
+
}), n.forEach((o) => {
|
|
385
|
+
Object.defineProperty(a.prototype, o, {
|
|
386
386
|
get() {
|
|
387
|
-
return this.$$c?.[
|
|
387
|
+
return this.$$c?.[o];
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
|
-
|
|
391
|
+
a, a;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class cr {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class sr {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
ar(this, 1), this.$destroy = H;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,7 +418,7 @@ class sr {
|
|
|
418
418
|
* @returns {() => void}
|
|
419
419
|
*/
|
|
420
420
|
$on(t, r) {
|
|
421
|
-
if (
|
|
421
|
+
if (!$e(r))
|
|
422
422
|
return H;
|
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
424
424
|
return n.push(r), () => {
|
|
@@ -431,176 +431,176 @@ class sr {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(t) {
|
|
434
|
-
this.$$set &&
|
|
434
|
+
this.$$set && !jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
439
|
-
const
|
|
440
|
-
function
|
|
437
|
+
const fr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
|
439
|
+
const D = [];
|
|
440
|
+
function mr(e, t) {
|
|
441
441
|
return {
|
|
442
|
-
subscribe:
|
|
442
|
+
subscribe: me(e, t).subscribe
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function me(e, t = H) {
|
|
446
446
|
let r;
|
|
447
447
|
const n = /* @__PURE__ */ new Set();
|
|
448
|
-
function i(
|
|
449
|
-
if (
|
|
450
|
-
const
|
|
448
|
+
function i(o) {
|
|
449
|
+
if (lt(e, o) && (e = o, r)) {
|
|
450
|
+
const h = !D.length;
|
|
451
451
|
for (const u of n)
|
|
452
|
-
u[1](),
|
|
453
|
-
if (
|
|
454
|
-
for (let u = 0; u <
|
|
455
|
-
|
|
456
|
-
|
|
452
|
+
u[1](), D.push(u, e);
|
|
453
|
+
if (h) {
|
|
454
|
+
for (let u = 0; u < D.length; u += 2)
|
|
455
|
+
D[u][0](D[u + 1]);
|
|
456
|
+
D.length = 0;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
function s(
|
|
461
|
-
i(
|
|
460
|
+
function s(o) {
|
|
461
|
+
i(o(e));
|
|
462
462
|
}
|
|
463
|
-
function o
|
|
464
|
-
const u = [
|
|
465
|
-
return n.add(u), n.size === 1 && (r = t(i, s) || H),
|
|
463
|
+
function a(o, h = H) {
|
|
464
|
+
const u = [o, h];
|
|
465
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || H), o(e), () => {
|
|
466
466
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
return { set: i, update: s, subscribe:
|
|
469
|
+
return { set: i, update: s, subscribe: a };
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function W(e, t, r) {
|
|
472
472
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
473
473
|
if (!i.every(Boolean))
|
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
475
|
const s = t.length < 2;
|
|
476
|
-
return
|
|
477
|
-
let
|
|
476
|
+
return mr(r, (a, o) => {
|
|
477
|
+
let h = !1;
|
|
478
478
|
const u = [];
|
|
479
|
-
let
|
|
479
|
+
let l = 0, c = H;
|
|
480
480
|
const f = () => {
|
|
481
|
-
if (
|
|
481
|
+
if (l)
|
|
482
482
|
return;
|
|
483
483
|
c();
|
|
484
|
-
const
|
|
485
|
-
s ?
|
|
486
|
-
},
|
|
487
|
-
(
|
|
488
|
-
|
|
489
|
-
(
|
|
490
|
-
u[x] =
|
|
484
|
+
const E = t(n ? u[0] : u, a, o);
|
|
485
|
+
s ? a(E) : c = $e(E) ? E : H;
|
|
486
|
+
}, d = i.map(
|
|
487
|
+
(E, x) => ct(
|
|
488
|
+
E,
|
|
489
|
+
(_) => {
|
|
490
|
+
u[x] = _, l &= ~(1 << x), h && f();
|
|
491
491
|
},
|
|
492
492
|
() => {
|
|
493
|
-
|
|
493
|
+
l |= 1 << x;
|
|
494
494
|
}
|
|
495
495
|
)
|
|
496
496
|
);
|
|
497
|
-
return
|
|
498
|
-
|
|
497
|
+
return h = !0, f(), function() {
|
|
498
|
+
re(d), c(), h = !1;
|
|
499
499
|
};
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function br(e) {
|
|
503
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
505
|
+
var dr = function(t) {
|
|
506
|
+
return pr(t) && !gr(t);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function pr(e) {
|
|
509
509
|
return !!e && typeof e == "object";
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function gr(e) {
|
|
512
512
|
var t = Object.prototype.toString.call(e);
|
|
513
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
513
|
+
return t === "[object RegExp]" || t === "[object Date]" || xr(e);
|
|
514
514
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
515
|
+
var Er = typeof Symbol == "function" && Symbol.for, yr = Er ? Symbol.for("react.element") : 60103;
|
|
516
|
+
function xr(e) {
|
|
517
|
+
return e.$$typeof === yr;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function _r(e) {
|
|
520
520
|
return Array.isArray(e) ? [] : {};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
522
|
+
function ee(e, t) {
|
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(_r(e), e, t) : e;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function vr(e, t, r) {
|
|
526
526
|
return e.concat(t).map(function(n) {
|
|
527
|
-
return
|
|
527
|
+
return ee(n, r);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Br(e, t) {
|
|
531
531
|
if (!t.customMerge)
|
|
532
|
-
return
|
|
532
|
+
return k;
|
|
533
533
|
var r = t.customMerge(e);
|
|
534
|
-
return typeof r == "function" ? r :
|
|
534
|
+
return typeof r == "function" ? r : k;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Tr(e) {
|
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
538
538
|
return Object.propertyIsEnumerable.call(e, t);
|
|
539
539
|
}) : [];
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
return Object.keys(e).concat(
|
|
541
|
+
function Qe(e) {
|
|
542
|
+
return Object.keys(e).concat(Tr(e));
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function dt(e, t) {
|
|
545
545
|
try {
|
|
546
546
|
return t in e;
|
|
547
547
|
} catch {
|
|
548
548
|
return !1;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
551
|
+
function Sr(e, t) {
|
|
552
|
+
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Hr(e, t, r) {
|
|
555
555
|
var n = {};
|
|
556
|
-
return r.isMergeableObject(e) &&
|
|
557
|
-
n[i] =
|
|
558
|
-
}),
|
|
559
|
-
|
|
556
|
+
return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
557
|
+
n[i] = ee(e[i], r);
|
|
558
|
+
}), Qe(t).forEach(function(i) {
|
|
559
|
+
Sr(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Br(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
560
560
|
}), n;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
562
|
+
function k(e, t, r) {
|
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
564
564
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
565
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
565
|
+
return s ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : ee(t, r);
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
k.all = function(t, r) {
|
|
568
568
|
if (!Array.isArray(t))
|
|
569
569
|
throw new Error("first argument should be an array");
|
|
570
570
|
return t.reduce(function(n, i) {
|
|
571
|
-
return
|
|
571
|
+
return k(n, i, r);
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
576
|
-
var
|
|
577
|
-
return
|
|
574
|
+
var wr = k, Ar = wr;
|
|
575
|
+
const Nr = /* @__PURE__ */ br(Ar);
|
|
576
|
+
var Ne = function(e, t) {
|
|
577
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
578
578
|
r.__proto__ = n;
|
|
579
579
|
} || function(r, n) {
|
|
580
580
|
for (var i in n)
|
|
581
581
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
582
|
-
},
|
|
582
|
+
}, Ne(e, t);
|
|
583
583
|
};
|
|
584
|
-
function
|
|
584
|
+
function be(e, t) {
|
|
585
585
|
if (typeof t != "function" && t !== null)
|
|
586
586
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
587
|
-
|
|
587
|
+
Ne(e, t);
|
|
588
588
|
function r() {
|
|
589
589
|
this.constructor = e;
|
|
590
590
|
}
|
|
591
591
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
592
592
|
}
|
|
593
|
-
var
|
|
594
|
-
return
|
|
593
|
+
var N = function() {
|
|
594
|
+
return N = Object.assign || function(t) {
|
|
595
595
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
596
596
|
r = arguments[n];
|
|
597
597
|
for (var s in r)
|
|
598
598
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
599
599
|
}
|
|
600
600
|
return t;
|
|
601
|
-
},
|
|
601
|
+
}, N.apply(this, arguments);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function Or(e, t) {
|
|
604
604
|
var r = {};
|
|
605
605
|
for (var n in e)
|
|
606
606
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -609,43 +609,43 @@ function Hr(e, t) {
|
|
|
609
609
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
610
610
|
return r;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function xe(e, t, r) {
|
|
613
613
|
if (r || arguments.length === 2)
|
|
614
614
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
615
615
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
616
616
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
var r = t && t.cache ? t.cache :
|
|
618
|
+
function _e(e, t) {
|
|
619
|
+
var r = t && t.cache ? t.cache : Dr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
|
|
620
620
|
return i(e, {
|
|
621
621
|
cache: r,
|
|
622
622
|
serializer: n
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Pr(e) {
|
|
626
626
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
var i =
|
|
628
|
+
function Lr(e, t, r, n) {
|
|
629
|
+
var i = Pr(n) ? n : r(n), s = t.get(i);
|
|
630
630
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function pt(e, t, r) {
|
|
633
633
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
634
634
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function gt(e, t, r, n, i) {
|
|
637
637
|
return r.bind(t, e, n, i);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
var r = e.length === 1 ?
|
|
641
|
-
return
|
|
639
|
+
function Ir(e, t) {
|
|
640
|
+
var r = e.length === 1 ? Lr : pt;
|
|
641
|
+
return gt(e, this, r, t.cache.create(), t.serializer);
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
return
|
|
643
|
+
function Mr(e, t) {
|
|
644
|
+
return gt(e, this, pt, t.cache.create(), t.serializer);
|
|
645
645
|
}
|
|
646
|
-
var
|
|
646
|
+
var Cr = function() {
|
|
647
647
|
return JSON.stringify(arguments);
|
|
648
|
-
},
|
|
648
|
+
}, Rr = (
|
|
649
649
|
/** @class */
|
|
650
650
|
function() {
|
|
651
651
|
function e() {
|
|
@@ -657,71 +657,71 @@ var Nr = function() {
|
|
|
657
657
|
this.cache[t] = r;
|
|
658
658
|
}, e;
|
|
659
659
|
}()
|
|
660
|
-
),
|
|
660
|
+
), Dr = {
|
|
661
661
|
create: function() {
|
|
662
|
-
return new
|
|
662
|
+
return new Rr();
|
|
663
663
|
}
|
|
664
|
-
},
|
|
665
|
-
variadic:
|
|
666
|
-
},
|
|
667
|
-
return
|
|
664
|
+
}, ve = {
|
|
665
|
+
variadic: Mr
|
|
666
|
+
}, le = function() {
|
|
667
|
+
return le = Object.assign || function(t) {
|
|
668
668
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
669
669
|
r = arguments[n];
|
|
670
670
|
for (var s in r)
|
|
671
671
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
672
672
|
}
|
|
673
673
|
return t;
|
|
674
|
-
},
|
|
674
|
+
}, le.apply(this, arguments);
|
|
675
675
|
};
|
|
676
676
|
var m;
|
|
677
677
|
(function(e) {
|
|
678
678
|
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";
|
|
679
679
|
})(m || (m = {}));
|
|
680
|
-
var
|
|
680
|
+
var g;
|
|
681
681
|
(function(e) {
|
|
682
682
|
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";
|
|
683
|
-
})(
|
|
684
|
-
var
|
|
683
|
+
})(g || (g = {}));
|
|
684
|
+
var j;
|
|
685
685
|
(function(e) {
|
|
686
686
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
687
|
-
})(
|
|
688
|
-
function
|
|
689
|
-
return e.type ===
|
|
687
|
+
})(j || (j = {}));
|
|
688
|
+
function Je(e) {
|
|
689
|
+
return e.type === g.literal;
|
|
690
690
|
}
|
|
691
|
-
function
|
|
692
|
-
return e.type ===
|
|
691
|
+
function $r(e) {
|
|
692
|
+
return e.type === g.argument;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return e.type ===
|
|
694
|
+
function Et(e) {
|
|
695
|
+
return e.type === g.number;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
return e.type ===
|
|
697
|
+
function yt(e) {
|
|
698
|
+
return e.type === g.date;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
701
|
-
return e.type ===
|
|
700
|
+
function xt(e) {
|
|
701
|
+
return e.type === g.time;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
704
|
-
return e.type ===
|
|
703
|
+
function _t(e) {
|
|
704
|
+
return e.type === g.select;
|
|
705
705
|
}
|
|
706
|
-
function
|
|
707
|
-
return e.type ===
|
|
706
|
+
function vt(e) {
|
|
707
|
+
return e.type === g.plural;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return e.type ===
|
|
709
|
+
function Ur(e) {
|
|
710
|
+
return e.type === g.pound;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
713
|
-
return e.type ===
|
|
712
|
+
function Bt(e) {
|
|
713
|
+
return e.type === g.tag;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
715
|
+
function Tt(e) {
|
|
716
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
718
|
+
function Oe(e) {
|
|
719
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
720
720
|
}
|
|
721
|
-
var
|
|
722
|
-
function
|
|
721
|
+
var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
|
|
722
|
+
function Fr(e) {
|
|
723
723
|
var t = {};
|
|
724
|
-
return e.replace(
|
|
724
|
+
return e.replace(Gr, function(r) {
|
|
725
725
|
var n = r.length;
|
|
726
726
|
switch (r[0]) {
|
|
727
727
|
case "G":
|
|
@@ -820,36 +820,36 @@ var y = function() {
|
|
|
820
820
|
return t;
|
|
821
821
|
}, y.apply(this, arguments);
|
|
822
822
|
};
|
|
823
|
-
var
|
|
824
|
-
function
|
|
823
|
+
var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
824
|
+
function jr(e) {
|
|
825
825
|
if (e.length === 0)
|
|
826
826
|
throw new Error("Number skeleton cannot be empty");
|
|
827
|
-
for (var t = e.split(
|
|
827
|
+
for (var t = e.split(kr).filter(function(f) {
|
|
828
828
|
return f.length > 0;
|
|
829
829
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
830
|
-
var s = i[n],
|
|
831
|
-
if (
|
|
830
|
+
var s = i[n], a = s.split("/");
|
|
831
|
+
if (a.length === 0)
|
|
832
832
|
throw new Error("Invalid number skeleton");
|
|
833
|
-
for (var
|
|
834
|
-
var c =
|
|
833
|
+
for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
834
|
+
var c = l[u];
|
|
835
835
|
if (c.length === 0)
|
|
836
836
|
throw new Error("Invalid number skeleton");
|
|
837
837
|
}
|
|
838
|
-
r.push({ stem:
|
|
838
|
+
r.push({ stem: o, options: h });
|
|
839
839
|
}
|
|
840
840
|
return r;
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function Vr(e) {
|
|
843
843
|
return e.replace(/^(.*?)-/, "");
|
|
844
844
|
}
|
|
845
|
-
var
|
|
846
|
-
function
|
|
845
|
+
var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
|
|
846
|
+
function Ye(e) {
|
|
847
847
|
var t = {};
|
|
848
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
848
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
|
|
849
849
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
850
850
|
}), t;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function At(e) {
|
|
853
853
|
switch (e) {
|
|
854
854
|
case "sign-auto":
|
|
855
855
|
return {
|
|
@@ -889,7 +889,7 @@ function Bt(e) {
|
|
|
889
889
|
};
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function zr(e) {
|
|
893
893
|
var t;
|
|
894
894
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
895
895
|
notation: "engineering"
|
|
@@ -897,17 +897,17 @@ function Gr(e) {
|
|
|
897
897
|
notation: "scientific"
|
|
898
898
|
}, e = e.slice(1)), t) {
|
|
899
899
|
var r = e.slice(0, 2);
|
|
900
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
900
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
|
|
901
901
|
throw new Error("Malformed concise eng/scientific notation");
|
|
902
902
|
t.minimumIntegerDigits = e.length;
|
|
903
903
|
}
|
|
904
904
|
return t;
|
|
905
905
|
}
|
|
906
|
-
function
|
|
907
|
-
var t = {}, r =
|
|
906
|
+
function Ke(e) {
|
|
907
|
+
var t = {}, r = At(e);
|
|
908
908
|
return r || t;
|
|
909
909
|
}
|
|
910
|
-
function
|
|
910
|
+
function Wr(e) {
|
|
911
911
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
912
912
|
var i = n[r];
|
|
913
913
|
switch (i.stem) {
|
|
@@ -931,7 +931,7 @@ function Fr(e) {
|
|
|
931
931
|
continue;
|
|
932
932
|
case "measure-unit":
|
|
933
933
|
case "unit":
|
|
934
|
-
t.style = "unit", t.unit =
|
|
934
|
+
t.style = "unit", t.unit = Vr(i.options[0]);
|
|
935
935
|
continue;
|
|
936
936
|
case "compact-short":
|
|
937
937
|
case "K":
|
|
@@ -942,13 +942,13 @@ function Fr(e) {
|
|
|
942
942
|
t.notation = "compact", t.compactDisplay = "long";
|
|
943
943
|
continue;
|
|
944
944
|
case "scientific":
|
|
945
|
-
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
946
|
-
return y(y({},
|
|
945
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
946
|
+
return y(y({}, h), Ke(u));
|
|
947
947
|
}, {}));
|
|
948
948
|
continue;
|
|
949
949
|
case "engineering":
|
|
950
|
-
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
951
|
-
return y(y({},
|
|
950
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
951
|
+
return y(y({}, h), Ke(u));
|
|
952
952
|
}, {}));
|
|
953
953
|
continue;
|
|
954
954
|
case "notation-simple":
|
|
@@ -993,45 +993,45 @@ function Fr(e) {
|
|
|
993
993
|
case "integer-width":
|
|
994
994
|
if (i.options.length > 1)
|
|
995
995
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
996
|
-
i.options[0].replace(
|
|
996
|
+
i.options[0].replace(Xr, function(h, u, l, c, f, d) {
|
|
997
997
|
if (u)
|
|
998
|
-
t.minimumIntegerDigits =
|
|
998
|
+
t.minimumIntegerDigits = l.length;
|
|
999
999
|
else {
|
|
1000
1000
|
if (c && f)
|
|
1001
1001
|
throw new Error("We currently do not support maximum integer digits");
|
|
1002
|
-
if (
|
|
1002
|
+
if (d)
|
|
1003
1003
|
throw new Error("We currently do not support exact integer digits");
|
|
1004
1004
|
}
|
|
1005
1005
|
return "";
|
|
1006
1006
|
});
|
|
1007
1007
|
continue;
|
|
1008
1008
|
}
|
|
1009
|
-
if (
|
|
1009
|
+
if (wt.test(i.stem)) {
|
|
1010
1010
|
t.minimumIntegerDigits = i.stem.length;
|
|
1011
1011
|
continue;
|
|
1012
1012
|
}
|
|
1013
|
-
if (
|
|
1013
|
+
if (qe.test(i.stem)) {
|
|
1014
1014
|
if (i.options.length > 1)
|
|
1015
1015
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1016
|
-
i.stem.replace(
|
|
1017
|
-
return
|
|
1016
|
+
i.stem.replace(qe, function(h, u, l, c, f, d) {
|
|
1017
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1018
1018
|
});
|
|
1019
1019
|
var s = i.options[0];
|
|
1020
|
-
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t),
|
|
1020
|
+
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Ye(s)));
|
|
1021
1021
|
continue;
|
|
1022
1022
|
}
|
|
1023
|
-
if (
|
|
1024
|
-
t = y(y({}, t),
|
|
1023
|
+
if (Ht.test(i.stem)) {
|
|
1024
|
+
t = y(y({}, t), Ye(i.stem));
|
|
1025
1025
|
continue;
|
|
1026
1026
|
}
|
|
1027
|
-
var
|
|
1028
|
-
o && (t = y(y({}, t), o));
|
|
1029
|
-
var a = Gr(i.stem);
|
|
1027
|
+
var a = At(i.stem);
|
|
1030
1028
|
a && (t = y(y({}, t), a));
|
|
1029
|
+
var o = zr(i.stem);
|
|
1030
|
+
o && (t = y(y({}, t), o));
|
|
1031
1031
|
}
|
|
1032
1032
|
return t;
|
|
1033
1033
|
}
|
|
1034
|
-
var
|
|
1034
|
+
var se = {
|
|
1035
1035
|
"001": [
|
|
1036
1036
|
"H",
|
|
1037
1037
|
"h"
|
|
@@ -2446,23 +2446,23 @@ var ie = {
|
|
|
2446
2446
|
"h"
|
|
2447
2447
|
]
|
|
2448
2448
|
};
|
|
2449
|
-
function
|
|
2449
|
+
function Zr(e, t) {
|
|
2450
2450
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2451
2451
|
var i = e.charAt(n);
|
|
2452
2452
|
if (i === "j") {
|
|
2453
2453
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2454
2454
|
s++, n++;
|
|
2455
|
-
var
|
|
2456
|
-
for ((u == "H" || u == "k") && (
|
|
2457
|
-
r +=
|
|
2458
|
-
for (;
|
|
2455
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qr(t);
|
|
2456
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2457
|
+
r += h;
|
|
2458
|
+
for (; a-- > 0; )
|
|
2459
2459
|
r = u + r;
|
|
2460
2460
|
} else
|
|
2461
2461
|
i === "J" ? r += "H" : r += i;
|
|
2462
2462
|
}
|
|
2463
2463
|
return r;
|
|
2464
2464
|
}
|
|
2465
|
-
function
|
|
2465
|
+
function Qr(e) {
|
|
2466
2466
|
var t = e.hourCycle;
|
|
2467
2467
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2468
2468
|
e.hourCycles && // @ts-ignore
|
|
@@ -2481,23 +2481,23 @@ function jr(e) {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
var r = e.language, n;
|
|
2483
2483
|
r !== "root" && (n = e.maximize().region);
|
|
2484
|
-
var i =
|
|
2484
|
+
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2485
2485
|
return i[0];
|
|
2486
2486
|
}
|
|
2487
|
-
var
|
|
2487
|
+
var Be, Jr = new RegExp("^".concat(St.source, "*")), qr = new RegExp("".concat(St.source, "*$"));
|
|
2488
2488
|
function b(e, t) {
|
|
2489
2489
|
return { start: e, end: t };
|
|
2490
2490
|
}
|
|
2491
|
-
var
|
|
2491
|
+
var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
|
|
2492
2492
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2493
|
-
},
|
|
2493
|
+
}, Pe = !0;
|
|
2494
2494
|
try {
|
|
2495
|
-
var
|
|
2496
|
-
|
|
2495
|
+
var an = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2496
|
+
Pe = ((Be = an.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
2497
2497
|
} catch {
|
|
2498
|
-
|
|
2498
|
+
Pe = !1;
|
|
2499
2499
|
}
|
|
2500
|
-
var
|
|
2500
|
+
var et = Yr ? (
|
|
2501
2501
|
// Native
|
|
2502
2502
|
function(t, r, n) {
|
|
2503
2503
|
return t.startsWith(r, n);
|
|
@@ -2507,31 +2507,31 @@ var Qe = zr ? (
|
|
|
2507
2507
|
function(t, r, n) {
|
|
2508
2508
|
return t.slice(n, n + r.length) === r;
|
|
2509
2509
|
}
|
|
2510
|
-
),
|
|
2510
|
+
), Le = Kr ? String.fromCodePoint : (
|
|
2511
2511
|
// IE11
|
|
2512
2512
|
function() {
|
|
2513
2513
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2514
2514
|
t[r] = arguments[r];
|
|
2515
|
-
for (var n = "", i = t.length, s = 0,
|
|
2516
|
-
if (
|
|
2517
|
-
throw RangeError(
|
|
2518
|
-
n +=
|
|
2515
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
2516
|
+
if (a = t[s++], a > 1114111)
|
|
2517
|
+
throw RangeError(a + " is not a valid code point");
|
|
2518
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2519
2519
|
}
|
|
2520
2520
|
return n;
|
|
2521
2521
|
}
|
|
2522
|
-
),
|
|
2522
|
+
), tt = (
|
|
2523
2523
|
// native
|
|
2524
|
-
|
|
2524
|
+
en ? Object.fromEntries : (
|
|
2525
2525
|
// Ponyfill
|
|
2526
2526
|
function(t) {
|
|
2527
2527
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2528
|
-
var s = i[n],
|
|
2529
|
-
r[
|
|
2528
|
+
var s = i[n], a = s[0], o = s[1];
|
|
2529
|
+
r[a] = o;
|
|
2530
2530
|
}
|
|
2531
2531
|
return r;
|
|
2532
2532
|
}
|
|
2533
2533
|
)
|
|
2534
|
-
),
|
|
2534
|
+
), Nt = tn ? (
|
|
2535
2535
|
// Native
|
|
2536
2536
|
function(t, r) {
|
|
2537
2537
|
return t.codePointAt(r);
|
|
@@ -2545,7 +2545,7 @@ var Qe = zr ? (
|
|
|
2545
2545
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2546
2546
|
}
|
|
2547
2547
|
}
|
|
2548
|
-
),
|
|
2548
|
+
), un = rn ? (
|
|
2549
2549
|
// Native
|
|
2550
2550
|
function(t) {
|
|
2551
2551
|
return t.trimStart();
|
|
@@ -2553,9 +2553,9 @@ var Qe = zr ? (
|
|
|
2553
2553
|
) : (
|
|
2554
2554
|
// Ponyfill
|
|
2555
2555
|
function(t) {
|
|
2556
|
-
return t.replace(
|
|
2556
|
+
return t.replace(Jr, "");
|
|
2557
2557
|
}
|
|
2558
|
-
),
|
|
2558
|
+
), hn = nn ? (
|
|
2559
2559
|
// Native
|
|
2560
2560
|
function(t) {
|
|
2561
2561
|
return t.trimEnd();
|
|
@@ -2563,32 +2563,32 @@ var Qe = zr ? (
|
|
|
2563
2563
|
) : (
|
|
2564
2564
|
// Ponyfill
|
|
2565
2565
|
function(t) {
|
|
2566
|
-
return t.replace(
|
|
2566
|
+
return t.replace(qr, "");
|
|
2567
2567
|
}
|
|
2568
2568
|
);
|
|
2569
|
-
function
|
|
2569
|
+
function Ot(e, t) {
|
|
2570
2570
|
return new RegExp(e, t);
|
|
2571
2571
|
}
|
|
2572
|
-
var
|
|
2573
|
-
if (
|
|
2574
|
-
var
|
|
2575
|
-
|
|
2572
|
+
var Ie;
|
|
2573
|
+
if (Pe) {
|
|
2574
|
+
var rt = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2575
|
+
Ie = function(t, r) {
|
|
2576
2576
|
var n;
|
|
2577
|
-
|
|
2578
|
-
var i =
|
|
2577
|
+
rt.lastIndex = r;
|
|
2578
|
+
var i = rt.exec(t);
|
|
2579
2579
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2580
2580
|
};
|
|
2581
2581
|
} else
|
|
2582
|
-
|
|
2582
|
+
Ie = function(t, r) {
|
|
2583
2583
|
for (var n = []; ; ) {
|
|
2584
|
-
var i =
|
|
2585
|
-
if (i === void 0 ||
|
|
2584
|
+
var i = Nt(t, r);
|
|
2585
|
+
if (i === void 0 || Pt(i) || mn(i))
|
|
2586
2586
|
break;
|
|
2587
2587
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2588
2588
|
}
|
|
2589
|
-
return
|
|
2589
|
+
return Le.apply(void 0, n);
|
|
2590
2590
|
};
|
|
2591
|
-
var
|
|
2591
|
+
var ln = (
|
|
2592
2592
|
/** @class */
|
|
2593
2593
|
function() {
|
|
2594
2594
|
function e(t, r) {
|
|
@@ -2602,33 +2602,33 @@ var nn = (
|
|
|
2602
2602
|
for (var i = []; !this.isEOF(); ) {
|
|
2603
2603
|
var s = this.char();
|
|
2604
2604
|
if (s === 123) {
|
|
2605
|
-
var
|
|
2606
|
-
if (
|
|
2607
|
-
return
|
|
2608
|
-
i.push(
|
|
2605
|
+
var a = this.parseArgument(t, n);
|
|
2606
|
+
if (a.err)
|
|
2607
|
+
return a;
|
|
2608
|
+
i.push(a.val);
|
|
2609
2609
|
} else {
|
|
2610
2610
|
if (s === 125 && t > 0)
|
|
2611
2611
|
break;
|
|
2612
2612
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2613
|
-
var
|
|
2613
|
+
var o = this.clonePosition();
|
|
2614
2614
|
this.bump(), i.push({
|
|
2615
|
-
type:
|
|
2616
|
-
location: b(
|
|
2615
|
+
type: g.pound,
|
|
2616
|
+
location: b(o, this.clonePosition())
|
|
2617
2617
|
});
|
|
2618
2618
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2619
2619
|
if (n)
|
|
2620
2620
|
break;
|
|
2621
2621
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2622
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2623
|
-
var
|
|
2624
|
-
if (
|
|
2625
|
-
return
|
|
2626
|
-
i.push(
|
|
2622
|
+
} else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
|
2623
|
+
var a = this.parseTag(t, r);
|
|
2624
|
+
if (a.err)
|
|
2625
|
+
return a;
|
|
2626
|
+
i.push(a.val);
|
|
2627
2627
|
} else {
|
|
2628
|
-
var
|
|
2629
|
-
if (
|
|
2630
|
-
return
|
|
2631
|
-
i.push(
|
|
2628
|
+
var a = this.parseLiteral(t, r);
|
|
2629
|
+
if (a.err)
|
|
2630
|
+
return a;
|
|
2631
|
+
i.push(a.val);
|
|
2632
2632
|
}
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
@@ -2640,7 +2640,7 @@ var nn = (
|
|
|
2640
2640
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2641
2641
|
return {
|
|
2642
2642
|
val: {
|
|
2643
|
-
type:
|
|
2643
|
+
type: g.literal,
|
|
2644
2644
|
value: "<".concat(i, "/>"),
|
|
2645
2645
|
location: b(n, this.clonePosition())
|
|
2646
2646
|
},
|
|
@@ -2650,27 +2650,27 @@ var nn = (
|
|
|
2650
2650
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2651
2651
|
if (s.err)
|
|
2652
2652
|
return s;
|
|
2653
|
-
var
|
|
2653
|
+
var a = s.val, o = this.clonePosition();
|
|
2654
2654
|
if (this.bumpIf("</")) {
|
|
2655
|
-
if (this.isEOF() || !
|
|
2656
|
-
return this.error(m.INVALID_TAG, b(
|
|
2657
|
-
var
|
|
2658
|
-
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(
|
|
2655
|
+
if (this.isEOF() || !Me(this.char()))
|
|
2656
|
+
return this.error(m.INVALID_TAG, b(o, this.clonePosition()));
|
|
2657
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
2658
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2659
2659
|
val: {
|
|
2660
|
-
type:
|
|
2660
|
+
type: g.tag,
|
|
2661
2661
|
value: i,
|
|
2662
|
-
children:
|
|
2662
|
+
children: a,
|
|
2663
2663
|
location: b(n, this.clonePosition())
|
|
2664
2664
|
},
|
|
2665
2665
|
err: null
|
|
2666
|
-
} : this.error(m.INVALID_TAG, b(
|
|
2666
|
+
} : this.error(m.INVALID_TAG, b(o, this.clonePosition())));
|
|
2667
2667
|
} else
|
|
2668
2668
|
return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
2669
2669
|
} else
|
|
2670
2670
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
2671
2671
|
}, e.prototype.parseTagName = function() {
|
|
2672
2672
|
var t = this.offset();
|
|
2673
|
-
for (this.bump(); !this.isEOF() &&
|
|
2673
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
|
2674
2674
|
this.bump();
|
|
2675
2675
|
return this.message.slice(t, this.offset());
|
|
2676
2676
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2680,26 +2680,26 @@ var nn = (
|
|
|
2680
2680
|
i += s;
|
|
2681
2681
|
continue;
|
|
2682
2682
|
}
|
|
2683
|
-
var
|
|
2684
|
-
if (o) {
|
|
2685
|
-
i += o;
|
|
2686
|
-
continue;
|
|
2687
|
-
}
|
|
2688
|
-
var a = this.tryParseLeftAngleBracket();
|
|
2683
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2689
2684
|
if (a) {
|
|
2690
2685
|
i += a;
|
|
2691
2686
|
continue;
|
|
2692
2687
|
}
|
|
2688
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2689
|
+
if (o) {
|
|
2690
|
+
i += o;
|
|
2691
|
+
continue;
|
|
2692
|
+
}
|
|
2693
2693
|
break;
|
|
2694
2694
|
}
|
|
2695
|
-
var
|
|
2695
|
+
var h = b(n, this.clonePosition());
|
|
2696
2696
|
return {
|
|
2697
|
-
val: { type:
|
|
2697
|
+
val: { type: g.literal, value: i, location: h },
|
|
2698
2698
|
err: null
|
|
2699
2699
|
};
|
|
2700
2700
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2701
2701
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2702
|
-
!
|
|
2702
|
+
!cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2703
2703
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2704
2704
|
if (this.isEOF() || this.char() !== 39)
|
|
2705
2705
|
return null;
|
|
@@ -2733,12 +2733,12 @@ var nn = (
|
|
|
2733
2733
|
r.push(n);
|
|
2734
2734
|
this.bump();
|
|
2735
2735
|
}
|
|
2736
|
-
return
|
|
2736
|
+
return Le.apply(void 0, r);
|
|
2737
2737
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2738
2738
|
if (this.isEOF())
|
|
2739
2739
|
return null;
|
|
2740
2740
|
var n = this.char();
|
|
2741
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2741
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
|
|
2742
2742
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2743
2743
|
var n = this.clonePosition();
|
|
2744
2744
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2754,7 +2754,7 @@ var nn = (
|
|
|
2754
2754
|
case 125:
|
|
2755
2755
|
return this.bump(), {
|
|
2756
2756
|
val: {
|
|
2757
|
-
type:
|
|
2757
|
+
type: g.argument,
|
|
2758
2758
|
// value does not include the opening and closing braces.
|
|
2759
2759
|
value: i,
|
|
2760
2760
|
location: b(n, this.clonePosition())
|
|
@@ -2767,15 +2767,15 @@ var nn = (
|
|
|
2767
2767
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2768
2768
|
}
|
|
2769
2769
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2770
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2770
|
+
var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
|
|
2771
2771
|
this.bumpTo(i);
|
|
2772
|
-
var s = this.clonePosition(),
|
|
2773
|
-
return { value: n, location:
|
|
2772
|
+
var s = this.clonePosition(), a = b(t, s);
|
|
2773
|
+
return { value: n, location: a };
|
|
2774
2774
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2775
|
-
var s,
|
|
2776
|
-
switch (
|
|
2775
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2776
|
+
switch (o) {
|
|
2777
2777
|
case "":
|
|
2778
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE, b(
|
|
2778
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, b(a, h));
|
|
2779
2779
|
case "number":
|
|
2780
2780
|
case "date":
|
|
2781
2781
|
case "time": {
|
|
@@ -2783,47 +2783,47 @@ var nn = (
|
|
|
2783
2783
|
var u = null;
|
|
2784
2784
|
if (this.bumpIf(",")) {
|
|
2785
2785
|
this.bumpSpace();
|
|
2786
|
-
var
|
|
2786
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2787
2787
|
if (c.err)
|
|
2788
2788
|
return c;
|
|
2789
|
-
var f =
|
|
2789
|
+
var f = hn(c.val);
|
|
2790
2790
|
if (f.length === 0)
|
|
2791
2791
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2792
|
-
var
|
|
2793
|
-
u = { style: f, styleLocation:
|
|
2792
|
+
var d = b(l, this.clonePosition());
|
|
2793
|
+
u = { style: f, styleLocation: d };
|
|
2794
2794
|
}
|
|
2795
|
-
var
|
|
2796
|
-
if (
|
|
2797
|
-
return
|
|
2795
|
+
var E = this.tryParseArgumentClose(i);
|
|
2796
|
+
if (E.err)
|
|
2797
|
+
return E;
|
|
2798
2798
|
var x = b(i, this.clonePosition());
|
|
2799
|
-
if (u &&
|
|
2800
|
-
var
|
|
2801
|
-
if (
|
|
2802
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2799
|
+
if (u && et(u?.style, "::", 0)) {
|
|
2800
|
+
var _ = un(u.style.slice(2));
|
|
2801
|
+
if (o === "number") {
|
|
2802
|
+
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
2803
2803
|
return c.err ? c : {
|
|
2804
|
-
val: { type:
|
|
2804
|
+
val: { type: g.number, value: n, location: x, style: c.val },
|
|
2805
2805
|
err: null
|
|
2806
2806
|
};
|
|
2807
2807
|
} else {
|
|
2808
|
-
if (
|
|
2808
|
+
if (_.length === 0)
|
|
2809
2809
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, x);
|
|
2810
|
-
var
|
|
2811
|
-
this.locale && (
|
|
2810
|
+
var w = _;
|
|
2811
|
+
this.locale && (w = Zr(_, this.locale));
|
|
2812
2812
|
var f = {
|
|
2813
|
-
type:
|
|
2814
|
-
pattern:
|
|
2813
|
+
type: j.dateTime,
|
|
2814
|
+
pattern: w,
|
|
2815
2815
|
location: u.styleLocation,
|
|
2816
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2817
|
-
},
|
|
2816
|
+
parsedOptions: this.shouldParseSkeletons ? Fr(w) : {}
|
|
2817
|
+
}, T = o === "date" ? g.date : g.time;
|
|
2818
2818
|
return {
|
|
2819
|
-
val: { type:
|
|
2819
|
+
val: { type: T, value: n, location: x, style: f },
|
|
2820
2820
|
err: null
|
|
2821
2821
|
};
|
|
2822
2822
|
}
|
|
2823
2823
|
}
|
|
2824
2824
|
return {
|
|
2825
2825
|
val: {
|
|
2826
|
-
type:
|
|
2826
|
+
type: o === "number" ? g.number : o === "date" ? g.date : g.time,
|
|
2827
2827
|
value: n,
|
|
2828
2828
|
location: x,
|
|
2829
2829
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2836,47 +2836,47 @@ var nn = (
|
|
|
2836
2836
|
case "select": {
|
|
2837
2837
|
var B = this.clonePosition();
|
|
2838
2838
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2839
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B,
|
|
2839
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, le({}, B)));
|
|
2840
2840
|
this.bumpSpace();
|
|
2841
|
-
var
|
|
2842
|
-
if (
|
|
2841
|
+
var O = this.parseIdentifierIfPossible(), P = 0;
|
|
2842
|
+
if (o !== "select" && O.value === "offset") {
|
|
2843
2843
|
if (!this.bumpIf(":"))
|
|
2844
2844
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2845
2845
|
this.bumpSpace();
|
|
2846
2846
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2847
2847
|
if (c.err)
|
|
2848
2848
|
return c;
|
|
2849
|
-
this.bumpSpace(),
|
|
2849
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
|
|
2850
2850
|
}
|
|
2851
|
-
var M = this.tryParsePluralOrSelectOptions(t,
|
|
2851
|
+
var M = this.tryParsePluralOrSelectOptions(t, o, r, O);
|
|
2852
2852
|
if (M.err)
|
|
2853
2853
|
return M;
|
|
2854
|
-
var
|
|
2855
|
-
if (
|
|
2856
|
-
return
|
|
2857
|
-
var
|
|
2858
|
-
return
|
|
2854
|
+
var E = this.tryParseArgumentClose(i);
|
|
2855
|
+
if (E.err)
|
|
2856
|
+
return E;
|
|
2857
|
+
var J = b(i, this.clonePosition());
|
|
2858
|
+
return o === "select" ? {
|
|
2859
2859
|
val: {
|
|
2860
|
-
type:
|
|
2860
|
+
type: g.select,
|
|
2861
2861
|
value: n,
|
|
2862
|
-
options:
|
|
2863
|
-
location:
|
|
2862
|
+
options: tt(M.val),
|
|
2863
|
+
location: J
|
|
2864
2864
|
},
|
|
2865
2865
|
err: null
|
|
2866
2866
|
} : {
|
|
2867
2867
|
val: {
|
|
2868
|
-
type:
|
|
2868
|
+
type: g.plural,
|
|
2869
2869
|
value: n,
|
|
2870
|
-
options:
|
|
2871
|
-
offset:
|
|
2872
|
-
pluralType:
|
|
2873
|
-
location:
|
|
2870
|
+
options: tt(M.val),
|
|
2871
|
+
offset: P,
|
|
2872
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2873
|
+
location: J
|
|
2874
2874
|
},
|
|
2875
2875
|
err: null
|
|
2876
2876
|
};
|
|
2877
2877
|
}
|
|
2878
2878
|
default:
|
|
2879
|
-
return this.error(m.INVALID_ARGUMENT_TYPE, b(
|
|
2879
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, b(a, h));
|
|
2880
2880
|
}
|
|
2881
2881
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2882
2882
|
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2918,64 +2918,64 @@ var nn = (
|
|
|
2918
2918
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2919
2919
|
var n = [];
|
|
2920
2920
|
try {
|
|
2921
|
-
n =
|
|
2921
|
+
n = jr(t);
|
|
2922
2922
|
} catch {
|
|
2923
2923
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
2924
2924
|
}
|
|
2925
2925
|
return {
|
|
2926
2926
|
val: {
|
|
2927
|
-
type:
|
|
2927
|
+
type: j.number,
|
|
2928
2928
|
tokens: n,
|
|
2929
2929
|
location: r,
|
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2930
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
|
2931
2931
|
},
|
|
2932
2932
|
err: null
|
|
2933
2933
|
};
|
|
2934
2934
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2935
|
-
for (var s,
|
|
2935
|
+
for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
2936
2936
|
if (u.length === 0) {
|
|
2937
2937
|
var c = this.clonePosition();
|
|
2938
2938
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2939
2939
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2940
2940
|
if (f.err)
|
|
2941
2941
|
return f;
|
|
2942
|
-
|
|
2942
|
+
l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2943
2943
|
} else
|
|
2944
2944
|
break;
|
|
2945
2945
|
}
|
|
2946
|
-
if (
|
|
2947
|
-
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
2948
|
-
u === "other" && (
|
|
2949
|
-
var
|
|
2946
|
+
if (h.has(u))
|
|
2947
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2948
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
2949
|
+
var d = this.clonePosition();
|
|
2950
2950
|
if (!this.bumpIf("{"))
|
|
2951
2951
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
2952
|
-
var
|
|
2953
|
-
if (
|
|
2954
|
-
return
|
|
2955
|
-
var x = this.tryParseArgumentClose(
|
|
2952
|
+
var E = this.parseMessage(t + 1, r, n);
|
|
2953
|
+
if (E.err)
|
|
2954
|
+
return E;
|
|
2955
|
+
var x = this.tryParseArgumentClose(d);
|
|
2956
2956
|
if (x.err)
|
|
2957
2957
|
return x;
|
|
2958
|
-
|
|
2958
|
+
o.push([
|
|
2959
2959
|
u,
|
|
2960
2960
|
{
|
|
2961
|
-
value:
|
|
2962
|
-
location: b(
|
|
2961
|
+
value: E.val,
|
|
2962
|
+
location: b(d, this.clonePosition())
|
|
2963
2963
|
}
|
|
2964
|
-
]),
|
|
2964
|
+
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
2965
2965
|
}
|
|
2966
|
-
return
|
|
2966
|
+
return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
2967
2967
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2968
2968
|
var n = 1, i = this.clonePosition();
|
|
2969
2969
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
2970
|
-
for (var s = !1,
|
|
2971
|
-
var
|
|
2972
|
-
if (
|
|
2973
|
-
s = !0,
|
|
2970
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
2971
|
+
var o = this.char();
|
|
2972
|
+
if (o >= 48 && o <= 57)
|
|
2973
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
|
2974
2974
|
else
|
|
2975
2975
|
break;
|
|
2976
2976
|
}
|
|
2977
|
-
var
|
|
2978
|
-
return s ? (
|
|
2977
|
+
var h = b(i, this.clonePosition());
|
|
2978
|
+
return s ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2979
2979
|
}, e.prototype.offset = function() {
|
|
2980
2980
|
return this.position.offset;
|
|
2981
2981
|
}, e.prototype.isEOF = function() {
|
|
@@ -2990,7 +2990,7 @@ var nn = (
|
|
|
2990
2990
|
var t = this.position.offset;
|
|
2991
2991
|
if (t >= this.message.length)
|
|
2992
2992
|
throw Error("out of bound");
|
|
2993
|
-
var r =
|
|
2993
|
+
var r = Nt(this.message, t);
|
|
2994
2994
|
if (r === void 0)
|
|
2995
2995
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2996
2996
|
return r;
|
|
@@ -3009,7 +3009,7 @@ var nn = (
|
|
|
3009
3009
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3010
3010
|
}
|
|
3011
3011
|
}, e.prototype.bumpIf = function(t) {
|
|
3012
|
-
if (
|
|
3012
|
+
if (et(this.message, t, this.offset())) {
|
|
3013
3013
|
for (var r = 0; r < t.length; r++)
|
|
3014
3014
|
this.bump();
|
|
3015
3015
|
return !0;
|
|
@@ -3031,7 +3031,7 @@ var nn = (
|
|
|
3031
3031
|
break;
|
|
3032
3032
|
}
|
|
3033
3033
|
}, e.prototype.bumpSpace = function() {
|
|
3034
|
-
for (; !this.isEOF() &&
|
|
3034
|
+
for (; !this.isEOF() && Pt(this.char()); )
|
|
3035
3035
|
this.bump();
|
|
3036
3036
|
}, e.prototype.peek = function() {
|
|
3037
3037
|
if (this.isEOF())
|
|
@@ -3041,47 +3041,47 @@ var nn = (
|
|
|
3041
3041
|
}, e;
|
|
3042
3042
|
}()
|
|
3043
3043
|
);
|
|
3044
|
-
function
|
|
3044
|
+
function Me(e) {
|
|
3045
3045
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3046
3046
|
}
|
|
3047
|
-
function
|
|
3048
|
-
return
|
|
3047
|
+
function cn(e) {
|
|
3048
|
+
return Me(e) || e === 47;
|
|
3049
3049
|
}
|
|
3050
|
-
function
|
|
3050
|
+
function fn(e) {
|
|
3051
3051
|
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;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Pt(e) {
|
|
3054
3054
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3055
3055
|
}
|
|
3056
|
-
function
|
|
3056
|
+
function mn(e) {
|
|
3057
3057
|
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;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function Ce(e) {
|
|
3060
3060
|
e.forEach(function(t) {
|
|
3061
|
-
if (delete t.location,
|
|
3061
|
+
if (delete t.location, _t(t) || vt(t))
|
|
3062
3062
|
for (var r in t.options)
|
|
3063
|
-
delete t.options[r].location,
|
|
3063
|
+
delete t.options[r].location, Ce(t.options[r].value);
|
|
3064
3064
|
else
|
|
3065
|
-
|
|
3065
|
+
Et(t) && Tt(t.style) || (yt(t) || xt(t)) && Oe(t.style) ? delete t.style.location : Bt(t) && Ce(t.children);
|
|
3066
3066
|
});
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3069
|
-
t === void 0 && (t = {}), t =
|
|
3070
|
-
var r = new
|
|
3068
|
+
function bn(e, t) {
|
|
3069
|
+
t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3070
|
+
var r = new ln(e, t).parse();
|
|
3071
3071
|
if (r.err) {
|
|
3072
3072
|
var n = SyntaxError(m[r.err.kind]);
|
|
3073
3073
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3074
3074
|
}
|
|
3075
|
-
return t?.captureLocation ||
|
|
3075
|
+
return t?.captureLocation || Ce(r.val), r.val;
|
|
3076
3076
|
}
|
|
3077
|
-
var
|
|
3077
|
+
var V;
|
|
3078
3078
|
(function(e) {
|
|
3079
3079
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3080
|
-
})(
|
|
3081
|
-
var
|
|
3080
|
+
})(V || (V = {}));
|
|
3081
|
+
var de = (
|
|
3082
3082
|
/** @class */
|
|
3083
3083
|
function(e) {
|
|
3084
|
-
|
|
3084
|
+
be(t, e);
|
|
3085
3085
|
function t(r, n, i) {
|
|
3086
3086
|
var s = e.call(this, r) || this;
|
|
3087
3087
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3090,155 +3090,155 @@ var be = (
|
|
|
3090
3090
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3091
3091
|
}, t;
|
|
3092
3092
|
}(Error)
|
|
3093
|
-
),
|
|
3093
|
+
), nt = (
|
|
3094
3094
|
/** @class */
|
|
3095
3095
|
function(e) {
|
|
3096
|
-
|
|
3096
|
+
be(t, e);
|
|
3097
3097
|
function t(r, n, i, s) {
|
|
3098
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3098
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3099
3099
|
}
|
|
3100
3100
|
return t;
|
|
3101
|
-
}(
|
|
3102
|
-
),
|
|
3101
|
+
}(de)
|
|
3102
|
+
), dn = (
|
|
3103
3103
|
/** @class */
|
|
3104
3104
|
function(e) {
|
|
3105
|
-
|
|
3105
|
+
be(t, e);
|
|
3106
3106
|
function t(r, n, i) {
|
|
3107
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3107
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
|
3108
3108
|
}
|
|
3109
3109
|
return t;
|
|
3110
|
-
}(
|
|
3111
|
-
),
|
|
3110
|
+
}(de)
|
|
3111
|
+
), pn = (
|
|
3112
3112
|
/** @class */
|
|
3113
3113
|
function(e) {
|
|
3114
|
-
|
|
3114
|
+
be(t, e);
|
|
3115
3115
|
function t(r, n) {
|
|
3116
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3116
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
3117
3117
|
}
|
|
3118
3118
|
return t;
|
|
3119
|
-
}(
|
|
3120
|
-
),
|
|
3119
|
+
}(de)
|
|
3120
|
+
), v;
|
|
3121
3121
|
(function(e) {
|
|
3122
3122
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3123
|
-
})(
|
|
3124
|
-
function
|
|
3123
|
+
})(v || (v = {}));
|
|
3124
|
+
function gn(e) {
|
|
3125
3125
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3126
3126
|
var n = t[t.length - 1];
|
|
3127
|
-
return !n || n.type !==
|
|
3127
|
+
return !n || n.type !== v.literal || r.type !== v.literal ? t.push(r) : n.value += r.value, t;
|
|
3128
3128
|
}, []);
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3130
|
+
function En(e) {
|
|
3131
3131
|
return typeof e == "function";
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3134
|
-
if (e.length === 1 &&
|
|
3133
|
+
function ae(e, t, r, n, i, s, a) {
|
|
3134
|
+
if (e.length === 1 && Je(e[0]))
|
|
3135
3135
|
return [
|
|
3136
3136
|
{
|
|
3137
|
-
type:
|
|
3137
|
+
type: v.literal,
|
|
3138
3138
|
value: e[0].value
|
|
3139
3139
|
}
|
|
3140
3140
|
];
|
|
3141
|
-
for (var
|
|
3142
|
-
var
|
|
3143
|
-
if (
|
|
3144
|
-
|
|
3145
|
-
type:
|
|
3146
|
-
value:
|
|
3141
|
+
for (var o = [], h = 0, u = e; h < u.length; h++) {
|
|
3142
|
+
var l = u[h];
|
|
3143
|
+
if (Je(l)) {
|
|
3144
|
+
o.push({
|
|
3145
|
+
type: v.literal,
|
|
3146
|
+
value: l.value
|
|
3147
3147
|
});
|
|
3148
3148
|
continue;
|
|
3149
3149
|
}
|
|
3150
|
-
if (
|
|
3151
|
-
typeof s == "number" &&
|
|
3152
|
-
type:
|
|
3150
|
+
if (Ur(l)) {
|
|
3151
|
+
typeof s == "number" && o.push({
|
|
3152
|
+
type: v.literal,
|
|
3153
3153
|
value: r.getNumberFormat(t).format(s)
|
|
3154
3154
|
});
|
|
3155
3155
|
continue;
|
|
3156
3156
|
}
|
|
3157
|
-
var c =
|
|
3157
|
+
var c = l.value;
|
|
3158
3158
|
if (!(i && c in i))
|
|
3159
|
-
throw new
|
|
3159
|
+
throw new pn(c, a);
|
|
3160
3160
|
var f = i[c];
|
|
3161
|
-
if (
|
|
3162
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3163
|
-
type: typeof f == "string" ?
|
|
3161
|
+
if ($r(l)) {
|
|
3162
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3163
|
+
type: typeof f == "string" ? v.literal : v.object,
|
|
3164
3164
|
value: f
|
|
3165
3165
|
});
|
|
3166
3166
|
continue;
|
|
3167
3167
|
}
|
|
3168
|
-
if (
|
|
3169
|
-
var
|
|
3170
|
-
|
|
3171
|
-
type:
|
|
3172
|
-
value: r.getDateTimeFormat(t,
|
|
3168
|
+
if (yt(l)) {
|
|
3169
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Oe(l.style) ? l.style.parsedOptions : void 0;
|
|
3170
|
+
o.push({
|
|
3171
|
+
type: v.literal,
|
|
3172
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3173
3173
|
});
|
|
3174
3174
|
continue;
|
|
3175
3175
|
}
|
|
3176
|
-
if (
|
|
3177
|
-
var
|
|
3178
|
-
|
|
3179
|
-
type:
|
|
3180
|
-
value: r.getDateTimeFormat(t,
|
|
3176
|
+
if (xt(l)) {
|
|
3177
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Oe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3178
|
+
o.push({
|
|
3179
|
+
type: v.literal,
|
|
3180
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3181
3181
|
});
|
|
3182
3182
|
continue;
|
|
3183
3183
|
}
|
|
3184
|
-
if (
|
|
3185
|
-
var
|
|
3186
|
-
|
|
3187
|
-
type:
|
|
3188
|
-
value: r.getNumberFormat(t,
|
|
3184
|
+
if (Et(l)) {
|
|
3185
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Tt(l.style) ? l.style.parsedOptions : void 0;
|
|
3186
|
+
d && d.scale && (f = f * (d.scale || 1)), o.push({
|
|
3187
|
+
type: v.literal,
|
|
3188
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3189
3189
|
});
|
|
3190
3190
|
continue;
|
|
3191
3191
|
}
|
|
3192
|
-
if (
|
|
3193
|
-
var
|
|
3194
|
-
if (!
|
|
3195
|
-
throw new
|
|
3196
|
-
var
|
|
3197
|
-
return
|
|
3192
|
+
if (Bt(l)) {
|
|
3193
|
+
var E = l.children, x = l.value, _ = i[x];
|
|
3194
|
+
if (!En(_))
|
|
3195
|
+
throw new dn(x, "function", a);
|
|
3196
|
+
var w = ae(E, t, r, n, i, s), T = _(w.map(function(P) {
|
|
3197
|
+
return P.value;
|
|
3198
3198
|
}));
|
|
3199
|
-
Array.isArray(
|
|
3199
|
+
Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(P) {
|
|
3200
3200
|
return {
|
|
3201
|
-
type: typeof
|
|
3202
|
-
value:
|
|
3201
|
+
type: typeof P == "string" ? v.literal : v.object,
|
|
3202
|
+
value: P
|
|
3203
3203
|
};
|
|
3204
3204
|
}));
|
|
3205
3205
|
}
|
|
3206
|
-
if (
|
|
3207
|
-
var B =
|
|
3206
|
+
if (_t(l)) {
|
|
3207
|
+
var B = l.options[f] || l.options.other;
|
|
3208
3208
|
if (!B)
|
|
3209
|
-
throw new
|
|
3210
|
-
|
|
3209
|
+
throw new nt(l.value, f, Object.keys(l.options), a);
|
|
3210
|
+
o.push.apply(o, ae(B.value, t, r, n, i));
|
|
3211
3211
|
continue;
|
|
3212
3212
|
}
|
|
3213
|
-
if (
|
|
3214
|
-
var B =
|
|
3213
|
+
if (vt(l)) {
|
|
3214
|
+
var B = l.options["=".concat(f)];
|
|
3215
3215
|
if (!B) {
|
|
3216
3216
|
if (!Intl.PluralRules)
|
|
3217
|
-
throw new
|
|
3217
|
+
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3218
3218
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3219
|
-
`,
|
|
3220
|
-
var
|
|
3221
|
-
B =
|
|
3219
|
+
`, V.MISSING_INTL_API, a);
|
|
3220
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3221
|
+
B = l.options[O] || l.options.other;
|
|
3222
3222
|
}
|
|
3223
3223
|
if (!B)
|
|
3224
|
-
throw new
|
|
3225
|
-
|
|
3224
|
+
throw new nt(l.value, f, Object.keys(l.options), a);
|
|
3225
|
+
o.push.apply(o, ae(B.value, t, r, n, i, f - (l.offset || 0)));
|
|
3226
3226
|
continue;
|
|
3227
3227
|
}
|
|
3228
3228
|
}
|
|
3229
|
-
return
|
|
3229
|
+
return gn(o);
|
|
3230
3230
|
}
|
|
3231
|
-
function
|
|
3232
|
-
return t ?
|
|
3233
|
-
return r[n] =
|
|
3231
|
+
function yn(e, t) {
|
|
3232
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3233
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3234
3234
|
}, {})) : e;
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3236
|
+
function xn(e, t) {
|
|
3237
3237
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3238
|
-
return r[n] =
|
|
3239
|
-
},
|
|
3238
|
+
return r[n] = yn(e[n], t[n]), r;
|
|
3239
|
+
}, N({}, e)) : e;
|
|
3240
3240
|
}
|
|
3241
|
-
function
|
|
3241
|
+
function Te(e) {
|
|
3242
3242
|
return {
|
|
3243
3243
|
create: function() {
|
|
3244
3244
|
return {
|
|
@@ -3252,39 +3252,39 @@ function ve(e) {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
};
|
|
3254
3254
|
}
|
|
3255
|
-
function
|
|
3255
|
+
function _n(e) {
|
|
3256
3256
|
return e === void 0 && (e = {
|
|
3257
3257
|
number: {},
|
|
3258
3258
|
dateTime: {},
|
|
3259
3259
|
pluralRules: {}
|
|
3260
3260
|
}), {
|
|
3261
|
-
getNumberFormat:
|
|
3261
|
+
getNumberFormat: _e(function() {
|
|
3262
3262
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3263
3263
|
r[n] = arguments[n];
|
|
3264
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3264
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
|
3265
3265
|
}, {
|
|
3266
|
-
cache:
|
|
3267
|
-
strategy:
|
|
3266
|
+
cache: Te(e.number),
|
|
3267
|
+
strategy: ve.variadic
|
|
3268
3268
|
}),
|
|
3269
|
-
getDateTimeFormat:
|
|
3269
|
+
getDateTimeFormat: _e(function() {
|
|
3270
3270
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3271
3271
|
r[n] = arguments[n];
|
|
3272
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3272
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
|
3273
3273
|
}, {
|
|
3274
|
-
cache:
|
|
3275
|
-
strategy:
|
|
3274
|
+
cache: Te(e.dateTime),
|
|
3275
|
+
strategy: ve.variadic
|
|
3276
3276
|
}),
|
|
3277
|
-
getPluralRules:
|
|
3277
|
+
getPluralRules: _e(function() {
|
|
3278
3278
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3279
3279
|
r[n] = arguments[n];
|
|
3280
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3280
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
|
3281
3281
|
}, {
|
|
3282
|
-
cache:
|
|
3283
|
-
strategy:
|
|
3282
|
+
cache: Te(e.pluralRules),
|
|
3283
|
+
strategy: ve.variadic
|
|
3284
3284
|
})
|
|
3285
3285
|
};
|
|
3286
3286
|
}
|
|
3287
|
-
var
|
|
3287
|
+
var vn = (
|
|
3288
3288
|
/** @class */
|
|
3289
3289
|
function() {
|
|
3290
3290
|
function e(t, r, n, i) {
|
|
@@ -3294,35 +3294,35 @@ var dn = (
|
|
|
3294
3294
|
number: {},
|
|
3295
3295
|
dateTime: {},
|
|
3296
3296
|
pluralRules: {}
|
|
3297
|
-
}, this.format = function(
|
|
3298
|
-
var u = s.formatToParts(
|
|
3297
|
+
}, this.format = function(h) {
|
|
3298
|
+
var u = s.formatToParts(h);
|
|
3299
3299
|
if (u.length === 1)
|
|
3300
3300
|
return u[0].value;
|
|
3301
|
-
var
|
|
3302
|
-
return !c.length || f.type !==
|
|
3301
|
+
var l = u.reduce(function(c, f) {
|
|
3302
|
+
return !c.length || f.type !== v.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3303
3303
|
}, []);
|
|
3304
|
-
return
|
|
3305
|
-
}, this.formatToParts = function(
|
|
3306
|
-
return
|
|
3304
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3305
|
+
}, this.formatToParts = function(h) {
|
|
3306
|
+
return ae(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3307
3307
|
}, this.resolvedOptions = function() {
|
|
3308
|
-
var
|
|
3308
|
+
var h;
|
|
3309
3309
|
return {
|
|
3310
|
-
locale: ((
|
|
3310
|
+
locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3311
3311
|
};
|
|
3312
3312
|
}, this.getAst = function() {
|
|
3313
3313
|
return s.ast;
|
|
3314
3314
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3315
3315
|
if (this.message = t, !e.__parse)
|
|
3316
3316
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3317
|
-
var
|
|
3318
|
-
|
|
3319
|
-
var
|
|
3320
|
-
this.ast = e.__parse(t,
|
|
3317
|
+
var a = i || {};
|
|
3318
|
+
a.formatters;
|
|
3319
|
+
var o = Or(a, ["formatters"]);
|
|
3320
|
+
this.ast = e.__parse(t, N(N({}, o), { locale: this.resolvedLocale }));
|
|
3321
3321
|
} else
|
|
3322
3322
|
this.ast = t;
|
|
3323
3323
|
if (!Array.isArray(this.ast))
|
|
3324
3324
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3325
|
-
this.formats =
|
|
3325
|
+
this.formats = xn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
|
|
3326
3326
|
}
|
|
3327
3327
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3328
3328
|
get: function() {
|
|
@@ -3335,7 +3335,7 @@ var dn = (
|
|
|
3335
3335
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3336
3336
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3337
3337
|
}
|
|
3338
|
-
}, e.__parse =
|
|
3338
|
+
}, e.__parse = bn, e.formats = {
|
|
3339
3339
|
number: {
|
|
3340
3340
|
integer: {
|
|
3341
3341
|
maximumFractionDigits: 0
|
|
@@ -3396,7 +3396,7 @@ var dn = (
|
|
|
3396
3396
|
}, e;
|
|
3397
3397
|
}()
|
|
3398
3398
|
);
|
|
3399
|
-
function
|
|
3399
|
+
function Bn(e, t) {
|
|
3400
3400
|
if (t == null)
|
|
3401
3401
|
return;
|
|
3402
3402
|
if (t in e)
|
|
@@ -3417,92 +3417,92 @@ function gn(e, t) {
|
|
|
3417
3417
|
n = void 0;
|
|
3418
3418
|
return n;
|
|
3419
3419
|
}
|
|
3420
|
-
const
|
|
3420
|
+
const L = {}, Tn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Lt = (e, t) => {
|
|
3421
3421
|
if (t == null)
|
|
3422
3422
|
return;
|
|
3423
|
-
if (t in
|
|
3424
|
-
return
|
|
3423
|
+
if (t in L && e in L[t])
|
|
3424
|
+
return L[t][e];
|
|
3425
3425
|
const r = pe(t);
|
|
3426
3426
|
for (let n = 0; n < r.length; n++) {
|
|
3427
|
-
const i = r[n], s =
|
|
3427
|
+
const i = r[n], s = Hn(i, e);
|
|
3428
3428
|
if (s)
|
|
3429
|
-
return
|
|
3429
|
+
return Tn(e, t, s);
|
|
3430
3430
|
}
|
|
3431
3431
|
};
|
|
3432
|
-
let
|
|
3433
|
-
const
|
|
3434
|
-
function
|
|
3435
|
-
return
|
|
3432
|
+
let Ge;
|
|
3433
|
+
const ie = me({});
|
|
3434
|
+
function Sn(e) {
|
|
3435
|
+
return Ge[e] || null;
|
|
3436
3436
|
}
|
|
3437
|
-
function
|
|
3438
|
-
return e in
|
|
3437
|
+
function It(e) {
|
|
3438
|
+
return e in Ge;
|
|
3439
3439
|
}
|
|
3440
|
-
function
|
|
3441
|
-
if (!
|
|
3440
|
+
function Hn(e, t) {
|
|
3441
|
+
if (!It(e))
|
|
3442
3442
|
return null;
|
|
3443
|
-
const r =
|
|
3444
|
-
return
|
|
3443
|
+
const r = Sn(e);
|
|
3444
|
+
return Bn(r, t);
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function wn(e) {
|
|
3447
3447
|
if (e == null)
|
|
3448
3448
|
return;
|
|
3449
3449
|
const t = pe(e);
|
|
3450
3450
|
for (let r = 0; r < t.length; r++) {
|
|
3451
3451
|
const n = t[r];
|
|
3452
|
-
if (
|
|
3452
|
+
if (It(n))
|
|
3453
3453
|
return n;
|
|
3454
3454
|
}
|
|
3455
3455
|
}
|
|
3456
|
-
function
|
|
3457
|
-
delete
|
|
3456
|
+
function Mt(e, ...t) {
|
|
3457
|
+
delete L[e], ie.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
|
|
3458
3458
|
}
|
|
3459
|
-
|
|
3460
|
-
[
|
|
3459
|
+
W(
|
|
3460
|
+
[ie],
|
|
3461
3461
|
([e]) => Object.keys(e)
|
|
3462
3462
|
);
|
|
3463
|
-
|
|
3464
|
-
const
|
|
3465
|
-
function
|
|
3466
|
-
|
|
3463
|
+
ie.subscribe((e) => Ge = e);
|
|
3464
|
+
const ue = {};
|
|
3465
|
+
function An(e, t) {
|
|
3466
|
+
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3467
3467
|
}
|
|
3468
|
-
function
|
|
3469
|
-
return
|
|
3468
|
+
function Ct(e) {
|
|
3469
|
+
return ue[e];
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3471
|
+
function Nn(e) {
|
|
3472
3472
|
return pe(e).map((t) => {
|
|
3473
|
-
const r =
|
|
3473
|
+
const r = Ct(t);
|
|
3474
3474
|
return [t, r ? [...r] : []];
|
|
3475
3475
|
}).filter(([, t]) => t.length > 0);
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3477
|
+
function Re(e) {
|
|
3478
3478
|
return e == null ? !1 : pe(e).some(
|
|
3479
3479
|
(t) => {
|
|
3480
3480
|
var r;
|
|
3481
|
-
return (r =
|
|
3481
|
+
return (r = Ct(t)) == null ? void 0 : r.size;
|
|
3482
3482
|
}
|
|
3483
3483
|
);
|
|
3484
3484
|
}
|
|
3485
|
-
function
|
|
3485
|
+
function On(e, t) {
|
|
3486
3486
|
return Promise.all(
|
|
3487
|
-
t.map((n) => (
|
|
3488
|
-
).then((n) =>
|
|
3489
|
-
}
|
|
3490
|
-
const
|
|
3491
|
-
function
|
|
3492
|
-
if (!
|
|
3493
|
-
return e in
|
|
3494
|
-
const t =
|
|
3495
|
-
return
|
|
3487
|
+
t.map((n) => (An(e, n), n().then((i) => i.default || i)))
|
|
3488
|
+
).then((n) => Mt(e, ...n));
|
|
3489
|
+
}
|
|
3490
|
+
const q = {};
|
|
3491
|
+
function Rt(e) {
|
|
3492
|
+
if (!Re(e))
|
|
3493
|
+
return e in q ? q[e] : Promise.resolve();
|
|
3494
|
+
const t = Nn(e);
|
|
3495
|
+
return q[e] = Promise.all(
|
|
3496
3496
|
t.map(
|
|
3497
|
-
([r, n]) =>
|
|
3497
|
+
([r, n]) => On(r, n)
|
|
3498
3498
|
)
|
|
3499
3499
|
).then(() => {
|
|
3500
|
-
if (
|
|
3501
|
-
return
|
|
3502
|
-
delete
|
|
3503
|
-
}),
|
|
3500
|
+
if (Re(e))
|
|
3501
|
+
return Rt(e);
|
|
3502
|
+
delete q[e];
|
|
3503
|
+
}), q[e];
|
|
3504
3504
|
}
|
|
3505
|
-
const
|
|
3505
|
+
const Pn = {
|
|
3506
3506
|
number: {
|
|
3507
3507
|
scientific: { notation: "scientific" },
|
|
3508
3508
|
engineering: { notation: "engineering" },
|
|
@@ -3531,159 +3531,159 @@ const Tn = {
|
|
|
3531
3531
|
timeZoneName: "short"
|
|
3532
3532
|
}
|
|
3533
3533
|
}
|
|
3534
|
-
},
|
|
3534
|
+
}, Ln = {
|
|
3535
3535
|
fallbackLocale: null,
|
|
3536
3536
|
loadingDelay: 200,
|
|
3537
|
-
formats:
|
|
3537
|
+
formats: Pn,
|
|
3538
3538
|
warnOnMissingMessages: !0,
|
|
3539
3539
|
handleMissingMessage: void 0,
|
|
3540
3540
|
ignoreTag: !0
|
|
3541
|
-
},
|
|
3542
|
-
function
|
|
3543
|
-
return
|
|
3541
|
+
}, In = Ln;
|
|
3542
|
+
function X() {
|
|
3543
|
+
return In;
|
|
3544
3544
|
}
|
|
3545
|
-
const
|
|
3546
|
-
var
|
|
3545
|
+
const Se = me(!1);
|
|
3546
|
+
var Mn = Object.defineProperty, Cn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
|
|
3547
3547
|
for (var r in t || (t = {}))
|
|
3548
|
-
|
|
3549
|
-
if (
|
|
3550
|
-
for (var r of
|
|
3551
|
-
|
|
3548
|
+
Dn.call(t, r) && st(e, r, t[r]);
|
|
3549
|
+
if (it)
|
|
3550
|
+
for (var r of it(t))
|
|
3551
|
+
$n.call(t, r) && st(e, r, t[r]);
|
|
3552
3552
|
return e;
|
|
3553
|
-
},
|
|
3554
|
-
let
|
|
3555
|
-
const
|
|
3556
|
-
function
|
|
3553
|
+
}, Gn = (e, t) => Cn(e, Rn(t));
|
|
3554
|
+
let De;
|
|
3555
|
+
const ce = me(null);
|
|
3556
|
+
function ot(e) {
|
|
3557
3557
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3558
3558
|
}
|
|
3559
|
-
function pe(e, t =
|
|
3560
|
-
const r =
|
|
3561
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3559
|
+
function pe(e, t = X().fallbackLocale) {
|
|
3560
|
+
const r = ot(e);
|
|
3561
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return
|
|
3563
|
+
function I() {
|
|
3564
|
+
return De ?? void 0;
|
|
3565
3565
|
}
|
|
3566
|
-
|
|
3567
|
-
|
|
3566
|
+
ce.subscribe((e) => {
|
|
3567
|
+
De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3568
3568
|
});
|
|
3569
|
-
const
|
|
3570
|
-
if (e &&
|
|
3571
|
-
const { loadingDelay: t } =
|
|
3569
|
+
const Fn = (e) => {
|
|
3570
|
+
if (e && wn(e) && Re(e)) {
|
|
3571
|
+
const { loadingDelay: t } = X();
|
|
3572
3572
|
let r;
|
|
3573
|
-
return typeof window < "u" &&
|
|
3574
|
-
() =>
|
|
3573
|
+
return typeof window < "u" && I() != null && t ? r = window.setTimeout(
|
|
3574
|
+
() => Se.set(!0),
|
|
3575
3575
|
t
|
|
3576
|
-
) :
|
|
3577
|
-
|
|
3576
|
+
) : Se.set(!0), Rt(e).then(() => {
|
|
3577
|
+
ce.set(e);
|
|
3578
3578
|
}).finally(() => {
|
|
3579
|
-
clearTimeout(r),
|
|
3579
|
+
clearTimeout(r), Se.set(!1);
|
|
3580
3580
|
});
|
|
3581
3581
|
}
|
|
3582
|
-
return
|
|
3583
|
-
},
|
|
3584
|
-
set:
|
|
3585
|
-
}),
|
|
3582
|
+
return ce.set(e);
|
|
3583
|
+
}, Z = Gn(Un({}, ce), {
|
|
3584
|
+
set: Fn
|
|
3585
|
+
}), ge = (e) => {
|
|
3586
3586
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3587
3587
|
return (n) => {
|
|
3588
3588
|
const i = JSON.stringify(n);
|
|
3589
3589
|
return i in t ? t[i] : t[i] = e(n);
|
|
3590
3590
|
};
|
|
3591
3591
|
};
|
|
3592
|
-
var
|
|
3592
|
+
var kn = Object.defineProperty, fe = Object.getOwnPropertySymbols, Dt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
|
|
3593
3593
|
for (var r in t || (t = {}))
|
|
3594
|
-
|
|
3595
|
-
if (
|
|
3596
|
-
for (var r of
|
|
3597
|
-
|
|
3594
|
+
Dt.call(t, r) && at(e, r, t[r]);
|
|
3595
|
+
if (fe)
|
|
3596
|
+
for (var r of fe(t))
|
|
3597
|
+
$t.call(t, r) && at(e, r, t[r]);
|
|
3598
3598
|
return e;
|
|
3599
|
-
},
|
|
3599
|
+
}, Q = (e, t) => {
|
|
3600
3600
|
var r = {};
|
|
3601
3601
|
for (var n in e)
|
|
3602
|
-
|
|
3603
|
-
if (e != null &&
|
|
3604
|
-
for (var n of
|
|
3605
|
-
t.indexOf(n) < 0 &&
|
|
3602
|
+
Dt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3603
|
+
if (e != null && fe)
|
|
3604
|
+
for (var n of fe(e))
|
|
3605
|
+
t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
|
|
3606
3606
|
return r;
|
|
3607
3607
|
};
|
|
3608
|
-
const
|
|
3609
|
-
const { formats: r } =
|
|
3608
|
+
const te = (e, t) => {
|
|
3609
|
+
const { formats: r } = X();
|
|
3610
3610
|
if (e in r && t in r[e])
|
|
3611
3611
|
return r[e][t];
|
|
3612
3612
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3613
|
-
},
|
|
3613
|
+
}, jn = ge(
|
|
3614
3614
|
(e) => {
|
|
3615
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3615
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3616
3616
|
if (r == null)
|
|
3617
3617
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3618
|
-
return n && (i =
|
|
3618
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3619
3619
|
}
|
|
3620
|
-
),
|
|
3620
|
+
), Vn = ge(
|
|
3621
3621
|
(e) => {
|
|
3622
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3622
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3623
3623
|
if (r == null)
|
|
3624
3624
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3625
|
-
return n ? i =
|
|
3625
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3626
3626
|
}
|
|
3627
|
-
),
|
|
3627
|
+
), Xn = ge(
|
|
3628
3628
|
(e) => {
|
|
3629
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3629
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3630
3630
|
if (r == null)
|
|
3631
3631
|
throw new Error(
|
|
3632
3632
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3633
3633
|
);
|
|
3634
|
-
return n ? i =
|
|
3634
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3635
3635
|
}
|
|
3636
|
-
),
|
|
3636
|
+
), zn = (e = {}) => {
|
|
3637
3637
|
var t = e, {
|
|
3638
|
-
locale: r =
|
|
3639
|
-
} = t, n =
|
|
3638
|
+
locale: r = I()
|
|
3639
|
+
} = t, n = Q(t, [
|
|
3640
3640
|
"locale"
|
|
3641
3641
|
]);
|
|
3642
|
-
return
|
|
3643
|
-
},
|
|
3642
|
+
return jn(Fe({ locale: r }, n));
|
|
3643
|
+
}, Wn = (e = {}) => {
|
|
3644
3644
|
var t = e, {
|
|
3645
|
-
locale: r =
|
|
3646
|
-
} = t, n =
|
|
3645
|
+
locale: r = I()
|
|
3646
|
+
} = t, n = Q(t, [
|
|
3647
3647
|
"locale"
|
|
3648
3648
|
]);
|
|
3649
|
-
return
|
|
3650
|
-
},
|
|
3649
|
+
return Vn(Fe({ locale: r }, n));
|
|
3650
|
+
}, Zn = (e = {}) => {
|
|
3651
3651
|
var t = e, {
|
|
3652
|
-
locale: r =
|
|
3653
|
-
} = t, n =
|
|
3652
|
+
locale: r = I()
|
|
3653
|
+
} = t, n = Q(t, [
|
|
3654
3654
|
"locale"
|
|
3655
3655
|
]);
|
|
3656
|
-
return
|
|
3657
|
-
},
|
|
3656
|
+
return Xn(Fe({ locale: r }, n));
|
|
3657
|
+
}, Qn = ge(
|
|
3658
3658
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3659
|
-
(e, t =
|
|
3660
|
-
ignoreTag:
|
|
3659
|
+
(e, t = I()) => new vn(e, t, X().formats, {
|
|
3660
|
+
ignoreTag: X().ignoreTag
|
|
3661
3661
|
})
|
|
3662
|
-
),
|
|
3662
|
+
), Jn = (e, t = {}) => {
|
|
3663
3663
|
var r, n, i, s;
|
|
3664
|
-
let
|
|
3665
|
-
typeof e == "object" && (
|
|
3664
|
+
let a = t;
|
|
3665
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3666
3666
|
const {
|
|
3667
|
-
values:
|
|
3668
|
-
locale:
|
|
3667
|
+
values: o,
|
|
3668
|
+
locale: h = I(),
|
|
3669
3669
|
default: u
|
|
3670
|
-
} =
|
|
3671
|
-
if (
|
|
3670
|
+
} = a;
|
|
3671
|
+
if (h == null)
|
|
3672
3672
|
throw new Error(
|
|
3673
3673
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3674
3674
|
);
|
|
3675
|
-
let
|
|
3676
|
-
if (!
|
|
3677
|
-
|
|
3678
|
-
else if (typeof
|
|
3675
|
+
let l = Lt(e, h);
|
|
3676
|
+
if (!l)
|
|
3677
|
+
l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3678
|
+
else if (typeof l != "string")
|
|
3679
3679
|
return console.warn(
|
|
3680
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3681
|
-
),
|
|
3682
|
-
if (!
|
|
3683
|
-
return
|
|
3684
|
-
let c =
|
|
3680
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3681
|
+
), l;
|
|
3682
|
+
if (!o)
|
|
3683
|
+
return l;
|
|
3684
|
+
let c = l;
|
|
3685
3685
|
try {
|
|
3686
|
-
c =
|
|
3686
|
+
c = Qn(l, h).format(o);
|
|
3687
3687
|
} catch (f) {
|
|
3688
3688
|
f instanceof Error && console.warn(
|
|
3689
3689
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3691,81 +3691,103 @@ const ee = (e, t) => {
|
|
|
3691
3691
|
);
|
|
3692
3692
|
}
|
|
3693
3693
|
return c;
|
|
3694
|
-
},
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
function
|
|
3700
|
-
|
|
3701
|
-
}
|
|
3702
|
-
function
|
|
3703
|
-
|
|
3704
|
-
}
|
|
3705
|
-
const
|
|
3694
|
+
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = I()) => Lt(e, t), ti = W([Z, ie], () => Jn);
|
|
3695
|
+
W([Z], () => qn);
|
|
3696
|
+
W([Z], () => Yn);
|
|
3697
|
+
W([Z], () => Kn);
|
|
3698
|
+
W([Z, ie], () => ei);
|
|
3699
|
+
function ri(e, t) {
|
|
3700
|
+
Mt(e, t);
|
|
3701
|
+
}
|
|
3702
|
+
function ni(e) {
|
|
3703
|
+
Z.set(e);
|
|
3704
|
+
}
|
|
3705
|
+
const ii = {
|
|
3706
3706
|
en: {
|
|
3707
3707
|
btnEnableBiometrics: "Enable biometrics",
|
|
3708
3708
|
btnDisableBiometrics: "Disable biometrics",
|
|
3709
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3710
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3709
3711
|
errorMessage: "Biometrics update failed"
|
|
3710
3712
|
},
|
|
3711
3713
|
"zh-hk": {
|
|
3712
3714
|
btnEnableBiometrics: "Enable biometrics",
|
|
3713
3715
|
btnDisableBiometrics: "Disable biometrics",
|
|
3716
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3717
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3714
3718
|
errorMessage: "Biometrics update failed"
|
|
3715
3719
|
},
|
|
3716
3720
|
fr: {
|
|
3717
3721
|
btnEnableBiometrics: "Enable biometrics",
|
|
3718
3722
|
btnDisableBiometrics: "Disable biometrics",
|
|
3723
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3724
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3719
3725
|
errorMessage: "Biometrics update failed"
|
|
3720
3726
|
},
|
|
3721
3727
|
tr: {
|
|
3722
3728
|
btnEnableBiometrics: "Enable biometrics",
|
|
3723
3729
|
btnDisableBiometrics: "Disable biometrics",
|
|
3730
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3731
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3724
3732
|
errorMessage: "Biometrics update failed"
|
|
3725
3733
|
},
|
|
3726
3734
|
ro: {
|
|
3727
3735
|
btnEnableBiometrics: "Enable biometrics",
|
|
3728
3736
|
btnDisableBiometrics: "Disable biometrics",
|
|
3737
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3738
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3729
3739
|
errorMessage: "Biometrics update failed"
|
|
3730
3740
|
},
|
|
3731
3741
|
es: {
|
|
3732
3742
|
btnEnableBiometrics: "Enable biometrics",
|
|
3733
3743
|
btnDisableBiometrics: "Disable biometrics",
|
|
3744
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3745
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3734
3746
|
errorMessage: "Biometrics update failed"
|
|
3735
3747
|
},
|
|
3736
3748
|
pt: {
|
|
3737
3749
|
btnEnableBiometrics: "Enable biometrics",
|
|
3738
3750
|
btnDisableBiometrics: "Disable biometrics",
|
|
3751
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3752
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3739
3753
|
errorMessage: "Biometrics update failed"
|
|
3740
3754
|
},
|
|
3741
3755
|
hr: {
|
|
3742
3756
|
btnEnableBiometrics: "Omogući biometriju",
|
|
3743
3757
|
btnDisableBiometrics: "Onemogući biometriju",
|
|
3758
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3759
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3744
3760
|
errorMessage: "Biometrics update failed"
|
|
3745
3761
|
},
|
|
3746
3762
|
"pt-br": {
|
|
3747
3763
|
btnEnableBiometrics: "Enable biometrics",
|
|
3748
3764
|
btnDisableBiometrics: "Disable biometrics",
|
|
3765
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3766
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3749
3767
|
errorMessage: "Biometrics update failed"
|
|
3750
3768
|
},
|
|
3751
3769
|
"es-mx": {
|
|
3752
3770
|
btnEnableBiometrics: "Enable biometrics",
|
|
3753
3771
|
btnDisableBiometrics: "Disable biometrics",
|
|
3772
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3773
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3754
3774
|
errorMessage: "Biometrics update failed"
|
|
3755
3775
|
},
|
|
3756
3776
|
"en-us": {
|
|
3757
3777
|
btnEnableBiometrics: "Enable biometrics",
|
|
3758
3778
|
btnDisableBiometrics: "Disable biometrics",
|
|
3779
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
3780
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
3759
3781
|
errorMessage: "Biometrics update failed"
|
|
3760
3782
|
}
|
|
3761
|
-
};
|
|
3762
|
-
function
|
|
3783
|
+
}, U = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3784
|
+
function si(e, t) {
|
|
3763
3785
|
if (e) {
|
|
3764
3786
|
const r = document.createElement("style");
|
|
3765
3787
|
r.innerHTML = t, e.appendChild(r);
|
|
3766
3788
|
}
|
|
3767
3789
|
}
|
|
3768
|
-
function
|
|
3790
|
+
function oi(e, t) {
|
|
3769
3791
|
if (!e || !t)
|
|
3770
3792
|
return;
|
|
3771
3793
|
const r = new URL(t);
|
|
@@ -3776,333 +3798,386 @@ function ei(e, t) {
|
|
|
3776
3798
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3777
3799
|
});
|
|
3778
3800
|
}
|
|
3779
|
-
function
|
|
3780
|
-
if (window.emMessageBus)
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3801
|
+
function ai(e, t, r, n = !1) {
|
|
3802
|
+
if (!window.emMessageBus)
|
|
3803
|
+
return;
|
|
3804
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3805
|
+
return r = ui(e, t), r;
|
|
3806
|
+
window[U] || (window[U] = {}), r = hi(e, t);
|
|
3807
|
+
const s = r.unsubscribe.bind(r), a = () => {
|
|
3808
|
+
if (window[U][t]) {
|
|
3809
|
+
const o = window[U][t];
|
|
3810
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[U][t];
|
|
3811
|
+
}
|
|
3812
|
+
s();
|
|
3813
|
+
};
|
|
3814
|
+
return r.unsubscribe = a, r;
|
|
3815
|
+
}
|
|
3816
|
+
function ui(e, t) {
|
|
3817
|
+
const r = document.createElement("style");
|
|
3818
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
3819
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
3820
|
+
});
|
|
3821
|
+
}
|
|
3822
|
+
function hi(e, t) {
|
|
3823
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
3824
|
+
if (!e)
|
|
3825
|
+
return;
|
|
3826
|
+
const n = e.getRootNode(), i = window[U];
|
|
3827
|
+
let s = i[t]?.sheet;
|
|
3828
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
3829
|
+
sheet: s,
|
|
3830
|
+
refCount: 1
|
|
3784
3831
|
});
|
|
3785
|
-
|
|
3832
|
+
const a = n.adoptedStyleSheets || [];
|
|
3833
|
+
a.includes(s) || (n.adoptedStyleSheets = [...a, s]);
|
|
3834
|
+
});
|
|
3786
3835
|
}
|
|
3787
|
-
function
|
|
3836
|
+
function li(e, t, r) {
|
|
3788
3837
|
return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
|
|
3789
3838
|
}
|
|
3790
|
-
function
|
|
3791
|
-
|
|
3839
|
+
function ci(e) {
|
|
3840
|
+
Xt(e, "svelte-4r3z7g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}');
|
|
3792
3841
|
}
|
|
3793
|
-
function
|
|
3842
|
+
function ut(e) {
|
|
3794
3843
|
let t;
|
|
3795
|
-
function r(s,
|
|
3844
|
+
function r(s, a) {
|
|
3796
3845
|
if (
|
|
3797
3846
|
/*mode*/
|
|
3798
3847
|
s[1] === "button"
|
|
3799
3848
|
)
|
|
3800
|
-
return
|
|
3849
|
+
return mi;
|
|
3801
3850
|
if (
|
|
3802
3851
|
/*mode*/
|
|
3803
3852
|
s[1] === "switch"
|
|
3804
3853
|
)
|
|
3805
|
-
return
|
|
3854
|
+
return fi;
|
|
3806
3855
|
}
|
|
3807
3856
|
let n = r(e), i = n && n(e);
|
|
3808
3857
|
return {
|
|
3809
3858
|
c() {
|
|
3810
|
-
t =
|
|
3859
|
+
t = F("div"), i && i.c();
|
|
3811
3860
|
},
|
|
3812
|
-
m(s,
|
|
3813
|
-
|
|
3861
|
+
m(s, a) {
|
|
3862
|
+
ne(s, t, a), i && i.m(t, null), e[17](t);
|
|
3814
3863
|
},
|
|
3815
|
-
p(s,
|
|
3816
|
-
n === (n = r(s)) && i ? i.p(s,
|
|
3864
|
+
p(s, a) {
|
|
3865
|
+
n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
|
|
3817
3866
|
},
|
|
3818
3867
|
d(s) {
|
|
3819
|
-
s &&
|
|
3868
|
+
s && z(t), i && i.d(), e[17](null);
|
|
3820
3869
|
}
|
|
3821
3870
|
};
|
|
3822
3871
|
}
|
|
3823
|
-
function
|
|
3824
|
-
let t, r, n, i;
|
|
3872
|
+
function fi(e) {
|
|
3873
|
+
let t, r, n, i, s;
|
|
3825
3874
|
return {
|
|
3826
3875
|
c() {
|
|
3827
|
-
t =
|
|
3876
|
+
t = F("button"), r = F("div"), r.innerHTML = '<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>', he(r, "class", "skip-switch"), C(
|
|
3828
3877
|
r,
|
|
3829
3878
|
"checked",
|
|
3830
3879
|
/*biometricsEnabled*/
|
|
3831
|
-
e[
|
|
3880
|
+
e[4]
|
|
3832
3881
|
), C(
|
|
3833
3882
|
r,
|
|
3834
3883
|
"disabled",
|
|
3835
3884
|
/*isUpdatingBiometrics*/
|
|
3836
|
-
e[
|
|
3885
|
+
e[5] || /*isLoading*/
|
|
3886
|
+
e[2]
|
|
3837
3887
|
), C(
|
|
3838
3888
|
r,
|
|
3839
3889
|
"shake",
|
|
3840
3890
|
/*shake*/
|
|
3841
|
-
e[
|
|
3842
|
-
),
|
|
3843
|
-
e[
|
|
3891
|
+
e[6]
|
|
3892
|
+
), he(t, "class", "toggle-content"), t.disabled = n = /*isUpdatingBiometrics*/
|
|
3893
|
+
e[5] || /*isLoading*/
|
|
3894
|
+
e[2];
|
|
3844
3895
|
},
|
|
3845
|
-
m(
|
|
3846
|
-
|
|
3896
|
+
m(a, o) {
|
|
3897
|
+
ne(a, t, o), Ue(t, r), i || (s = mt(
|
|
3847
3898
|
t,
|
|
3848
3899
|
"click",
|
|
3849
3900
|
/*toggleBiometrics*/
|
|
3850
|
-
e[
|
|
3851
|
-
),
|
|
3901
|
+
e[8]
|
|
3902
|
+
), i = !0);
|
|
3852
3903
|
},
|
|
3853
|
-
p(
|
|
3904
|
+
p(a, o) {
|
|
3854
3905
|
o & /*biometricsEnabled*/
|
|
3855
|
-
|
|
3906
|
+
16 && C(
|
|
3856
3907
|
r,
|
|
3857
3908
|
"checked",
|
|
3858
3909
|
/*biometricsEnabled*/
|
|
3859
|
-
|
|
3860
|
-
), o & /*isUpdatingBiometrics*/
|
|
3861
|
-
|
|
3910
|
+
a[4]
|
|
3911
|
+
), o & /*isUpdatingBiometrics, isLoading*/
|
|
3912
|
+
36 && C(
|
|
3862
3913
|
r,
|
|
3863
3914
|
"disabled",
|
|
3864
3915
|
/*isUpdatingBiometrics*/
|
|
3865
|
-
|
|
3916
|
+
a[5] || /*isLoading*/
|
|
3917
|
+
a[2]
|
|
3866
3918
|
), o & /*shake*/
|
|
3867
|
-
|
|
3919
|
+
64 && C(
|
|
3868
3920
|
r,
|
|
3869
3921
|
"shake",
|
|
3870
3922
|
/*shake*/
|
|
3871
|
-
|
|
3872
|
-
), o & /*isUpdatingBiometrics*/
|
|
3873
|
-
|
|
3874
|
-
|
|
3923
|
+
a[6]
|
|
3924
|
+
), o & /*isUpdatingBiometrics, isLoading*/
|
|
3925
|
+
36 && n !== (n = /*isUpdatingBiometrics*/
|
|
3926
|
+
a[5] || /*isLoading*/
|
|
3927
|
+
a[2]) && (t.disabled = n);
|
|
3875
3928
|
},
|
|
3876
|
-
d(
|
|
3877
|
-
|
|
3929
|
+
d(a) {
|
|
3930
|
+
a && z(t), i = !1, s();
|
|
3878
3931
|
}
|
|
3879
3932
|
};
|
|
3880
3933
|
}
|
|
3881
|
-
function
|
|
3934
|
+
function mi(e) {
|
|
3882
3935
|
let t, r = (
|
|
3883
3936
|
/*biometricsEnabled*/
|
|
3884
|
-
(e[
|
|
3937
|
+
(e[4] ? (
|
|
3885
3938
|
/*$_*/
|
|
3886
|
-
e[
|
|
3939
|
+
e[7]("btnDisableBiometrics")
|
|
3887
3940
|
) : (
|
|
3888
3941
|
/*$_*/
|
|
3889
|
-
e[
|
|
3942
|
+
e[7]("btnEnableBiometrics")
|
|
3890
3943
|
)) + ""
|
|
3891
|
-
), n, i, s;
|
|
3944
|
+
), n, i, s, a;
|
|
3892
3945
|
return {
|
|
3893
3946
|
c() {
|
|
3894
|
-
t =
|
|
3895
|
-
e[
|
|
3947
|
+
t = F("button"), n = ft(r), he(t, "class", "BiometricsToggle"), t.disabled = i = /*isUpdatingBiometrics*/
|
|
3948
|
+
e[5] || /*isLoading*/
|
|
3949
|
+
e[2];
|
|
3896
3950
|
},
|
|
3897
|
-
m(o,
|
|
3898
|
-
|
|
3951
|
+
m(o, h) {
|
|
3952
|
+
ne(o, t, h), Ue(t, n), s || (a = mt(
|
|
3899
3953
|
t,
|
|
3900
3954
|
"click",
|
|
3901
3955
|
/*click_handler*/
|
|
3902
|
-
e[
|
|
3903
|
-
),
|
|
3956
|
+
e[16]
|
|
3957
|
+
), s = !0);
|
|
3904
3958
|
},
|
|
3905
|
-
p(o,
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
(o[
|
|
3959
|
+
p(o, h) {
|
|
3960
|
+
h & /*biometricsEnabled, $_*/
|
|
3961
|
+
144 && r !== (r = /*biometricsEnabled*/
|
|
3962
|
+
(o[4] ? (
|
|
3909
3963
|
/*$_*/
|
|
3910
|
-
o[
|
|
3964
|
+
o[7]("btnDisableBiometrics")
|
|
3911
3965
|
) : (
|
|
3912
3966
|
/*$_*/
|
|
3913
|
-
o[
|
|
3914
|
-
)) + "") &&
|
|
3915
|
-
|
|
3916
|
-
o[
|
|
3967
|
+
o[7]("btnEnableBiometrics")
|
|
3968
|
+
)) + "") && Jt(n, r), h & /*isUpdatingBiometrics, isLoading*/
|
|
3969
|
+
36 && i !== (i = /*isUpdatingBiometrics*/
|
|
3970
|
+
o[5] || /*isLoading*/
|
|
3971
|
+
o[2]) && (t.disabled = i);
|
|
3917
3972
|
},
|
|
3918
3973
|
d(o) {
|
|
3919
|
-
o &&
|
|
3974
|
+
o && z(t), s = !1, a();
|
|
3920
3975
|
}
|
|
3921
3976
|
};
|
|
3922
3977
|
}
|
|
3923
|
-
function
|
|
3978
|
+
function bi(e) {
|
|
3924
3979
|
let t, r = (
|
|
3925
3980
|
/*isNativeApp*/
|
|
3926
|
-
e[0] &&
|
|
3981
|
+
e[0] && ut(e)
|
|
3927
3982
|
);
|
|
3928
3983
|
return {
|
|
3929
3984
|
c() {
|
|
3930
|
-
r && r.c(), t =
|
|
3985
|
+
r && r.c(), t = Zt();
|
|
3931
3986
|
},
|
|
3932
3987
|
m(n, i) {
|
|
3933
|
-
r && r.m(n, i),
|
|
3988
|
+
r && r.m(n, i), ne(n, t, i);
|
|
3934
3989
|
},
|
|
3935
3990
|
p(n, [i]) {
|
|
3936
3991
|
/*isNativeApp*/
|
|
3937
|
-
n[0] ? r ? r.p(n, i) : (r =
|
|
3992
|
+
n[0] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3938
3993
|
},
|
|
3939
3994
|
i: H,
|
|
3940
3995
|
o: H,
|
|
3941
3996
|
d(n) {
|
|
3942
|
-
n &&
|
|
3997
|
+
n && z(t), r && r.d(n);
|
|
3943
3998
|
}
|
|
3944
3999
|
};
|
|
3945
4000
|
}
|
|
3946
|
-
function
|
|
4001
|
+
function di(e, t, r) {
|
|
3947
4002
|
let n;
|
|
3948
|
-
|
|
3949
|
-
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl:
|
|
3950
|
-
const
|
|
3951
|
-
Object.keys(
|
|
3952
|
-
|
|
4003
|
+
Vt(e, ti, (p) => r(7, n = p));
|
|
4004
|
+
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: o } = t, { translationurl: h = "" } = t, { isNativeApp: u = !1 } = t, { mode: l = "button" } = t, { isFromLogin: c = !1 } = t, { isLoading: f = !1 } = t, d, E, x, _ = null, w = !1, T = !1, B = !1;
|
|
4005
|
+
const O = (p) => {
|
|
4006
|
+
Object.keys(p).forEach((A) => {
|
|
4007
|
+
ri(A, p[A]);
|
|
3953
4008
|
});
|
|
3954
|
-
},
|
|
3955
|
-
fetch(
|
|
3956
|
-
|
|
3957
|
-
}).catch((
|
|
3958
|
-
console.log(
|
|
4009
|
+
}, P = () => {
|
|
4010
|
+
fetch(h).then((A) => A.json()).then((A) => {
|
|
4011
|
+
O(A);
|
|
4012
|
+
}).catch((A) => {
|
|
4013
|
+
console.log(A);
|
|
3959
4014
|
});
|
|
3960
4015
|
};
|
|
3961
|
-
|
|
3962
|
-
const
|
|
3963
|
-
|
|
3964
|
-
},
|
|
4016
|
+
O(ii);
|
|
4017
|
+
const M = () => {
|
|
4018
|
+
ni(i);
|
|
4019
|
+
}, J = {
|
|
3965
4020
|
BIOMETRICS_RESPONSE: 3e3,
|
|
3966
4021
|
SHAKE_DURATION: 500
|
|
3967
4022
|
};
|
|
3968
|
-
let
|
|
3969
|
-
const
|
|
3970
|
-
r(
|
|
4023
|
+
let Ee = !1;
|
|
4024
|
+
const Ut = () => {
|
|
4025
|
+
r(6, Ee = !0), setTimeout(
|
|
3971
4026
|
() => {
|
|
3972
|
-
r(
|
|
4027
|
+
r(6, Ee = !1);
|
|
3973
4028
|
},
|
|
3974
|
-
|
|
4029
|
+
J.SHAKE_DURATION
|
|
3975
4030
|
);
|
|
3976
|
-
},
|
|
3977
|
-
|
|
4031
|
+
}, ke = () => {
|
|
4032
|
+
_ && clearTimeout(_), _ = setTimeout(
|
|
3978
4033
|
() => {
|
|
3979
|
-
r(
|
|
3980
|
-
{
|
|
3981
|
-
type: "WidgetNotification",
|
|
3982
|
-
data: {
|
|
3983
|
-
type: "error",
|
|
3984
|
-
message: n("errorMessage")
|
|
3985
|
-
}
|
|
3986
|
-
},
|
|
3987
|
-
window.location.href
|
|
3988
|
-
);
|
|
4034
|
+
r(5, T = !1), Ut(), ze("error", n("errorMessage"));
|
|
3989
4035
|
},
|
|
3990
|
-
|
|
4036
|
+
J.BIOMETRICS_RESPONSE
|
|
3991
4037
|
);
|
|
3992
|
-
},
|
|
3993
|
-
|
|
4038
|
+
}, je = async () => {
|
|
4039
|
+
T || (r(5, T = !0), B = !0, window.postMessage({
|
|
3994
4040
|
type: "ToggleBiometrics",
|
|
3995
|
-
data: `${!
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4041
|
+
data: `${!w}`,
|
|
4042
|
+
isFromLogin: c
|
|
4043
|
+
}), ke());
|
|
4044
|
+
}, Ve = (p) => {
|
|
4045
|
+
p.data?.type === "NativeAppReady" && (r(0, u = !0), Xe()), p.data?.type === "BiometricsStatus" && (r(4, w = p.data.status || !1), r(5, T = !1), _ && (clearTimeout(_), _ = null), B && (c || ze("success", n(w ? "successEnableBiometrics" : "successDisableBiometrics"))), B = !1);
|
|
4046
|
+
}, Xe = () => {
|
|
4047
|
+
r(5, T = !0), window.postMessage({ type: "GetBiometricsStatus" }), ke();
|
|
4048
|
+
}, Gt = () => {
|
|
4002
4049
|
window.postMessage({ type: "CheckNativeApp" });
|
|
4050
|
+
}, ze = (p, A) => {
|
|
4051
|
+
window.postMessage(
|
|
4052
|
+
{
|
|
4053
|
+
type: "WidgetNotification",
|
|
4054
|
+
data: {
|
|
4055
|
+
type: p,
|
|
4056
|
+
message: A,
|
|
4057
|
+
config: { clearBefore: !0 }
|
|
4058
|
+
}
|
|
4059
|
+
},
|
|
4060
|
+
window.location.href
|
|
4061
|
+
);
|
|
4003
4062
|
};
|
|
4004
|
-
|
|
4005
|
-
window.removeEventListener("message",
|
|
4063
|
+
Kt(() => (window.addEventListener("message", Ve), u === !0 ? Xe() : Gt(), () => {
|
|
4064
|
+
window.removeEventListener("message", Ve), x && x.unsubscribe(), _ && clearTimeout(_);
|
|
4006
4065
|
}));
|
|
4007
|
-
const
|
|
4008
|
-
function
|
|
4009
|
-
He[
|
|
4010
|
-
|
|
4066
|
+
const Ft = () => je();
|
|
4067
|
+
function kt(p) {
|
|
4068
|
+
He[p ? "unshift" : "push"](() => {
|
|
4069
|
+
d = p, r(3, d);
|
|
4011
4070
|
});
|
|
4012
4071
|
}
|
|
4013
|
-
return e.$$set = (
|
|
4014
|
-
"lang" in
|
|
4072
|
+
return e.$$set = (p) => {
|
|
4073
|
+
"lang" in p && r(9, i = p.lang), "clientstyling" in p && r(10, s = p.clientstyling), "clientstylingurl" in p && r(11, a = p.clientstylingurl), "mbsource" in p && r(12, o = p.mbsource), "translationurl" in p && r(13, h = p.translationurl), "isNativeApp" in p && r(0, u = p.isNativeApp), "mode" in p && r(1, l = p.mode), "isFromLogin" in p && r(14, c = p.isFromLogin), "isLoading" in p && r(2, f = p.isLoading);
|
|
4015
4074
|
}, e.$$.update = () => {
|
|
4016
4075
|
e.$$.dirty & /*lang*/
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4076
|
+
512 && i && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4077
|
+
1032 && s && d && si(d, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4078
|
+
2056 && a && d && oi(d, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4079
|
+
4104 && o && d && ai(d, `${o}.Style`, E), e.$$.dirty & /*translationurl*/
|
|
4080
|
+
8192 && h && P(), e.$$.dirty & /*mbsource, translationurl, translationSubscription*/
|
|
4081
|
+
45056 && o && !h && r(15, x = li(`${o}.Translation`, x, O));
|
|
4023
4082
|
}, [
|
|
4024
4083
|
u,
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4084
|
+
l,
|
|
4085
|
+
f,
|
|
4086
|
+
d,
|
|
4087
|
+
w,
|
|
4088
|
+
T,
|
|
4089
|
+
Ee,
|
|
4030
4090
|
n,
|
|
4031
|
-
|
|
4091
|
+
je,
|
|
4032
4092
|
i,
|
|
4033
4093
|
s,
|
|
4034
|
-
o,
|
|
4035
4094
|
a,
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4095
|
+
o,
|
|
4096
|
+
h,
|
|
4097
|
+
c,
|
|
4098
|
+
x,
|
|
4099
|
+
Ft,
|
|
4100
|
+
kt
|
|
4040
4101
|
];
|
|
4041
4102
|
}
|
|
4042
|
-
class
|
|
4103
|
+
class pi extends cr {
|
|
4043
4104
|
constructor(t) {
|
|
4044
|
-
super(),
|
|
4105
|
+
super(), hr(
|
|
4045
4106
|
this,
|
|
4046
4107
|
t,
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4108
|
+
di,
|
|
4109
|
+
bi,
|
|
4110
|
+
lt,
|
|
4050
4111
|
{
|
|
4051
|
-
lang:
|
|
4052
|
-
clientstyling:
|
|
4053
|
-
clientstylingurl:
|
|
4054
|
-
mbsource:
|
|
4055
|
-
translationurl:
|
|
4112
|
+
lang: 9,
|
|
4113
|
+
clientstyling: 10,
|
|
4114
|
+
clientstylingurl: 11,
|
|
4115
|
+
mbsource: 12,
|
|
4116
|
+
translationurl: 13,
|
|
4056
4117
|
isNativeApp: 0,
|
|
4057
|
-
mode: 1
|
|
4118
|
+
mode: 1,
|
|
4119
|
+
isFromLogin: 14,
|
|
4120
|
+
isLoading: 2
|
|
4058
4121
|
},
|
|
4059
|
-
|
|
4122
|
+
ci
|
|
4060
4123
|
);
|
|
4061
4124
|
}
|
|
4062
4125
|
get lang() {
|
|
4063
|
-
return this.$$.ctx[
|
|
4126
|
+
return this.$$.ctx[9];
|
|
4064
4127
|
}
|
|
4065
4128
|
set lang(t) {
|
|
4066
|
-
this.$$set({ lang: t }),
|
|
4129
|
+
this.$$set({ lang: t }), S();
|
|
4067
4130
|
}
|
|
4068
4131
|
get clientstyling() {
|
|
4069
|
-
return this.$$.ctx[
|
|
4132
|
+
return this.$$.ctx[10];
|
|
4070
4133
|
}
|
|
4071
4134
|
set clientstyling(t) {
|
|
4072
|
-
this.$$set({ clientstyling: t }),
|
|
4135
|
+
this.$$set({ clientstyling: t }), S();
|
|
4073
4136
|
}
|
|
4074
4137
|
get clientstylingurl() {
|
|
4075
|
-
return this.$$.ctx[
|
|
4138
|
+
return this.$$.ctx[11];
|
|
4076
4139
|
}
|
|
4077
4140
|
set clientstylingurl(t) {
|
|
4078
|
-
this.$$set({ clientstylingurl: t }),
|
|
4141
|
+
this.$$set({ clientstylingurl: t }), S();
|
|
4079
4142
|
}
|
|
4080
4143
|
get mbsource() {
|
|
4081
|
-
return this.$$.ctx[
|
|
4144
|
+
return this.$$.ctx[12];
|
|
4082
4145
|
}
|
|
4083
4146
|
set mbsource(t) {
|
|
4084
|
-
this.$$set({ mbsource: t }),
|
|
4147
|
+
this.$$set({ mbsource: t }), S();
|
|
4085
4148
|
}
|
|
4086
4149
|
get translationurl() {
|
|
4087
|
-
return this.$$.ctx[
|
|
4150
|
+
return this.$$.ctx[13];
|
|
4088
4151
|
}
|
|
4089
4152
|
set translationurl(t) {
|
|
4090
|
-
this.$$set({ translationurl: t }),
|
|
4153
|
+
this.$$set({ translationurl: t }), S();
|
|
4091
4154
|
}
|
|
4092
4155
|
get isNativeApp() {
|
|
4093
4156
|
return this.$$.ctx[0];
|
|
4094
4157
|
}
|
|
4095
4158
|
set isNativeApp(t) {
|
|
4096
|
-
this.$$set({ isNativeApp: t }),
|
|
4159
|
+
this.$$set({ isNativeApp: t }), S();
|
|
4097
4160
|
}
|
|
4098
4161
|
get mode() {
|
|
4099
4162
|
return this.$$.ctx[1];
|
|
4100
4163
|
}
|
|
4101
4164
|
set mode(t) {
|
|
4102
|
-
this.$$set({ mode: t }),
|
|
4165
|
+
this.$$set({ mode: t }), S();
|
|
4166
|
+
}
|
|
4167
|
+
get isFromLogin() {
|
|
4168
|
+
return this.$$.ctx[14];
|
|
4169
|
+
}
|
|
4170
|
+
set isFromLogin(t) {
|
|
4171
|
+
this.$$set({ isFromLogin: t }), S();
|
|
4172
|
+
}
|
|
4173
|
+
get isLoading() {
|
|
4174
|
+
return this.$$.ctx[2];
|
|
4175
|
+
}
|
|
4176
|
+
set isLoading(t) {
|
|
4177
|
+
this.$$set({ isLoading: t }), S();
|
|
4103
4178
|
}
|
|
4104
4179
|
}
|
|
4105
|
-
|
|
4180
|
+
lr(pi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, isNativeApp: { type: "Boolean" }, mode: {}, isFromLogin: { type: "Boolean" }, isLoading: { type: "Boolean" } }, [], [], !0);
|
|
4106
4181
|
export {
|
|
4107
|
-
|
|
4182
|
+
pi as P
|
|
4108
4183
|
};
|