@everymatrix/player-limit-notification 0.6.3 → 0.6.5
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/PlayerAccountGamingLimitsHistory2Nd-BPDMvyK7.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-mWkH_LLa.js → PlayerAccountGamingLimitsHistory2Nd-BetTT8pd.js} +916 -895
- package/components/{PlayerAccountGamingLimitsHistory2Nd-gc0INEye.js → PlayerAccountGamingLimitsHistory2Nd-Rz7KSqHF.js} +1069 -1048
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BCOHZYpc.js → PlayerAccountGamingLimitsPage2Gm16Nd-6jezdPSI.js} +129 -129
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DbNTVmeR.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DTS6QEQW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BKCbMIUy.js → PlayerAccountGamingLimitsPage2Gm16Nd-fgfmAwLi.js} +126 -126
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C7RelM81.cjs → PlayerAccountGamingLimitsWrapper2Nd-2z3_GBiO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-jQgjwmoV.js → PlayerAccountGamingLimitsWrapper2Nd-CV2C9zMp.js} +56 -56
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DmnJjBml.js → PlayerAccountGamingLimitsWrapper2Nd-Cf_X2Mhf.js} +63 -63
- package/components/{PlayerLimitNotification-jhgxEbHZ.cjs → PlayerLimitNotification-BrMdgJrq.cjs} +1 -1
- package/components/{PlayerLimitNotification-DKJyH3PY.js → PlayerLimitNotification-DMo7_odP.js} +51 -51
- package/components/{PlayerLimitNotification-DbORJ66O.js → PlayerLimitNotification-zuggJ4lR.js} +47 -47
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerAccountGamingLimitsHistory2Nd-CVtyVFxN.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Gr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function $r(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function kt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function yt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function re(e) {
|
|
18
|
+
e.forEach(kt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ft(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Vt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Fr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Wt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const i of t)
|
|
32
32
|
i(void 0);
|
|
33
|
-
return
|
|
33
|
+
return O;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function jr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Wt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Lo(e, t, r, i) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = zt(e, t, r, i);
|
|
44
44
|
return e[0](n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && i ?
|
|
47
|
+
function zt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Gr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ao(e, t, r, i) {
|
|
51
51
|
if (e[2] && i) {
|
|
52
52
|
const n = e[2](i(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function Lo(e, t, r, i) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Po(e, t, r, i, n, o) {
|
|
66
66
|
if (n) {
|
|
67
|
-
const a =
|
|
67
|
+
const a = zt(t, r, i, o);
|
|
68
68
|
e.p(a, n);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ho(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let i = 0; i < r; i++)
|
|
@@ -77,26 +77,26 @@ function Ao(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return -1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Bo(e) {
|
|
81
81
|
const t = {};
|
|
82
82
|
for (const r in e)
|
|
83
83
|
t[r] = !0;
|
|
84
84
|
return t;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function gt(e) {
|
|
87
87
|
return e ?? "";
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function x(e, t) {
|
|
90
90
|
e.appendChild(t);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
const i =
|
|
92
|
+
function kr(e, t, r) {
|
|
93
|
+
const i = Vr(e);
|
|
94
94
|
if (!i.getElementById(t)) {
|
|
95
|
-
const n =
|
|
96
|
-
n.id = t, n.textContent = r,
|
|
95
|
+
const n = P("style");
|
|
96
|
+
n.id = t, n.textContent = r, Wr(i, n);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Vr(e) {
|
|
100
100
|
if (!e)
|
|
101
101
|
return document;
|
|
102
102
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -106,8 +106,8 @@ function kr(e) {
|
|
|
106
106
|
t
|
|
107
107
|
) : e.ownerDocument;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function Wr(e, t) {
|
|
110
|
+
return x(
|
|
111
111
|
/** @type {Document} */
|
|
112
112
|
e.head || e,
|
|
113
113
|
t
|
|
@@ -119,52 +119,52 @@ function z(e, t, r) {
|
|
|
119
119
|
function k(e) {
|
|
120
120
|
e.parentNode && e.parentNode.removeChild(e);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function zr(e, t) {
|
|
123
123
|
for (let r = 0; r < e.length; r += 1)
|
|
124
124
|
e[r] && e[r].d(t);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function P(e) {
|
|
127
127
|
return document.createElement(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function $e(e) {
|
|
130
130
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function R(e) {
|
|
133
133
|
return document.createTextNode(e);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
return
|
|
135
|
+
function Ze() {
|
|
136
|
+
return R(" ");
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return
|
|
138
|
+
function Oo() {
|
|
139
|
+
return R("");
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Xr(e, t, r, i) {
|
|
142
142
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
143
143
|
}
|
|
144
144
|
function E(e, t, r) {
|
|
145
145
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Co(e, t, r) {
|
|
148
148
|
const i = t.toLowerCase();
|
|
149
149
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Io(e) {
|
|
152
152
|
return e === "" ? null : +e;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Zr(e) {
|
|
155
155
|
return Array.from(e.childNodes);
|
|
156
156
|
}
|
|
157
157
|
function j(e, t) {
|
|
158
158
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
159
159
|
t);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function No(e, t) {
|
|
162
162
|
e.value = t ?? "";
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Qr(e, t, r, i) {
|
|
165
165
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Mo(e, t, r) {
|
|
168
168
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
169
169
|
const n = e.options[i];
|
|
170
170
|
if (n.__value === t) {
|
|
@@ -174,14 +174,14 @@ function Io(e, t, r) {
|
|
|
174
174
|
}
|
|
175
175
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ro(e) {
|
|
178
178
|
const t = e.querySelector(":checked");
|
|
179
179
|
return t && t.__value;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function ge(e, t, r) {
|
|
182
182
|
e.classList.toggle(t, !!r);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Yr(e) {
|
|
185
185
|
const t = {};
|
|
186
186
|
return e.childNodes.forEach(
|
|
187
187
|
/** @param {Element} node */
|
|
@@ -190,72 +190,72 @@ function Qr(e) {
|
|
|
190
190
|
}
|
|
191
191
|
), t;
|
|
192
192
|
}
|
|
193
|
-
let
|
|
194
|
-
function
|
|
195
|
-
|
|
193
|
+
let le;
|
|
194
|
+
function ue(e) {
|
|
195
|
+
le = e;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
if (!
|
|
197
|
+
function Jr() {
|
|
198
|
+
if (!le)
|
|
199
199
|
throw new Error("Function called outside component initialization");
|
|
200
|
-
return
|
|
200
|
+
return le;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
|
|
202
|
+
function qr(e) {
|
|
203
|
+
Jr().$$.on_mount.push(e);
|
|
204
204
|
}
|
|
205
|
-
const Y = [],
|
|
205
|
+
const Y = [], Se = [];
|
|
206
206
|
let J = [];
|
|
207
|
-
const
|
|
208
|
-
let
|
|
209
|
-
function
|
|
210
|
-
|
|
207
|
+
const bt = [], Xt = /* @__PURE__ */ Promise.resolve();
|
|
208
|
+
let Qe = !1;
|
|
209
|
+
function Zt() {
|
|
210
|
+
Qe || (Qe = !0, Xt.then(C));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
return
|
|
212
|
+
function Do() {
|
|
213
|
+
return Zt(), Xt;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Ye(e) {
|
|
216
216
|
J.push(e);
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
219
219
|
let Z = 0;
|
|
220
|
-
function
|
|
220
|
+
function C() {
|
|
221
221
|
if (Z !== 0)
|
|
222
222
|
return;
|
|
223
|
-
const e =
|
|
223
|
+
const e = le;
|
|
224
224
|
do {
|
|
225
225
|
try {
|
|
226
226
|
for (; Z < Y.length; ) {
|
|
227
227
|
const t = Y[Z];
|
|
228
|
-
Z++,
|
|
228
|
+
Z++, ue(t), Kr(t.$$);
|
|
229
229
|
}
|
|
230
230
|
} catch (t) {
|
|
231
231
|
throw Y.length = 0, Z = 0, t;
|
|
232
232
|
}
|
|
233
|
-
for (
|
|
234
|
-
|
|
233
|
+
for (ue(null), Y.length = 0, Z = 0; Se.length; )
|
|
234
|
+
Se.pop()();
|
|
235
235
|
for (let t = 0; t < J.length; t += 1) {
|
|
236
236
|
const r = J[t];
|
|
237
|
-
|
|
237
|
+
Ue.has(r) || (Ue.add(r), r());
|
|
238
238
|
}
|
|
239
239
|
J.length = 0;
|
|
240
240
|
} while (Y.length);
|
|
241
|
-
for (;
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
for (; bt.length; )
|
|
242
|
+
bt.pop()();
|
|
243
|
+
Qe = !1, Ue.clear(), ue(e);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Kr(e) {
|
|
246
246
|
if (e.fragment !== null) {
|
|
247
|
-
e.update(),
|
|
247
|
+
e.update(), re(e.before_update);
|
|
248
248
|
const t = e.dirty;
|
|
249
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
249
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function ei(e) {
|
|
253
253
|
const t = [], r = [];
|
|
254
254
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
255
255
|
}
|
|
256
256
|
const _e = /* @__PURE__ */ new Set();
|
|
257
257
|
let W;
|
|
258
|
-
function
|
|
258
|
+
function $o() {
|
|
259
259
|
W = {
|
|
260
260
|
r: 0,
|
|
261
261
|
c: [],
|
|
@@ -263,13 +263,13 @@ function Ro() {
|
|
|
263
263
|
// parent group
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
W.r ||
|
|
266
|
+
function Uo() {
|
|
267
|
+
W.r || re(W.c), W = W.p;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function ti(e, t) {
|
|
270
270
|
e && e.i && (_e.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Go(e, t, r, i) {
|
|
273
273
|
if (e && e.o) {
|
|
274
274
|
if (_e.has(e))
|
|
275
275
|
return;
|
|
@@ -279,34 +279,34 @@ function Uo(e, t, r, i) {
|
|
|
279
279
|
} else
|
|
280
280
|
i && i();
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function vt(e) {
|
|
283
283
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function ri(e, t, r) {
|
|
286
286
|
const { fragment: i, after_update: n } = e.$$;
|
|
287
|
-
i && i.m(t, r),
|
|
288
|
-
const o = e.$$.on_mount.map(
|
|
289
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
290
|
-
}), n.forEach(
|
|
287
|
+
i && i.m(t, r), Ye(() => {
|
|
288
|
+
const o = e.$$.on_mount.map(kt).filter(ft);
|
|
289
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
290
|
+
}), n.forEach(Ye);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function ii(e, t) {
|
|
293
293
|
const r = e.$$;
|
|
294
|
-
r.fragment !== null && (
|
|
294
|
+
r.fragment !== null && (ei(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
296
|
+
function ni(e, t) {
|
|
297
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
const h =
|
|
301
|
-
|
|
299
|
+
function oi(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
300
|
+
const h = le;
|
|
301
|
+
ue(e);
|
|
302
302
|
const u = e.$$ = {
|
|
303
303
|
fragment: null,
|
|
304
304
|
ctx: [],
|
|
305
305
|
// state
|
|
306
306
|
props: o,
|
|
307
|
-
update:
|
|
307
|
+
update: O,
|
|
308
308
|
not_equal: n,
|
|
309
|
-
bound:
|
|
309
|
+
bound: yt(),
|
|
310
310
|
// lifecycle
|
|
311
311
|
on_mount: [],
|
|
312
312
|
on_destroy: [],
|
|
@@ -315,7 +315,7 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
315
315
|
after_update: [],
|
|
316
316
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
317
317
|
// everything else
|
|
318
|
-
callbacks:
|
|
318
|
+
callbacks: yt(),
|
|
319
319
|
dirty: s,
|
|
320
320
|
skip_bound: !1,
|
|
321
321
|
root: t.target || h.$$.root
|
|
@@ -324,19 +324,19 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
324
324
|
let l = !1;
|
|
325
325
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
326
326
|
const y = p.length ? p[0] : f;
|
|
327
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
328
|
-
}) : [], u.update(), l = !0,
|
|
327
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ni(e, c)), f;
|
|
328
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
329
329
|
if (t.hydrate) {
|
|
330
|
-
const c =
|
|
330
|
+
const c = Zr(t.target);
|
|
331
331
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
332
332
|
} else
|
|
333
333
|
u.fragment && u.fragment.c();
|
|
334
|
-
t.intro &&
|
|
334
|
+
t.intro && ti(e.$$.fragment), ri(e, t.target, t.anchor), C();
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
ue(h);
|
|
337
337
|
}
|
|
338
|
-
let
|
|
339
|
-
typeof HTMLElement == "function" && (
|
|
338
|
+
let Qt;
|
|
339
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
340
340
|
/** The Svelte component constructor */
|
|
341
341
|
$$ctor;
|
|
342
342
|
/** Slots */
|
|
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
378
378
|
let o;
|
|
379
379
|
return {
|
|
380
380
|
c: function() {
|
|
381
|
-
o =
|
|
381
|
+
o = P("slot"), n !== "default" && E(o, "name", n);
|
|
382
382
|
},
|
|
383
383
|
/**
|
|
384
384
|
* @param {HTMLElement} target
|
|
@@ -395,12 +395,12 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
395
395
|
};
|
|
396
396
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
397
397
|
return;
|
|
398
|
-
const t = {}, r =
|
|
398
|
+
const t = {}, r = Yr(this);
|
|
399
399
|
for (const n of this.$$s)
|
|
400
400
|
n in r && (t[n] = [e(n)]);
|
|
401
401
|
for (const n of this.attributes) {
|
|
402
402
|
const o = this.$$g_p(n.name);
|
|
403
|
-
o in this.$$d || (this.$$d[o] =
|
|
403
|
+
o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
|
|
404
404
|
}
|
|
405
405
|
for (const n in this.$$p_d)
|
|
406
406
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
418
418
|
this.$$r = !0;
|
|
419
419
|
for (const n in this.$$p_d)
|
|
420
420
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
421
|
-
const o =
|
|
421
|
+
const o = Ee(
|
|
422
422
|
n,
|
|
423
423
|
this.$$d[n],
|
|
424
424
|
this.$$p_d,
|
|
@@ -440,7 +440,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
440
440
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
441
441
|
// and setting attributes through setAttribute etc, this is helpful
|
|
442
442
|
attributeChangedCallback(e, t, r) {
|
|
443
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
443
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
444
444
|
}
|
|
445
445
|
disconnectedCallback() {
|
|
446
446
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -453,7 +453,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
453
453
|
) || e;
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
|
-
function
|
|
456
|
+
function Ee(e, t, r, i) {
|
|
457
457
|
const n = r[e]?.type;
|
|
458
458
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
459
459
|
return t;
|
|
@@ -482,8 +482,8 @@ function xe(e, t, r, i) {
|
|
|
482
482
|
return t;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
486
|
-
let a = class extends
|
|
485
|
+
function si(e, t, r, i, n, o) {
|
|
486
|
+
let a = class extends Qt {
|
|
487
487
|
constructor() {
|
|
488
488
|
super(e, r, n), this.$$p_d = t;
|
|
489
489
|
}
|
|
@@ -499,7 +499,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
499
499
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
500
500
|
},
|
|
501
501
|
set(h) {
|
|
502
|
-
h =
|
|
502
|
+
h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
503
503
|
}
|
|
504
504
|
});
|
|
505
505
|
}), i.forEach((s) => {
|
|
@@ -511,7 +511,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
511
511
|
}), e.element = /** @type {any} */
|
|
512
512
|
a, a;
|
|
513
513
|
}
|
|
514
|
-
class
|
|
514
|
+
class ai {
|
|
515
515
|
/**
|
|
516
516
|
* ### PRIVATE API
|
|
517
517
|
*
|
|
@@ -530,7 +530,7 @@ class si {
|
|
|
530
530
|
$$set = void 0;
|
|
531
531
|
/** @returns {void} */
|
|
532
532
|
$destroy() {
|
|
533
|
-
|
|
533
|
+
ii(this, 1), this.$destroy = O;
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -539,8 +539,8 @@ class si {
|
|
|
539
539
|
* @returns {() => void}
|
|
540
540
|
*/
|
|
541
541
|
$on(t, r) {
|
|
542
|
-
if (!
|
|
543
|
-
return
|
|
542
|
+
if (!ft(r))
|
|
543
|
+
return O;
|
|
544
544
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
545
545
|
return i.push(r), () => {
|
|
546
546
|
const n = i.indexOf(r);
|
|
@@ -552,22 +552,22 @@ class si {
|
|
|
552
552
|
* @returns {void}
|
|
553
553
|
*/
|
|
554
554
|
$set(t) {
|
|
555
|
-
this.$$set && !
|
|
555
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
const
|
|
559
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
558
|
+
const ui = "4";
|
|
559
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ui);
|
|
560
560
|
const Q = [];
|
|
561
|
-
function
|
|
561
|
+
function li(e, t) {
|
|
562
562
|
return {
|
|
563
563
|
subscribe: He(e, t).subscribe
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
function He(e, t =
|
|
566
|
+
function He(e, t = O) {
|
|
567
567
|
let r;
|
|
568
568
|
const i = /* @__PURE__ */ new Set();
|
|
569
569
|
function n(s) {
|
|
570
|
-
if (
|
|
570
|
+
if (Vt(e, s) && (e = s, r)) {
|
|
571
571
|
const h = !Q.length;
|
|
572
572
|
for (const u of i)
|
|
573
573
|
u[1](), Q.push(u, e);
|
|
@@ -581,31 +581,31 @@ function He(e, t = C) {
|
|
|
581
581
|
function o(s) {
|
|
582
582
|
n(s(e));
|
|
583
583
|
}
|
|
584
|
-
function a(s, h =
|
|
584
|
+
function a(s, h = O) {
|
|
585
585
|
const u = [s, h];
|
|
586
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
586
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
|
|
587
587
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
return { set: n, update: o, subscribe: a };
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function ie(e, t, r) {
|
|
593
593
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
594
594
|
if (!n.every(Boolean))
|
|
595
595
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
596
596
|
const o = t.length < 2;
|
|
597
|
-
return
|
|
597
|
+
return li(r, (a, s) => {
|
|
598
598
|
let h = !1;
|
|
599
599
|
const u = [];
|
|
600
|
-
let l = 0, c =
|
|
600
|
+
let l = 0, c = O;
|
|
601
601
|
const f = () => {
|
|
602
602
|
if (l)
|
|
603
603
|
return;
|
|
604
604
|
c();
|
|
605
605
|
const y = t(i ? u[0] : u, a, s);
|
|
606
|
-
o ? a(y) : c =
|
|
606
|
+
o ? a(y) : c = ft(y) ? y : O;
|
|
607
607
|
}, p = n.map(
|
|
608
|
-
(y, d) =>
|
|
608
|
+
(y, d) => Wt(
|
|
609
609
|
y,
|
|
610
610
|
(v) => {
|
|
611
611
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -616,124 +616,110 @@ function ne(e, t, r) {
|
|
|
616
616
|
)
|
|
617
617
|
);
|
|
618
618
|
return h = !0, f(), function() {
|
|
619
|
-
|
|
619
|
+
re(p), c(), h = !1;
|
|
620
620
|
};
|
|
621
621
|
});
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function hi(e) {
|
|
624
624
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
625
625
|
}
|
|
626
|
-
var
|
|
627
|
-
return
|
|
626
|
+
var ci = function(t) {
|
|
627
|
+
return fi(t) && !mi(t);
|
|
628
628
|
};
|
|
629
|
-
function
|
|
629
|
+
function fi(e) {
|
|
630
630
|
return !!e && typeof e == "object";
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function mi(e) {
|
|
633
633
|
var t = Object.prototype.toString.call(e);
|
|
634
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
635
|
-
}
|
|
636
|
-
var mi = typeof Symbol == "function" && Symbol.for, pi = mi ? Symbol.for("react.element") : 60103;
|
|
637
|
-
function di(e) {
|
|
638
|
-
return e.$$typeof === pi;
|
|
634
|
+
return t === "[object RegExp]" || t === "[object Date]" || yi(e);
|
|
639
635
|
}
|
|
636
|
+
var pi = typeof Symbol == "function" && Symbol.for, di = pi ? Symbol.for("react.element") : 60103;
|
|
640
637
|
function yi(e) {
|
|
638
|
+
return e.$$typeof === di;
|
|
639
|
+
}
|
|
640
|
+
function gi(e) {
|
|
641
641
|
return Array.isArray(e) ? [] : {};
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
643
|
+
function he(e, t) {
|
|
644
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(gi(e), e, t) : e;
|
|
645
645
|
}
|
|
646
646
|
function bi(e, t, r) {
|
|
647
647
|
return e.concat(t).map(function(i) {
|
|
648
|
-
return
|
|
648
|
+
return he(i, r);
|
|
649
649
|
});
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function vi(e, t) {
|
|
652
652
|
if (!t.customMerge)
|
|
653
|
-
return
|
|
653
|
+
return q;
|
|
654
654
|
var r = t.customMerge(e);
|
|
655
|
-
return typeof r == "function" ? r :
|
|
655
|
+
return typeof r == "function" ? r : q;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function _i(e) {
|
|
658
658
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
659
659
|
return Object.propertyIsEnumerable.call(e, t);
|
|
660
660
|
}) : [];
|
|
661
661
|
}
|
|
662
|
-
function
|
|
663
|
-
return Object.keys(e).concat(
|
|
662
|
+
function _t(e) {
|
|
663
|
+
return Object.keys(e).concat(_i(e));
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Yt(e, t) {
|
|
666
666
|
try {
|
|
667
667
|
return t in e;
|
|
668
668
|
} catch {
|
|
669
669
|
return !1;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
return
|
|
672
|
+
function Ei(e, t) {
|
|
673
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
674
674
|
}
|
|
675
675
|
function xi(e, t, r) {
|
|
676
676
|
var i = {};
|
|
677
|
-
return r.isMergeableObject(e) &&
|
|
678
|
-
i[n] =
|
|
679
|
-
}),
|
|
680
|
-
|
|
677
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(n) {
|
|
678
|
+
i[n] = he(e[n], r);
|
|
679
|
+
}), _t(t).forEach(function(n) {
|
|
680
|
+
Ei(e, n) || (Yt(e, n) && r.isMergeableObject(t[n]) ? i[n] = vi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
|
|
681
681
|
}), i;
|
|
682
682
|
}
|
|
683
|
-
function
|
|
684
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject ||
|
|
683
|
+
function q(e, t, r) {
|
|
684
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = he;
|
|
685
685
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
686
|
-
return o ? i ? r.arrayMerge(e, t, r) : xi(e, t, r) :
|
|
686
|
+
return o ? i ? r.arrayMerge(e, t, r) : xi(e, t, r) : he(t, r);
|
|
687
687
|
}
|
|
688
|
-
|
|
688
|
+
q.all = function(t, r) {
|
|
689
689
|
if (!Array.isArray(t))
|
|
690
690
|
throw new Error("first argument should be an array");
|
|
691
691
|
return t.reduce(function(i, n) {
|
|
692
|
-
return
|
|
692
|
+
return q(i, n, r);
|
|
693
693
|
}, {});
|
|
694
694
|
};
|
|
695
|
-
var
|
|
696
|
-
const
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
701
|
-
purpose with or without fee is hereby granted.
|
|
702
|
-
|
|
703
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
704
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
705
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
706
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
707
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
708
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
709
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
710
|
-
***************************************************************************** */
|
|
711
|
-
var Qe = function(e, t) {
|
|
712
|
-
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
695
|
+
var wi = q, Ti = wi;
|
|
696
|
+
const Si = /* @__PURE__ */ hi(Ti);
|
|
697
|
+
var Je = function(e, t) {
|
|
698
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
713
699
|
r.__proto__ = i;
|
|
714
700
|
} || function(r, i) {
|
|
715
701
|
for (var n in i)
|
|
716
702
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
717
|
-
},
|
|
703
|
+
}, Je(e, t);
|
|
718
704
|
};
|
|
719
|
-
function
|
|
705
|
+
function Be(e, t) {
|
|
720
706
|
if (typeof t != "function" && t !== null)
|
|
721
707
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
722
|
-
|
|
708
|
+
Je(e, t);
|
|
723
709
|
function r() {
|
|
724
710
|
this.constructor = e;
|
|
725
711
|
}
|
|
726
712
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
727
713
|
}
|
|
728
|
-
var
|
|
729
|
-
return
|
|
714
|
+
var M = function() {
|
|
715
|
+
return M = Object.assign || function(t) {
|
|
730
716
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
731
717
|
r = arguments[i];
|
|
732
718
|
for (var o in r)
|
|
733
719
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
734
720
|
}
|
|
735
721
|
return t;
|
|
736
|
-
},
|
|
722
|
+
}, M.apply(this, arguments);
|
|
737
723
|
};
|
|
738
724
|
function Li(e, t) {
|
|
739
725
|
var r = {};
|
|
@@ -744,143 +730,119 @@ function Li(e, t) {
|
|
|
744
730
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
745
731
|
return r;
|
|
746
732
|
}
|
|
747
|
-
function
|
|
748
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
749
|
-
if (r)
|
|
750
|
-
return r.call(e);
|
|
751
|
-
if (e && typeof e.length == "number")
|
|
752
|
-
return {
|
|
753
|
-
next: function() {
|
|
754
|
-
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
758
|
-
}
|
|
759
|
-
function Je(e, t) {
|
|
760
|
-
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
761
|
-
if (!r)
|
|
762
|
-
return e;
|
|
763
|
-
var i = r.call(e), n, o = [], a;
|
|
764
|
-
try {
|
|
765
|
-
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
766
|
-
o.push(n.value);
|
|
767
|
-
} catch (s) {
|
|
768
|
-
a = { error: s };
|
|
769
|
-
} finally {
|
|
770
|
-
try {
|
|
771
|
-
n && !n.done && (r = i.return) && r.call(i);
|
|
772
|
-
} finally {
|
|
773
|
-
if (a)
|
|
774
|
-
throw a.error;
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
return o;
|
|
778
|
-
}
|
|
779
|
-
function q(e, t, r) {
|
|
733
|
+
function Ge(e, t, r) {
|
|
780
734
|
if (r || arguments.length === 2)
|
|
781
735
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
782
736
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
783
|
-
return e.concat(o || t);
|
|
737
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
784
738
|
}
|
|
785
|
-
function
|
|
786
|
-
var r = t && t.cache ? t.cache :
|
|
739
|
+
function Fe(e, t) {
|
|
740
|
+
var r = t && t.cache ? t.cache : Ii, i = t && t.serializer ? t.serializer : Oi, n = t && t.strategy ? t.strategy : Hi;
|
|
787
741
|
return n(e, {
|
|
788
742
|
cache: r,
|
|
789
743
|
serializer: i
|
|
790
744
|
});
|
|
791
745
|
}
|
|
792
|
-
function
|
|
746
|
+
function Ai(e) {
|
|
793
747
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
794
748
|
}
|
|
795
|
-
function
|
|
796
|
-
var n =
|
|
749
|
+
function Pi(e, t, r, i) {
|
|
750
|
+
var n = Ai(i) ? i : r(i), o = t.get(n);
|
|
797
751
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
798
752
|
}
|
|
799
|
-
function
|
|
753
|
+
function Jt(e, t, r) {
|
|
800
754
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
801
755
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
802
756
|
}
|
|
803
|
-
function
|
|
757
|
+
function qt(e, t, r, i, n) {
|
|
804
758
|
return r.bind(t, e, i, n);
|
|
805
759
|
}
|
|
806
|
-
function Ai(e, t) {
|
|
807
|
-
var r = e.length === 1 ? Qt : Yt;
|
|
808
|
-
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
809
|
-
}
|
|
810
760
|
function Hi(e, t) {
|
|
811
|
-
|
|
761
|
+
var r = e.length === 1 ? Pi : Jt;
|
|
762
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
812
763
|
}
|
|
813
|
-
function
|
|
814
|
-
return
|
|
764
|
+
function Bi(e, t) {
|
|
765
|
+
return qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
815
766
|
}
|
|
816
|
-
var
|
|
767
|
+
var Oi = function() {
|
|
817
768
|
return JSON.stringify(arguments);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
769
|
+
}, Ci = (
|
|
770
|
+
/** @class */
|
|
771
|
+
function() {
|
|
772
|
+
function e() {
|
|
773
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
774
|
+
}
|
|
775
|
+
return e.prototype.get = function(t) {
|
|
776
|
+
return this.cache[t];
|
|
777
|
+
}, e.prototype.set = function(t, r) {
|
|
778
|
+
this.cache[t] = r;
|
|
779
|
+
}, e;
|
|
780
|
+
}()
|
|
781
|
+
), Ii = {
|
|
829
782
|
create: function() {
|
|
830
|
-
return new
|
|
783
|
+
return new Ci();
|
|
831
784
|
}
|
|
832
|
-
},
|
|
833
|
-
variadic:
|
|
834
|
-
|
|
835
|
-
|
|
785
|
+
}, je = {
|
|
786
|
+
variadic: Bi
|
|
787
|
+
}, Le = function() {
|
|
788
|
+
return Le = Object.assign || function(t) {
|
|
789
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
790
|
+
r = arguments[i];
|
|
791
|
+
for (var o in r)
|
|
792
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
793
|
+
}
|
|
794
|
+
return t;
|
|
795
|
+
}, Le.apply(this, arguments);
|
|
796
|
+
};
|
|
797
|
+
var b;
|
|
836
798
|
(function(e) {
|
|
837
799
|
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";
|
|
838
|
-
})(
|
|
839
|
-
var
|
|
800
|
+
})(b || (b = {}));
|
|
801
|
+
var T;
|
|
840
802
|
(function(e) {
|
|
841
803
|
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";
|
|
842
|
-
})(
|
|
843
|
-
var
|
|
804
|
+
})(T || (T = {}));
|
|
805
|
+
var K;
|
|
844
806
|
(function(e) {
|
|
845
807
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
846
|
-
})(
|
|
847
|
-
function
|
|
848
|
-
return e.type ===
|
|
849
|
-
}
|
|
850
|
-
function Oi(e) {
|
|
851
|
-
return e.type === L.argument;
|
|
852
|
-
}
|
|
853
|
-
function Jt(e) {
|
|
854
|
-
return e.type === L.number;
|
|
808
|
+
})(K || (K = {}));
|
|
809
|
+
function Et(e) {
|
|
810
|
+
return e.type === T.literal;
|
|
855
811
|
}
|
|
856
|
-
function
|
|
857
|
-
return e.type ===
|
|
812
|
+
function Ni(e) {
|
|
813
|
+
return e.type === T.argument;
|
|
858
814
|
}
|
|
859
815
|
function Kt(e) {
|
|
860
|
-
return e.type ===
|
|
816
|
+
return e.type === T.number;
|
|
861
817
|
}
|
|
862
818
|
function er(e) {
|
|
863
|
-
return e.type ===
|
|
819
|
+
return e.type === T.date;
|
|
864
820
|
}
|
|
865
821
|
function tr(e) {
|
|
866
|
-
return e.type ===
|
|
867
|
-
}
|
|
868
|
-
function Ii(e) {
|
|
869
|
-
return e.type === L.pound;
|
|
822
|
+
return e.type === T.time;
|
|
870
823
|
}
|
|
871
824
|
function rr(e) {
|
|
872
|
-
return e.type ===
|
|
825
|
+
return e.type === T.select;
|
|
873
826
|
}
|
|
874
827
|
function ir(e) {
|
|
875
|
-
return
|
|
828
|
+
return e.type === T.plural;
|
|
829
|
+
}
|
|
830
|
+
function Mi(e) {
|
|
831
|
+
return e.type === T.pound;
|
|
832
|
+
}
|
|
833
|
+
function nr(e) {
|
|
834
|
+
return e.type === T.tag;
|
|
835
|
+
}
|
|
836
|
+
function or(e) {
|
|
837
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
876
838
|
}
|
|
877
839
|
function qe(e) {
|
|
878
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
840
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
879
841
|
}
|
|
880
|
-
var
|
|
881
|
-
function
|
|
842
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ri = /(?:[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;
|
|
843
|
+
function Di(e) {
|
|
882
844
|
var t = {};
|
|
883
|
-
return e.replace(
|
|
845
|
+
return e.replace(Ri, function(r) {
|
|
884
846
|
var i = r.length;
|
|
885
847
|
switch (r[0]) {
|
|
886
848
|
case "G":
|
|
@@ -969,11 +931,21 @@ function Mi(e) {
|
|
|
969
931
|
return "";
|
|
970
932
|
}), t;
|
|
971
933
|
}
|
|
972
|
-
var
|
|
973
|
-
function
|
|
934
|
+
var L = function() {
|
|
935
|
+
return L = Object.assign || function(t) {
|
|
936
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
937
|
+
r = arguments[i];
|
|
938
|
+
for (var o in r)
|
|
939
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
940
|
+
}
|
|
941
|
+
return t;
|
|
942
|
+
}, L.apply(this, arguments);
|
|
943
|
+
};
|
|
944
|
+
var $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
945
|
+
function Ui(e) {
|
|
974
946
|
if (e.length === 0)
|
|
975
947
|
throw new Error("Number skeleton cannot be empty");
|
|
976
|
-
for (var t = e.split(
|
|
948
|
+
for (var t = e.split($i).filter(function(f) {
|
|
977
949
|
return f.length > 0;
|
|
978
950
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
979
951
|
var o = n[i], a = o.split("/");
|
|
@@ -988,17 +960,17 @@ function Di(e) {
|
|
|
988
960
|
}
|
|
989
961
|
return r;
|
|
990
962
|
}
|
|
991
|
-
function
|
|
963
|
+
function Gi(e) {
|
|
992
964
|
return e.replace(/^(.*?)-/, "");
|
|
993
965
|
}
|
|
994
|
-
var
|
|
995
|
-
function
|
|
966
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
|
967
|
+
function wt(e) {
|
|
996
968
|
var t = {};
|
|
997
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
969
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, i, n) {
|
|
998
970
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
999
971
|
}), t;
|
|
1000
972
|
}
|
|
1001
|
-
function
|
|
973
|
+
function lr(e) {
|
|
1002
974
|
switch (e) {
|
|
1003
975
|
case "sign-auto":
|
|
1004
976
|
return {
|
|
@@ -1038,7 +1010,7 @@ function ar(e) {
|
|
|
1038
1010
|
};
|
|
1039
1011
|
}
|
|
1040
1012
|
}
|
|
1041
|
-
function
|
|
1013
|
+
function ji(e) {
|
|
1042
1014
|
var t;
|
|
1043
1015
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1044
1016
|
notation: "engineering"
|
|
@@ -1046,17 +1018,17 @@ function Gi(e) {
|
|
|
1046
1018
|
notation: "scientific"
|
|
1047
1019
|
}, e = e.slice(1)), t) {
|
|
1048
1020
|
var r = e.slice(0, 2);
|
|
1049
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1021
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
|
|
1050
1022
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1051
1023
|
t.minimumIntegerDigits = e.length;
|
|
1052
1024
|
}
|
|
1053
1025
|
return t;
|
|
1054
1026
|
}
|
|
1055
|
-
function
|
|
1056
|
-
var t = {}, r =
|
|
1027
|
+
function Tt(e) {
|
|
1028
|
+
var t = {}, r = lr(e);
|
|
1057
1029
|
return r || t;
|
|
1058
1030
|
}
|
|
1059
|
-
function
|
|
1031
|
+
function ki(e) {
|
|
1060
1032
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1061
1033
|
var n = i[r];
|
|
1062
1034
|
switch (n.stem) {
|
|
@@ -1080,7 +1052,7 @@ function Fi(e) {
|
|
|
1080
1052
|
continue;
|
|
1081
1053
|
case "measure-unit":
|
|
1082
1054
|
case "unit":
|
|
1083
|
-
t.style = "unit", t.unit =
|
|
1055
|
+
t.style = "unit", t.unit = Gi(n.options[0]);
|
|
1084
1056
|
continue;
|
|
1085
1057
|
case "compact-short":
|
|
1086
1058
|
case "K":
|
|
@@ -1091,13 +1063,13 @@ function Fi(e) {
|
|
|
1091
1063
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1092
1064
|
continue;
|
|
1093
1065
|
case "scientific":
|
|
1094
|
-
t =
|
|
1095
|
-
return
|
|
1066
|
+
t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1067
|
+
return L(L({}, h), Tt(u));
|
|
1096
1068
|
}, {}));
|
|
1097
1069
|
continue;
|
|
1098
1070
|
case "engineering":
|
|
1099
|
-
t =
|
|
1100
|
-
return
|
|
1071
|
+
t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1072
|
+
return L(L({}, h), Tt(u));
|
|
1101
1073
|
}, {}));
|
|
1102
1074
|
continue;
|
|
1103
1075
|
case "notation-simple":
|
|
@@ -1142,7 +1114,7 @@ function Fi(e) {
|
|
|
1142
1114
|
case "integer-width":
|
|
1143
1115
|
if (n.options.length > 1)
|
|
1144
1116
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1145
|
-
n.options[0].replace(
|
|
1117
|
+
n.options[0].replace(Fi, function(h, u, l, c, f, p) {
|
|
1146
1118
|
if (u)
|
|
1147
1119
|
t.minimumIntegerDigits = l.length;
|
|
1148
1120
|
else {
|
|
@@ -1155,32 +1127,32 @@ function Fi(e) {
|
|
|
1155
1127
|
});
|
|
1156
1128
|
continue;
|
|
1157
1129
|
}
|
|
1158
|
-
if (
|
|
1130
|
+
if (ur.test(n.stem)) {
|
|
1159
1131
|
t.minimumIntegerDigits = n.stem.length;
|
|
1160
1132
|
continue;
|
|
1161
1133
|
}
|
|
1162
|
-
if (
|
|
1134
|
+
if (xt.test(n.stem)) {
|
|
1163
1135
|
if (n.options.length > 1)
|
|
1164
1136
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1165
|
-
n.stem.replace(
|
|
1137
|
+
n.stem.replace(xt, function(h, u, l, c, f, p) {
|
|
1166
1138
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1167
1139
|
});
|
|
1168
1140
|
var o = n.options[0];
|
|
1169
|
-
o === "w" ? t =
|
|
1141
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), wt(o)));
|
|
1170
1142
|
continue;
|
|
1171
1143
|
}
|
|
1172
|
-
if (
|
|
1173
|
-
t =
|
|
1144
|
+
if (ar.test(n.stem)) {
|
|
1145
|
+
t = L(L({}, t), wt(n.stem));
|
|
1174
1146
|
continue;
|
|
1175
1147
|
}
|
|
1176
|
-
var a =
|
|
1177
|
-
a && (t =
|
|
1178
|
-
var s =
|
|
1179
|
-
s && (t =
|
|
1148
|
+
var a = lr(n.stem);
|
|
1149
|
+
a && (t = L(L({}, t), a));
|
|
1150
|
+
var s = ji(n.stem);
|
|
1151
|
+
s && (t = L(L({}, t), s));
|
|
1180
1152
|
}
|
|
1181
1153
|
return t;
|
|
1182
1154
|
}
|
|
1183
|
-
var
|
|
1155
|
+
var be = {
|
|
1184
1156
|
"001": [
|
|
1185
1157
|
"H",
|
|
1186
1158
|
"h"
|
|
@@ -2595,13 +2567,13 @@ var ge = {
|
|
|
2595
2567
|
"h"
|
|
2596
2568
|
]
|
|
2597
2569
|
};
|
|
2598
|
-
function
|
|
2570
|
+
function Vi(e, t) {
|
|
2599
2571
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2600
2572
|
var n = e.charAt(i);
|
|
2601
2573
|
if (n === "j") {
|
|
2602
2574
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2603
2575
|
o++, i++;
|
|
2604
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2576
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Wi(t);
|
|
2605
2577
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2606
2578
|
r += h;
|
|
2607
2579
|
for (; a-- > 0; )
|
|
@@ -2611,7 +2583,7 @@ function ji(e, t) {
|
|
|
2611
2583
|
}
|
|
2612
2584
|
return r;
|
|
2613
2585
|
}
|
|
2614
|
-
function
|
|
2586
|
+
function Wi(e) {
|
|
2615
2587
|
var t = e.hourCycle;
|
|
2616
2588
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2617
2589
|
e.hourCycles && // @ts-ignore
|
|
@@ -2630,23 +2602,23 @@ function ki(e) {
|
|
|
2630
2602
|
}
|
|
2631
2603
|
var r = e.language, i;
|
|
2632
2604
|
r !== "root" && (i = e.maximize().region);
|
|
2633
|
-
var n =
|
|
2605
|
+
var n = be[i || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
2634
2606
|
return n[0];
|
|
2635
2607
|
}
|
|
2636
|
-
var
|
|
2608
|
+
var ke, zi = new RegExp("^".concat(sr.source, "*")), Xi = new RegExp("".concat(sr.source, "*$"));
|
|
2637
2609
|
function _(e, t) {
|
|
2638
2610
|
return { start: e, end: t };
|
|
2639
2611
|
}
|
|
2640
|
-
var
|
|
2612
|
+
var Zi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Ji = !!String.prototype.codePointAt, qi = !!String.prototype.trimStart, Ki = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
|
|
2641
2613
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2642
2614
|
}, Ke = !0;
|
|
2643
2615
|
try {
|
|
2644
|
-
var
|
|
2645
|
-
Ke = ((
|
|
2616
|
+
var rn = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2617
|
+
Ke = ((ke = rn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
|
2646
2618
|
} catch {
|
|
2647
2619
|
Ke = !1;
|
|
2648
2620
|
}
|
|
2649
|
-
var
|
|
2621
|
+
var St = Zi ? (
|
|
2650
2622
|
// Native
|
|
2651
2623
|
function(t, r, i) {
|
|
2652
2624
|
return t.startsWith(r, i);
|
|
@@ -2656,7 +2628,7 @@ var wt = zi ? (
|
|
|
2656
2628
|
function(t, r, i) {
|
|
2657
2629
|
return t.slice(i, i + r.length) === r;
|
|
2658
2630
|
}
|
|
2659
|
-
), et =
|
|
2631
|
+
), et = Qi ? String.fromCodePoint : (
|
|
2660
2632
|
// IE11
|
|
2661
2633
|
function() {
|
|
2662
2634
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2668,9 +2640,9 @@ var wt = zi ? (
|
|
|
2668
2640
|
}
|
|
2669
2641
|
return i;
|
|
2670
2642
|
}
|
|
2671
|
-
),
|
|
2643
|
+
), Lt = (
|
|
2672
2644
|
// native
|
|
2673
|
-
|
|
2645
|
+
Yi ? Object.fromEntries : (
|
|
2674
2646
|
// Ponyfill
|
|
2675
2647
|
function(t) {
|
|
2676
2648
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -2680,7 +2652,7 @@ var wt = zi ? (
|
|
|
2680
2652
|
return r;
|
|
2681
2653
|
}
|
|
2682
2654
|
)
|
|
2683
|
-
),
|
|
2655
|
+
), hr = Ji ? (
|
|
2684
2656
|
// Native
|
|
2685
2657
|
function(t, r) {
|
|
2686
2658
|
return t.codePointAt(r);
|
|
@@ -2694,7 +2666,7 @@ var wt = zi ? (
|
|
|
2694
2666
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2695
2667
|
}
|
|
2696
2668
|
}
|
|
2697
|
-
),
|
|
2669
|
+
), nn = qi ? (
|
|
2698
2670
|
// Native
|
|
2699
2671
|
function(t) {
|
|
2700
2672
|
return t.trimStart();
|
|
@@ -2702,9 +2674,9 @@ var wt = zi ? (
|
|
|
2702
2674
|
) : (
|
|
2703
2675
|
// Ponyfill
|
|
2704
2676
|
function(t) {
|
|
2705
|
-
return t.replace(
|
|
2677
|
+
return t.replace(zi, "");
|
|
2706
2678
|
}
|
|
2707
|
-
),
|
|
2679
|
+
), on = Ki ? (
|
|
2708
2680
|
// Native
|
|
2709
2681
|
function(t) {
|
|
2710
2682
|
return t.trimEnd();
|
|
@@ -2712,32 +2684,32 @@ var wt = zi ? (
|
|
|
2712
2684
|
) : (
|
|
2713
2685
|
// Ponyfill
|
|
2714
2686
|
function(t) {
|
|
2715
|
-
return t.replace(
|
|
2687
|
+
return t.replace(Xi, "");
|
|
2716
2688
|
}
|
|
2717
2689
|
);
|
|
2718
|
-
function
|
|
2690
|
+
function cr(e, t) {
|
|
2719
2691
|
return new RegExp(e, t);
|
|
2720
2692
|
}
|
|
2721
2693
|
var tt;
|
|
2722
2694
|
if (Ke) {
|
|
2723
|
-
var
|
|
2695
|
+
var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2724
2696
|
tt = function(t, r) {
|
|
2725
2697
|
var i;
|
|
2726
|
-
|
|
2727
|
-
var n =
|
|
2698
|
+
At.lastIndex = r;
|
|
2699
|
+
var n = At.exec(t);
|
|
2728
2700
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2729
2701
|
};
|
|
2730
2702
|
} else
|
|
2731
2703
|
tt = function(t, r) {
|
|
2732
2704
|
for (var i = []; ; ) {
|
|
2733
|
-
var n =
|
|
2734
|
-
if (n === void 0 ||
|
|
2705
|
+
var n = hr(t, r);
|
|
2706
|
+
if (n === void 0 || fr(n) || ln(n))
|
|
2735
2707
|
break;
|
|
2736
2708
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2737
2709
|
}
|
|
2738
2710
|
return et.apply(void 0, i);
|
|
2739
2711
|
};
|
|
2740
|
-
var
|
|
2712
|
+
var sn = (
|
|
2741
2713
|
/** @class */
|
|
2742
2714
|
function() {
|
|
2743
2715
|
function e(t, r) {
|
|
@@ -2761,13 +2733,13 @@ var nn = (
|
|
|
2761
2733
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2762
2734
|
var s = this.clonePosition();
|
|
2763
2735
|
this.bump(), n.push({
|
|
2764
|
-
type:
|
|
2736
|
+
type: T.pound,
|
|
2765
2737
|
location: _(s, this.clonePosition())
|
|
2766
2738
|
});
|
|
2767
2739
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2768
2740
|
if (i)
|
|
2769
2741
|
break;
|
|
2770
|
-
return this.error(
|
|
2742
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2771
2743
|
} else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
|
2772
2744
|
var a = this.parseTag(t, r);
|
|
2773
2745
|
if (a.err)
|
|
@@ -2789,7 +2761,7 @@ var nn = (
|
|
|
2789
2761
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2790
2762
|
return {
|
|
2791
2763
|
val: {
|
|
2792
|
-
type:
|
|
2764
|
+
type: T.literal,
|
|
2793
2765
|
value: "<".concat(n, "/>"),
|
|
2794
2766
|
location: _(i, this.clonePosition())
|
|
2795
2767
|
},
|
|
@@ -2802,24 +2774,24 @@ var nn = (
|
|
|
2802
2774
|
var a = o.val, s = this.clonePosition();
|
|
2803
2775
|
if (this.bumpIf("</")) {
|
|
2804
2776
|
if (this.isEOF() || !rt(this.char()))
|
|
2805
|
-
return this.error(
|
|
2777
|
+
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
2806
2778
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2807
|
-
return n !== u ? this.error(
|
|
2779
|
+
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2808
2780
|
val: {
|
|
2809
|
-
type:
|
|
2781
|
+
type: T.tag,
|
|
2810
2782
|
value: n,
|
|
2811
2783
|
children: a,
|
|
2812
2784
|
location: _(i, this.clonePosition())
|
|
2813
2785
|
},
|
|
2814
2786
|
err: null
|
|
2815
|
-
} : this.error(
|
|
2787
|
+
} : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
|
|
2816
2788
|
} else
|
|
2817
|
-
return this.error(
|
|
2789
|
+
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
2818
2790
|
} else
|
|
2819
|
-
return this.error(
|
|
2791
|
+
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
2820
2792
|
}, e.prototype.parseTagName = function() {
|
|
2821
2793
|
var t = this.offset();
|
|
2822
|
-
for (this.bump(); !this.isEOF() &&
|
|
2794
|
+
for (this.bump(); !this.isEOF() && un(this.char()); )
|
|
2823
2795
|
this.bump();
|
|
2824
2796
|
return this.message.slice(t, this.offset());
|
|
2825
2797
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2843,12 +2815,12 @@ var nn = (
|
|
|
2843
2815
|
}
|
|
2844
2816
|
var h = _(i, this.clonePosition());
|
|
2845
2817
|
return {
|
|
2846
|
-
val: { type:
|
|
2818
|
+
val: { type: T.literal, value: n, location: h },
|
|
2847
2819
|
err: null
|
|
2848
2820
|
};
|
|
2849
2821
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2850
2822
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2851
|
-
!
|
|
2823
|
+
!an(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2852
2824
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2853
2825
|
if (this.isEOF() || this.char() !== 39)
|
|
2854
2826
|
return null;
|
|
@@ -2891,19 +2863,19 @@ var nn = (
|
|
|
2891
2863
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2892
2864
|
var i = this.clonePosition();
|
|
2893
2865
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2894
|
-
return this.error(
|
|
2866
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
2895
2867
|
if (this.char() === 125)
|
|
2896
|
-
return this.bump(), this.error(
|
|
2868
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
|
|
2897
2869
|
var n = this.parseIdentifierIfPossible().value;
|
|
2898
2870
|
if (!n)
|
|
2899
|
-
return this.error(
|
|
2871
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
2900
2872
|
if (this.bumpSpace(), this.isEOF())
|
|
2901
|
-
return this.error(
|
|
2873
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
2902
2874
|
switch (this.char()) {
|
|
2903
2875
|
case 125:
|
|
2904
2876
|
return this.bump(), {
|
|
2905
2877
|
val: {
|
|
2906
|
-
type:
|
|
2878
|
+
type: T.argument,
|
|
2907
2879
|
// value does not include the opening and closing braces.
|
|
2908
2880
|
value: n,
|
|
2909
2881
|
location: _(i, this.clonePosition())
|
|
@@ -2911,9 +2883,9 @@ var nn = (
|
|
|
2911
2883
|
err: null
|
|
2912
2884
|
};
|
|
2913
2885
|
case 44:
|
|
2914
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2886
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2915
2887
|
default:
|
|
2916
|
-
return this.error(
|
|
2888
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
2917
2889
|
}
|
|
2918
2890
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2919
2891
|
var t = this.clonePosition(), r = this.offset(), i = tt(this.message, r), n = r + i.length;
|
|
@@ -2924,7 +2896,7 @@ var nn = (
|
|
|
2924
2896
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2925
2897
|
switch (s) {
|
|
2926
2898
|
case "":
|
|
2927
|
-
return this.error(
|
|
2899
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
|
|
2928
2900
|
case "number":
|
|
2929
2901
|
case "date":
|
|
2930
2902
|
case "time": {
|
|
@@ -2935,9 +2907,9 @@ var nn = (
|
|
|
2935
2907
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2936
2908
|
if (c.err)
|
|
2937
2909
|
return c;
|
|
2938
|
-
var f =
|
|
2910
|
+
var f = on(c.val);
|
|
2939
2911
|
if (f.length === 0)
|
|
2940
|
-
return this.error(
|
|
2912
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2941
2913
|
var p = _(l, this.clonePosition());
|
|
2942
2914
|
u = { style: f, styleLocation: p };
|
|
2943
2915
|
}
|
|
@@ -2945,34 +2917,34 @@ var nn = (
|
|
|
2945
2917
|
if (y.err)
|
|
2946
2918
|
return y;
|
|
2947
2919
|
var d = _(n, this.clonePosition());
|
|
2948
|
-
if (u &&
|
|
2949
|
-
var v =
|
|
2920
|
+
if (u && St(u?.style, "::", 0)) {
|
|
2921
|
+
var v = nn(u.style.slice(2));
|
|
2950
2922
|
if (s === "number") {
|
|
2951
2923
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2952
2924
|
return c.err ? c : {
|
|
2953
|
-
val: { type:
|
|
2925
|
+
val: { type: T.number, value: i, location: d, style: c.val },
|
|
2954
2926
|
err: null
|
|
2955
2927
|
};
|
|
2956
2928
|
} else {
|
|
2957
2929
|
if (v.length === 0)
|
|
2958
|
-
return this.error(
|
|
2959
|
-
var
|
|
2960
|
-
this.locale && (
|
|
2930
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
2931
|
+
var H = v;
|
|
2932
|
+
this.locale && (H = Vi(v, this.locale));
|
|
2961
2933
|
var f = {
|
|
2962
|
-
type:
|
|
2963
|
-
pattern:
|
|
2934
|
+
type: K.dateTime,
|
|
2935
|
+
pattern: H,
|
|
2964
2936
|
location: u.styleLocation,
|
|
2965
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2966
|
-
},
|
|
2937
|
+
parsedOptions: this.shouldParseSkeletons ? Di(H) : {}
|
|
2938
|
+
}, g = s === "date" ? T.date : T.time;
|
|
2967
2939
|
return {
|
|
2968
|
-
val: { type:
|
|
2940
|
+
val: { type: g, value: i, location: d, style: f },
|
|
2969
2941
|
err: null
|
|
2970
2942
|
};
|
|
2971
2943
|
}
|
|
2972
2944
|
}
|
|
2973
2945
|
return {
|
|
2974
2946
|
val: {
|
|
2975
|
-
type: s === "number" ?
|
|
2947
|
+
type: s === "number" ? T.number : s === "date" ? T.date : T.time,
|
|
2976
2948
|
value: i,
|
|
2977
2949
|
location: d,
|
|
2978
2950
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2985,38 +2957,38 @@ var nn = (
|
|
|
2985
2957
|
case "select": {
|
|
2986
2958
|
var S = this.clonePosition();
|
|
2987
2959
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2988
|
-
return this.error(
|
|
2960
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
|
|
2989
2961
|
this.bumpSpace();
|
|
2990
|
-
var
|
|
2991
|
-
if (s !== "select" &&
|
|
2962
|
+
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
2963
|
+
if (s !== "select" && D.value === "offset") {
|
|
2992
2964
|
if (!this.bumpIf(":"))
|
|
2993
|
-
return this.error(
|
|
2965
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2994
2966
|
this.bumpSpace();
|
|
2995
|
-
var c = this.tryParseDecimalInteger(
|
|
2967
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2996
2968
|
if (c.err)
|
|
2997
2969
|
return c;
|
|
2998
|
-
this.bumpSpace(),
|
|
2970
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
|
|
2999
2971
|
}
|
|
3000
|
-
var
|
|
3001
|
-
if (
|
|
3002
|
-
return
|
|
2972
|
+
var $ = this.tryParsePluralOrSelectOptions(t, s, r, D);
|
|
2973
|
+
if ($.err)
|
|
2974
|
+
return $;
|
|
3003
2975
|
var y = this.tryParseArgumentClose(n);
|
|
3004
2976
|
if (y.err)
|
|
3005
2977
|
return y;
|
|
3006
2978
|
var V = _(n, this.clonePosition());
|
|
3007
2979
|
return s === "select" ? {
|
|
3008
2980
|
val: {
|
|
3009
|
-
type:
|
|
2981
|
+
type: T.select,
|
|
3010
2982
|
value: i,
|
|
3011
|
-
options:
|
|
2983
|
+
options: Lt($.val),
|
|
3012
2984
|
location: V
|
|
3013
2985
|
},
|
|
3014
2986
|
err: null
|
|
3015
2987
|
} : {
|
|
3016
2988
|
val: {
|
|
3017
|
-
type:
|
|
2989
|
+
type: T.plural,
|
|
3018
2990
|
value: i,
|
|
3019
|
-
options:
|
|
2991
|
+
options: Lt($.val),
|
|
3020
2992
|
offset: N,
|
|
3021
2993
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3022
2994
|
location: V
|
|
@@ -3025,10 +2997,10 @@ var nn = (
|
|
|
3025
2997
|
};
|
|
3026
2998
|
}
|
|
3027
2999
|
default:
|
|
3028
|
-
return this.error(
|
|
3000
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
|
|
3029
3001
|
}
|
|
3030
3002
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3031
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3003
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3032
3004
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3033
3005
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3034
3006
|
var i = this.char();
|
|
@@ -3037,7 +3009,7 @@ var nn = (
|
|
|
3037
3009
|
this.bump();
|
|
3038
3010
|
var n = this.clonePosition();
|
|
3039
3011
|
if (!this.bumpUntil("'"))
|
|
3040
|
-
return this.error(
|
|
3012
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
|
|
3041
3013
|
this.bump();
|
|
3042
3014
|
break;
|
|
3043
3015
|
}
|
|
@@ -3067,16 +3039,16 @@ var nn = (
|
|
|
3067
3039
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3068
3040
|
var i = [];
|
|
3069
3041
|
try {
|
|
3070
|
-
i =
|
|
3042
|
+
i = Ui(t);
|
|
3071
3043
|
} catch {
|
|
3072
|
-
return this.error(
|
|
3044
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3073
3045
|
}
|
|
3074
3046
|
return {
|
|
3075
3047
|
val: {
|
|
3076
|
-
type:
|
|
3048
|
+
type: K.number,
|
|
3077
3049
|
tokens: i,
|
|
3078
3050
|
location: r,
|
|
3079
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3051
|
+
parsedOptions: this.shouldParseSkeletons ? ki(i) : {}
|
|
3080
3052
|
},
|
|
3081
3053
|
err: null
|
|
3082
3054
|
};
|
|
@@ -3085,7 +3057,7 @@ var nn = (
|
|
|
3085
3057
|
if (u.length === 0) {
|
|
3086
3058
|
var c = this.clonePosition();
|
|
3087
3059
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3088
|
-
var f = this.tryParseDecimalInteger(
|
|
3060
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3089
3061
|
if (f.err)
|
|
3090
3062
|
return f;
|
|
3091
3063
|
l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
@@ -3093,11 +3065,11 @@ var nn = (
|
|
|
3093
3065
|
break;
|
|
3094
3066
|
}
|
|
3095
3067
|
if (h.has(u))
|
|
3096
|
-
return this.error(r === "select" ?
|
|
3068
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3097
3069
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3098
3070
|
var p = this.clonePosition();
|
|
3099
3071
|
if (!this.bumpIf("{"))
|
|
3100
|
-
return this.error(r === "select" ?
|
|
3072
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3101
3073
|
var y = this.parseMessage(t + 1, r, i);
|
|
3102
3074
|
if (y.err)
|
|
3103
3075
|
return y;
|
|
@@ -3112,7 +3084,7 @@ var nn = (
|
|
|
3112
3084
|
}
|
|
3113
3085
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3114
3086
|
}
|
|
3115
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3087
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3116
3088
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3117
3089
|
var i = 1, n = this.clonePosition();
|
|
3118
3090
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3124,7 +3096,7 @@ var nn = (
|
|
|
3124
3096
|
break;
|
|
3125
3097
|
}
|
|
3126
3098
|
var h = _(n, this.clonePosition());
|
|
3127
|
-
return o ? (a *= i,
|
|
3099
|
+
return o ? (a *= i, tn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3128
3100
|
}, e.prototype.offset = function() {
|
|
3129
3101
|
return this.position.offset;
|
|
3130
3102
|
}, e.prototype.isEOF = function() {
|
|
@@ -3139,7 +3111,7 @@ var nn = (
|
|
|
3139
3111
|
var t = this.position.offset;
|
|
3140
3112
|
if (t >= this.message.length)
|
|
3141
3113
|
throw Error("out of bound");
|
|
3142
|
-
var r =
|
|
3114
|
+
var r = hr(this.message, t);
|
|
3143
3115
|
if (r === void 0)
|
|
3144
3116
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3145
3117
|
return r;
|
|
@@ -3158,7 +3130,7 @@ var nn = (
|
|
|
3158
3130
|
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);
|
|
3159
3131
|
}
|
|
3160
3132
|
}, e.prototype.bumpIf = function(t) {
|
|
3161
|
-
if (
|
|
3133
|
+
if (St(this.message, t, this.offset())) {
|
|
3162
3134
|
for (var r = 0; r < t.length; r++)
|
|
3163
3135
|
this.bump();
|
|
3164
3136
|
return !0;
|
|
@@ -3180,7 +3152,7 @@ var nn = (
|
|
|
3180
3152
|
break;
|
|
3181
3153
|
}
|
|
3182
3154
|
}, e.prototype.bumpSpace = function() {
|
|
3183
|
-
for (; !this.isEOF() &&
|
|
3155
|
+
for (; !this.isEOF() && fr(this.char()); )
|
|
3184
3156
|
this.bump();
|
|
3185
3157
|
}, e.prototype.peek = function() {
|
|
3186
3158
|
if (this.isEOF())
|
|
@@ -3193,44 +3165,44 @@ var nn = (
|
|
|
3193
3165
|
function rt(e) {
|
|
3194
3166
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3195
3167
|
}
|
|
3196
|
-
function
|
|
3168
|
+
function an(e) {
|
|
3197
3169
|
return rt(e) || e === 47;
|
|
3198
3170
|
}
|
|
3199
|
-
function
|
|
3171
|
+
function un(e) {
|
|
3200
3172
|
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;
|
|
3201
3173
|
}
|
|
3202
|
-
function
|
|
3174
|
+
function fr(e) {
|
|
3203
3175
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3204
3176
|
}
|
|
3205
|
-
function
|
|
3177
|
+
function ln(e) {
|
|
3206
3178
|
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;
|
|
3207
3179
|
}
|
|
3208
3180
|
function it(e) {
|
|
3209
3181
|
e.forEach(function(t) {
|
|
3210
|
-
if (delete t.location,
|
|
3182
|
+
if (delete t.location, rr(t) || ir(t))
|
|
3211
3183
|
for (var r in t.options)
|
|
3212
3184
|
delete t.options[r].location, it(t.options[r].value);
|
|
3213
3185
|
else
|
|
3214
|
-
|
|
3186
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && qe(t.style) ? delete t.style.location : nr(t) && it(t.children);
|
|
3215
3187
|
});
|
|
3216
3188
|
}
|
|
3217
|
-
function
|
|
3218
|
-
t === void 0 && (t = {}), t =
|
|
3219
|
-
var r = new
|
|
3189
|
+
function hn(e, t) {
|
|
3190
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3191
|
+
var r = new sn(e, t).parse();
|
|
3220
3192
|
if (r.err) {
|
|
3221
|
-
var i = SyntaxError(
|
|
3193
|
+
var i = SyntaxError(b[r.err.kind]);
|
|
3222
3194
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3223
3195
|
}
|
|
3224
3196
|
return t?.captureLocation || it(r.val), r.val;
|
|
3225
3197
|
}
|
|
3226
|
-
var
|
|
3198
|
+
var ee;
|
|
3227
3199
|
(function(e) {
|
|
3228
3200
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3229
|
-
})(
|
|
3230
|
-
var
|
|
3201
|
+
})(ee || (ee = {}));
|
|
3202
|
+
var Oe = (
|
|
3231
3203
|
/** @class */
|
|
3232
3204
|
function(e) {
|
|
3233
|
-
|
|
3205
|
+
Be(t, e);
|
|
3234
3206
|
function t(r, i, n) {
|
|
3235
3207
|
var o = e.call(this, r) || this;
|
|
3236
3208
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3239,48 +3211,48 @@ var Pe = (
|
|
|
3239
3211
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3240
3212
|
}, t;
|
|
3241
3213
|
}(Error)
|
|
3242
|
-
),
|
|
3214
|
+
), Pt = (
|
|
3243
3215
|
/** @class */
|
|
3244
3216
|
function(e) {
|
|
3245
|
-
|
|
3217
|
+
Be(t, e);
|
|
3246
3218
|
function t(r, i, n, o) {
|
|
3247
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3219
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3248
3220
|
}
|
|
3249
3221
|
return t;
|
|
3250
|
-
}(
|
|
3251
|
-
),
|
|
3222
|
+
}(Oe)
|
|
3223
|
+
), cn = (
|
|
3252
3224
|
/** @class */
|
|
3253
3225
|
function(e) {
|
|
3254
|
-
|
|
3226
|
+
Be(t, e);
|
|
3255
3227
|
function t(r, i, n) {
|
|
3256
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3228
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
|
|
3257
3229
|
}
|
|
3258
3230
|
return t;
|
|
3259
|
-
}(
|
|
3260
|
-
),
|
|
3231
|
+
}(Oe)
|
|
3232
|
+
), fn = (
|
|
3261
3233
|
/** @class */
|
|
3262
3234
|
function(e) {
|
|
3263
|
-
|
|
3235
|
+
Be(t, e);
|
|
3264
3236
|
function t(r, i) {
|
|
3265
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3237
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
|
|
3266
3238
|
}
|
|
3267
3239
|
return t;
|
|
3268
|
-
}(
|
|
3240
|
+
}(Oe)
|
|
3269
3241
|
), B;
|
|
3270
3242
|
(function(e) {
|
|
3271
3243
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3272
3244
|
})(B || (B = {}));
|
|
3273
|
-
function
|
|
3245
|
+
function mn(e) {
|
|
3274
3246
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3275
3247
|
var i = t[t.length - 1];
|
|
3276
3248
|
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3277
3249
|
}, []);
|
|
3278
3250
|
}
|
|
3279
|
-
function
|
|
3251
|
+
function pn(e) {
|
|
3280
3252
|
return typeof e == "function";
|
|
3281
3253
|
}
|
|
3282
|
-
function
|
|
3283
|
-
if (e.length === 1 &&
|
|
3254
|
+
function xe(e, t, r, i, n, o, a) {
|
|
3255
|
+
if (e.length === 1 && Et(e[0]))
|
|
3284
3256
|
return [
|
|
3285
3257
|
{
|
|
3286
3258
|
type: B.literal,
|
|
@@ -3289,14 +3261,14 @@ function Ee(e, t, r, i, n, o, a) {
|
|
|
3289
3261
|
];
|
|
3290
3262
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3291
3263
|
var l = u[h];
|
|
3292
|
-
if (
|
|
3264
|
+
if (Et(l)) {
|
|
3293
3265
|
s.push({
|
|
3294
3266
|
type: B.literal,
|
|
3295
3267
|
value: l.value
|
|
3296
3268
|
});
|
|
3297
3269
|
continue;
|
|
3298
3270
|
}
|
|
3299
|
-
if (
|
|
3271
|
+
if (Mi(l)) {
|
|
3300
3272
|
typeof o == "number" && s.push({
|
|
3301
3273
|
type: B.literal,
|
|
3302
3274
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3305,16 +3277,16 @@ function Ee(e, t, r, i, n, o, a) {
|
|
|
3305
3277
|
}
|
|
3306
3278
|
var c = l.value;
|
|
3307
3279
|
if (!(n && c in n))
|
|
3308
|
-
throw new
|
|
3280
|
+
throw new fn(c, a);
|
|
3309
3281
|
var f = n[c];
|
|
3310
|
-
if (
|
|
3282
|
+
if (Ni(l)) {
|
|
3311
3283
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3312
3284
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3313
3285
|
value: f
|
|
3314
3286
|
});
|
|
3315
3287
|
continue;
|
|
3316
3288
|
}
|
|
3317
|
-
if (
|
|
3289
|
+
if (er(l)) {
|
|
3318
3290
|
var p = typeof l.style == "string" ? i.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3319
3291
|
s.push({
|
|
3320
3292
|
type: B.literal,
|
|
@@ -3322,7 +3294,7 @@ function Ee(e, t, r, i, n, o, a) {
|
|
|
3322
3294
|
});
|
|
3323
3295
|
continue;
|
|
3324
3296
|
}
|
|
3325
|
-
if (
|
|
3297
|
+
if (tr(l)) {
|
|
3326
3298
|
var p = typeof l.style == "string" ? i.time[l.style] : qe(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3327
3299
|
s.push({
|
|
3328
3300
|
type: B.literal,
|
|
@@ -3330,64 +3302,64 @@ function Ee(e, t, r, i, n, o, a) {
|
|
|
3330
3302
|
});
|
|
3331
3303
|
continue;
|
|
3332
3304
|
}
|
|
3333
|
-
if (
|
|
3334
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3305
|
+
if (Kt(l)) {
|
|
3306
|
+
var p = typeof l.style == "string" ? i.number[l.style] : or(l.style) ? l.style.parsedOptions : void 0;
|
|
3335
3307
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3336
3308
|
type: B.literal,
|
|
3337
3309
|
value: r.getNumberFormat(t, p).format(f)
|
|
3338
3310
|
});
|
|
3339
3311
|
continue;
|
|
3340
3312
|
}
|
|
3341
|
-
if (
|
|
3313
|
+
if (nr(l)) {
|
|
3342
3314
|
var y = l.children, d = l.value, v = n[d];
|
|
3343
|
-
if (!
|
|
3344
|
-
throw new
|
|
3345
|
-
var
|
|
3315
|
+
if (!pn(v))
|
|
3316
|
+
throw new cn(d, "function", a);
|
|
3317
|
+
var H = xe(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3346
3318
|
return N.value;
|
|
3347
3319
|
}));
|
|
3348
|
-
Array.isArray(
|
|
3320
|
+
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3349
3321
|
return {
|
|
3350
3322
|
type: typeof N == "string" ? B.literal : B.object,
|
|
3351
3323
|
value: N
|
|
3352
3324
|
};
|
|
3353
3325
|
}));
|
|
3354
3326
|
}
|
|
3355
|
-
if (
|
|
3327
|
+
if (rr(l)) {
|
|
3356
3328
|
var S = l.options[f] || l.options.other;
|
|
3357
3329
|
if (!S)
|
|
3358
|
-
throw new
|
|
3359
|
-
s.push.apply(s,
|
|
3330
|
+
throw new Pt(l.value, f, Object.keys(l.options), a);
|
|
3331
|
+
s.push.apply(s, xe(S.value, t, r, i, n));
|
|
3360
3332
|
continue;
|
|
3361
3333
|
}
|
|
3362
|
-
if (
|
|
3334
|
+
if (ir(l)) {
|
|
3363
3335
|
var S = l.options["=".concat(f)];
|
|
3364
3336
|
if (!S) {
|
|
3365
3337
|
if (!Intl.PluralRules)
|
|
3366
|
-
throw new
|
|
3338
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3367
3339
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3368
|
-
`,
|
|
3369
|
-
var
|
|
3370
|
-
S = l.options[
|
|
3340
|
+
`, ee.MISSING_INTL_API, a);
|
|
3341
|
+
var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3342
|
+
S = l.options[D] || l.options.other;
|
|
3371
3343
|
}
|
|
3372
3344
|
if (!S)
|
|
3373
|
-
throw new
|
|
3374
|
-
s.push.apply(s,
|
|
3345
|
+
throw new Pt(l.value, f, Object.keys(l.options), a);
|
|
3346
|
+
s.push.apply(s, xe(S.value, t, r, i, n, f - (l.offset || 0)));
|
|
3375
3347
|
continue;
|
|
3376
3348
|
}
|
|
3377
3349
|
}
|
|
3378
|
-
return
|
|
3350
|
+
return mn(s);
|
|
3379
3351
|
}
|
|
3380
|
-
function
|
|
3381
|
-
return t ?
|
|
3382
|
-
return r[i] =
|
|
3352
|
+
function dn(e, t) {
|
|
3353
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3354
|
+
return r[i] = M(M({}, e[i]), t[i] || {}), r;
|
|
3383
3355
|
}, {})) : e;
|
|
3384
3356
|
}
|
|
3385
|
-
function
|
|
3357
|
+
function yn(e, t) {
|
|
3386
3358
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3387
|
-
return r[i] =
|
|
3388
|
-
},
|
|
3359
|
+
return r[i] = dn(e[i], t[i]), r;
|
|
3360
|
+
}, M({}, e)) : e;
|
|
3389
3361
|
}
|
|
3390
|
-
function
|
|
3362
|
+
function Ve(e) {
|
|
3391
3363
|
return {
|
|
3392
3364
|
create: function() {
|
|
3393
3365
|
return {
|
|
@@ -3401,39 +3373,39 @@ function Fe(e) {
|
|
|
3401
3373
|
}
|
|
3402
3374
|
};
|
|
3403
3375
|
}
|
|
3404
|
-
function
|
|
3376
|
+
function gn(e) {
|
|
3405
3377
|
return e === void 0 && (e = {
|
|
3406
3378
|
number: {},
|
|
3407
3379
|
dateTime: {},
|
|
3408
3380
|
pluralRules: {}
|
|
3409
3381
|
}), {
|
|
3410
|
-
getNumberFormat:
|
|
3382
|
+
getNumberFormat: Fe(function() {
|
|
3411
3383
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3412
3384
|
r[i] = arguments[i];
|
|
3413
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3385
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3414
3386
|
}, {
|
|
3415
|
-
cache:
|
|
3416
|
-
strategy:
|
|
3387
|
+
cache: Ve(e.number),
|
|
3388
|
+
strategy: je.variadic
|
|
3417
3389
|
}),
|
|
3418
|
-
getDateTimeFormat:
|
|
3390
|
+
getDateTimeFormat: Fe(function() {
|
|
3419
3391
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3420
3392
|
r[i] = arguments[i];
|
|
3421
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3393
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3422
3394
|
}, {
|
|
3423
|
-
cache:
|
|
3424
|
-
strategy:
|
|
3395
|
+
cache: Ve(e.dateTime),
|
|
3396
|
+
strategy: je.variadic
|
|
3425
3397
|
}),
|
|
3426
|
-
getPluralRules:
|
|
3398
|
+
getPluralRules: Fe(function() {
|
|
3427
3399
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3428
3400
|
r[i] = arguments[i];
|
|
3429
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3401
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3430
3402
|
}, {
|
|
3431
|
-
cache:
|
|
3432
|
-
strategy:
|
|
3403
|
+
cache: Ve(e.pluralRules),
|
|
3404
|
+
strategy: je.variadic
|
|
3433
3405
|
})
|
|
3434
3406
|
};
|
|
3435
3407
|
}
|
|
3436
|
-
var
|
|
3408
|
+
var bn = (
|
|
3437
3409
|
/** @class */
|
|
3438
3410
|
function() {
|
|
3439
3411
|
function e(t, r, i, n) {
|
|
@@ -3452,7 +3424,7 @@ var yn = (
|
|
|
3452
3424
|
}, []);
|
|
3453
3425
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3454
3426
|
}, this.formatToParts = function(h) {
|
|
3455
|
-
return
|
|
3427
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3456
3428
|
}, this.resolvedOptions = function() {
|
|
3457
3429
|
var h;
|
|
3458
3430
|
return {
|
|
@@ -3466,12 +3438,12 @@ var yn = (
|
|
|
3466
3438
|
var a = n || {};
|
|
3467
3439
|
a.formatters;
|
|
3468
3440
|
var s = Li(a, ["formatters"]);
|
|
3469
|
-
this.ast = e.__parse(t,
|
|
3441
|
+
this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
|
|
3470
3442
|
} else
|
|
3471
3443
|
this.ast = t;
|
|
3472
3444
|
if (!Array.isArray(this.ast))
|
|
3473
3445
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3474
|
-
this.formats =
|
|
3446
|
+
this.formats = yn(e.formats, i), this.formatters = n && n.formatters || gn(this.formatterCache);
|
|
3475
3447
|
}
|
|
3476
3448
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3477
3449
|
get: function() {
|
|
@@ -3484,7 +3456,7 @@ var yn = (
|
|
|
3484
3456
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3485
3457
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3486
3458
|
}
|
|
3487
|
-
}, e.__parse =
|
|
3459
|
+
}, e.__parse = hn, e.formats = {
|
|
3488
3460
|
number: {
|
|
3489
3461
|
integer: {
|
|
3490
3462
|
maximumFractionDigits: 0
|
|
@@ -3545,7 +3517,7 @@ var yn = (
|
|
|
3545
3517
|
}, e;
|
|
3546
3518
|
}()
|
|
3547
3519
|
);
|
|
3548
|
-
function
|
|
3520
|
+
function vn(e, t) {
|
|
3549
3521
|
if (t == null)
|
|
3550
3522
|
return;
|
|
3551
3523
|
if (t in e)
|
|
@@ -3566,92 +3538,92 @@ function bn(e, t) {
|
|
|
3566
3538
|
i = void 0;
|
|
3567
3539
|
return i;
|
|
3568
3540
|
}
|
|
3569
|
-
const F = {},
|
|
3541
|
+
const F = {}, _n = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), mr = (e, t) => {
|
|
3570
3542
|
if (t == null)
|
|
3571
3543
|
return;
|
|
3572
3544
|
if (t in F && e in F[t])
|
|
3573
3545
|
return F[t][e];
|
|
3574
|
-
const r =
|
|
3546
|
+
const r = Ce(t);
|
|
3575
3547
|
for (let i = 0; i < r.length; i++) {
|
|
3576
|
-
const n = r[i], o =
|
|
3548
|
+
const n = r[i], o = xn(n, e);
|
|
3577
3549
|
if (o)
|
|
3578
|
-
return
|
|
3550
|
+
return _n(e, t, o);
|
|
3579
3551
|
}
|
|
3580
3552
|
};
|
|
3581
|
-
let
|
|
3582
|
-
const
|
|
3583
|
-
function
|
|
3584
|
-
return
|
|
3553
|
+
let mt;
|
|
3554
|
+
const fe = He({});
|
|
3555
|
+
function En(e) {
|
|
3556
|
+
return mt[e] || null;
|
|
3585
3557
|
}
|
|
3586
|
-
function
|
|
3587
|
-
return e in
|
|
3558
|
+
function pr(e) {
|
|
3559
|
+
return e in mt;
|
|
3588
3560
|
}
|
|
3589
|
-
function
|
|
3590
|
-
if (!
|
|
3561
|
+
function xn(e, t) {
|
|
3562
|
+
if (!pr(e))
|
|
3591
3563
|
return null;
|
|
3592
|
-
const r =
|
|
3593
|
-
return
|
|
3564
|
+
const r = En(e);
|
|
3565
|
+
return vn(r, t);
|
|
3594
3566
|
}
|
|
3595
|
-
function
|
|
3567
|
+
function wn(e) {
|
|
3596
3568
|
if (e == null)
|
|
3597
3569
|
return;
|
|
3598
|
-
const t =
|
|
3570
|
+
const t = Ce(e);
|
|
3599
3571
|
for (let r = 0; r < t.length; r++) {
|
|
3600
3572
|
const i = t[r];
|
|
3601
|
-
if (
|
|
3573
|
+
if (pr(i))
|
|
3602
3574
|
return i;
|
|
3603
3575
|
}
|
|
3604
3576
|
}
|
|
3605
|
-
function
|
|
3606
|
-
delete F[e],
|
|
3577
|
+
function dr(e, ...t) {
|
|
3578
|
+
delete F[e], fe.update((r) => (r[e] = Si.all([r[e] || {}, ...t]), r));
|
|
3607
3579
|
}
|
|
3608
|
-
|
|
3609
|
-
[
|
|
3580
|
+
ie(
|
|
3581
|
+
[fe],
|
|
3610
3582
|
([e]) => Object.keys(e)
|
|
3611
3583
|
);
|
|
3612
|
-
|
|
3584
|
+
fe.subscribe((e) => mt = e);
|
|
3613
3585
|
const we = {};
|
|
3614
|
-
function
|
|
3586
|
+
function Tn(e, t) {
|
|
3615
3587
|
we[e].delete(t), we[e].size === 0 && delete we[e];
|
|
3616
3588
|
}
|
|
3617
|
-
function
|
|
3589
|
+
function yr(e) {
|
|
3618
3590
|
return we[e];
|
|
3619
3591
|
}
|
|
3620
|
-
function
|
|
3621
|
-
return
|
|
3622
|
-
const r =
|
|
3592
|
+
function Sn(e) {
|
|
3593
|
+
return Ce(e).map((t) => {
|
|
3594
|
+
const r = yr(t);
|
|
3623
3595
|
return [t, r ? [...r] : []];
|
|
3624
3596
|
}).filter(([, t]) => t.length > 0);
|
|
3625
3597
|
}
|
|
3626
3598
|
function nt(e) {
|
|
3627
|
-
return e == null ? !1 :
|
|
3599
|
+
return e == null ? !1 : Ce(e).some(
|
|
3628
3600
|
(t) => {
|
|
3629
3601
|
var r;
|
|
3630
|
-
return (r =
|
|
3602
|
+
return (r = yr(t)) == null ? void 0 : r.size;
|
|
3631
3603
|
}
|
|
3632
3604
|
);
|
|
3633
3605
|
}
|
|
3634
|
-
function
|
|
3606
|
+
function Ln(e, t) {
|
|
3635
3607
|
return Promise.all(
|
|
3636
|
-
t.map((i) => (
|
|
3637
|
-
).then((i) =>
|
|
3608
|
+
t.map((i) => (Tn(e, i), i().then((n) => n.default || n)))
|
|
3609
|
+
).then((i) => dr(e, ...i));
|
|
3638
3610
|
}
|
|
3639
|
-
const
|
|
3640
|
-
function
|
|
3611
|
+
const ae = {};
|
|
3612
|
+
function gr(e) {
|
|
3641
3613
|
if (!nt(e))
|
|
3642
|
-
return e in
|
|
3643
|
-
const t =
|
|
3644
|
-
return
|
|
3614
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
3615
|
+
const t = Sn(e);
|
|
3616
|
+
return ae[e] = Promise.all(
|
|
3645
3617
|
t.map(
|
|
3646
|
-
([r, i]) =>
|
|
3618
|
+
([r, i]) => Ln(r, i)
|
|
3647
3619
|
)
|
|
3648
3620
|
).then(() => {
|
|
3649
3621
|
if (nt(e))
|
|
3650
|
-
return
|
|
3651
|
-
delete
|
|
3652
|
-
}),
|
|
3622
|
+
return gr(e);
|
|
3623
|
+
delete ae[e];
|
|
3624
|
+
}), ae[e];
|
|
3653
3625
|
}
|
|
3654
|
-
const
|
|
3626
|
+
const An = {
|
|
3655
3627
|
number: {
|
|
3656
3628
|
scientific: { notation: "scientific" },
|
|
3657
3629
|
engineering: { notation: "engineering" },
|
|
@@ -3680,135 +3652,135 @@ const Ln = {
|
|
|
3680
3652
|
timeZoneName: "short"
|
|
3681
3653
|
}
|
|
3682
3654
|
}
|
|
3683
|
-
},
|
|
3655
|
+
}, Pn = {
|
|
3684
3656
|
fallbackLocale: null,
|
|
3685
3657
|
loadingDelay: 200,
|
|
3686
|
-
formats:
|
|
3658
|
+
formats: An,
|
|
3687
3659
|
warnOnMissingMessages: !0,
|
|
3688
3660
|
handleMissingMessage: void 0,
|
|
3689
3661
|
ignoreTag: !0
|
|
3690
|
-
},
|
|
3691
|
-
function
|
|
3692
|
-
return
|
|
3662
|
+
}, Hn = Pn;
|
|
3663
|
+
function te() {
|
|
3664
|
+
return Hn;
|
|
3693
3665
|
}
|
|
3694
|
-
const
|
|
3695
|
-
var
|
|
3666
|
+
const We = He(!1);
|
|
3667
|
+
var Bn = Object.defineProperty, On = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
|
|
3696
3668
|
for (var r in t || (t = {}))
|
|
3697
|
-
|
|
3698
|
-
if (
|
|
3699
|
-
for (var r of
|
|
3700
|
-
|
|
3669
|
+
In.call(t, r) && Bt(e, r, t[r]);
|
|
3670
|
+
if (Ht)
|
|
3671
|
+
for (var r of Ht(t))
|
|
3672
|
+
Nn.call(t, r) && Bt(e, r, t[r]);
|
|
3701
3673
|
return e;
|
|
3702
|
-
},
|
|
3674
|
+
}, Rn = (e, t) => On(e, Cn(t));
|
|
3703
3675
|
let ot;
|
|
3704
|
-
const
|
|
3705
|
-
function
|
|
3676
|
+
const Ae = He(null);
|
|
3677
|
+
function Ot(e) {
|
|
3706
3678
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3707
3679
|
}
|
|
3708
|
-
function
|
|
3709
|
-
const r =
|
|
3710
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3680
|
+
function Ce(e, t = te().fallbackLocale) {
|
|
3681
|
+
const r = Ot(e);
|
|
3682
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
3711
3683
|
}
|
|
3712
3684
|
function X() {
|
|
3713
3685
|
return ot ?? void 0;
|
|
3714
3686
|
}
|
|
3715
|
-
|
|
3687
|
+
Ae.subscribe((e) => {
|
|
3716
3688
|
ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3717
3689
|
});
|
|
3718
|
-
const
|
|
3719
|
-
if (e &&
|
|
3720
|
-
const { loadingDelay: t } =
|
|
3690
|
+
const Dn = (e) => {
|
|
3691
|
+
if (e && wn(e) && nt(e)) {
|
|
3692
|
+
const { loadingDelay: t } = te();
|
|
3721
3693
|
let r;
|
|
3722
3694
|
return typeof window < "u" && X() != null && t ? r = window.setTimeout(
|
|
3723
|
-
() =>
|
|
3695
|
+
() => We.set(!0),
|
|
3724
3696
|
t
|
|
3725
|
-
) :
|
|
3726
|
-
|
|
3697
|
+
) : We.set(!0), gr(e).then(() => {
|
|
3698
|
+
Ae.set(e);
|
|
3727
3699
|
}).finally(() => {
|
|
3728
|
-
clearTimeout(r),
|
|
3700
|
+
clearTimeout(r), We.set(!1);
|
|
3729
3701
|
});
|
|
3730
3702
|
}
|
|
3731
|
-
return
|
|
3732
|
-
},
|
|
3733
|
-
set:
|
|
3734
|
-
}),
|
|
3703
|
+
return Ae.set(e);
|
|
3704
|
+
}, ne = Rn(Mn({}, Ae), {
|
|
3705
|
+
set: Dn
|
|
3706
|
+
}), Ie = (e) => {
|
|
3735
3707
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3736
3708
|
return (i) => {
|
|
3737
3709
|
const n = JSON.stringify(i);
|
|
3738
3710
|
return n in t ? t[n] : t[n] = e(i);
|
|
3739
3711
|
};
|
|
3740
3712
|
};
|
|
3741
|
-
var
|
|
3713
|
+
var $n = Object.defineProperty, Pe = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
3742
3714
|
for (var r in t || (t = {}))
|
|
3743
|
-
|
|
3744
|
-
if (
|
|
3745
|
-
for (var r of
|
|
3746
|
-
|
|
3715
|
+
br.call(t, r) && Ct(e, r, t[r]);
|
|
3716
|
+
if (Pe)
|
|
3717
|
+
for (var r of Pe(t))
|
|
3718
|
+
vr.call(t, r) && Ct(e, r, t[r]);
|
|
3747
3719
|
return e;
|
|
3748
|
-
},
|
|
3720
|
+
}, oe = (e, t) => {
|
|
3749
3721
|
var r = {};
|
|
3750
3722
|
for (var i in e)
|
|
3751
|
-
|
|
3752
|
-
if (e != null &&
|
|
3753
|
-
for (var i of
|
|
3754
|
-
t.indexOf(i) < 0 &&
|
|
3723
|
+
br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3724
|
+
if (e != null && Pe)
|
|
3725
|
+
for (var i of Pe(e))
|
|
3726
|
+
t.indexOf(i) < 0 && vr.call(e, i) && (r[i] = e[i]);
|
|
3755
3727
|
return r;
|
|
3756
3728
|
};
|
|
3757
|
-
const
|
|
3758
|
-
const { formats: r } =
|
|
3729
|
+
const ce = (e, t) => {
|
|
3730
|
+
const { formats: r } = te();
|
|
3759
3731
|
if (e in r && t in r[e])
|
|
3760
3732
|
return r[e][t];
|
|
3761
3733
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3762
|
-
},
|
|
3734
|
+
}, Un = Ie(
|
|
3763
3735
|
(e) => {
|
|
3764
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3736
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
3765
3737
|
if (r == null)
|
|
3766
3738
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3767
|
-
return i && (n =
|
|
3739
|
+
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
3768
3740
|
}
|
|
3769
|
-
),
|
|
3741
|
+
), Gn = Ie(
|
|
3770
3742
|
(e) => {
|
|
3771
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3743
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
3772
3744
|
if (r == null)
|
|
3773
3745
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3774
|
-
return i ? n =
|
|
3746
|
+
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3775
3747
|
}
|
|
3776
|
-
),
|
|
3748
|
+
), Fn = Ie(
|
|
3777
3749
|
(e) => {
|
|
3778
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3750
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
3779
3751
|
if (r == null)
|
|
3780
3752
|
throw new Error(
|
|
3781
3753
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3782
3754
|
);
|
|
3783
|
-
return i ? n =
|
|
3755
|
+
return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3784
3756
|
}
|
|
3785
|
-
),
|
|
3757
|
+
), jn = (e = {}) => {
|
|
3786
3758
|
var t = e, {
|
|
3787
3759
|
locale: r = X()
|
|
3788
|
-
} = t, i =
|
|
3760
|
+
} = t, i = oe(t, [
|
|
3789
3761
|
"locale"
|
|
3790
3762
|
]);
|
|
3791
|
-
return
|
|
3792
|
-
},
|
|
3763
|
+
return Un(pt({ locale: r }, i));
|
|
3764
|
+
}, kn = (e = {}) => {
|
|
3793
3765
|
var t = e, {
|
|
3794
3766
|
locale: r = X()
|
|
3795
|
-
} = t, i =
|
|
3767
|
+
} = t, i = oe(t, [
|
|
3796
3768
|
"locale"
|
|
3797
3769
|
]);
|
|
3798
|
-
return
|
|
3799
|
-
},
|
|
3770
|
+
return Gn(pt({ locale: r }, i));
|
|
3771
|
+
}, Vn = (e = {}) => {
|
|
3800
3772
|
var t = e, {
|
|
3801
3773
|
locale: r = X()
|
|
3802
|
-
} = t, i =
|
|
3774
|
+
} = t, i = oe(t, [
|
|
3803
3775
|
"locale"
|
|
3804
3776
|
]);
|
|
3805
|
-
return
|
|
3806
|
-
},
|
|
3777
|
+
return Fn(pt({ locale: r }, i));
|
|
3778
|
+
}, Wn = Ie(
|
|
3807
3779
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3808
|
-
(e, t = X()) => new
|
|
3809
|
-
ignoreTag:
|
|
3780
|
+
(e, t = X()) => new bn(e, t, te().formats, {
|
|
3781
|
+
ignoreTag: te().ignoreTag
|
|
3810
3782
|
})
|
|
3811
|
-
),
|
|
3783
|
+
), zn = (e, t = {}) => {
|
|
3812
3784
|
var r, i, n, o;
|
|
3813
3785
|
let a = t;
|
|
3814
3786
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3821,9 +3793,9 @@ const fe = (e, t) => {
|
|
|
3821
3793
|
throw new Error(
|
|
3822
3794
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3823
3795
|
);
|
|
3824
|
-
let l =
|
|
3796
|
+
let l = mr(e, h);
|
|
3825
3797
|
if (!l)
|
|
3826
|
-
l = (o = (n = (i = (r =
|
|
3798
|
+
l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
3827
3799
|
else if (typeof l != "string")
|
|
3828
3800
|
return console.warn(
|
|
3829
3801
|
`[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.`
|
|
@@ -3832,7 +3804,7 @@ const fe = (e, t) => {
|
|
|
3832
3804
|
return l;
|
|
3833
3805
|
let c = l;
|
|
3834
3806
|
try {
|
|
3835
|
-
c =
|
|
3807
|
+
c = Wn(l, h).format(s);
|
|
3836
3808
|
} catch (f) {
|
|
3837
3809
|
f instanceof Error && console.warn(
|
|
3838
3810
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3840,18 +3812,18 @@ const fe = (e, t) => {
|
|
|
3840
3812
|
);
|
|
3841
3813
|
}
|
|
3842
3814
|
return c;
|
|
3843
|
-
},
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
function
|
|
3815
|
+
}, Xn = (e, t) => Vn(t).format(e), Zn = (e, t) => kn(t).format(e), Qn = (e, t) => jn(t).format(e), Yn = (e, t = X()) => mr(e, t), Jn = ie([ne, fe], () => zn);
|
|
3816
|
+
ie([ne], () => Xn);
|
|
3817
|
+
ie([ne], () => Zn);
|
|
3818
|
+
ie([ne], () => Qn);
|
|
3819
|
+
ie([ne, fe], () => Yn);
|
|
3820
|
+
function qn(e, t) {
|
|
3849
3821
|
if (e) {
|
|
3850
3822
|
const r = document.createElement("style");
|
|
3851
3823
|
r.innerHTML = t, e.appendChild(r);
|
|
3852
3824
|
}
|
|
3853
3825
|
}
|
|
3854
|
-
function
|
|
3826
|
+
function Kn(e, t) {
|
|
3855
3827
|
if (!e || !t)
|
|
3856
3828
|
return;
|
|
3857
3829
|
const r = new URL(t);
|
|
@@ -3862,7 +3834,7 @@ function Jn(e, t) {
|
|
|
3862
3834
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3863
3835
|
});
|
|
3864
3836
|
}
|
|
3865
|
-
function
|
|
3837
|
+
function eo(e, t, r) {
|
|
3866
3838
|
if (window.emMessageBus) {
|
|
3867
3839
|
const i = document.createElement("style");
|
|
3868
3840
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -3870,16 +3842,85 @@ function qn(e, t, r) {
|
|
|
3870
3842
|
});
|
|
3871
3843
|
}
|
|
3872
3844
|
}
|
|
3873
|
-
|
|
3845
|
+
/*! *****************************************************************************
|
|
3846
|
+
Copyright (c) Microsoft Corporation.
|
|
3847
|
+
|
|
3848
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
3849
|
+
purpose with or without fee is hereby granted.
|
|
3850
|
+
|
|
3851
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
3852
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
3853
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
3854
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
3855
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3856
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3857
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
3858
|
+
***************************************************************************** */
|
|
3859
|
+
var st = function(e, t) {
|
|
3860
|
+
return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
3861
|
+
r.__proto__ = i;
|
|
3862
|
+
} || function(r, i) {
|
|
3863
|
+
for (var n in i)
|
|
3864
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
3865
|
+
}, st(e, t);
|
|
3866
|
+
};
|
|
3867
|
+
function me(e, t) {
|
|
3868
|
+
if (typeof t != "function" && t !== null)
|
|
3869
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
3870
|
+
st(e, t);
|
|
3871
|
+
function r() {
|
|
3872
|
+
this.constructor = e;
|
|
3873
|
+
}
|
|
3874
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
3875
|
+
}
|
|
3876
|
+
function at(e) {
|
|
3877
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
3878
|
+
if (r)
|
|
3879
|
+
return r.call(e);
|
|
3880
|
+
if (e && typeof e.length == "number")
|
|
3881
|
+
return {
|
|
3882
|
+
next: function() {
|
|
3883
|
+
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
3884
|
+
}
|
|
3885
|
+
};
|
|
3886
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3887
|
+
}
|
|
3888
|
+
function ut(e, t) {
|
|
3889
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3890
|
+
if (!r)
|
|
3891
|
+
return e;
|
|
3892
|
+
var i = r.call(e), n, o = [], a;
|
|
3893
|
+
try {
|
|
3894
|
+
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
3895
|
+
o.push(n.value);
|
|
3896
|
+
} catch (s) {
|
|
3897
|
+
a = { error: s };
|
|
3898
|
+
} finally {
|
|
3899
|
+
try {
|
|
3900
|
+
n && !n.done && (r = i.return) && r.call(i);
|
|
3901
|
+
} finally {
|
|
3902
|
+
if (a)
|
|
3903
|
+
throw a.error;
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
return o;
|
|
3907
|
+
}
|
|
3908
|
+
function lt(e, t, r) {
|
|
3909
|
+
if (arguments.length === 2)
|
|
3910
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
3911
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
3912
|
+
return e.concat(o || t);
|
|
3913
|
+
}
|
|
3914
|
+
function G(e) {
|
|
3874
3915
|
return typeof e == "function";
|
|
3875
3916
|
}
|
|
3876
|
-
function
|
|
3917
|
+
function _r(e) {
|
|
3877
3918
|
var t = function(i) {
|
|
3878
3919
|
Error.call(i), i.stack = new Error().stack;
|
|
3879
3920
|
}, r = e(t);
|
|
3880
3921
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3881
3922
|
}
|
|
3882
|
-
var
|
|
3923
|
+
var ze = _r(function(e) {
|
|
3883
3924
|
return function(r) {
|
|
3884
3925
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3885
3926
|
` + r.map(function(i, n) {
|
|
@@ -3888,13 +3929,13 @@ var ke = gr(function(e) {
|
|
|
3888
3929
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
3889
3930
|
};
|
|
3890
3931
|
});
|
|
3891
|
-
function
|
|
3932
|
+
function ht(e, t) {
|
|
3892
3933
|
if (e) {
|
|
3893
3934
|
var r = e.indexOf(t);
|
|
3894
3935
|
0 <= r && e.splice(r, 1);
|
|
3895
3936
|
}
|
|
3896
3937
|
}
|
|
3897
|
-
var
|
|
3938
|
+
var Ne = function() {
|
|
3898
3939
|
function e(t) {
|
|
3899
3940
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
3900
3941
|
}
|
|
@@ -3906,7 +3947,7 @@ var Oe = function() {
|
|
|
3906
3947
|
if (a)
|
|
3907
3948
|
if (this._parentage = null, Array.isArray(a))
|
|
3908
3949
|
try {
|
|
3909
|
-
for (var s =
|
|
3950
|
+
for (var s = at(a), h = s.next(); !h.done; h = s.next()) {
|
|
3910
3951
|
var u = h.value;
|
|
3911
3952
|
u.remove(this);
|
|
3912
3953
|
}
|
|
@@ -3923,22 +3964,22 @@ var Oe = function() {
|
|
|
3923
3964
|
else
|
|
3924
3965
|
a.remove(this);
|
|
3925
3966
|
var l = this.initialTeardown;
|
|
3926
|
-
if (
|
|
3967
|
+
if (G(l))
|
|
3927
3968
|
try {
|
|
3928
3969
|
l();
|
|
3929
3970
|
} catch (d) {
|
|
3930
|
-
o = d instanceof
|
|
3971
|
+
o = d instanceof ze ? d.errors : [d];
|
|
3931
3972
|
}
|
|
3932
3973
|
var c = this._finalizers;
|
|
3933
3974
|
if (c) {
|
|
3934
3975
|
this._finalizers = null;
|
|
3935
3976
|
try {
|
|
3936
|
-
for (var f =
|
|
3977
|
+
for (var f = at(c), p = f.next(); !p.done; p = f.next()) {
|
|
3937
3978
|
var y = p.value;
|
|
3938
3979
|
try {
|
|
3939
|
-
|
|
3980
|
+
It(y);
|
|
3940
3981
|
} catch (d) {
|
|
3941
|
-
o = o ?? [], d instanceof
|
|
3982
|
+
o = o ?? [], d instanceof ze ? o = lt(lt([], ut(o)), ut(d.errors)) : o.push(d);
|
|
3942
3983
|
}
|
|
3943
3984
|
}
|
|
3944
3985
|
} catch (d) {
|
|
@@ -3953,13 +3994,13 @@ var Oe = function() {
|
|
|
3953
3994
|
}
|
|
3954
3995
|
}
|
|
3955
3996
|
if (o)
|
|
3956
|
-
throw new
|
|
3997
|
+
throw new ze(o);
|
|
3957
3998
|
}
|
|
3958
3999
|
}, e.prototype.add = function(t) {
|
|
3959
4000
|
var r;
|
|
3960
4001
|
if (t && t !== this)
|
|
3961
4002
|
if (this.closed)
|
|
3962
|
-
|
|
4003
|
+
It(t);
|
|
3963
4004
|
else {
|
|
3964
4005
|
if (t instanceof e) {
|
|
3965
4006
|
if (t.closed || t._hasParent(this))
|
|
@@ -3976,56 +4017,52 @@ var Oe = function() {
|
|
|
3976
4017
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
3977
4018
|
}, e.prototype._removeParent = function(t) {
|
|
3978
4019
|
var r = this._parentage;
|
|
3979
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
4020
|
+
r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
|
|
3980
4021
|
}, e.prototype.remove = function(t) {
|
|
3981
4022
|
var r = this._finalizers;
|
|
3982
|
-
r &&
|
|
4023
|
+
r && ht(r, t), t instanceof e && t._removeParent(this);
|
|
3983
4024
|
}, e.EMPTY = function() {
|
|
3984
4025
|
var t = new e();
|
|
3985
4026
|
return t.closed = !0, t;
|
|
3986
4027
|
}(), e;
|
|
3987
|
-
}(),
|
|
3988
|
-
function
|
|
3989
|
-
return e instanceof
|
|
3990
|
-
}
|
|
3991
|
-
function
|
|
3992
|
-
|
|
3993
|
-
}
|
|
3994
|
-
var
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
Promise: void 0,
|
|
3998
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
3999
|
-
useDeprecatedNextContext: !1
|
|
4000
|
-
}, Kn = {
|
|
4028
|
+
}(), Er = Ne.EMPTY;
|
|
4029
|
+
function xr(e) {
|
|
4030
|
+
return e instanceof Ne || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
4031
|
+
}
|
|
4032
|
+
function It(e) {
|
|
4033
|
+
G(e) ? e() : e.unsubscribe();
|
|
4034
|
+
}
|
|
4035
|
+
var to = {
|
|
4036
|
+
Promise: void 0
|
|
4037
|
+
}, ro = {
|
|
4001
4038
|
setTimeout: function(e, t) {
|
|
4002
4039
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
4003
4040
|
r[i - 2] = arguments[i];
|
|
4004
|
-
return setTimeout.apply(void 0,
|
|
4041
|
+
return setTimeout.apply(void 0, lt([e, t], ut(r)));
|
|
4005
4042
|
},
|
|
4006
4043
|
clearTimeout: function(e) {
|
|
4007
4044
|
return clearTimeout(e);
|
|
4008
4045
|
},
|
|
4009
4046
|
delegate: void 0
|
|
4010
4047
|
};
|
|
4011
|
-
function
|
|
4012
|
-
|
|
4048
|
+
function io(e) {
|
|
4049
|
+
ro.setTimeout(function() {
|
|
4013
4050
|
throw e;
|
|
4014
4051
|
});
|
|
4015
4052
|
}
|
|
4016
|
-
function
|
|
4053
|
+
function Nt() {
|
|
4017
4054
|
}
|
|
4018
4055
|
function Te(e) {
|
|
4019
4056
|
e();
|
|
4020
4057
|
}
|
|
4021
|
-
var
|
|
4022
|
-
|
|
4058
|
+
var wr = function(e) {
|
|
4059
|
+
me(t, e);
|
|
4023
4060
|
function t(r) {
|
|
4024
4061
|
var i = e.call(this) || this;
|
|
4025
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
4062
|
+
return i.isStopped = !1, r ? (i.destination = r, xr(r) && r.add(i)) : i.destination = so, i;
|
|
4026
4063
|
}
|
|
4027
4064
|
return t.create = function(r, i, n) {
|
|
4028
|
-
return new
|
|
4065
|
+
return new ct(r, i, n);
|
|
4029
4066
|
}, t.prototype.next = function(r) {
|
|
4030
4067
|
this.isStopped || this._next(r);
|
|
4031
4068
|
}, t.prototype.error = function(r) {
|
|
@@ -4049,11 +4086,7 @@ var Er = function(e) {
|
|
|
4049
4086
|
this.unsubscribe();
|
|
4050
4087
|
}
|
|
4051
4088
|
}, t;
|
|
4052
|
-
}(
|
|
4053
|
-
function Ve(e, t) {
|
|
4054
|
-
return to.call(e, t);
|
|
4055
|
-
}
|
|
4056
|
-
var ro = function() {
|
|
4089
|
+
}(Ne), no = function() {
|
|
4057
4090
|
function e(t) {
|
|
4058
4091
|
this.partialObserver = t;
|
|
4059
4092
|
}
|
|
@@ -4084,55 +4117,43 @@ var ro = function() {
|
|
|
4084
4117
|
ve(r);
|
|
4085
4118
|
}
|
|
4086
4119
|
}, e;
|
|
4087
|
-
}(),
|
|
4088
|
-
|
|
4120
|
+
}(), ct = function(e) {
|
|
4121
|
+
me(t, e);
|
|
4089
4122
|
function t(r, i, n) {
|
|
4090
4123
|
var o = e.call(this) || this, a;
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
};
|
|
4097
|
-
else {
|
|
4098
|
-
var s;
|
|
4099
|
-
o && xr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
4100
|
-
return o.unsubscribe();
|
|
4101
|
-
}, a = {
|
|
4102
|
-
next: r.next && Ve(r.next, s),
|
|
4103
|
-
error: r.error && Ve(r.error, s),
|
|
4104
|
-
complete: r.complete && Ve(r.complete, s)
|
|
4105
|
-
}) : a = r;
|
|
4106
|
-
}
|
|
4107
|
-
return o.destination = new ro(a), o;
|
|
4124
|
+
return G(r) || !r ? a = {
|
|
4125
|
+
next: r ?? void 0,
|
|
4126
|
+
error: i ?? void 0,
|
|
4127
|
+
complete: n ?? void 0
|
|
4128
|
+
} : a = r, o.destination = new no(a), o;
|
|
4108
4129
|
}
|
|
4109
4130
|
return t;
|
|
4110
|
-
}(
|
|
4131
|
+
}(wr);
|
|
4111
4132
|
function ve(e) {
|
|
4112
|
-
|
|
4133
|
+
io(e);
|
|
4113
4134
|
}
|
|
4114
|
-
function
|
|
4135
|
+
function oo(e) {
|
|
4115
4136
|
throw e;
|
|
4116
4137
|
}
|
|
4117
|
-
var
|
|
4138
|
+
var so = {
|
|
4118
4139
|
closed: !0,
|
|
4119
|
-
next:
|
|
4120
|
-
error:
|
|
4121
|
-
complete:
|
|
4122
|
-
},
|
|
4140
|
+
next: Nt,
|
|
4141
|
+
error: oo,
|
|
4142
|
+
complete: Nt
|
|
4143
|
+
}, ao = function() {
|
|
4123
4144
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4124
4145
|
}();
|
|
4125
|
-
function
|
|
4146
|
+
function uo(e) {
|
|
4126
4147
|
return e;
|
|
4127
4148
|
}
|
|
4128
|
-
function
|
|
4129
|
-
return e.length === 0 ?
|
|
4149
|
+
function lo(e) {
|
|
4150
|
+
return e.length === 0 ? uo : e.length === 1 ? e[0] : function(r) {
|
|
4130
4151
|
return e.reduce(function(i, n) {
|
|
4131
4152
|
return n(i);
|
|
4132
4153
|
}, r);
|
|
4133
4154
|
};
|
|
4134
4155
|
}
|
|
4135
|
-
var
|
|
4156
|
+
var Mt = function() {
|
|
4136
4157
|
function e(t) {
|
|
4137
4158
|
t && (this._subscribe = t);
|
|
4138
4159
|
}
|
|
@@ -4140,7 +4161,7 @@ var It = function() {
|
|
|
4140
4161
|
var r = new e();
|
|
4141
4162
|
return r.source = this, r.operator = t, r;
|
|
4142
4163
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
4143
|
-
var n = this, o =
|
|
4164
|
+
var n = this, o = co(t) ? t : new ct(t, r, i);
|
|
4144
4165
|
return Te(function() {
|
|
4145
4166
|
var a = n, s = a.operator, h = a.source;
|
|
4146
4167
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -4153,8 +4174,8 @@ var It = function() {
|
|
|
4153
4174
|
}
|
|
4154
4175
|
}, e.prototype.forEach = function(t, r) {
|
|
4155
4176
|
var i = this;
|
|
4156
|
-
return r =
|
|
4157
|
-
var a = new
|
|
4177
|
+
return r = Rt(r), new r(function(n, o) {
|
|
4178
|
+
var a = new ct({
|
|
4158
4179
|
next: function(s) {
|
|
4159
4180
|
try {
|
|
4160
4181
|
t(s);
|
|
@@ -4170,15 +4191,15 @@ var It = function() {
|
|
|
4170
4191
|
}, e.prototype._subscribe = function(t) {
|
|
4171
4192
|
var r;
|
|
4172
4193
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
4173
|
-
}, e.prototype[
|
|
4194
|
+
}, e.prototype[ao] = function() {
|
|
4174
4195
|
return this;
|
|
4175
4196
|
}, e.prototype.pipe = function() {
|
|
4176
4197
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
4177
4198
|
t[r] = arguments[r];
|
|
4178
|
-
return
|
|
4199
|
+
return lo(t)(this);
|
|
4179
4200
|
}, e.prototype.toPromise = function(t) {
|
|
4180
4201
|
var r = this;
|
|
4181
|
-
return t =
|
|
4202
|
+
return t = Rt(t), new t(function(i, n) {
|
|
4182
4203
|
var o;
|
|
4183
4204
|
r.subscribe(function(a) {
|
|
4184
4205
|
return o = a;
|
|
@@ -4192,32 +4213,32 @@ var It = function() {
|
|
|
4192
4213
|
return new e(t);
|
|
4193
4214
|
}, e;
|
|
4194
4215
|
}();
|
|
4195
|
-
function
|
|
4216
|
+
function Rt(e) {
|
|
4196
4217
|
var t;
|
|
4197
|
-
return (t = e ??
|
|
4218
|
+
return (t = e ?? to.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4198
4219
|
}
|
|
4199
|
-
function
|
|
4200
|
-
return e &&
|
|
4220
|
+
function ho(e) {
|
|
4221
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
4201
4222
|
}
|
|
4202
|
-
function
|
|
4203
|
-
return e && e instanceof
|
|
4223
|
+
function co(e) {
|
|
4224
|
+
return e && e instanceof wr || ho(e) && xr(e);
|
|
4204
4225
|
}
|
|
4205
|
-
var
|
|
4226
|
+
var fo = _r(function(e) {
|
|
4206
4227
|
return function() {
|
|
4207
4228
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4208
4229
|
};
|
|
4209
|
-
}),
|
|
4210
|
-
|
|
4230
|
+
}), Tr = function(e) {
|
|
4231
|
+
me(t, e);
|
|
4211
4232
|
function t() {
|
|
4212
4233
|
var r = e.call(this) || this;
|
|
4213
4234
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
4214
4235
|
}
|
|
4215
4236
|
return t.prototype.lift = function(r) {
|
|
4216
|
-
var i = new
|
|
4237
|
+
var i = new Dt(this, this);
|
|
4217
4238
|
return i.operator = r, i;
|
|
4218
4239
|
}, t.prototype._throwIfClosed = function() {
|
|
4219
4240
|
if (this.closed)
|
|
4220
|
-
throw new
|
|
4241
|
+
throw new fo();
|
|
4221
4242
|
}, t.prototype.next = function(r) {
|
|
4222
4243
|
var i = this;
|
|
4223
4244
|
Te(function() {
|
|
@@ -4225,7 +4246,7 @@ var ho = gr(function(e) {
|
|
|
4225
4246
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4226
4247
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
4227
4248
|
try {
|
|
4228
|
-
for (var a =
|
|
4249
|
+
for (var a = at(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
4229
4250
|
var h = s.value;
|
|
4230
4251
|
h.next(r);
|
|
4231
4252
|
}
|
|
@@ -4274,20 +4295,20 @@ var ho = gr(function(e) {
|
|
|
4274
4295
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
4275
4296
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4276
4297
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
4277
|
-
return o || a ?
|
|
4278
|
-
i.currentObservers = null,
|
|
4298
|
+
return o || a ? Er : (this.currentObservers = null, s.push(r), new Ne(function() {
|
|
4299
|
+
i.currentObservers = null, ht(s, r);
|
|
4279
4300
|
}));
|
|
4280
4301
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4281
4302
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
4282
4303
|
n ? r.error(o) : a && r.complete();
|
|
4283
4304
|
}, t.prototype.asObservable = function() {
|
|
4284
|
-
var r = new
|
|
4305
|
+
var r = new Mt();
|
|
4285
4306
|
return r.source = this, r;
|
|
4286
4307
|
}, t.create = function(r, i) {
|
|
4287
|
-
return new
|
|
4308
|
+
return new Dt(r, i);
|
|
4288
4309
|
}, t;
|
|
4289
|
-
}(
|
|
4290
|
-
|
|
4310
|
+
}(Mt), Dt = function(e) {
|
|
4311
|
+
me(t, e);
|
|
4291
4312
|
function t(r, i) {
|
|
4292
4313
|
var n = e.call(this) || this;
|
|
4293
4314
|
return n.destination = r, n.source = i, n;
|
|
@@ -4303,17 +4324,17 @@ var ho = gr(function(e) {
|
|
|
4303
4324
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
4304
4325
|
}, t.prototype._subscribe = function(r) {
|
|
4305
4326
|
var i, n;
|
|
4306
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
4327
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Er;
|
|
4307
4328
|
}, t;
|
|
4308
|
-
}(
|
|
4329
|
+
}(Tr), Sr = {
|
|
4309
4330
|
now: function() {
|
|
4310
|
-
return (
|
|
4331
|
+
return (Sr.delegate || Date).now();
|
|
4311
4332
|
},
|
|
4312
4333
|
delegate: void 0
|
|
4313
|
-
},
|
|
4314
|
-
|
|
4334
|
+
}, mo = function(e) {
|
|
4335
|
+
me(t, e);
|
|
4315
4336
|
function t(r, i, n) {
|
|
4316
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
4337
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Sr);
|
|
4317
4338
|
var o = e.call(this) || this;
|
|
4318
4339
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
4319
4340
|
}
|
|
@@ -4333,24 +4354,24 @@ var ho = gr(function(e) {
|
|
|
4333
4354
|
u && o.splice(0, u + 1);
|
|
4334
4355
|
}
|
|
4335
4356
|
}, t;
|
|
4336
|
-
}(
|
|
4337
|
-
const
|
|
4338
|
-
if (
|
|
4339
|
-
const r = new
|
|
4340
|
-
|
|
4357
|
+
}(Tr);
|
|
4358
|
+
const $t = [], Ut = {}, po = (e, t = 0) => {
|
|
4359
|
+
if ($t.indexOf(e) == -1) {
|
|
4360
|
+
const r = new mo(t);
|
|
4361
|
+
Ut[e] = r, $t.push(e);
|
|
4341
4362
|
}
|
|
4342
|
-
return
|
|
4363
|
+
return Ut[e];
|
|
4343
4364
|
};
|
|
4344
|
-
window.emWidgets = { topic:
|
|
4345
|
-
const
|
|
4365
|
+
window.emWidgets = { topic: po };
|
|
4366
|
+
const yo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4346
4367
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4347
|
-
function
|
|
4348
|
-
|
|
4368
|
+
function Gt(e, t) {
|
|
4369
|
+
dr(e, t);
|
|
4349
4370
|
}
|
|
4350
|
-
function
|
|
4351
|
-
|
|
4371
|
+
function go(e) {
|
|
4372
|
+
ne.set(e);
|
|
4352
4373
|
}
|
|
4353
|
-
const
|
|
4374
|
+
const Xe = {
|
|
4354
4375
|
en: {
|
|
4355
4376
|
expandLimits: "Limit history",
|
|
4356
4377
|
daily: "per day",
|
|
@@ -4581,80 +4602,80 @@ const We = {
|
|
|
4581
4602
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
4582
4603
|
}
|
|
4583
4604
|
};
|
|
4584
|
-
function
|
|
4585
|
-
|
|
4605
|
+
function bo(e) {
|
|
4606
|
+
kr(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4586
4607
|
}
|
|
4587
|
-
function
|
|
4608
|
+
function Ft(e, t, r) {
|
|
4588
4609
|
const i = e.slice();
|
|
4589
4610
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4590
4611
|
}
|
|
4591
|
-
function
|
|
4612
|
+
function vo(e) {
|
|
4592
4613
|
let t, r, i, n = (
|
|
4593
4614
|
/*$_*/
|
|
4594
4615
|
e[9]("expandLimits") + ""
|
|
4595
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4616
|
+
), o, a, s, h, u, l, c, f, p, y = vt(
|
|
4596
4617
|
/*lazyShowedHistoryArray*/
|
|
4597
4618
|
e[7]
|
|
4598
4619
|
), d = [];
|
|
4599
4620
|
for (let v = 0; v < y.length; v += 1)
|
|
4600
|
-
d[v] =
|
|
4621
|
+
d[v] = jt(Ft(e, y, v));
|
|
4601
4622
|
return {
|
|
4602
4623
|
c() {
|
|
4603
|
-
t =
|
|
4624
|
+
t = P("div"), r = P("div"), i = P("button"), o = R(n), a = Ze(), s = $e("svg"), h = $e("path"), u = $e("path"), l = Ze(), c = P("div");
|
|
4604
4625
|
for (let v = 0; v < d.length; v += 1)
|
|
4605
4626
|
d[v].c();
|
|
4606
4627
|
E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
|
|
4607
|
-
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"),
|
|
4628
|
+
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Qr(s, "fill", "var(--emw--color-primary, #22B04E)"), ge(
|
|
4608
4629
|
s,
|
|
4609
4630
|
"extended",
|
|
4610
4631
|
/*extended*/
|
|
4611
4632
|
e[8]
|
|
4612
4633
|
), E(i, "class", "ExpandButton " + (/*isDesktop*/
|
|
4613
4634
|
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
|
|
4614
|
-
e[10] ? "" : "Mobile") + " svelte-1wi0iai"),
|
|
4635
|
+
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ge(
|
|
4615
4636
|
c,
|
|
4616
4637
|
"hidden",
|
|
4617
4638
|
/*hidden*/
|
|
4618
4639
|
e[5]
|
|
4619
4640
|
), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
|
|
4620
4641
|
},
|
|
4621
|
-
m(v,
|
|
4622
|
-
z(v, t,
|
|
4623
|
-
for (let
|
|
4624
|
-
d[
|
|
4625
|
-
f || (p =
|
|
4642
|
+
m(v, H) {
|
|
4643
|
+
z(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
|
|
4644
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4645
|
+
d[g] && d[g].m(c, null);
|
|
4646
|
+
f || (p = Xr(
|
|
4626
4647
|
i,
|
|
4627
4648
|
"click",
|
|
4628
4649
|
/*toggleHistoryDisplayArea*/
|
|
4629
4650
|
e[11]
|
|
4630
4651
|
), f = !0);
|
|
4631
4652
|
},
|
|
4632
|
-
p(v,
|
|
4633
|
-
if (
|
|
4653
|
+
p(v, H) {
|
|
4654
|
+
if (H[0] & /*$_*/
|
|
4634
4655
|
512 && n !== (n = /*$_*/
|
|
4635
|
-
v[9]("expandLimits") + "") && j(o, n),
|
|
4636
|
-
256 &&
|
|
4656
|
+
v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
|
|
4657
|
+
256 && ge(
|
|
4637
4658
|
s,
|
|
4638
4659
|
"extended",
|
|
4639
4660
|
/*extended*/
|
|
4640
4661
|
v[8]
|
|
4641
|
-
),
|
|
4662
|
+
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4642
4663
|
650) {
|
|
4643
|
-
y =
|
|
4664
|
+
y = vt(
|
|
4644
4665
|
/*lazyShowedHistoryArray*/
|
|
4645
4666
|
v[7]
|
|
4646
4667
|
);
|
|
4647
|
-
let
|
|
4648
|
-
for (
|
|
4649
|
-
const S =
|
|
4650
|
-
d[
|
|
4668
|
+
let g;
|
|
4669
|
+
for (g = 0; g < y.length; g += 1) {
|
|
4670
|
+
const S = Ft(v, y, g);
|
|
4671
|
+
d[g] ? d[g].p(S, H) : (d[g] = jt(S), d[g].c(), d[g].m(c, null));
|
|
4651
4672
|
}
|
|
4652
|
-
for (;
|
|
4653
|
-
d[
|
|
4673
|
+
for (; g < d.length; g += 1)
|
|
4674
|
+
d[g].d(1);
|
|
4654
4675
|
d.length = y.length;
|
|
4655
4676
|
}
|
|
4656
|
-
|
|
4657
|
-
32 &&
|
|
4677
|
+
H[0] & /*hidden*/
|
|
4678
|
+
32 && ge(
|
|
4658
4679
|
c,
|
|
4659
4680
|
"hidden",
|
|
4660
4681
|
/*hidden*/
|
|
@@ -4662,14 +4683,14 @@ function bo(e) {
|
|
|
4662
4683
|
);
|
|
4663
4684
|
},
|
|
4664
4685
|
d(v) {
|
|
4665
|
-
v && k(t),
|
|
4686
|
+
v && k(t), zr(d, v), f = !1, p();
|
|
4666
4687
|
}
|
|
4667
4688
|
};
|
|
4668
4689
|
}
|
|
4669
|
-
function
|
|
4670
|
-
return { c:
|
|
4690
|
+
function _o(e) {
|
|
4691
|
+
return { c: O, m: O, p: O, d: O };
|
|
4671
4692
|
}
|
|
4672
|
-
function
|
|
4693
|
+
function Eo(e) {
|
|
4673
4694
|
let t, r = (
|
|
4674
4695
|
/*lang*/
|
|
4675
4696
|
(e[0] ? (
|
|
@@ -4679,10 +4700,10 @@ function vo(e) {
|
|
|
4679
4700
|
), i;
|
|
4680
4701
|
return {
|
|
4681
4702
|
c() {
|
|
4682
|
-
t =
|
|
4703
|
+
t = P("p"), i = R(r), E(t, "class", "svelte-1wi0iai");
|
|
4683
4704
|
},
|
|
4684
4705
|
m(n, o) {
|
|
4685
|
-
z(n, t, o),
|
|
4706
|
+
z(n, t, o), x(t, i);
|
|
4686
4707
|
},
|
|
4687
4708
|
p(n, o) {
|
|
4688
4709
|
o[0] & /*lang, $_*/
|
|
@@ -4697,7 +4718,7 @@ function vo(e) {
|
|
|
4697
4718
|
}
|
|
4698
4719
|
};
|
|
4699
4720
|
}
|
|
4700
|
-
function
|
|
4721
|
+
function xo(e) {
|
|
4701
4722
|
let t, r, i, n = (
|
|
4702
4723
|
/*history*/
|
|
4703
4724
|
e[37].type + ""
|
|
@@ -4710,10 +4731,10 @@ function _o(e) {
|
|
|
4710
4731
|
), c;
|
|
4711
4732
|
return {
|
|
4712
4733
|
c() {
|
|
4713
|
-
t =
|
|
4734
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4714
4735
|
},
|
|
4715
4736
|
m(f, p) {
|
|
4716
|
-
z(f, t, p),
|
|
4737
|
+
z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4717
4738
|
},
|
|
4718
4739
|
p(f, p) {
|
|
4719
4740
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4729,7 +4750,7 @@ function _o(e) {
|
|
|
4729
4750
|
}
|
|
4730
4751
|
};
|
|
4731
4752
|
}
|
|
4732
|
-
function
|
|
4753
|
+
function wo(e) {
|
|
4733
4754
|
let t, r, i, n = (
|
|
4734
4755
|
/*history*/
|
|
4735
4756
|
e[37].type + ""
|
|
@@ -4742,10 +4763,10 @@ function xo(e) {
|
|
|
4742
4763
|
), c;
|
|
4743
4764
|
return {
|
|
4744
4765
|
c() {
|
|
4745
|
-
t =
|
|
4766
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4746
4767
|
},
|
|
4747
4768
|
m(f, p) {
|
|
4748
|
-
z(f, t, p),
|
|
4769
|
+
z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4749
4770
|
},
|
|
4750
4771
|
p(f, p) {
|
|
4751
4772
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4761,7 +4782,7 @@ function xo(e) {
|
|
|
4761
4782
|
}
|
|
4762
4783
|
};
|
|
4763
4784
|
}
|
|
4764
|
-
function
|
|
4785
|
+
function jt(e) {
|
|
4765
4786
|
let t, r, i, n = (
|
|
4766
4787
|
/*index*/
|
|
4767
4788
|
e[39]
|
|
@@ -4769,7 +4790,7 @@ function Gt(e) {
|
|
|
4769
4790
|
function o(l, c) {
|
|
4770
4791
|
return (
|
|
4771
4792
|
/*history*/
|
|
4772
|
-
l[37].removed ?
|
|
4793
|
+
l[37].removed ? wo : xo
|
|
4773
4794
|
);
|
|
4774
4795
|
}
|
|
4775
4796
|
let a = o(e), s = a(e);
|
|
@@ -4782,18 +4803,18 @@ function Gt(e) {
|
|
|
4782
4803
|
);
|
|
4783
4804
|
return {
|
|
4784
4805
|
c() {
|
|
4785
|
-
t =
|
|
4806
|
+
t = P("div"), s.c(), r = Ze(), E(t, "class", i = gt(
|
|
4786
4807
|
/*index*/
|
|
4787
4808
|
e[39] > +/*numberofentries*/
|
|
4788
4809
|
e[1] ? "LimitContainer" : ""
|
|
4789
4810
|
) + " svelte-1wi0iai");
|
|
4790
4811
|
},
|
|
4791
4812
|
m(l, c) {
|
|
4792
|
-
z(l, t, c), s.m(t, null),
|
|
4813
|
+
z(l, t, c), s.m(t, null), x(t, r), h();
|
|
4793
4814
|
},
|
|
4794
4815
|
p(l, c) {
|
|
4795
4816
|
e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
4796
|
-
2 && i !== (i =
|
|
4817
|
+
2 && i !== (i = gt(
|
|
4797
4818
|
/*index*/
|
|
4798
4819
|
e[39] > +/*numberofentries*/
|
|
4799
4820
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4806,21 +4827,21 @@ function Gt(e) {
|
|
|
4806
4827
|
}
|
|
4807
4828
|
};
|
|
4808
4829
|
}
|
|
4809
|
-
function
|
|
4830
|
+
function To(e) {
|
|
4810
4831
|
let t;
|
|
4811
4832
|
function r(o, a) {
|
|
4812
4833
|
return (
|
|
4813
4834
|
/*hasErrors*/
|
|
4814
|
-
o[6] ?
|
|
4835
|
+
o[6] ? Eo : (
|
|
4815
4836
|
/*isLoading*/
|
|
4816
|
-
o[4] ?
|
|
4837
|
+
o[4] ? _o : vo
|
|
4817
4838
|
)
|
|
4818
4839
|
);
|
|
4819
4840
|
}
|
|
4820
4841
|
let i = r(e), n = i(e);
|
|
4821
4842
|
return {
|
|
4822
4843
|
c() {
|
|
4823
|
-
t =
|
|
4844
|
+
t = P("div"), n.c(), E(t, "class", "svelte-1wi0iai");
|
|
4824
4845
|
},
|
|
4825
4846
|
m(o, a) {
|
|
4826
4847
|
z(o, t, a), n.m(t, null), e[23](t);
|
|
@@ -4828,50 +4849,50 @@ function Eo(e) {
|
|
|
4828
4849
|
p(o, a) {
|
|
4829
4850
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4830
4851
|
},
|
|
4831
|
-
i:
|
|
4832
|
-
o:
|
|
4852
|
+
i: O,
|
|
4853
|
+
o: O,
|
|
4833
4854
|
d(o) {
|
|
4834
4855
|
o && k(t), n.d(), e[23](null);
|
|
4835
4856
|
}
|
|
4836
4857
|
};
|
|
4837
4858
|
}
|
|
4838
|
-
function
|
|
4859
|
+
function So(e, t, r) {
|
|
4839
4860
|
let i;
|
|
4840
|
-
|
|
4841
|
-
let n = window.navigator.userAgent, o = !
|
|
4842
|
-
const
|
|
4843
|
-
fetch(
|
|
4844
|
-
Object.keys(
|
|
4845
|
-
|
|
4861
|
+
jr(e, Jn, (m) => r(9, i = m));
|
|
4862
|
+
let n = window.navigator.userAgent, o = !yo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), D = parseInt(c, 10), N = !1, $ = !0, V = [], pe = [], de = !0, Me = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4863
|
+
const Ar = () => {
|
|
4864
|
+
fetch(H).then((w) => w.json()).then((w) => {
|
|
4865
|
+
Object.keys(w).forEach((I) => {
|
|
4866
|
+
Gt(I, w[I]);
|
|
4846
4867
|
});
|
|
4847
|
-
}).catch((
|
|
4848
|
-
console.log(
|
|
4868
|
+
}).catch((w) => {
|
|
4869
|
+
console.log(w);
|
|
4849
4870
|
});
|
|
4850
4871
|
};
|
|
4851
|
-
Object.keys(
|
|
4852
|
-
|
|
4872
|
+
Object.keys(Xe).forEach((m) => {
|
|
4873
|
+
Gt(m, Xe[m]);
|
|
4853
4874
|
});
|
|
4854
|
-
const
|
|
4855
|
-
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`,
|
|
4856
|
-
|
|
4875
|
+
const Pr = () => {
|
|
4876
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, w = new URL(`${u}${m}`);
|
|
4877
|
+
w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
|
|
4857
4878
|
let I = {
|
|
4858
4879
|
method: "GET",
|
|
4859
4880
|
headers: { "X-SessionID": h }
|
|
4860
4881
|
};
|
|
4861
|
-
fetch(
|
|
4882
|
+
fetch(w.href, I).then((A) => {
|
|
4862
4883
|
if (A.status >= 300)
|
|
4863
|
-
throw r(4,
|
|
4884
|
+
throw r(4, $ = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4864
4885
|
return A.json();
|
|
4865
4886
|
}).then(
|
|
4866
4887
|
(A) => {
|
|
4867
|
-
A.length && (V = Hr(A), r(7, pe = V.slice(0,
|
|
4888
|
+
A.length && (V = Hr(A), r(7, pe = V.slice(0, D))), r(4, $ = !1);
|
|
4868
4889
|
},
|
|
4869
4890
|
(A) => {
|
|
4870
4891
|
console.error("There was an error", A), r(6, N = !0);
|
|
4871
4892
|
}
|
|
4872
4893
|
);
|
|
4873
4894
|
}, Hr = (m) => {
|
|
4874
|
-
const
|
|
4895
|
+
const w = !!Xe[a];
|
|
4875
4896
|
return m.map((A) => {
|
|
4876
4897
|
let U = {
|
|
4877
4898
|
amount: "",
|
|
@@ -4881,82 +4902,82 @@ function wo(e, t, r) {
|
|
|
4881
4902
|
type: "",
|
|
4882
4903
|
removed: !1
|
|
4883
4904
|
};
|
|
4884
|
-
return U.amount =
|
|
4905
|
+
return U.amount = Br(A), U.currency = w ? se[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
|
|
4885
4906
|
});
|
|
4886
|
-
},
|
|
4887
|
-
let
|
|
4907
|
+
}, Br = (m) => {
|
|
4908
|
+
let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4888
4909
|
if (!p) {
|
|
4889
|
-
let Ur =
|
|
4890
|
-
return `${
|
|
4910
|
+
let Ur = se[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4911
|
+
return `${w}${Ur}`;
|
|
4891
4912
|
}
|
|
4892
4913
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4893
|
-
const I =
|
|
4914
|
+
const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4894
4915
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4895
|
-
const [
|
|
4896
|
-
let [
|
|
4897
|
-
return
|
|
4916
|
+
const [Dr, Re] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4917
|
+
let [De, $r] = ye.split(".");
|
|
4918
|
+
return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ye = `${De}${Re}${$r}`, w = w.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Re)[0]).replace(
|
|
4898
4919
|
U,
|
|
4899
|
-
ye.split(
|
|
4900
|
-
),
|
|
4901
|
-
},
|
|
4902
|
-
r(5, de = !de), r(8,
|
|
4920
|
+
ye.split(Re)[1]
|
|
4921
|
+
), w;
|
|
4922
|
+
}, Or = () => {
|
|
4923
|
+
r(5, de = !de), r(8, Me = !Me);
|
|
4903
4924
|
};
|
|
4904
|
-
let
|
|
4905
|
-
m.forEach((
|
|
4906
|
-
|
|
4925
|
+
let dt = new IntersectionObserver((m) => {
|
|
4926
|
+
m.forEach((w) => {
|
|
4927
|
+
w.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, D)));
|
|
4907
4928
|
});
|
|
4908
4929
|
});
|
|
4909
4930
|
const Cr = () => {
|
|
4910
|
-
|
|
4911
|
-
},
|
|
4931
|
+
dt.observe(S[S.length - 1]);
|
|
4932
|
+
}, Ir = () => {
|
|
4912
4933
|
if (!f)
|
|
4913
4934
|
return;
|
|
4914
4935
|
let m = {};
|
|
4915
|
-
f.split(",").forEach((
|
|
4916
|
-
let I =
|
|
4936
|
+
f.split(",").forEach((w) => {
|
|
4937
|
+
let I = w.split(":");
|
|
4917
4938
|
m[I[0].trim()] = I[1].trim();
|
|
4918
|
-
}),
|
|
4919
|
-
},
|
|
4920
|
-
|
|
4939
|
+
}), se = { ...se, ...m };
|
|
4940
|
+
}, Nr = () => {
|
|
4941
|
+
go(a);
|
|
4921
4942
|
};
|
|
4922
|
-
|
|
4923
|
-
|
|
4943
|
+
qr(() => () => {
|
|
4944
|
+
dt.unobserve(S[S.length - 1]);
|
|
4924
4945
|
});
|
|
4925
|
-
function
|
|
4926
|
-
|
|
4927
|
-
S[
|
|
4946
|
+
function Mr(m, w) {
|
|
4947
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4948
|
+
S[w] = m, r(3, S);
|
|
4928
4949
|
});
|
|
4929
4950
|
}
|
|
4930
|
-
function
|
|
4931
|
-
|
|
4932
|
-
|
|
4951
|
+
function Rr(m) {
|
|
4952
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4953
|
+
g = m, r(2, g);
|
|
4933
4954
|
});
|
|
4934
4955
|
}
|
|
4935
4956
|
return e.$$set = (m) => {
|
|
4936
|
-
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21,
|
|
4957
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4937
4958
|
}, e.$$.update = () => {
|
|
4938
4959
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4939
|
-
65536 && f &&
|
|
4940
|
-
61440 && u && s && h && l &&
|
|
4941
|
-
56 && S[0] &&
|
|
4942
|
-
1 && a &&
|
|
4943
|
-
262148 && y &&
|
|
4944
|
-
524292 && d &&
|
|
4945
|
-
1048580 && v &&
|
|
4946
|
-
2097156 &&
|
|
4960
|
+
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4961
|
+
61440 && u && s && h && l && Pr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4962
|
+
56 && S[0] && !$ && !de && Cr(), e.$$.dirty[0] & /*lang*/
|
|
4963
|
+
1 && a && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4964
|
+
262148 && y && g && qn(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4965
|
+
524292 && d && g && Kn(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4966
|
+
1048580 && v && g && eo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4967
|
+
2097156 && H && g && Ar();
|
|
4947
4968
|
}, [
|
|
4948
4969
|
a,
|
|
4949
4970
|
c,
|
|
4950
|
-
|
|
4971
|
+
g,
|
|
4951
4972
|
S,
|
|
4952
|
-
|
|
4973
|
+
$,
|
|
4953
4974
|
de,
|
|
4954
4975
|
N,
|
|
4955
4976
|
pe,
|
|
4956
|
-
|
|
4977
|
+
Me,
|
|
4957
4978
|
i,
|
|
4958
4979
|
o,
|
|
4959
|
-
|
|
4980
|
+
Or,
|
|
4960
4981
|
s,
|
|
4961
4982
|
h,
|
|
4962
4983
|
u,
|
|
@@ -4966,19 +4987,19 @@ function wo(e, t, r) {
|
|
|
4966
4987
|
y,
|
|
4967
4988
|
d,
|
|
4968
4989
|
v,
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4990
|
+
H,
|
|
4991
|
+
Mr,
|
|
4992
|
+
Rr
|
|
4972
4993
|
];
|
|
4973
4994
|
}
|
|
4974
|
-
class Lr extends
|
|
4995
|
+
class Lr extends ai {
|
|
4975
4996
|
constructor(t) {
|
|
4976
|
-
super(),
|
|
4997
|
+
super(), oi(
|
|
4977
4998
|
this,
|
|
4978
4999
|
t,
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
5000
|
+
So,
|
|
5001
|
+
To,
|
|
5002
|
+
Vt,
|
|
4982
5003
|
{
|
|
4983
5004
|
lang: 0,
|
|
4984
5005
|
userid: 12,
|
|
@@ -4993,7 +5014,7 @@ class Lr extends si {
|
|
|
4993
5014
|
mbsource: 20,
|
|
4994
5015
|
translationurl: 21
|
|
4995
5016
|
},
|
|
4996
|
-
|
|
5017
|
+
bo,
|
|
4997
5018
|
[-1, -1]
|
|
4998
5019
|
);
|
|
4999
5020
|
}
|
|
@@ -5001,130 +5022,130 @@ class Lr extends si {
|
|
|
5001
5022
|
return this.$$.ctx[0];
|
|
5002
5023
|
}
|
|
5003
5024
|
set lang(t) {
|
|
5004
|
-
this.$$set({ lang: t }),
|
|
5025
|
+
this.$$set({ lang: t }), C();
|
|
5005
5026
|
}
|
|
5006
5027
|
get userid() {
|
|
5007
5028
|
return this.$$.ctx[12];
|
|
5008
5029
|
}
|
|
5009
5030
|
set userid(t) {
|
|
5010
|
-
this.$$set({ userid: t }),
|
|
5031
|
+
this.$$set({ userid: t }), C();
|
|
5011
5032
|
}
|
|
5012
5033
|
get session() {
|
|
5013
5034
|
return this.$$.ctx[13];
|
|
5014
5035
|
}
|
|
5015
5036
|
set session(t) {
|
|
5016
|
-
this.$$set({ session: t }),
|
|
5037
|
+
this.$$set({ session: t }), C();
|
|
5017
5038
|
}
|
|
5018
5039
|
get endpoint() {
|
|
5019
5040
|
return this.$$.ctx[14];
|
|
5020
5041
|
}
|
|
5021
5042
|
set endpoint(t) {
|
|
5022
|
-
this.$$set({ endpoint: t }),
|
|
5043
|
+
this.$$set({ endpoint: t }), C();
|
|
5023
5044
|
}
|
|
5024
5045
|
get apiversion() {
|
|
5025
5046
|
return this.$$.ctx[15];
|
|
5026
5047
|
}
|
|
5027
5048
|
set apiversion(t) {
|
|
5028
|
-
this.$$set({ apiversion: t }),
|
|
5049
|
+
this.$$set({ apiversion: t }), C();
|
|
5029
5050
|
}
|
|
5030
5051
|
get numberofentries() {
|
|
5031
5052
|
return this.$$.ctx[1];
|
|
5032
5053
|
}
|
|
5033
5054
|
set numberofentries(t) {
|
|
5034
|
-
this.$$set({ numberofentries: t }),
|
|
5055
|
+
this.$$set({ numberofentries: t }), C();
|
|
5035
5056
|
}
|
|
5036
5057
|
get customcurrencysymbols() {
|
|
5037
5058
|
return this.$$.ctx[16];
|
|
5038
5059
|
}
|
|
5039
5060
|
set customcurrencysymbols(t) {
|
|
5040
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
5061
|
+
this.$$set({ customcurrencysymbols: t }), C();
|
|
5041
5062
|
}
|
|
5042
5063
|
get limitformat() {
|
|
5043
5064
|
return this.$$.ctx[17];
|
|
5044
5065
|
}
|
|
5045
5066
|
set limitformat(t) {
|
|
5046
|
-
this.$$set({ limitformat: t }),
|
|
5067
|
+
this.$$set({ limitformat: t }), C();
|
|
5047
5068
|
}
|
|
5048
5069
|
get clientstyling() {
|
|
5049
5070
|
return this.$$.ctx[18];
|
|
5050
5071
|
}
|
|
5051
5072
|
set clientstyling(t) {
|
|
5052
|
-
this.$$set({ clientstyling: t }),
|
|
5073
|
+
this.$$set({ clientstyling: t }), C();
|
|
5053
5074
|
}
|
|
5054
5075
|
get clientstylingurl() {
|
|
5055
5076
|
return this.$$.ctx[19];
|
|
5056
5077
|
}
|
|
5057
5078
|
set clientstylingurl(t) {
|
|
5058
|
-
this.$$set({ clientstylingurl: t }),
|
|
5079
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5059
5080
|
}
|
|
5060
5081
|
get mbsource() {
|
|
5061
5082
|
return this.$$.ctx[20];
|
|
5062
5083
|
}
|
|
5063
5084
|
set mbsource(t) {
|
|
5064
|
-
this.$$set({ mbsource: t }),
|
|
5085
|
+
this.$$set({ mbsource: t }), C();
|
|
5065
5086
|
}
|
|
5066
5087
|
get translationurl() {
|
|
5067
5088
|
return this.$$.ctx[21];
|
|
5068
5089
|
}
|
|
5069
5090
|
set translationurl(t) {
|
|
5070
|
-
this.$$set({ translationurl: t }),
|
|
5091
|
+
this.$$set({ translationurl: t }), C();
|
|
5071
5092
|
}
|
|
5072
5093
|
}
|
|
5073
|
-
|
|
5074
|
-
const
|
|
5094
|
+
si(Lr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5095
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5075
5096
|
__proto__: null,
|
|
5076
5097
|
default: Lr
|
|
5077
5098
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5078
5099
|
export {
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5100
|
+
ne as $,
|
|
5101
|
+
Io as A,
|
|
5102
|
+
No as B,
|
|
5103
|
+
Xr as C,
|
|
5104
|
+
R as D,
|
|
5105
|
+
Do as E,
|
|
5106
|
+
Se as F,
|
|
5107
|
+
Ro as G,
|
|
5108
|
+
Oo as H,
|
|
5109
|
+
Mo as I,
|
|
5110
|
+
Ye as J,
|
|
5111
|
+
Qr as K,
|
|
5112
|
+
$e as L,
|
|
5113
|
+
$o as M,
|
|
5114
|
+
qn as N,
|
|
5115
|
+
Kn as O,
|
|
5116
|
+
eo as P,
|
|
5117
|
+
si as Q,
|
|
5118
|
+
Jn as R,
|
|
5119
|
+
ai as S,
|
|
5120
|
+
Bo as T,
|
|
5121
|
+
Fo as U,
|
|
5122
|
+
Co as V,
|
|
5123
|
+
ge as W,
|
|
5124
|
+
jo as X,
|
|
5125
|
+
dr as a,
|
|
5126
|
+
kr as b,
|
|
5127
|
+
ti as c,
|
|
5128
|
+
k as d,
|
|
5129
|
+
Uo as e,
|
|
5130
|
+
C as f,
|
|
5110
5131
|
z as g,
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5132
|
+
x as h,
|
|
5133
|
+
oi as i,
|
|
5134
|
+
P as j,
|
|
5135
|
+
Ze as k,
|
|
5136
|
+
jr as l,
|
|
5137
|
+
yo as m,
|
|
5138
|
+
E as n,
|
|
5139
|
+
qr as o,
|
|
5140
|
+
Lo as p,
|
|
5141
|
+
Ho as q,
|
|
5142
|
+
Ao as r,
|
|
5143
|
+
Vt as s,
|
|
5144
|
+
Go as t,
|
|
5145
|
+
Po as u,
|
|
5146
|
+
O as v,
|
|
5147
|
+
vt as w,
|
|
5148
|
+
zr as x,
|
|
5149
|
+
re as y,
|
|
5150
|
+
j as z
|
|
5130
5151
|
};
|