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