@everymatrix/player-account-gaming-limits-popup-2 1.87.25 → 1.87.27
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/PlayerAccountGamingLimitsPopup2-52z7cHpJ.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsPopup2-bF0YcIxH.js → PlayerAccountGamingLimitsPopup2-CXKQ-ePG.js} +1208 -1181
- package/components/{PlayerAccountGamingLimitsPopup2-CwinXA-j.js → PlayerAccountGamingLimitsPopup2-Cs8_A-vQ.js} +1243 -1215
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup2-D_kAGu6b.cjs +0 -10
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Sn = Object.defineProperty, Bn = Object.defineProperties;
|
|
2
|
+
var Ln = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Lt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
4
|
+
var An = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var rt = (e, t, n) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, At = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
An.call(t, n) && rt(e, n, t[n]);
|
|
8
8
|
if (Lt)
|
|
9
|
-
for (var
|
|
10
|
-
|
|
9
|
+
for (var n of Lt(t))
|
|
10
|
+
In.call(t, n) && rt(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var Q = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, It = (e, t) => Bn(e, Ln(t));
|
|
13
|
+
var Q = (e, t, n) => (rt(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var kt = (e, t, n) => new Promise((i, r) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
s(
|
|
17
|
+
s(n.next(u));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
r(l);
|
|
20
20
|
}
|
|
21
21
|
}, a = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
s(
|
|
23
|
+
s(n.throw(u));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
r(l);
|
|
26
26
|
}
|
|
27
|
-
}, s = (u) => u.done ?
|
|
28
|
-
s((
|
|
27
|
+
}, s = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(o, a);
|
|
28
|
+
s((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function te() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Yt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ct() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ce(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Yt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function wt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Jt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function kn(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Qt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
|
-
for (const
|
|
53
|
-
|
|
54
|
-
return
|
|
52
|
+
for (const i of t)
|
|
53
|
+
i(void 0);
|
|
54
|
+
return te;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
57
|
-
return
|
|
56
|
+
const n = e.subscribe(...t);
|
|
57
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function Cn(e, t, n) {
|
|
60
|
+
e.$$.on_destroy.push(Qt(t, n));
|
|
61
61
|
}
|
|
62
62
|
function f(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const
|
|
67
|
-
if (!
|
|
68
|
-
const r =
|
|
69
|
-
r.id = t, r.textContent =
|
|
65
|
+
function Hn(e, t, n) {
|
|
66
|
+
const i = Nn(e);
|
|
67
|
+
if (!i.getElementById(t)) {
|
|
68
|
+
const r = g("style");
|
|
69
|
+
r.id = t, r.textContent = n, On(i, r);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Nn(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,154 +79,154 @@ function Hi(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function On(e, t) {
|
|
83
83
|
return f(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
e.insertBefore(t,
|
|
89
|
+
function x(e, t, n) {
|
|
90
|
+
e.insertBefore(t, n || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function E(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function g(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Z(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function S(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function M() {
|
|
105
|
+
return S(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
return e.addEventListener(t,
|
|
107
|
+
function W(e, t, n, i) {
|
|
108
|
+
return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
|
|
109
109
|
}
|
|
110
|
-
function h(e, t,
|
|
111
|
-
|
|
110
|
+
function h(e, t, n) {
|
|
111
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Kt(e) {
|
|
114
114
|
return e === "" ? null : +e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Mn(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function C(e, t) {
|
|
120
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
121
121
|
t);
|
|
122
122
|
}
|
|
123
123
|
function Ht(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
126
|
+
function Oe(e, t, n, i) {
|
|
127
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
e.classList.toggle(t, !!
|
|
129
|
+
function ze(e, t, n) {
|
|
130
|
+
e.classList.toggle(t, !!n);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Dn(e) {
|
|
133
133
|
const t = {};
|
|
134
134
|
return e.childNodes.forEach(
|
|
135
135
|
/** @param {Element} node */
|
|
136
|
-
(
|
|
137
|
-
t[
|
|
136
|
+
(n) => {
|
|
137
|
+
t[n.slot || "default"] = !0;
|
|
138
138
|
}
|
|
139
139
|
), t;
|
|
140
140
|
}
|
|
141
|
-
let
|
|
142
|
-
function
|
|
143
|
-
|
|
141
|
+
let De;
|
|
142
|
+
function Me(e) {
|
|
143
|
+
De = e;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
if (!
|
|
145
|
+
function Rn() {
|
|
146
|
+
if (!De)
|
|
147
147
|
throw new Error("Function called outside component initialization");
|
|
148
|
-
return
|
|
148
|
+
return De;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function Un(e) {
|
|
151
|
+
Rn().$$.on_mount.push(e);
|
|
152
152
|
}
|
|
153
|
-
const
|
|
154
|
-
let
|
|
155
|
-
const
|
|
156
|
-
let
|
|
157
|
-
function
|
|
158
|
-
|
|
153
|
+
const ve = [], _e = [];
|
|
154
|
+
let xe = [];
|
|
155
|
+
const Nt = [], jn = /* @__PURE__ */ Promise.resolve();
|
|
156
|
+
let ft = !1;
|
|
157
|
+
function Gn() {
|
|
158
|
+
ft || (ft = !0, jn.then(ee));
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
160
|
+
function pt(e) {
|
|
161
|
+
xe.push(e);
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const ot = /* @__PURE__ */ new Set();
|
|
164
164
|
let ge = 0;
|
|
165
|
-
function
|
|
165
|
+
function ee() {
|
|
166
166
|
if (ge !== 0)
|
|
167
167
|
return;
|
|
168
|
-
const e =
|
|
168
|
+
const e = De;
|
|
169
169
|
do {
|
|
170
170
|
try {
|
|
171
|
-
for (; ge <
|
|
172
|
-
const t =
|
|
173
|
-
ge++,
|
|
171
|
+
for (; ge < ve.length; ) {
|
|
172
|
+
const t = ve[ge];
|
|
173
|
+
ge++, Me(t), $n(t.$$);
|
|
174
174
|
}
|
|
175
175
|
} catch (t) {
|
|
176
|
-
throw
|
|
176
|
+
throw ve.length = 0, ge = 0, t;
|
|
177
177
|
}
|
|
178
|
-
for (
|
|
179
|
-
|
|
180
|
-
for (let t = 0; t <
|
|
181
|
-
const
|
|
182
|
-
|
|
178
|
+
for (Me(null), ve.length = 0, ge = 0; _e.length; )
|
|
179
|
+
_e.pop()();
|
|
180
|
+
for (let t = 0; t < xe.length; t += 1) {
|
|
181
|
+
const n = xe[t];
|
|
182
|
+
ot.has(n) || (ot.add(n), n());
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
} while (
|
|
186
|
-
for (;
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
xe.length = 0;
|
|
185
|
+
} while (ve.length);
|
|
186
|
+
for (; Nt.length; )
|
|
187
|
+
Nt.pop()();
|
|
188
|
+
ft = !1, ot.clear(), Me(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function $n(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), ce(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
194
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pt);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const t = [],
|
|
199
|
-
|
|
197
|
+
function zn(e) {
|
|
198
|
+
const t = [], n = [];
|
|
199
|
+
xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), xe = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const Fn = /* @__PURE__ */ new Set();
|
|
202
|
+
function Vn(e, t) {
|
|
203
|
+
e && e.i && (Fn.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
const { fragment:
|
|
207
|
-
|
|
208
|
-
const o = e.$$.on_mount.map(
|
|
205
|
+
function Xn(e, t, n) {
|
|
206
|
+
const { fragment: i, after_update: r } = e.$$;
|
|
207
|
+
i && i.m(t, n), pt(() => {
|
|
208
|
+
const o = e.$$.on_mount.map(Yt).filter(wt);
|
|
209
209
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
|
|
210
|
-
}), r.forEach(
|
|
210
|
+
}), r.forEach(pt);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const
|
|
214
|
-
|
|
212
|
+
function qn(e, t) {
|
|
213
|
+
const n = e.$$;
|
|
214
|
+
n.fragment !== null && (zn(n.after_update), ce(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
e.$$.dirty[0] === -1 && (
|
|
216
|
+
function Wn(e, t) {
|
|
217
|
+
e.$$.dirty[0] === -1 && (ve.push(e), Gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
const u =
|
|
221
|
-
|
|
219
|
+
function Zn(e, t, n, i, r, o, a = null, s = [-1]) {
|
|
220
|
+
const u = De;
|
|
221
|
+
Me(e);
|
|
222
222
|
const l = e.$$ = {
|
|
223
223
|
fragment: null,
|
|
224
224
|
ctx: [],
|
|
225
225
|
// state
|
|
226
226
|
props: o,
|
|
227
|
-
update:
|
|
227
|
+
update: te,
|
|
228
228
|
not_equal: r,
|
|
229
|
-
bound:
|
|
229
|
+
bound: Ct(),
|
|
230
230
|
// lifecycle
|
|
231
231
|
on_mount: [],
|
|
232
232
|
on_destroy: [],
|
|
@@ -235,29 +235,29 @@ function qi(e, t, i, n, r, o, a = null, s = [-1]) {
|
|
|
235
235
|
after_update: [],
|
|
236
236
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
237
237
|
// everything else
|
|
238
|
-
callbacks:
|
|
238
|
+
callbacks: Ct(),
|
|
239
239
|
dirty: s,
|
|
240
240
|
skip_bound: !1,
|
|
241
241
|
root: t.target || u.$$.root
|
|
242
242
|
};
|
|
243
243
|
a && a(l.root);
|
|
244
244
|
let c = !1;
|
|
245
|
-
if (l.ctx =
|
|
246
|
-
const
|
|
247
|
-
return l.ctx && r(l.ctx[p], l.ctx[p] =
|
|
248
|
-
}) : [], l.update(), c = !0, ce(l.before_update), l.fragment =
|
|
245
|
+
if (l.ctx = n ? n(e, t.props || {}, (p, m, ...d) => {
|
|
246
|
+
const w = d.length ? d[0] : m;
|
|
247
|
+
return l.ctx && r(l.ctx[p], l.ctx[p] = w) && (!l.skip_bound && l.bound[p] && l.bound[p](w), c && Wn(e, p)), m;
|
|
248
|
+
}) : [], l.update(), c = !0, ce(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
|
|
249
249
|
if (t.hydrate) {
|
|
250
|
-
const p =
|
|
251
|
-
l.fragment && l.fragment.l(p), p.forEach(
|
|
250
|
+
const p = Mn(t.target);
|
|
251
|
+
l.fragment && l.fragment.l(p), p.forEach(E);
|
|
252
252
|
} else
|
|
253
253
|
l.fragment && l.fragment.c();
|
|
254
|
-
t.intro &&
|
|
254
|
+
t.intro && Vn(e.$$.fragment), Xn(e, t.target, t.anchor), ee();
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
Me(u);
|
|
257
257
|
}
|
|
258
|
-
let
|
|
259
|
-
typeof HTMLElement == "function" && (
|
|
260
|
-
constructor(t,
|
|
258
|
+
let en;
|
|
259
|
+
typeof HTMLElement == "function" && (en = class extends HTMLElement {
|
|
260
|
+
constructor(t, n, i) {
|
|
261
261
|
super();
|
|
262
262
|
/** The Svelte component constructor */
|
|
263
263
|
Q(this, "$$ctor");
|
|
@@ -277,59 +277,59 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
277
277
|
Q(this, "$$l", {});
|
|
278
278
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
279
279
|
Q(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
280
|
-
this.$$ctor = t, this.$$s =
|
|
280
|
+
this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
|
|
281
281
|
}
|
|
282
|
-
addEventListener(t,
|
|
283
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
284
|
-
const r = this.$$c.$on(t,
|
|
285
|
-
this.$$l_u.set(
|
|
282
|
+
addEventListener(t, n, i) {
|
|
283
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
284
|
+
const r = this.$$c.$on(t, n);
|
|
285
|
+
this.$$l_u.set(n, r);
|
|
286
286
|
}
|
|
287
|
-
super.addEventListener(t,
|
|
287
|
+
super.addEventListener(t, n, i);
|
|
288
288
|
}
|
|
289
|
-
removeEventListener(t,
|
|
290
|
-
if (super.removeEventListener(t,
|
|
291
|
-
const r = this.$$l_u.get(
|
|
292
|
-
r && (r(), this.$$l_u.delete(
|
|
289
|
+
removeEventListener(t, n, i) {
|
|
290
|
+
if (super.removeEventListener(t, n, i), this.$$c) {
|
|
291
|
+
const r = this.$$l_u.get(n);
|
|
292
|
+
r && (r(), this.$$l_u.delete(n));
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
connectedCallback() {
|
|
296
|
-
return
|
|
296
|
+
return kt(this, null, function* () {
|
|
297
297
|
if (this.$$cn = !0, !this.$$c) {
|
|
298
298
|
let t = function(o) {
|
|
299
299
|
return () => {
|
|
300
300
|
let a;
|
|
301
301
|
return {
|
|
302
302
|
c: function() {
|
|
303
|
-
a =
|
|
303
|
+
a = g("slot"), o !== "default" && h(a, "name", o);
|
|
304
304
|
},
|
|
305
305
|
/**
|
|
306
306
|
* @param {HTMLElement} target
|
|
307
307
|
* @param {HTMLElement} [anchor]
|
|
308
308
|
*/
|
|
309
309
|
m: function(l, c) {
|
|
310
|
-
|
|
310
|
+
x(l, a, c);
|
|
311
311
|
},
|
|
312
312
|
d: function(l) {
|
|
313
|
-
l &&
|
|
313
|
+
l && E(a);
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
318
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
319
319
|
return;
|
|
320
|
-
const
|
|
320
|
+
const n = {}, i = Dn(this);
|
|
321
321
|
for (const o of this.$$s)
|
|
322
|
-
o in
|
|
322
|
+
o in i && (n[o] = [t(o)]);
|
|
323
323
|
for (const o of this.attributes) {
|
|
324
324
|
const a = this.$$g_p(o.name);
|
|
325
|
-
a in this.$$d || (this.$$d[a] =
|
|
325
|
+
a in this.$$d || (this.$$d[a] = Ve(a, o.value, this.$$p_d, "toProp"));
|
|
326
326
|
}
|
|
327
327
|
for (const o in this.$$p_d)
|
|
328
328
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
329
329
|
this.$$c = new this.$$ctor({
|
|
330
330
|
target: this.shadowRoot || this,
|
|
331
|
-
props: At(
|
|
332
|
-
$$slots:
|
|
331
|
+
props: It(At({}, this.$$d), {
|
|
332
|
+
$$slots: n,
|
|
333
333
|
$$scope: {
|
|
334
334
|
ctx: []
|
|
335
335
|
}
|
|
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
339
339
|
this.$$r = !0;
|
|
340
340
|
for (const o in this.$$p_d)
|
|
341
341
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
342
|
-
const a =
|
|
342
|
+
const a = Ve(
|
|
343
343
|
o,
|
|
344
344
|
this.$$d[o],
|
|
345
345
|
this.$$p_d,
|
|
@@ -361,9 +361,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
361
361
|
}
|
|
362
362
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
363
363
|
// and setting attributes through setAttribute etc, this is helpful
|
|
364
|
-
attributeChangedCallback(t,
|
|
364
|
+
attributeChangedCallback(t, n, i) {
|
|
365
365
|
var r;
|
|
366
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
366
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ve(t, i, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
367
367
|
}
|
|
368
368
|
disconnectedCallback() {
|
|
369
369
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -372,16 +372,16 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
372
372
|
}
|
|
373
373
|
$$g_p(t) {
|
|
374
374
|
return Object.keys(this.$$p_d).find(
|
|
375
|
-
(
|
|
375
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
376
376
|
) || t;
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
function
|
|
379
|
+
function Ve(e, t, n, i) {
|
|
380
380
|
var o;
|
|
381
|
-
const r = (o =
|
|
382
|
-
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
381
|
+
const r = (o = n[e]) == null ? void 0 : o.type;
|
|
382
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
|
|
383
383
|
return t;
|
|
384
|
-
if (
|
|
384
|
+
if (i === "toAttribute")
|
|
385
385
|
switch (r) {
|
|
386
386
|
case "Object":
|
|
387
387
|
case "Array":
|
|
@@ -406,10 +406,10 @@ function Fe(e, t, i, n) {
|
|
|
406
406
|
return t;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
let a = class extends
|
|
409
|
+
function Yn(e, t, n, i, r, o) {
|
|
410
|
+
let a = class extends en {
|
|
411
411
|
constructor() {
|
|
412
|
-
super(e,
|
|
412
|
+
super(e, n, r), this.$$p_d = t;
|
|
413
413
|
}
|
|
414
414
|
static get observedAttributes() {
|
|
415
415
|
return Object.keys(t).map(
|
|
@@ -424,10 +424,10 @@ function Wi(e, t, i, n, r, o) {
|
|
|
424
424
|
},
|
|
425
425
|
set(u) {
|
|
426
426
|
var l;
|
|
427
|
-
u =
|
|
427
|
+
u = Ve(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
|
-
}),
|
|
430
|
+
}), i.forEach((s) => {
|
|
431
431
|
Object.defineProperty(a.prototype, s, {
|
|
432
432
|
get() {
|
|
433
433
|
var u;
|
|
@@ -437,7 +437,7 @@ function Wi(e, t, i, n, r, o) {
|
|
|
437
437
|
}), e.element = /** @type {any} */
|
|
438
438
|
a, a;
|
|
439
439
|
}
|
|
440
|
-
class
|
|
440
|
+
class Jn {
|
|
441
441
|
constructor() {
|
|
442
442
|
/**
|
|
443
443
|
* ### PRIVATE API
|
|
@@ -458,7 +458,7 @@ class Zi {
|
|
|
458
458
|
}
|
|
459
459
|
/** @returns {void} */
|
|
460
460
|
$destroy() {
|
|
461
|
-
|
|
461
|
+
qn(this, 1), this.$destroy = te;
|
|
462
462
|
}
|
|
463
463
|
/**
|
|
464
464
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -466,13 +466,13 @@ class Zi {
|
|
|
466
466
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
467
467
|
* @returns {() => void}
|
|
468
468
|
*/
|
|
469
|
-
$on(t,
|
|
470
|
-
if (!
|
|
471
|
-
return
|
|
472
|
-
const
|
|
473
|
-
return
|
|
474
|
-
const r =
|
|
475
|
-
r !== -1 &&
|
|
469
|
+
$on(t, n) {
|
|
470
|
+
if (!wt(n))
|
|
471
|
+
return te;
|
|
472
|
+
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
473
|
+
return i.push(n), () => {
|
|
474
|
+
const r = i.indexOf(n);
|
|
475
|
+
r !== -1 && i.splice(r, 1);
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
@@ -480,66 +480,66 @@ class Zi {
|
|
|
480
480
|
* @returns {void}
|
|
481
481
|
*/
|
|
482
482
|
$set(t) {
|
|
483
|
-
this.$$set && !
|
|
483
|
+
this.$$set && !kn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
const
|
|
487
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
488
|
-
const
|
|
489
|
-
function
|
|
486
|
+
const Qn = "4";
|
|
487
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qn);
|
|
488
|
+
const ye = [];
|
|
489
|
+
function Kn(e, t) {
|
|
490
490
|
return {
|
|
491
|
-
subscribe:
|
|
491
|
+
subscribe: Je(e, t).subscribe
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
let
|
|
496
|
-
const
|
|
494
|
+
function Je(e, t = te) {
|
|
495
|
+
let n;
|
|
496
|
+
const i = /* @__PURE__ */ new Set();
|
|
497
497
|
function r(s) {
|
|
498
|
-
if (
|
|
499
|
-
const u = !
|
|
500
|
-
for (const l of
|
|
501
|
-
l[1](),
|
|
498
|
+
if (Jt(e, s) && (e = s, n)) {
|
|
499
|
+
const u = !ye.length;
|
|
500
|
+
for (const l of i)
|
|
501
|
+
l[1](), ye.push(l, e);
|
|
502
502
|
if (u) {
|
|
503
|
-
for (let l = 0; l <
|
|
504
|
-
|
|
505
|
-
|
|
503
|
+
for (let l = 0; l < ye.length; l += 2)
|
|
504
|
+
ye[l][0](ye[l + 1]);
|
|
505
|
+
ye.length = 0;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
function o(s) {
|
|
510
510
|
r(s(e));
|
|
511
511
|
}
|
|
512
|
-
function a(s, u =
|
|
512
|
+
function a(s, u = te) {
|
|
513
513
|
const l = [s, u];
|
|
514
|
-
return
|
|
515
|
-
|
|
514
|
+
return i.add(l), i.size === 1 && (n = t(r, o) || te), s(e), () => {
|
|
515
|
+
i.delete(l), i.size === 0 && n && (n(), n = null);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
518
|
return { set: r, update: o, subscribe: a };
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
const
|
|
520
|
+
function Be(e, t, n) {
|
|
521
|
+
const i = !Array.isArray(e), r = i ? [e] : e;
|
|
522
522
|
if (!r.every(Boolean))
|
|
523
523
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
524
524
|
const o = t.length < 2;
|
|
525
|
-
return
|
|
525
|
+
return Kn(n, (a, s) => {
|
|
526
526
|
let u = !1;
|
|
527
527
|
const l = [];
|
|
528
|
-
let c = 0, p =
|
|
528
|
+
let c = 0, p = te;
|
|
529
529
|
const m = () => {
|
|
530
530
|
if (c)
|
|
531
531
|
return;
|
|
532
532
|
p();
|
|
533
|
-
const
|
|
534
|
-
o ? a(
|
|
533
|
+
const w = t(i ? l[0] : l, a, s);
|
|
534
|
+
o ? a(w) : p = wt(w) ? w : te;
|
|
535
535
|
}, d = r.map(
|
|
536
|
-
(
|
|
537
|
-
|
|
536
|
+
(w, v) => Qt(
|
|
537
|
+
w,
|
|
538
538
|
(y) => {
|
|
539
|
-
l[
|
|
539
|
+
l[v] = y, c &= ~(1 << v), u && m();
|
|
540
540
|
},
|
|
541
541
|
() => {
|
|
542
|
-
c |= 1 <<
|
|
542
|
+
c |= 1 << v;
|
|
543
543
|
}
|
|
544
544
|
)
|
|
545
545
|
);
|
|
@@ -548,153 +548,153 @@ function we(e, t, i) {
|
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function ei(e) {
|
|
552
552
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
return
|
|
554
|
+
var ti = function(t) {
|
|
555
|
+
return ni(t) && !ii(t);
|
|
556
556
|
};
|
|
557
|
-
function
|
|
557
|
+
function ni(e) {
|
|
558
558
|
return !!e && typeof e == "object";
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function ii(e) {
|
|
561
561
|
var t = Object.prototype.toString.call(e);
|
|
562
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
562
|
+
return t === "[object RegExp]" || t === "[object Date]" || si(e);
|
|
563
563
|
}
|
|
564
|
-
var
|
|
565
|
-
function
|
|
566
|
-
return e.$$typeof ===
|
|
564
|
+
var ri = typeof Symbol == "function" && Symbol.for, oi = ri ? Symbol.for("react.element") : 60103;
|
|
565
|
+
function si(e) {
|
|
566
|
+
return e.$$typeof === oi;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function ai(e) {
|
|
569
569
|
return Array.isArray(e) ? [] : {};
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
571
|
+
function Re(e, t) {
|
|
572
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we(ai(e), e, t) : e;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
575
|
-
return e.concat(t).map(function(
|
|
576
|
-
return
|
|
574
|
+
function li(e, t, n) {
|
|
575
|
+
return e.concat(t).map(function(i) {
|
|
576
|
+
return Re(i, n);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function ui(e, t) {
|
|
580
580
|
if (!t.customMerge)
|
|
581
|
-
return
|
|
582
|
-
var
|
|
583
|
-
return typeof
|
|
581
|
+
return we;
|
|
582
|
+
var n = t.customMerge(e);
|
|
583
|
+
return typeof n == "function" ? n : we;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function ci(e) {
|
|
586
586
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
587
587
|
return Object.propertyIsEnumerable.call(e, t);
|
|
588
588
|
}) : [];
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
return Object.keys(e).concat(
|
|
590
|
+
function Ot(e) {
|
|
591
|
+
return Object.keys(e).concat(ci(e));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function tn(e, t) {
|
|
594
594
|
try {
|
|
595
595
|
return t in e;
|
|
596
|
-
} catch (
|
|
596
|
+
} catch (n) {
|
|
597
597
|
return !1;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
601
|
-
return
|
|
600
|
+
function hi(e, t) {
|
|
601
|
+
return tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
var
|
|
605
|
-
return
|
|
606
|
-
|
|
607
|
-
}),
|
|
608
|
-
|
|
609
|
-
}),
|
|
610
|
-
}
|
|
611
|
-
function
|
|
612
|
-
|
|
613
|
-
var
|
|
614
|
-
return o ?
|
|
615
|
-
}
|
|
616
|
-
|
|
603
|
+
function fi(e, t, n) {
|
|
604
|
+
var i = {};
|
|
605
|
+
return n.isMergeableObject(e) && Ot(e).forEach(function(r) {
|
|
606
|
+
i[r] = Re(e[r], n);
|
|
607
|
+
}), Ot(t).forEach(function(r) {
|
|
608
|
+
hi(e, r) || (tn(e, r) && n.isMergeableObject(t[r]) ? i[r] = ui(r, n)(e[r], t[r], n) : i[r] = Re(t[r], n));
|
|
609
|
+
}), i;
|
|
610
|
+
}
|
|
611
|
+
function we(e, t, n) {
|
|
612
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || li, n.isMergeableObject = n.isMergeableObject || ti, n.cloneUnlessOtherwiseSpecified = Re;
|
|
613
|
+
var i = Array.isArray(t), r = Array.isArray(e), o = i === r;
|
|
614
|
+
return o ? i ? n.arrayMerge(e, t, n) : fi(e, t, n) : Re(t, n);
|
|
615
|
+
}
|
|
616
|
+
we.all = function(t, n) {
|
|
617
617
|
if (!Array.isArray(t))
|
|
618
618
|
throw new Error("first argument should be an array");
|
|
619
|
-
return t.reduce(function(
|
|
620
|
-
return
|
|
619
|
+
return t.reduce(function(i, r) {
|
|
620
|
+
return we(i, r, n);
|
|
621
621
|
}, {});
|
|
622
622
|
};
|
|
623
|
-
var
|
|
624
|
-
const
|
|
625
|
-
var
|
|
626
|
-
return
|
|
627
|
-
|
|
628
|
-
} || function(
|
|
629
|
-
for (var r in
|
|
630
|
-
Object.prototype.hasOwnProperty.call(
|
|
631
|
-
},
|
|
623
|
+
var pi = we, mi = pi;
|
|
624
|
+
const di = /* @__PURE__ */ ei(mi);
|
|
625
|
+
var mt = function(e, t) {
|
|
626
|
+
return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
627
|
+
n.__proto__ = i;
|
|
628
|
+
} || function(n, i) {
|
|
629
|
+
for (var r in i)
|
|
630
|
+
Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
|
631
|
+
}, mt(e, t);
|
|
632
632
|
};
|
|
633
|
-
function
|
|
633
|
+
function Qe(e, t) {
|
|
634
634
|
if (typeof t != "function" && t !== null)
|
|
635
635
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
636
|
-
|
|
637
|
-
function
|
|
636
|
+
mt(e, t);
|
|
637
|
+
function n() {
|
|
638
638
|
this.constructor = e;
|
|
639
639
|
}
|
|
640
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
640
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
641
641
|
}
|
|
642
642
|
var se = function() {
|
|
643
643
|
return se = Object.assign || function(t) {
|
|
644
|
-
for (var
|
|
645
|
-
|
|
646
|
-
for (var o in
|
|
647
|
-
Object.prototype.hasOwnProperty.call(
|
|
644
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
645
|
+
n = arguments[i];
|
|
646
|
+
for (var o in n)
|
|
647
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
648
648
|
}
|
|
649
649
|
return t;
|
|
650
650
|
}, se.apply(this, arguments);
|
|
651
651
|
};
|
|
652
|
-
function
|
|
653
|
-
var
|
|
654
|
-
for (var
|
|
655
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
652
|
+
function bi(e, t) {
|
|
653
|
+
var n = {};
|
|
654
|
+
for (var i in e)
|
|
655
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
|
|
656
656
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
657
|
-
for (var r = 0,
|
|
658
|
-
t.indexOf(
|
|
659
|
-
return
|
|
657
|
+
for (var r = 0, i = Object.getOwnPropertySymbols(e); r < i.length; r++)
|
|
658
|
+
t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
|
|
659
|
+
return n;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
662
|
-
if (
|
|
663
|
-
for (var
|
|
664
|
-
(o || !(
|
|
661
|
+
function st(e, t, n) {
|
|
662
|
+
if (n || arguments.length === 2)
|
|
663
|
+
for (var i = 0, r = t.length, o; i < r; i++)
|
|
664
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
665
665
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
666
666
|
}
|
|
667
|
-
function
|
|
668
|
-
var
|
|
667
|
+
function at(e, t) {
|
|
668
|
+
var n = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : _i, r = t && t.strategy ? t.strategy : vi;
|
|
669
669
|
return r(e, {
|
|
670
|
-
cache:
|
|
671
|
-
serializer:
|
|
670
|
+
cache: n,
|
|
671
|
+
serializer: i
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function gi(e) {
|
|
675
675
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
676
676
|
}
|
|
677
|
-
function
|
|
678
|
-
var r =
|
|
679
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
677
|
+
function yi(e, t, n, i) {
|
|
678
|
+
var r = gi(i) ? i : n(i), o = t.get(r);
|
|
679
|
+
return typeof o == "undefined" && (o = e.call(this, i), t.set(r, o)), o;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
var
|
|
683
|
-
return typeof o == "undefined" && (o = e.apply(this,
|
|
681
|
+
function nn(e, t, n) {
|
|
682
|
+
var i = Array.prototype.slice.call(arguments, 3), r = n(i), o = t.get(r);
|
|
683
|
+
return typeof o == "undefined" && (o = e.apply(this, i), t.set(r, o)), o;
|
|
684
684
|
}
|
|
685
|
-
function
|
|
686
|
-
return
|
|
685
|
+
function rn(e, t, n, i, r) {
|
|
686
|
+
return n.bind(t, e, i, r);
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
var
|
|
690
|
-
return
|
|
688
|
+
function vi(e, t) {
|
|
689
|
+
var n = e.length === 1 ? yi : nn;
|
|
690
|
+
return rn(e, this, n, t.cache.create(), t.serializer);
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
return
|
|
692
|
+
function Ei(e, t) {
|
|
693
|
+
return rn(e, this, nn, t.cache.create(), t.serializer);
|
|
694
694
|
}
|
|
695
|
-
var
|
|
695
|
+
var _i = function() {
|
|
696
696
|
return JSON.stringify(arguments);
|
|
697
|
-
},
|
|
697
|
+
}, xi = (
|
|
698
698
|
/** @class */
|
|
699
699
|
function() {
|
|
700
700
|
function e() {
|
|
@@ -702,82 +702,82 @@ var En = function() {
|
|
|
702
702
|
}
|
|
703
703
|
return e.prototype.get = function(t) {
|
|
704
704
|
return this.cache[t];
|
|
705
|
-
}, e.prototype.set = function(t,
|
|
706
|
-
this.cache[t] =
|
|
705
|
+
}, e.prototype.set = function(t, n) {
|
|
706
|
+
this.cache[t] = n;
|
|
707
707
|
}, e;
|
|
708
708
|
}()
|
|
709
|
-
),
|
|
709
|
+
), wi = {
|
|
710
710
|
create: function() {
|
|
711
|
-
return new
|
|
711
|
+
return new xi();
|
|
712
712
|
}
|
|
713
|
-
},
|
|
714
|
-
variadic:
|
|
715
|
-
},
|
|
716
|
-
return
|
|
717
|
-
for (var
|
|
718
|
-
|
|
719
|
-
for (var o in
|
|
720
|
-
Object.prototype.hasOwnProperty.call(
|
|
713
|
+
}, lt = {
|
|
714
|
+
variadic: Ei
|
|
715
|
+
}, We = function() {
|
|
716
|
+
return We = Object.assign || function(t) {
|
|
717
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
718
|
+
n = arguments[i];
|
|
719
|
+
for (var o in n)
|
|
720
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
721
721
|
}
|
|
722
722
|
return t;
|
|
723
|
-
},
|
|
723
|
+
}, We.apply(this, arguments);
|
|
724
724
|
};
|
|
725
|
-
var
|
|
725
|
+
var P;
|
|
726
726
|
(function(e) {
|
|
727
727
|
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";
|
|
728
|
-
})(
|
|
729
|
-
var
|
|
728
|
+
})(P || (P = {}));
|
|
729
|
+
var z;
|
|
730
730
|
(function(e) {
|
|
731
731
|
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";
|
|
732
|
-
})(
|
|
733
|
-
var
|
|
732
|
+
})(z || (z = {}));
|
|
733
|
+
var Te;
|
|
734
734
|
(function(e) {
|
|
735
735
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
736
|
-
})(
|
|
737
|
-
function
|
|
738
|
-
return e.type ===
|
|
736
|
+
})(Te || (Te = {}));
|
|
737
|
+
function Mt(e) {
|
|
738
|
+
return e.type === z.literal;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
741
|
-
return e.type ===
|
|
740
|
+
function Ti(e) {
|
|
741
|
+
return e.type === z.argument;
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
return e.type ===
|
|
743
|
+
function on(e) {
|
|
744
|
+
return e.type === z.number;
|
|
745
745
|
}
|
|
746
|
-
function
|
|
747
|
-
return e.type ===
|
|
746
|
+
function sn(e) {
|
|
747
|
+
return e.type === z.date;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
750
|
-
return e.type ===
|
|
749
|
+
function an(e) {
|
|
750
|
+
return e.type === z.time;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
753
|
-
return e.type ===
|
|
752
|
+
function ln(e) {
|
|
753
|
+
return e.type === z.select;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
756
|
-
return e.type ===
|
|
755
|
+
function un(e) {
|
|
756
|
+
return e.type === z.plural;
|
|
757
757
|
}
|
|
758
|
-
function
|
|
759
|
-
return e.type ===
|
|
758
|
+
function Pi(e) {
|
|
759
|
+
return e.type === z.pound;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
762
|
-
return e.type ===
|
|
761
|
+
function cn(e) {
|
|
762
|
+
return e.type === z.tag;
|
|
763
763
|
}
|
|
764
|
-
function
|
|
765
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
764
|
+
function hn(e) {
|
|
765
|
+
return !!(e && typeof e == "object" && e.type === Te.number);
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
767
|
+
function dt(e) {
|
|
768
|
+
return !!(e && typeof e == "object" && e.type === Te.dateTime);
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
function
|
|
770
|
+
var fn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
|
|
771
|
+
function Bi(e) {
|
|
772
772
|
var t = {};
|
|
773
|
-
return e.replace(
|
|
774
|
-
var
|
|
775
|
-
switch (
|
|
773
|
+
return e.replace(Si, function(n) {
|
|
774
|
+
var i = n.length;
|
|
775
|
+
switch (n[0]) {
|
|
776
776
|
case "G":
|
|
777
|
-
t.era =
|
|
777
|
+
t.era = i === 4 ? "long" : i === 5 ? "narrow" : "short";
|
|
778
778
|
break;
|
|
779
779
|
case "y":
|
|
780
|
-
t.year =
|
|
780
|
+
t.year = i === 2 ? "2-digit" : "numeric";
|
|
781
781
|
break;
|
|
782
782
|
case "Y":
|
|
783
783
|
case "u":
|
|
@@ -789,30 +789,30 @@ function Bn(e) {
|
|
|
789
789
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
790
790
|
case "M":
|
|
791
791
|
case "L":
|
|
792
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
792
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][i - 1];
|
|
793
793
|
break;
|
|
794
794
|
case "w":
|
|
795
795
|
case "W":
|
|
796
796
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
797
797
|
case "d":
|
|
798
|
-
t.day = ["numeric", "2-digit"][
|
|
798
|
+
t.day = ["numeric", "2-digit"][i - 1];
|
|
799
799
|
break;
|
|
800
800
|
case "D":
|
|
801
801
|
case "F":
|
|
802
802
|
case "g":
|
|
803
803
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
804
804
|
case "E":
|
|
805
|
-
t.weekday =
|
|
805
|
+
t.weekday = i === 4 ? "long" : i === 5 ? "narrow" : "short";
|
|
806
806
|
break;
|
|
807
807
|
case "e":
|
|
808
|
-
if (
|
|
808
|
+
if (i < 4)
|
|
809
809
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
810
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
810
|
+
t.weekday = ["short", "long", "narrow", "short"][i - 4];
|
|
811
811
|
break;
|
|
812
812
|
case "c":
|
|
813
|
-
if (
|
|
813
|
+
if (i < 4)
|
|
814
814
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
815
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
815
|
+
t.weekday = ["short", "long", "narrow", "short"][i - 4];
|
|
816
816
|
break;
|
|
817
817
|
case "a":
|
|
818
818
|
t.hour12 = !0;
|
|
@@ -821,32 +821,32 @@ function Bn(e) {
|
|
|
821
821
|
case "B":
|
|
822
822
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
823
823
|
case "h":
|
|
824
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
824
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][i - 1];
|
|
825
825
|
break;
|
|
826
826
|
case "H":
|
|
827
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
827
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][i - 1];
|
|
828
828
|
break;
|
|
829
829
|
case "K":
|
|
830
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
830
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][i - 1];
|
|
831
831
|
break;
|
|
832
832
|
case "k":
|
|
833
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
833
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][i - 1];
|
|
834
834
|
break;
|
|
835
835
|
case "j":
|
|
836
836
|
case "J":
|
|
837
837
|
case "C":
|
|
838
838
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
839
839
|
case "m":
|
|
840
|
-
t.minute = ["numeric", "2-digit"][
|
|
840
|
+
t.minute = ["numeric", "2-digit"][i - 1];
|
|
841
841
|
break;
|
|
842
842
|
case "s":
|
|
843
|
-
t.second = ["numeric", "2-digit"][
|
|
843
|
+
t.second = ["numeric", "2-digit"][i - 1];
|
|
844
844
|
break;
|
|
845
845
|
case "S":
|
|
846
846
|
case "A":
|
|
847
847
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
848
848
|
case "z":
|
|
849
|
-
t.timeZoneName =
|
|
849
|
+
t.timeZoneName = i < 4 ? "short" : "long";
|
|
850
850
|
break;
|
|
851
851
|
case "Z":
|
|
852
852
|
case "O":
|
|
@@ -861,22 +861,22 @@ function Bn(e) {
|
|
|
861
861
|
}
|
|
862
862
|
var V = function() {
|
|
863
863
|
return V = Object.assign || function(t) {
|
|
864
|
-
for (var
|
|
865
|
-
|
|
866
|
-
for (var o in
|
|
867
|
-
Object.prototype.hasOwnProperty.call(
|
|
864
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
865
|
+
n = arguments[i];
|
|
866
|
+
for (var o in n)
|
|
867
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
868
868
|
}
|
|
869
869
|
return t;
|
|
870
870
|
}, V.apply(this, arguments);
|
|
871
871
|
};
|
|
872
|
-
var
|
|
873
|
-
function
|
|
872
|
+
var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
873
|
+
function Ai(e) {
|
|
874
874
|
if (e.length === 0)
|
|
875
875
|
throw new Error("Number skeleton cannot be empty");
|
|
876
|
-
for (var t = e.split(
|
|
876
|
+
for (var t = e.split(Li).filter(function(m) {
|
|
877
877
|
return m.length > 0;
|
|
878
|
-
}),
|
|
879
|
-
var o = r[
|
|
878
|
+
}), n = [], i = 0, r = t; i < r.length; i++) {
|
|
879
|
+
var o = r[i], a = o.split("/");
|
|
880
880
|
if (a.length === 0)
|
|
881
881
|
throw new Error("Invalid number skeleton");
|
|
882
882
|
for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
@@ -884,21 +884,21 @@ function Sn(e) {
|
|
|
884
884
|
if (p.length === 0)
|
|
885
885
|
throw new Error("Invalid number skeleton");
|
|
886
886
|
}
|
|
887
|
-
|
|
887
|
+
n.push({ stem: s, options: u });
|
|
888
888
|
}
|
|
889
|
-
return
|
|
889
|
+
return n;
|
|
890
890
|
}
|
|
891
|
-
function
|
|
891
|
+
function Ii(e) {
|
|
892
892
|
return e.replace(/^(.*?)-/, "");
|
|
893
893
|
}
|
|
894
|
-
var
|
|
895
|
-
function
|
|
894
|
+
var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
|
|
895
|
+
function Rt(e) {
|
|
896
896
|
var t = {};
|
|
897
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
898
|
-
return typeof r != "string" ? (t.minimumSignificantDigits =
|
|
897
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, i, r) {
|
|
898
|
+
return typeof r != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : r === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof r == "string" ? r.length : 0)), "";
|
|
899
899
|
}), t;
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function dn(e) {
|
|
902
902
|
switch (e) {
|
|
903
903
|
case "sign-auto":
|
|
904
904
|
return {
|
|
@@ -938,27 +938,27 @@ function pi(e) {
|
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Ci(e) {
|
|
942
942
|
var t;
|
|
943
943
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
944
944
|
notation: "engineering"
|
|
945
945
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
946
946
|
notation: "scientific"
|
|
947
947
|
}, e = e.slice(1)), t) {
|
|
948
|
-
var
|
|
949
|
-
if (
|
|
948
|
+
var n = e.slice(0, 2);
|
|
949
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
|
|
950
950
|
throw new Error("Malformed concise eng/scientific notation");
|
|
951
951
|
t.minimumIntegerDigits = e.length;
|
|
952
952
|
}
|
|
953
953
|
return t;
|
|
954
954
|
}
|
|
955
|
-
function
|
|
956
|
-
var t = {},
|
|
957
|
-
return
|
|
955
|
+
function Ut(e) {
|
|
956
|
+
var t = {}, n = dn(e);
|
|
957
|
+
return n || t;
|
|
958
958
|
}
|
|
959
|
-
function
|
|
960
|
-
for (var t = {},
|
|
961
|
-
var r = n
|
|
959
|
+
function Hi(e) {
|
|
960
|
+
for (var t = {}, n = 0, i = e; n < i.length; n++) {
|
|
961
|
+
var r = i[n];
|
|
962
962
|
switch (r.stem) {
|
|
963
963
|
case "percent":
|
|
964
964
|
case "%":
|
|
@@ -980,7 +980,7 @@ function Hn(e) {
|
|
|
980
980
|
continue;
|
|
981
981
|
case "measure-unit":
|
|
982
982
|
case "unit":
|
|
983
|
-
t.style = "unit", t.unit =
|
|
983
|
+
t.style = "unit", t.unit = Ii(r.options[0]);
|
|
984
984
|
continue;
|
|
985
985
|
case "compact-short":
|
|
986
986
|
case "K":
|
|
@@ -992,12 +992,12 @@ function Hn(e) {
|
|
|
992
992
|
continue;
|
|
993
993
|
case "scientific":
|
|
994
994
|
t = V(V(V({}, t), { notation: "scientific" }), r.options.reduce(function(u, l) {
|
|
995
|
-
return V(V({}, u),
|
|
995
|
+
return V(V({}, u), Ut(l));
|
|
996
996
|
}, {}));
|
|
997
997
|
continue;
|
|
998
998
|
case "engineering":
|
|
999
999
|
t = V(V(V({}, t), { notation: "engineering" }), r.options.reduce(function(u, l) {
|
|
1000
|
-
return V(V({}, u),
|
|
1000
|
+
return V(V({}, u), Ut(l));
|
|
1001
1001
|
}, {}));
|
|
1002
1002
|
continue;
|
|
1003
1003
|
case "notation-simple":
|
|
@@ -1042,7 +1042,7 @@ function Hn(e) {
|
|
|
1042
1042
|
case "integer-width":
|
|
1043
1043
|
if (r.options.length > 1)
|
|
1044
1044
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1045
|
-
r.options[0].replace(
|
|
1045
|
+
r.options[0].replace(ki, function(u, l, c, p, m, d) {
|
|
1046
1046
|
if (l)
|
|
1047
1047
|
t.minimumIntegerDigits = c.length;
|
|
1048
1048
|
else {
|
|
@@ -1055,32 +1055,32 @@ function Hn(e) {
|
|
|
1055
1055
|
});
|
|
1056
1056
|
continue;
|
|
1057
1057
|
}
|
|
1058
|
-
if (
|
|
1058
|
+
if (mn.test(r.stem)) {
|
|
1059
1059
|
t.minimumIntegerDigits = r.stem.length;
|
|
1060
1060
|
continue;
|
|
1061
1061
|
}
|
|
1062
|
-
if (
|
|
1062
|
+
if (Dt.test(r.stem)) {
|
|
1063
1063
|
if (r.options.length > 1)
|
|
1064
1064
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1065
|
-
r.stem.replace(
|
|
1065
|
+
r.stem.replace(Dt, function(u, l, c, p, m, d) {
|
|
1066
1066
|
return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1067
1067
|
});
|
|
1068
1068
|
var o = r.options[0];
|
|
1069
|
-
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t),
|
|
1069
|
+
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Rt(o)));
|
|
1070
1070
|
continue;
|
|
1071
1071
|
}
|
|
1072
|
-
if (
|
|
1073
|
-
t = V(V({}, t),
|
|
1072
|
+
if (pn.test(r.stem)) {
|
|
1073
|
+
t = V(V({}, t), Rt(r.stem));
|
|
1074
1074
|
continue;
|
|
1075
1075
|
}
|
|
1076
|
-
var a =
|
|
1076
|
+
var a = dn(r.stem);
|
|
1077
1077
|
a && (t = V(V({}, t), a));
|
|
1078
|
-
var s =
|
|
1078
|
+
var s = Ci(r.stem);
|
|
1079
1079
|
s && (t = V(V({}, t), s));
|
|
1080
1080
|
}
|
|
1081
1081
|
return t;
|
|
1082
1082
|
}
|
|
1083
|
-
var
|
|
1083
|
+
var Fe = {
|
|
1084
1084
|
"001": [
|
|
1085
1085
|
"H",
|
|
1086
1086
|
"h"
|
|
@@ -2495,23 +2495,23 @@ var ze = {
|
|
|
2495
2495
|
"h"
|
|
2496
2496
|
]
|
|
2497
2497
|
};
|
|
2498
|
-
function
|
|
2499
|
-
for (var
|
|
2500
|
-
var r = e.charAt(
|
|
2498
|
+
function Ni(e, t) {
|
|
2499
|
+
for (var n = "", i = 0; i < e.length; i++) {
|
|
2500
|
+
var r = e.charAt(i);
|
|
2501
2501
|
if (r === "j") {
|
|
2502
|
-
for (var o = 0;
|
|
2503
|
-
o++,
|
|
2504
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2502
|
+
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === r; )
|
|
2503
|
+
o++, i++;
|
|
2504
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Oi(t);
|
|
2505
2505
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2506
|
-
|
|
2506
|
+
n += u;
|
|
2507
2507
|
for (; a-- > 0; )
|
|
2508
|
-
|
|
2508
|
+
n = l + n;
|
|
2509
2509
|
} else
|
|
2510
|
-
r === "J" ?
|
|
2510
|
+
r === "J" ? n += "H" : n += r;
|
|
2511
2511
|
}
|
|
2512
|
-
return
|
|
2512
|
+
return n;
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2514
|
+
function Oi(e) {
|
|
2515
2515
|
var t = e.hourCycle;
|
|
2516
2516
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2517
2517
|
e.hourCycles && // @ts-ignore
|
|
@@ -2528,73 +2528,73 @@ function Nn(e) {
|
|
|
2528
2528
|
default:
|
|
2529
2529
|
throw new Error("Invalid hourCycle");
|
|
2530
2530
|
}
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2533
|
-
var r =
|
|
2531
|
+
var n = e.language, i;
|
|
2532
|
+
n !== "root" && (i = e.maximize().region);
|
|
2533
|
+
var r = Fe[i || ""] || Fe[n || ""] || Fe["".concat(n, "-001")] || Fe["001"];
|
|
2534
2534
|
return r[0];
|
|
2535
2535
|
}
|
|
2536
|
-
var
|
|
2536
|
+
var ut, Mi = new RegExp("^".concat(fn.source, "*")), Di = new RegExp("".concat(fn.source, "*$"));
|
|
2537
2537
|
function A(e, t) {
|
|
2538
2538
|
return { start: e, end: t };
|
|
2539
2539
|
}
|
|
2540
|
-
var
|
|
2540
|
+
var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, ji = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
|
|
2541
2541
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2542
|
-
},
|
|
2542
|
+
}, bt = !0;
|
|
2543
2543
|
try {
|
|
2544
|
-
var
|
|
2545
|
-
|
|
2544
|
+
var Xi = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2545
|
+
bt = ((ut = Xi.exec("a")) === null || ut === void 0 ? void 0 : ut[0]) === "a";
|
|
2546
2546
|
} catch (e) {
|
|
2547
|
-
|
|
2547
|
+
bt = !1;
|
|
2548
2548
|
}
|
|
2549
|
-
var
|
|
2549
|
+
var jt = Ri ? (
|
|
2550
2550
|
// Native
|
|
2551
|
-
function(t,
|
|
2552
|
-
return t.startsWith(
|
|
2551
|
+
function(t, n, i) {
|
|
2552
|
+
return t.startsWith(n, i);
|
|
2553
2553
|
}
|
|
2554
2554
|
) : (
|
|
2555
2555
|
// For IE11
|
|
2556
|
-
function(t,
|
|
2557
|
-
return t.slice(
|
|
2556
|
+
function(t, n, i) {
|
|
2557
|
+
return t.slice(i, i + n.length) === n;
|
|
2558
2558
|
}
|
|
2559
|
-
), gt =
|
|
2559
|
+
), gt = Ui ? String.fromCodePoint : (
|
|
2560
2560
|
// IE11
|
|
2561
2561
|
function() {
|
|
2562
|
-
for (var t = [],
|
|
2563
|
-
t[
|
|
2564
|
-
for (var
|
|
2562
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2563
|
+
t[n] = arguments[n];
|
|
2564
|
+
for (var i = "", r = t.length, o = 0, a; r > o; ) {
|
|
2565
2565
|
if (a = t[o++], a > 1114111)
|
|
2566
2566
|
throw RangeError(a + " is not a valid code point");
|
|
2567
|
-
|
|
2567
|
+
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2568
2568
|
}
|
|
2569
|
-
return
|
|
2569
|
+
return i;
|
|
2570
2570
|
}
|
|
2571
|
-
),
|
|
2571
|
+
), Gt = (
|
|
2572
2572
|
// native
|
|
2573
|
-
|
|
2573
|
+
ji ? Object.fromEntries : (
|
|
2574
2574
|
// Ponyfill
|
|
2575
2575
|
function(t) {
|
|
2576
|
-
for (var
|
|
2577
|
-
var o = r[
|
|
2578
|
-
|
|
2576
|
+
for (var n = {}, i = 0, r = t; i < r.length; i++) {
|
|
2577
|
+
var o = r[i], a = o[0], s = o[1];
|
|
2578
|
+
n[a] = s;
|
|
2579
2579
|
}
|
|
2580
|
-
return
|
|
2580
|
+
return n;
|
|
2581
2581
|
}
|
|
2582
2582
|
)
|
|
2583
|
-
),
|
|
2583
|
+
), bn = Gi ? (
|
|
2584
2584
|
// Native
|
|
2585
|
-
function(t,
|
|
2586
|
-
return t.codePointAt(
|
|
2585
|
+
function(t, n) {
|
|
2586
|
+
return t.codePointAt(n);
|
|
2587
2587
|
}
|
|
2588
2588
|
) : (
|
|
2589
2589
|
// IE 11
|
|
2590
|
-
function(t,
|
|
2591
|
-
var
|
|
2592
|
-
if (!(
|
|
2593
|
-
var r = t.charCodeAt(
|
|
2594
|
-
return r < 55296 || r > 56319 ||
|
|
2590
|
+
function(t, n) {
|
|
2591
|
+
var i = t.length;
|
|
2592
|
+
if (!(n < 0 || n >= i)) {
|
|
2593
|
+
var r = t.charCodeAt(n), o;
|
|
2594
|
+
return r < 55296 || r > 56319 || n + 1 === i || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
|
-
),
|
|
2597
|
+
), qi = $i ? (
|
|
2598
2598
|
// Native
|
|
2599
2599
|
function(t) {
|
|
2600
2600
|
return t.trimStart();
|
|
@@ -2602,9 +2602,9 @@ var Ut = Dn ? (
|
|
|
2602
2602
|
) : (
|
|
2603
2603
|
// Ponyfill
|
|
2604
2604
|
function(t) {
|
|
2605
|
-
return t.replace(
|
|
2605
|
+
return t.replace(Mi, "");
|
|
2606
2606
|
}
|
|
2607
|
-
),
|
|
2607
|
+
), Wi = zi ? (
|
|
2608
2608
|
// Native
|
|
2609
2609
|
function(t) {
|
|
2610
2610
|
return t.trimEnd();
|
|
@@ -2612,69 +2612,69 @@ var Ut = Dn ? (
|
|
|
2612
2612
|
) : (
|
|
2613
2613
|
// Ponyfill
|
|
2614
2614
|
function(t) {
|
|
2615
|
-
return t.replace(
|
|
2615
|
+
return t.replace(Di, "");
|
|
2616
2616
|
}
|
|
2617
2617
|
);
|
|
2618
|
-
function
|
|
2618
|
+
function gn(e, t) {
|
|
2619
2619
|
return new RegExp(e, t);
|
|
2620
2620
|
}
|
|
2621
|
-
var
|
|
2622
|
-
if (
|
|
2623
|
-
var
|
|
2624
|
-
|
|
2625
|
-
var
|
|
2626
|
-
|
|
2627
|
-
var r =
|
|
2628
|
-
return (
|
|
2621
|
+
var yt;
|
|
2622
|
+
if (bt) {
|
|
2623
|
+
var $t = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2624
|
+
yt = function(t, n) {
|
|
2625
|
+
var i;
|
|
2626
|
+
$t.lastIndex = n;
|
|
2627
|
+
var r = $t.exec(t);
|
|
2628
|
+
return (i = r[1]) !== null && i !== void 0 ? i : "";
|
|
2629
2629
|
};
|
|
2630
2630
|
} else
|
|
2631
|
-
|
|
2632
|
-
for (var
|
|
2633
|
-
var r =
|
|
2634
|
-
if (r === void 0 ||
|
|
2631
|
+
yt = function(t, n) {
|
|
2632
|
+
for (var i = []; ; ) {
|
|
2633
|
+
var r = bn(t, n);
|
|
2634
|
+
if (r === void 0 || yn(r) || Qi(r))
|
|
2635
2635
|
break;
|
|
2636
|
-
|
|
2636
|
+
i.push(r), n += r >= 65536 ? 2 : 1;
|
|
2637
2637
|
}
|
|
2638
|
-
return gt.apply(void 0,
|
|
2638
|
+
return gt.apply(void 0, i);
|
|
2639
2639
|
};
|
|
2640
|
-
var
|
|
2640
|
+
var Zi = (
|
|
2641
2641
|
/** @class */
|
|
2642
2642
|
function() {
|
|
2643
|
-
function e(t,
|
|
2644
|
-
|
|
2643
|
+
function e(t, n) {
|
|
2644
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
2645
2645
|
}
|
|
2646
2646
|
return e.prototype.parse = function() {
|
|
2647
2647
|
if (this.offset() !== 0)
|
|
2648
2648
|
throw Error("parser can only be used once");
|
|
2649
2649
|
return this.parseMessage(0, "", !1);
|
|
2650
|
-
}, e.prototype.parseMessage = function(t,
|
|
2650
|
+
}, e.prototype.parseMessage = function(t, n, i) {
|
|
2651
2651
|
for (var r = []; !this.isEOF(); ) {
|
|
2652
2652
|
var o = this.char();
|
|
2653
2653
|
if (o === 123) {
|
|
2654
|
-
var a = this.parseArgument(t,
|
|
2654
|
+
var a = this.parseArgument(t, i);
|
|
2655
2655
|
if (a.err)
|
|
2656
2656
|
return a;
|
|
2657
2657
|
r.push(a.val);
|
|
2658
2658
|
} else {
|
|
2659
2659
|
if (o === 125 && t > 0)
|
|
2660
2660
|
break;
|
|
2661
|
-
if (o === 35 && (
|
|
2661
|
+
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2662
2662
|
var s = this.clonePosition();
|
|
2663
2663
|
this.bump(), r.push({
|
|
2664
|
-
type:
|
|
2664
|
+
type: z.pound,
|
|
2665
2665
|
location: A(s, this.clonePosition())
|
|
2666
2666
|
});
|
|
2667
2667
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2668
|
-
if (
|
|
2668
|
+
if (i)
|
|
2669
2669
|
break;
|
|
2670
|
-
return this.error(
|
|
2671
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2672
|
-
var a = this.parseTag(t,
|
|
2670
|
+
return this.error(P.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2671
|
+
} else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
|
|
2672
|
+
var a = this.parseTag(t, n);
|
|
2673
2673
|
if (a.err)
|
|
2674
2674
|
return a;
|
|
2675
2675
|
r.push(a.val);
|
|
2676
2676
|
} else {
|
|
2677
|
-
var a = this.parseLiteral(t,
|
|
2677
|
+
var a = this.parseLiteral(t, n);
|
|
2678
2678
|
if (a.err)
|
|
2679
2679
|
return a;
|
|
2680
2680
|
r.push(a.val);
|
|
@@ -2682,54 +2682,54 @@ var Wn = (
|
|
|
2682
2682
|
}
|
|
2683
2683
|
}
|
|
2684
2684
|
return { val: r, err: null };
|
|
2685
|
-
}, e.prototype.parseTag = function(t,
|
|
2686
|
-
var
|
|
2685
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
2686
|
+
var i = this.clonePosition();
|
|
2687
2687
|
this.bump();
|
|
2688
2688
|
var r = this.parseTagName();
|
|
2689
2689
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2690
2690
|
return {
|
|
2691
2691
|
val: {
|
|
2692
|
-
type:
|
|
2692
|
+
type: z.literal,
|
|
2693
2693
|
value: "<".concat(r, "/>"),
|
|
2694
|
-
location: A(
|
|
2694
|
+
location: A(i, this.clonePosition())
|
|
2695
2695
|
},
|
|
2696
2696
|
err: null
|
|
2697
2697
|
};
|
|
2698
2698
|
if (this.bumpIf(">")) {
|
|
2699
|
-
var o = this.parseMessage(t + 1,
|
|
2699
|
+
var o = this.parseMessage(t + 1, n, !0);
|
|
2700
2700
|
if (o.err)
|
|
2701
2701
|
return o;
|
|
2702
2702
|
var a = o.val, s = this.clonePosition();
|
|
2703
2703
|
if (this.bumpIf("</")) {
|
|
2704
|
-
if (this.isEOF() || !
|
|
2705
|
-
return this.error(
|
|
2704
|
+
if (this.isEOF() || !vt(this.char()))
|
|
2705
|
+
return this.error(P.INVALID_TAG, A(s, this.clonePosition()));
|
|
2706
2706
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2707
|
-
return r !== l ? this.error(
|
|
2707
|
+
return r !== l ? this.error(P.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2708
2708
|
val: {
|
|
2709
|
-
type:
|
|
2709
|
+
type: z.tag,
|
|
2710
2710
|
value: r,
|
|
2711
2711
|
children: a,
|
|
2712
|
-
location: A(
|
|
2712
|
+
location: A(i, this.clonePosition())
|
|
2713
2713
|
},
|
|
2714
2714
|
err: null
|
|
2715
|
-
} : this.error(
|
|
2715
|
+
} : this.error(P.INVALID_TAG, A(s, this.clonePosition())));
|
|
2716
2716
|
} else
|
|
2717
|
-
return this.error(
|
|
2717
|
+
return this.error(P.UNCLOSED_TAG, A(i, this.clonePosition()));
|
|
2718
2718
|
} else
|
|
2719
|
-
return this.error(
|
|
2719
|
+
return this.error(P.INVALID_TAG, A(i, this.clonePosition()));
|
|
2720
2720
|
}, e.prototype.parseTagName = function() {
|
|
2721
2721
|
var t = this.offset();
|
|
2722
|
-
for (this.bump(); !this.isEOF() &&
|
|
2722
|
+
for (this.bump(); !this.isEOF() && Ji(this.char()); )
|
|
2723
2723
|
this.bump();
|
|
2724
2724
|
return this.message.slice(t, this.offset());
|
|
2725
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2726
|
-
for (var
|
|
2727
|
-
var o = this.tryParseQuote(
|
|
2725
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
2726
|
+
for (var i = this.clonePosition(), r = ""; ; ) {
|
|
2727
|
+
var o = this.tryParseQuote(n);
|
|
2728
2728
|
if (o) {
|
|
2729
2729
|
r += o;
|
|
2730
2730
|
continue;
|
|
2731
2731
|
}
|
|
2732
|
-
var a = this.tryParseUnquoted(t,
|
|
2732
|
+
var a = this.tryParseUnquoted(t, n);
|
|
2733
2733
|
if (a) {
|
|
2734
2734
|
r += a;
|
|
2735
2735
|
continue;
|
|
@@ -2741,14 +2741,14 @@ var Wn = (
|
|
|
2741
2741
|
}
|
|
2742
2742
|
break;
|
|
2743
2743
|
}
|
|
2744
|
-
var u = A(
|
|
2744
|
+
var u = A(i, this.clonePosition());
|
|
2745
2745
|
return {
|
|
2746
|
-
val: { type:
|
|
2746
|
+
val: { type: z.literal, value: r, location: u },
|
|
2747
2747
|
err: null
|
|
2748
2748
|
};
|
|
2749
2749
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2750
2750
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2751
|
-
!
|
|
2751
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2752
2752
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2753
2753
|
if (this.isEOF() || this.char() !== 39)
|
|
2754
2754
|
return null;
|
|
@@ -2768,63 +2768,63 @@ var Wn = (
|
|
|
2768
2768
|
return null;
|
|
2769
2769
|
}
|
|
2770
2770
|
this.bump();
|
|
2771
|
-
var
|
|
2771
|
+
var n = [this.char()];
|
|
2772
2772
|
for (this.bump(); !this.isEOF(); ) {
|
|
2773
|
-
var
|
|
2774
|
-
if (
|
|
2773
|
+
var i = this.char();
|
|
2774
|
+
if (i === 39)
|
|
2775
2775
|
if (this.peek() === 39)
|
|
2776
|
-
|
|
2776
|
+
n.push(39), this.bump();
|
|
2777
2777
|
else {
|
|
2778
2778
|
this.bump();
|
|
2779
2779
|
break;
|
|
2780
2780
|
}
|
|
2781
2781
|
else
|
|
2782
|
-
|
|
2782
|
+
n.push(i);
|
|
2783
2783
|
this.bump();
|
|
2784
2784
|
}
|
|
2785
|
-
return gt.apply(void 0,
|
|
2786
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2785
|
+
return gt.apply(void 0, n);
|
|
2786
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2787
2787
|
if (this.isEOF())
|
|
2788
2788
|
return null;
|
|
2789
|
-
var
|
|
2790
|
-
return
|
|
2791
|
-
}, e.prototype.parseArgument = function(t,
|
|
2792
|
-
var
|
|
2789
|
+
var i = this.char();
|
|
2790
|
+
return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), gt(i));
|
|
2791
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
2792
|
+
var i = this.clonePosition();
|
|
2793
2793
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2794
|
-
return this.error(
|
|
2794
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2795
2795
|
if (this.char() === 125)
|
|
2796
|
-
return this.bump(), this.error(
|
|
2796
|
+
return this.bump(), this.error(P.EMPTY_ARGUMENT, A(i, this.clonePosition()));
|
|
2797
2797
|
var r = this.parseIdentifierIfPossible().value;
|
|
2798
2798
|
if (!r)
|
|
2799
|
-
return this.error(
|
|
2799
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2800
2800
|
if (this.bumpSpace(), this.isEOF())
|
|
2801
|
-
return this.error(
|
|
2801
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2802
2802
|
switch (this.char()) {
|
|
2803
2803
|
case 125:
|
|
2804
2804
|
return this.bump(), {
|
|
2805
2805
|
val: {
|
|
2806
|
-
type:
|
|
2806
|
+
type: z.argument,
|
|
2807
2807
|
// value does not include the opening and closing braces.
|
|
2808
2808
|
value: r,
|
|
2809
|
-
location: A(
|
|
2809
|
+
location: A(i, this.clonePosition())
|
|
2810
2810
|
},
|
|
2811
2811
|
err: null
|
|
2812
2812
|
};
|
|
2813
2813
|
case 44:
|
|
2814
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2814
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, n, r, i);
|
|
2815
2815
|
default:
|
|
2816
|
-
return this.error(
|
|
2816
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2817
2817
|
}
|
|
2818
2818
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2819
|
-
var t = this.clonePosition(),
|
|
2819
|
+
var t = this.clonePosition(), n = this.offset(), i = yt(this.message, n), r = n + i.length;
|
|
2820
2820
|
this.bumpTo(r);
|
|
2821
2821
|
var o = this.clonePosition(), a = A(t, o);
|
|
2822
|
-
return { value:
|
|
2823
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2822
|
+
return { value: i, location: a };
|
|
2823
|
+
}, e.prototype.parseArgumentOptions = function(t, n, i, r) {
|
|
2824
2824
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2825
2825
|
switch (s) {
|
|
2826
2826
|
case "":
|
|
2827
|
-
return this.error(
|
|
2827
|
+
return this.error(P.EXPECT_ARGUMENT_TYPE, A(a, u));
|
|
2828
2828
|
case "number":
|
|
2829
2829
|
case "date":
|
|
2830
2830
|
case "time": {
|
|
@@ -2835,46 +2835,46 @@ var Wn = (
|
|
|
2835
2835
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
2836
2836
|
if (p.err)
|
|
2837
2837
|
return p;
|
|
2838
|
-
var m =
|
|
2838
|
+
var m = Wi(p.val);
|
|
2839
2839
|
if (m.length === 0)
|
|
2840
|
-
return this.error(
|
|
2840
|
+
return this.error(P.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2841
2841
|
var d = A(c, this.clonePosition());
|
|
2842
2842
|
l = { style: m, styleLocation: d };
|
|
2843
2843
|
}
|
|
2844
|
-
var
|
|
2845
|
-
if (
|
|
2846
|
-
return
|
|
2847
|
-
var
|
|
2848
|
-
if (l &&
|
|
2849
|
-
var y =
|
|
2844
|
+
var w = this.tryParseArgumentClose(r);
|
|
2845
|
+
if (w.err)
|
|
2846
|
+
return w;
|
|
2847
|
+
var v = A(r, this.clonePosition());
|
|
2848
|
+
if (l && jt(l == null ? void 0 : l.style, "::", 0)) {
|
|
2849
|
+
var y = qi(l.style.slice(2));
|
|
2850
2850
|
if (s === "number") {
|
|
2851
2851
|
var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
|
|
2852
2852
|
return p.err ? p : {
|
|
2853
|
-
val: { type:
|
|
2853
|
+
val: { type: z.number, value: i, location: v, style: p.val },
|
|
2854
2854
|
err: null
|
|
2855
2855
|
};
|
|
2856
2856
|
} else {
|
|
2857
2857
|
if (y.length === 0)
|
|
2858
|
-
return this.error(
|
|
2859
|
-
var
|
|
2860
|
-
this.locale && (
|
|
2858
|
+
return this.error(P.EXPECT_DATE_TIME_SKELETON, v);
|
|
2859
|
+
var T = y;
|
|
2860
|
+
this.locale && (T = Ni(y, this.locale));
|
|
2861
2861
|
var m = {
|
|
2862
|
-
type:
|
|
2863
|
-
pattern:
|
|
2862
|
+
type: Te.dateTime,
|
|
2863
|
+
pattern: T,
|
|
2864
2864
|
location: l.styleLocation,
|
|
2865
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2866
|
-
},
|
|
2865
|
+
parsedOptions: this.shouldParseSkeletons ? Bi(T) : {}
|
|
2866
|
+
}, B = s === "date" ? z.date : z.time;
|
|
2867
2867
|
return {
|
|
2868
|
-
val: { type:
|
|
2868
|
+
val: { type: B, value: i, location: v, style: m },
|
|
2869
2869
|
err: null
|
|
2870
2870
|
};
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
2873
2873
|
return {
|
|
2874
2874
|
val: {
|
|
2875
|
-
type: s === "number" ?
|
|
2876
|
-
value:
|
|
2877
|
-
location:
|
|
2875
|
+
type: s === "number" ? z.number : s === "date" ? z.date : z.time,
|
|
2876
|
+
value: i,
|
|
2877
|
+
location: v,
|
|
2878
2878
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
2879
2879
|
},
|
|
2880
2880
|
err: null
|
|
@@ -2883,61 +2883,61 @@ var Wn = (
|
|
|
2883
2883
|
case "plural":
|
|
2884
2884
|
case "selectordinal":
|
|
2885
2885
|
case "select": {
|
|
2886
|
-
var
|
|
2886
|
+
var I = this.clonePosition();
|
|
2887
2887
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2888
|
-
return this.error(
|
|
2888
|
+
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, We({}, I)));
|
|
2889
2889
|
this.bumpSpace();
|
|
2890
|
-
var
|
|
2891
|
-
if (s !== "select" &&
|
|
2890
|
+
var D = this.parseIdentifierIfPossible(), L = 0;
|
|
2891
|
+
if (s !== "select" && D.value === "offset") {
|
|
2892
2892
|
if (!this.bumpIf(":"))
|
|
2893
|
-
return this.error(
|
|
2893
|
+
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
2894
2894
|
this.bumpSpace();
|
|
2895
|
-
var p = this.tryParseDecimalInteger(
|
|
2895
|
+
var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2896
2896
|
if (p.err)
|
|
2897
2897
|
return p;
|
|
2898
|
-
this.bumpSpace(),
|
|
2898
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = p.val;
|
|
2899
2899
|
}
|
|
2900
|
-
var
|
|
2901
|
-
if (
|
|
2902
|
-
return
|
|
2903
|
-
var
|
|
2904
|
-
if (
|
|
2905
|
-
return
|
|
2906
|
-
var
|
|
2900
|
+
var H = this.tryParsePluralOrSelectOptions(t, s, n, D);
|
|
2901
|
+
if (H.err)
|
|
2902
|
+
return H;
|
|
2903
|
+
var w = this.tryParseArgumentClose(r);
|
|
2904
|
+
if (w.err)
|
|
2905
|
+
return w;
|
|
2906
|
+
var G = A(r, this.clonePosition());
|
|
2907
2907
|
return s === "select" ? {
|
|
2908
2908
|
val: {
|
|
2909
|
-
type:
|
|
2910
|
-
value:
|
|
2911
|
-
options:
|
|
2912
|
-
location:
|
|
2909
|
+
type: z.select,
|
|
2910
|
+
value: i,
|
|
2911
|
+
options: Gt(H.val),
|
|
2912
|
+
location: G
|
|
2913
2913
|
},
|
|
2914
2914
|
err: null
|
|
2915
2915
|
} : {
|
|
2916
2916
|
val: {
|
|
2917
|
-
type:
|
|
2918
|
-
value:
|
|
2919
|
-
options:
|
|
2920
|
-
offset:
|
|
2917
|
+
type: z.plural,
|
|
2918
|
+
value: i,
|
|
2919
|
+
options: Gt(H.val),
|
|
2920
|
+
offset: L,
|
|
2921
2921
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2922
|
-
location:
|
|
2922
|
+
location: G
|
|
2923
2923
|
},
|
|
2924
2924
|
err: null
|
|
2925
2925
|
};
|
|
2926
2926
|
}
|
|
2927
2927
|
default:
|
|
2928
|
-
return this.error(
|
|
2928
|
+
return this.error(P.INVALID_ARGUMENT_TYPE, A(a, u));
|
|
2929
2929
|
}
|
|
2930
2930
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2931
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2931
|
+
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2932
2932
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2933
|
-
for (var t = 0,
|
|
2934
|
-
var
|
|
2935
|
-
switch (
|
|
2933
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
2934
|
+
var i = this.char();
|
|
2935
|
+
switch (i) {
|
|
2936
2936
|
case 39: {
|
|
2937
2937
|
this.bump();
|
|
2938
2938
|
var r = this.clonePosition();
|
|
2939
2939
|
if (!this.bumpUntil("'"))
|
|
2940
|
-
return this.error(
|
|
2940
|
+
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(r, this.clonePosition()));
|
|
2941
2941
|
this.bump();
|
|
2942
2942
|
break;
|
|
2943
2943
|
}
|
|
@@ -2950,7 +2950,7 @@ var Wn = (
|
|
|
2950
2950
|
t -= 1;
|
|
2951
2951
|
else
|
|
2952
2952
|
return {
|
|
2953
|
-
val: this.message.slice(
|
|
2953
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
2954
2954
|
err: null
|
|
2955
2955
|
};
|
|
2956
2956
|
break;
|
|
@@ -2961,31 +2961,31 @@ var Wn = (
|
|
|
2961
2961
|
}
|
|
2962
2962
|
}
|
|
2963
2963
|
return {
|
|
2964
|
-
val: this.message.slice(
|
|
2964
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
2965
2965
|
err: null
|
|
2966
2966
|
};
|
|
2967
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
2968
|
-
var
|
|
2967
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2968
|
+
var i = [];
|
|
2969
2969
|
try {
|
|
2970
|
-
|
|
2970
|
+
i = Ai(t);
|
|
2971
2971
|
} catch (r) {
|
|
2972
|
-
return this.error(
|
|
2972
|
+
return this.error(P.INVALID_NUMBER_SKELETON, n);
|
|
2973
2973
|
}
|
|
2974
2974
|
return {
|
|
2975
2975
|
val: {
|
|
2976
|
-
type:
|
|
2977
|
-
tokens:
|
|
2978
|
-
location:
|
|
2979
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2976
|
+
type: Te.number,
|
|
2977
|
+
tokens: i,
|
|
2978
|
+
location: n,
|
|
2979
|
+
parsedOptions: this.shouldParseSkeletons ? Hi(i) : {}
|
|
2980
2980
|
},
|
|
2981
2981
|
err: null
|
|
2982
2982
|
};
|
|
2983
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
2983
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, i, r) {
|
|
2984
2984
|
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
|
|
2985
2985
|
if (l.length === 0) {
|
|
2986
2986
|
var p = this.clonePosition();
|
|
2987
|
-
if (
|
|
2988
|
-
var m = this.tryParseDecimalInteger(
|
|
2987
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
2988
|
+
var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2989
2989
|
if (m.err)
|
|
2990
2990
|
return m;
|
|
2991
2991
|
c = A(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
|
|
@@ -2993,29 +2993,29 @@ var Wn = (
|
|
|
2993
2993
|
break;
|
|
2994
2994
|
}
|
|
2995
2995
|
if (u.has(l))
|
|
2996
|
-
return this.error(
|
|
2996
|
+
return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
2997
2997
|
l === "other" && (a = !0), this.bumpSpace();
|
|
2998
2998
|
var d = this.clonePosition();
|
|
2999
2999
|
if (!this.bumpIf("{"))
|
|
3000
|
-
return this.error(
|
|
3001
|
-
var
|
|
3002
|
-
if (
|
|
3003
|
-
return
|
|
3004
|
-
var
|
|
3005
|
-
if (
|
|
3006
|
-
return
|
|
3000
|
+
return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
3001
|
+
var w = this.parseMessage(t + 1, n, i);
|
|
3002
|
+
if (w.err)
|
|
3003
|
+
return w;
|
|
3004
|
+
var v = this.tryParseArgumentClose(d);
|
|
3005
|
+
if (v.err)
|
|
3006
|
+
return v;
|
|
3007
3007
|
s.push([
|
|
3008
3008
|
l,
|
|
3009
3009
|
{
|
|
3010
|
-
value:
|
|
3010
|
+
value: w.val,
|
|
3011
3011
|
location: A(d, this.clonePosition())
|
|
3012
3012
|
}
|
|
3013
3013
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
3014
3014
|
}
|
|
3015
|
-
return s.length === 0 ? this.error(
|
|
3016
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3017
|
-
var
|
|
3018
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3015
|
+
return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3016
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3017
|
+
var i = 1, r = this.clonePosition();
|
|
3018
|
+
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3019
3019
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3020
3020
|
var s = this.char();
|
|
3021
3021
|
if (s >= 48 && s <= 57)
|
|
@@ -3024,7 +3024,7 @@ var Wn = (
|
|
|
3024
3024
|
break;
|
|
3025
3025
|
}
|
|
3026
3026
|
var u = A(r, this.clonePosition());
|
|
3027
|
-
return o ? (a *=
|
|
3027
|
+
return o ? (a *= i, Vi(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
|
|
3028
3028
|
}, e.prototype.offset = function() {
|
|
3029
3029
|
return this.position.offset;
|
|
3030
3030
|
}, e.prototype.isEOF = function() {
|
|
@@ -3039,17 +3039,17 @@ var Wn = (
|
|
|
3039
3039
|
var t = this.position.offset;
|
|
3040
3040
|
if (t >= this.message.length)
|
|
3041
3041
|
throw Error("out of bound");
|
|
3042
|
-
var
|
|
3043
|
-
if (
|
|
3042
|
+
var n = bn(this.message, t);
|
|
3043
|
+
if (n === void 0)
|
|
3044
3044
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3045
|
-
return
|
|
3046
|
-
}, e.prototype.error = function(t,
|
|
3045
|
+
return n;
|
|
3046
|
+
}, e.prototype.error = function(t, n) {
|
|
3047
3047
|
return {
|
|
3048
3048
|
val: null,
|
|
3049
3049
|
err: {
|
|
3050
3050
|
kind: t,
|
|
3051
3051
|
message: this.message,
|
|
3052
|
-
location:
|
|
3052
|
+
location: n
|
|
3053
3053
|
}
|
|
3054
3054
|
};
|
|
3055
3055
|
}, e.prototype.bump = function() {
|
|
@@ -3058,286 +3058,286 @@ var Wn = (
|
|
|
3058
3058
|
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);
|
|
3059
3059
|
}
|
|
3060
3060
|
}, e.prototype.bumpIf = function(t) {
|
|
3061
|
-
if (
|
|
3062
|
-
for (var
|
|
3061
|
+
if (jt(this.message, t, this.offset())) {
|
|
3062
|
+
for (var n = 0; n < t.length; n++)
|
|
3063
3063
|
this.bump();
|
|
3064
3064
|
return !0;
|
|
3065
3065
|
}
|
|
3066
3066
|
return !1;
|
|
3067
3067
|
}, e.prototype.bumpUntil = function(t) {
|
|
3068
|
-
var
|
|
3069
|
-
return
|
|
3068
|
+
var n = this.offset(), i = this.message.indexOf(t, n);
|
|
3069
|
+
return i >= 0 ? (this.bumpTo(i), !0) : (this.bumpTo(this.message.length), !1);
|
|
3070
3070
|
}, e.prototype.bumpTo = function(t) {
|
|
3071
3071
|
if (this.offset() > t)
|
|
3072
3072
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3073
3073
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3074
|
-
var
|
|
3075
|
-
if (
|
|
3074
|
+
var n = this.offset();
|
|
3075
|
+
if (n === t)
|
|
3076
3076
|
break;
|
|
3077
|
-
if (
|
|
3077
|
+
if (n > t)
|
|
3078
3078
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3079
3079
|
if (this.bump(), this.isEOF())
|
|
3080
3080
|
break;
|
|
3081
3081
|
}
|
|
3082
3082
|
}, e.prototype.bumpSpace = function() {
|
|
3083
|
-
for (; !this.isEOF() &&
|
|
3083
|
+
for (; !this.isEOF() && yn(this.char()); )
|
|
3084
3084
|
this.bump();
|
|
3085
3085
|
}, e.prototype.peek = function() {
|
|
3086
3086
|
if (this.isEOF())
|
|
3087
3087
|
return null;
|
|
3088
|
-
var t = this.char(),
|
|
3089
|
-
return
|
|
3088
|
+
var t = this.char(), n = this.offset(), i = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3089
|
+
return i != null ? i : null;
|
|
3090
3090
|
}, e;
|
|
3091
3091
|
}()
|
|
3092
3092
|
);
|
|
3093
|
-
function
|
|
3093
|
+
function vt(e) {
|
|
3094
3094
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3095
3095
|
}
|
|
3096
|
-
function
|
|
3097
|
-
return
|
|
3096
|
+
function Yi(e) {
|
|
3097
|
+
return vt(e) || e === 47;
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3099
|
+
function Ji(e) {
|
|
3100
3100
|
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;
|
|
3101
3101
|
}
|
|
3102
|
-
function
|
|
3102
|
+
function yn(e) {
|
|
3103
3103
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3104
3104
|
}
|
|
3105
|
-
function
|
|
3105
|
+
function Qi(e) {
|
|
3106
3106
|
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;
|
|
3107
3107
|
}
|
|
3108
|
-
function
|
|
3108
|
+
function Et(e) {
|
|
3109
3109
|
e.forEach(function(t) {
|
|
3110
|
-
if (delete t.location,
|
|
3111
|
-
for (var
|
|
3112
|
-
delete t.options[
|
|
3110
|
+
if (delete t.location, ln(t) || un(t))
|
|
3111
|
+
for (var n in t.options)
|
|
3112
|
+
delete t.options[n].location, Et(t.options[n].value);
|
|
3113
3113
|
else
|
|
3114
|
-
|
|
3114
|
+
on(t) && hn(t.style) || (sn(t) || an(t)) && dt(t.style) ? delete t.style.location : cn(t) && Et(t.children);
|
|
3115
3115
|
});
|
|
3116
3116
|
}
|
|
3117
|
-
function
|
|
3118
|
-
t === void 0 && (t = {}), t =
|
|
3119
|
-
var
|
|
3120
|
-
if (
|
|
3121
|
-
var
|
|
3122
|
-
throw
|
|
3117
|
+
function Ki(e, t) {
|
|
3118
|
+
t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3119
|
+
var n = new Zi(e, t).parse();
|
|
3120
|
+
if (n.err) {
|
|
3121
|
+
var i = SyntaxError(P[n.err.kind]);
|
|
3122
|
+
throw i.location = n.err.location, i.originalMessage = n.err.message, i;
|
|
3123
3123
|
}
|
|
3124
|
-
return t != null && t.captureLocation ||
|
|
3124
|
+
return t != null && t.captureLocation || Et(n.val), n.val;
|
|
3125
3125
|
}
|
|
3126
|
-
var
|
|
3126
|
+
var Pe;
|
|
3127
3127
|
(function(e) {
|
|
3128
3128
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3129
|
-
})(
|
|
3130
|
-
var
|
|
3129
|
+
})(Pe || (Pe = {}));
|
|
3130
|
+
var Ke = (
|
|
3131
3131
|
/** @class */
|
|
3132
3132
|
function(e) {
|
|
3133
|
-
|
|
3134
|
-
function t(
|
|
3135
|
-
var o = e.call(this,
|
|
3136
|
-
return o.code =
|
|
3133
|
+
Qe(t, e);
|
|
3134
|
+
function t(n, i, r) {
|
|
3135
|
+
var o = e.call(this, n) || this;
|
|
3136
|
+
return o.code = i, o.originalMessage = r, o;
|
|
3137
3137
|
}
|
|
3138
3138
|
return t.prototype.toString = function() {
|
|
3139
3139
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3140
3140
|
}, t;
|
|
3141
3141
|
}(Error)
|
|
3142
|
-
),
|
|
3142
|
+
), zt = (
|
|
3143
3143
|
/** @class */
|
|
3144
3144
|
function(e) {
|
|
3145
|
-
|
|
3146
|
-
function t(
|
|
3147
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3145
|
+
Qe(t, e);
|
|
3146
|
+
function t(n, i, r, o) {
|
|
3147
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(i, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
|
|
3148
3148
|
}
|
|
3149
3149
|
return t;
|
|
3150
|
-
}(
|
|
3151
|
-
),
|
|
3150
|
+
}(Ke)
|
|
3151
|
+
), er = (
|
|
3152
3152
|
/** @class */
|
|
3153
3153
|
function(e) {
|
|
3154
|
-
|
|
3155
|
-
function t(
|
|
3156
|
-
return e.call(this, 'Value for "'.concat(
|
|
3154
|
+
Qe(t, e);
|
|
3155
|
+
function t(n, i, r) {
|
|
3156
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), Pe.INVALID_VALUE, r) || this;
|
|
3157
3157
|
}
|
|
3158
3158
|
return t;
|
|
3159
|
-
}(
|
|
3160
|
-
),
|
|
3159
|
+
}(Ke)
|
|
3160
|
+
), tr = (
|
|
3161
3161
|
/** @class */
|
|
3162
3162
|
function(e) {
|
|
3163
|
-
|
|
3164
|
-
function t(
|
|
3165
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3163
|
+
Qe(t, e);
|
|
3164
|
+
function t(n, i) {
|
|
3165
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
|
|
3166
3166
|
}
|
|
3167
3167
|
return t;
|
|
3168
|
-
}(
|
|
3169
|
-
),
|
|
3168
|
+
}(Ke)
|
|
3169
|
+
), q;
|
|
3170
3170
|
(function(e) {
|
|
3171
3171
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3172
|
-
})(
|
|
3173
|
-
function
|
|
3174
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3175
|
-
var
|
|
3176
|
-
return !
|
|
3172
|
+
})(q || (q = {}));
|
|
3173
|
+
function nr(e) {
|
|
3174
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3175
|
+
var i = t[t.length - 1];
|
|
3176
|
+
return !i || i.type !== q.literal || n.type !== q.literal ? t.push(n) : i.value += n.value, t;
|
|
3177
3177
|
}, []);
|
|
3178
3178
|
}
|
|
3179
3179
|
function ir(e) {
|
|
3180
3180
|
return typeof e == "function";
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3183
|
-
if (e.length === 1 &&
|
|
3182
|
+
function Xe(e, t, n, i, r, o, a) {
|
|
3183
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3184
3184
|
return [
|
|
3185
3185
|
{
|
|
3186
|
-
type:
|
|
3186
|
+
type: q.literal,
|
|
3187
3187
|
value: e[0].value
|
|
3188
3188
|
}
|
|
3189
3189
|
];
|
|
3190
3190
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3191
3191
|
var c = l[u];
|
|
3192
|
-
if (
|
|
3192
|
+
if (Mt(c)) {
|
|
3193
3193
|
s.push({
|
|
3194
|
-
type:
|
|
3194
|
+
type: q.literal,
|
|
3195
3195
|
value: c.value
|
|
3196
3196
|
});
|
|
3197
3197
|
continue;
|
|
3198
3198
|
}
|
|
3199
|
-
if (
|
|
3199
|
+
if (Pi(c)) {
|
|
3200
3200
|
typeof o == "number" && s.push({
|
|
3201
|
-
type:
|
|
3202
|
-
value:
|
|
3201
|
+
type: q.literal,
|
|
3202
|
+
value: n.getNumberFormat(t).format(o)
|
|
3203
3203
|
});
|
|
3204
3204
|
continue;
|
|
3205
3205
|
}
|
|
3206
3206
|
var p = c.value;
|
|
3207
3207
|
if (!(r && p in r))
|
|
3208
|
-
throw new
|
|
3208
|
+
throw new tr(p, a);
|
|
3209
3209
|
var m = r[p];
|
|
3210
|
-
if (
|
|
3210
|
+
if (Ti(c)) {
|
|
3211
3211
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3212
|
-
type: typeof m == "string" ?
|
|
3212
|
+
type: typeof m == "string" ? q.literal : q.object,
|
|
3213
3213
|
value: m
|
|
3214
3214
|
});
|
|
3215
3215
|
continue;
|
|
3216
3216
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var d = typeof c.style == "string" ?
|
|
3217
|
+
if (sn(c)) {
|
|
3218
|
+
var d = typeof c.style == "string" ? i.date[c.style] : dt(c.style) ? c.style.parsedOptions : void 0;
|
|
3219
3219
|
s.push({
|
|
3220
|
-
type:
|
|
3221
|
-
value:
|
|
3220
|
+
type: q.literal,
|
|
3221
|
+
value: n.getDateTimeFormat(t, d).format(m)
|
|
3222
3222
|
});
|
|
3223
3223
|
continue;
|
|
3224
3224
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var d = typeof c.style == "string" ?
|
|
3225
|
+
if (an(c)) {
|
|
3226
|
+
var d = typeof c.style == "string" ? i.time[c.style] : dt(c.style) ? c.style.parsedOptions : i.time.medium;
|
|
3227
3227
|
s.push({
|
|
3228
|
-
type:
|
|
3229
|
-
value:
|
|
3228
|
+
type: q.literal,
|
|
3229
|
+
value: n.getDateTimeFormat(t, d).format(m)
|
|
3230
3230
|
});
|
|
3231
3231
|
continue;
|
|
3232
3232
|
}
|
|
3233
|
-
if (
|
|
3234
|
-
var d = typeof c.style == "string" ?
|
|
3233
|
+
if (on(c)) {
|
|
3234
|
+
var d = typeof c.style == "string" ? i.number[c.style] : hn(c.style) ? c.style.parsedOptions : void 0;
|
|
3235
3235
|
d && d.scale && (m = m * (d.scale || 1)), s.push({
|
|
3236
|
-
type:
|
|
3237
|
-
value:
|
|
3236
|
+
type: q.literal,
|
|
3237
|
+
value: n.getNumberFormat(t, d).format(m)
|
|
3238
3238
|
});
|
|
3239
3239
|
continue;
|
|
3240
3240
|
}
|
|
3241
|
-
if (
|
|
3242
|
-
var
|
|
3241
|
+
if (cn(c)) {
|
|
3242
|
+
var w = c.children, v = c.value, y = r[v];
|
|
3243
3243
|
if (!ir(y))
|
|
3244
|
-
throw new
|
|
3245
|
-
var
|
|
3246
|
-
return
|
|
3244
|
+
throw new er(v, "function", a);
|
|
3245
|
+
var T = Xe(w, t, n, i, r, o), B = y(T.map(function(L) {
|
|
3246
|
+
return L.value;
|
|
3247
3247
|
}));
|
|
3248
|
-
Array.isArray(
|
|
3248
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(L) {
|
|
3249
3249
|
return {
|
|
3250
|
-
type: typeof
|
|
3251
|
-
value:
|
|
3250
|
+
type: typeof L == "string" ? q.literal : q.object,
|
|
3251
|
+
value: L
|
|
3252
3252
|
};
|
|
3253
3253
|
}));
|
|
3254
3254
|
}
|
|
3255
|
-
if (
|
|
3256
|
-
var
|
|
3257
|
-
if (!
|
|
3258
|
-
throw new
|
|
3259
|
-
s.push.apply(s,
|
|
3255
|
+
if (ln(c)) {
|
|
3256
|
+
var I = c.options[m] || c.options.other;
|
|
3257
|
+
if (!I)
|
|
3258
|
+
throw new zt(c.value, m, Object.keys(c.options), a);
|
|
3259
|
+
s.push.apply(s, Xe(I.value, t, n, i, r));
|
|
3260
3260
|
continue;
|
|
3261
3261
|
}
|
|
3262
|
-
if (
|
|
3263
|
-
var
|
|
3264
|
-
if (!
|
|
3262
|
+
if (un(c)) {
|
|
3263
|
+
var I = c.options["=".concat(m)];
|
|
3264
|
+
if (!I) {
|
|
3265
3265
|
if (!Intl.PluralRules)
|
|
3266
|
-
throw new
|
|
3266
|
+
throw new Ke(`Intl.PluralRules is not available in this environment.
|
|
3267
3267
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3268
|
-
`,
|
|
3269
|
-
var
|
|
3270
|
-
|
|
3268
|
+
`, Pe.MISSING_INTL_API, a);
|
|
3269
|
+
var D = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
|
|
3270
|
+
I = c.options[D] || c.options.other;
|
|
3271
3271
|
}
|
|
3272
|
-
if (!
|
|
3273
|
-
throw new
|
|
3274
|
-
s.push.apply(s,
|
|
3272
|
+
if (!I)
|
|
3273
|
+
throw new zt(c.value, m, Object.keys(c.options), a);
|
|
3274
|
+
s.push.apply(s, Xe(I.value, t, n, i, r, m - (c.offset || 0)));
|
|
3275
3275
|
continue;
|
|
3276
3276
|
}
|
|
3277
3277
|
}
|
|
3278
|
-
return
|
|
3278
|
+
return nr(s);
|
|
3279
3279
|
}
|
|
3280
|
-
function
|
|
3281
|
-
return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
3282
|
-
return i
|
|
3280
|
+
function rr(e, t) {
|
|
3281
|
+
return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(n, i) {
|
|
3282
|
+
return n[i] = se(se({}, e[i]), t[i] || {}), n;
|
|
3283
3283
|
}, {})) : e;
|
|
3284
3284
|
}
|
|
3285
|
-
function
|
|
3286
|
-
return t ? Object.keys(e).reduce(function(
|
|
3287
|
-
return i
|
|
3285
|
+
function or(e, t) {
|
|
3286
|
+
return t ? Object.keys(e).reduce(function(n, i) {
|
|
3287
|
+
return n[i] = rr(e[i], t[i]), n;
|
|
3288
3288
|
}, se({}, e)) : e;
|
|
3289
3289
|
}
|
|
3290
|
-
function
|
|
3290
|
+
function ct(e) {
|
|
3291
3291
|
return {
|
|
3292
3292
|
create: function() {
|
|
3293
3293
|
return {
|
|
3294
3294
|
get: function(t) {
|
|
3295
3295
|
return e[t];
|
|
3296
3296
|
},
|
|
3297
|
-
set: function(t,
|
|
3298
|
-
e[t] =
|
|
3297
|
+
set: function(t, n) {
|
|
3298
|
+
e[t] = n;
|
|
3299
3299
|
}
|
|
3300
3300
|
};
|
|
3301
3301
|
}
|
|
3302
3302
|
};
|
|
3303
3303
|
}
|
|
3304
|
-
function
|
|
3304
|
+
function sr(e) {
|
|
3305
3305
|
return e === void 0 && (e = {
|
|
3306
3306
|
number: {},
|
|
3307
3307
|
dateTime: {},
|
|
3308
3308
|
pluralRules: {}
|
|
3309
3309
|
}), {
|
|
3310
|
-
getNumberFormat:
|
|
3311
|
-
for (var t,
|
|
3312
|
-
i
|
|
3313
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3310
|
+
getNumberFormat: at(function() {
|
|
3311
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3312
|
+
n[i] = arguments[i];
|
|
3313
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], n, !1)))();
|
|
3314
3314
|
}, {
|
|
3315
|
-
cache:
|
|
3316
|
-
strategy:
|
|
3315
|
+
cache: ct(e.number),
|
|
3316
|
+
strategy: lt.variadic
|
|
3317
3317
|
}),
|
|
3318
|
-
getDateTimeFormat:
|
|
3319
|
-
for (var t,
|
|
3320
|
-
i
|
|
3321
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3318
|
+
getDateTimeFormat: at(function() {
|
|
3319
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3320
|
+
n[i] = arguments[i];
|
|
3321
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], n, !1)))();
|
|
3322
3322
|
}, {
|
|
3323
|
-
cache:
|
|
3324
|
-
strategy:
|
|
3323
|
+
cache: ct(e.dateTime),
|
|
3324
|
+
strategy: lt.variadic
|
|
3325
3325
|
}),
|
|
3326
|
-
getPluralRules:
|
|
3327
|
-
for (var t,
|
|
3328
|
-
i
|
|
3329
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3326
|
+
getPluralRules: at(function() {
|
|
3327
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3328
|
+
n[i] = arguments[i];
|
|
3329
|
+
return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], n, !1)))();
|
|
3330
3330
|
}, {
|
|
3331
|
-
cache:
|
|
3332
|
-
strategy:
|
|
3331
|
+
cache: ct(e.pluralRules),
|
|
3332
|
+
strategy: lt.variadic
|
|
3333
3333
|
})
|
|
3334
3334
|
};
|
|
3335
3335
|
}
|
|
3336
|
-
var
|
|
3336
|
+
var ar = (
|
|
3337
3337
|
/** @class */
|
|
3338
3338
|
function() {
|
|
3339
|
-
function e(t,
|
|
3340
|
-
|
|
3339
|
+
function e(t, n, i, r) {
|
|
3340
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3341
3341
|
var o = this;
|
|
3342
3342
|
if (this.formatterCache = {
|
|
3343
3343
|
number: {},
|
|
@@ -3348,11 +3348,11 @@ var sr = (
|
|
|
3348
3348
|
if (l.length === 1)
|
|
3349
3349
|
return l[0].value;
|
|
3350
3350
|
var c = l.reduce(function(p, m) {
|
|
3351
|
-
return !p.length || m.type !==
|
|
3351
|
+
return !p.length || m.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
|
|
3352
3352
|
}, []);
|
|
3353
3353
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3354
3354
|
}, this.formatToParts = function(u) {
|
|
3355
|
-
return
|
|
3355
|
+
return Xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3356
3356
|
}, this.resolvedOptions = function() {
|
|
3357
3357
|
var u;
|
|
3358
3358
|
return {
|
|
@@ -3360,18 +3360,18 @@ var sr = (
|
|
|
3360
3360
|
};
|
|
3361
3361
|
}, this.getAst = function() {
|
|
3362
3362
|
return o.ast;
|
|
3363
|
-
}, this.locales =
|
|
3363
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3364
3364
|
if (this.message = t, !e.__parse)
|
|
3365
3365
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3366
3366
|
var a = r || {};
|
|
3367
3367
|
a.formatters;
|
|
3368
|
-
var s =
|
|
3368
|
+
var s = bi(a, ["formatters"]);
|
|
3369
3369
|
this.ast = e.__parse(t, se(se({}, s), { locale: this.resolvedLocale }));
|
|
3370
3370
|
} else
|
|
3371
3371
|
this.ast = t;
|
|
3372
3372
|
if (!Array.isArray(this.ast))
|
|
3373
3373
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3374
|
-
this.formats =
|
|
3374
|
+
this.formats = or(e.formats, i), this.formatters = r && r.formatters || sr(this.formatterCache);
|
|
3375
3375
|
}
|
|
3376
3376
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3377
3377
|
get: function() {
|
|
@@ -3381,10 +3381,10 @@ var sr = (
|
|
|
3381
3381
|
configurable: !0
|
|
3382
3382
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3383
3383
|
if (typeof Intl.Locale != "undefined") {
|
|
3384
|
-
var
|
|
3385
|
-
return
|
|
3384
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3385
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3386
3386
|
}
|
|
3387
|
-
}, e.__parse =
|
|
3387
|
+
}, e.__parse = Ki, e.formats = {
|
|
3388
3388
|
number: {
|
|
3389
3389
|
integer: {
|
|
3390
3390
|
maximumFractionDigits: 0
|
|
@@ -3445,113 +3445,113 @@ var sr = (
|
|
|
3445
3445
|
}, e;
|
|
3446
3446
|
}()
|
|
3447
3447
|
);
|
|
3448
|
-
function
|
|
3448
|
+
function lr(e, t) {
|
|
3449
3449
|
if (t == null)
|
|
3450
3450
|
return;
|
|
3451
3451
|
if (t in e)
|
|
3452
3452
|
return e[t];
|
|
3453
|
-
const
|
|
3454
|
-
let
|
|
3455
|
-
for (let r = 0; r <
|
|
3456
|
-
if (typeof
|
|
3453
|
+
const n = t.split(".");
|
|
3454
|
+
let i = e;
|
|
3455
|
+
for (let r = 0; r < n.length; r++)
|
|
3456
|
+
if (typeof i == "object") {
|
|
3457
3457
|
if (r > 0) {
|
|
3458
|
-
const o =
|
|
3459
|
-
if (o in
|
|
3460
|
-
|
|
3458
|
+
const o = n.slice(r, n.length).join(".");
|
|
3459
|
+
if (o in i) {
|
|
3460
|
+
i = i[o];
|
|
3461
3461
|
break;
|
|
3462
3462
|
}
|
|
3463
3463
|
}
|
|
3464
|
-
|
|
3464
|
+
i = i[n[r]];
|
|
3465
3465
|
} else
|
|
3466
|
-
|
|
3467
|
-
return
|
|
3466
|
+
i = void 0;
|
|
3467
|
+
return i;
|
|
3468
3468
|
}
|
|
3469
|
-
const ue = {},
|
|
3469
|
+
const ue = {}, ur = (e, t, n) => n && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = n), n), vn = (e, t) => {
|
|
3470
3470
|
if (t == null)
|
|
3471
3471
|
return;
|
|
3472
3472
|
if (t in ue && e in ue[t])
|
|
3473
3473
|
return ue[t][e];
|
|
3474
|
-
const
|
|
3475
|
-
for (let
|
|
3476
|
-
const r = i
|
|
3474
|
+
const n = et(t);
|
|
3475
|
+
for (let i = 0; i < n.length; i++) {
|
|
3476
|
+
const r = n[i], o = hr(r, e);
|
|
3477
3477
|
if (o)
|
|
3478
|
-
return
|
|
3478
|
+
return ur(e, t, o);
|
|
3479
3479
|
}
|
|
3480
3480
|
};
|
|
3481
3481
|
let Tt;
|
|
3482
|
-
const
|
|
3483
|
-
function
|
|
3482
|
+
const je = Je({});
|
|
3483
|
+
function cr(e) {
|
|
3484
3484
|
return Tt[e] || null;
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function En(e) {
|
|
3487
3487
|
return e in Tt;
|
|
3488
3488
|
}
|
|
3489
|
-
function
|
|
3490
|
-
if (!
|
|
3489
|
+
function hr(e, t) {
|
|
3490
|
+
if (!En(e))
|
|
3491
3491
|
return null;
|
|
3492
|
-
const
|
|
3493
|
-
return
|
|
3492
|
+
const n = cr(e);
|
|
3493
|
+
return lr(n, t);
|
|
3494
3494
|
}
|
|
3495
|
-
function
|
|
3495
|
+
function fr(e) {
|
|
3496
3496
|
if (e == null)
|
|
3497
3497
|
return;
|
|
3498
|
-
const t =
|
|
3499
|
-
for (let
|
|
3500
|
-
const
|
|
3501
|
-
if (
|
|
3502
|
-
return
|
|
3498
|
+
const t = et(e);
|
|
3499
|
+
for (let n = 0; n < t.length; n++) {
|
|
3500
|
+
const i = t[n];
|
|
3501
|
+
if (En(i))
|
|
3502
|
+
return i;
|
|
3503
3503
|
}
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3506
|
-
delete ue[e],
|
|
3505
|
+
function _n(e, ...t) {
|
|
3506
|
+
delete ue[e], je.update((n) => (n[e] = di.all([n[e] || {}, ...t]), n));
|
|
3507
3507
|
}
|
|
3508
|
-
|
|
3509
|
-
[
|
|
3508
|
+
Be(
|
|
3509
|
+
[je],
|
|
3510
3510
|
([e]) => Object.keys(e)
|
|
3511
3511
|
);
|
|
3512
|
-
|
|
3513
|
-
const
|
|
3514
|
-
function
|
|
3515
|
-
|
|
3516
|
-
}
|
|
3517
|
-
function
|
|
3518
|
-
return
|
|
3519
|
-
}
|
|
3520
|
-
function
|
|
3521
|
-
return
|
|
3522
|
-
const
|
|
3523
|
-
return [t,
|
|
3512
|
+
je.subscribe((e) => Tt = e);
|
|
3513
|
+
const qe = {};
|
|
3514
|
+
function pr(e, t) {
|
|
3515
|
+
qe[e].delete(t), qe[e].size === 0 && delete qe[e];
|
|
3516
|
+
}
|
|
3517
|
+
function xn(e) {
|
|
3518
|
+
return qe[e];
|
|
3519
|
+
}
|
|
3520
|
+
function mr(e) {
|
|
3521
|
+
return et(e).map((t) => {
|
|
3522
|
+
const n = xn(t);
|
|
3523
|
+
return [t, n ? [...n] : []];
|
|
3524
3524
|
}).filter(([, t]) => t.length > 0);
|
|
3525
3525
|
}
|
|
3526
|
-
function
|
|
3527
|
-
return e == null ? !1 :
|
|
3526
|
+
function _t(e) {
|
|
3527
|
+
return e == null ? !1 : et(e).some(
|
|
3528
3528
|
(t) => {
|
|
3529
|
-
var
|
|
3530
|
-
return (
|
|
3529
|
+
var n;
|
|
3530
|
+
return (n = xn(t)) == null ? void 0 : n.size;
|
|
3531
3531
|
}
|
|
3532
3532
|
);
|
|
3533
3533
|
}
|
|
3534
|
-
function
|
|
3534
|
+
function dr(e, t) {
|
|
3535
3535
|
return Promise.all(
|
|
3536
|
-
t.map((
|
|
3537
|
-
).then((
|
|
3538
|
-
}
|
|
3539
|
-
const
|
|
3540
|
-
function
|
|
3541
|
-
if (!
|
|
3542
|
-
return e in
|
|
3543
|
-
const t =
|
|
3544
|
-
return
|
|
3536
|
+
t.map((i) => (pr(e, i), i().then((r) => r.default || r)))
|
|
3537
|
+
).then((i) => _n(e, ...i));
|
|
3538
|
+
}
|
|
3539
|
+
const Ne = {};
|
|
3540
|
+
function wn(e) {
|
|
3541
|
+
if (!_t(e))
|
|
3542
|
+
return e in Ne ? Ne[e] : Promise.resolve();
|
|
3543
|
+
const t = mr(e);
|
|
3544
|
+
return Ne[e] = Promise.all(
|
|
3545
3545
|
t.map(
|
|
3546
|
-
([
|
|
3546
|
+
([n, i]) => dr(n, i)
|
|
3547
3547
|
)
|
|
3548
3548
|
).then(() => {
|
|
3549
|
-
if (
|
|
3550
|
-
return
|
|
3551
|
-
delete
|
|
3552
|
-
}),
|
|
3549
|
+
if (_t(e))
|
|
3550
|
+
return wn(e);
|
|
3551
|
+
delete Ne[e];
|
|
3552
|
+
}), Ne[e];
|
|
3553
3553
|
}
|
|
3554
|
-
const
|
|
3554
|
+
const br = {
|
|
3555
3555
|
number: {
|
|
3556
3556
|
scientific: { notation: "scientific" },
|
|
3557
3557
|
engineering: { notation: "engineering" },
|
|
@@ -3583,147 +3583,147 @@ const dr = {
|
|
|
3583
3583
|
}, gr = {
|
|
3584
3584
|
fallbackLocale: null,
|
|
3585
3585
|
loadingDelay: 200,
|
|
3586
|
-
formats:
|
|
3586
|
+
formats: br,
|
|
3587
3587
|
warnOnMissingMessages: !0,
|
|
3588
3588
|
handleMissingMessage: void 0,
|
|
3589
3589
|
ignoreTag: !0
|
|
3590
|
-
},
|
|
3591
|
-
function
|
|
3592
|
-
return
|
|
3593
|
-
}
|
|
3594
|
-
const
|
|
3595
|
-
var
|
|
3596
|
-
for (var
|
|
3597
|
-
|
|
3598
|
-
if (
|
|
3599
|
-
for (var
|
|
3600
|
-
|
|
3590
|
+
}, yr = gr;
|
|
3591
|
+
function Se() {
|
|
3592
|
+
return yr;
|
|
3593
|
+
}
|
|
3594
|
+
const ht = Je(!1);
|
|
3595
|
+
var vr = Object.defineProperty, Er = Object.defineProperties, _r = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tr = (e, t) => {
|
|
3596
|
+
for (var n in t || (t = {}))
|
|
3597
|
+
xr.call(t, n) && Vt(e, n, t[n]);
|
|
3598
|
+
if (Ft)
|
|
3599
|
+
for (var n of Ft(t))
|
|
3600
|
+
wr.call(t, n) && Vt(e, n, t[n]);
|
|
3601
3601
|
return e;
|
|
3602
|
-
}, Pr = (e, t) =>
|
|
3603
|
-
let
|
|
3604
|
-
const
|
|
3605
|
-
function
|
|
3606
|
-
return e.split("-").map((t,
|
|
3602
|
+
}, Pr = (e, t) => Er(e, _r(t));
|
|
3603
|
+
let xt;
|
|
3604
|
+
const Ze = Je(null);
|
|
3605
|
+
function Xt(e) {
|
|
3606
|
+
return e.split("-").map((t, n, i) => i.slice(0, n + 1).join("-")).reverse();
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3609
|
-
const
|
|
3610
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3608
|
+
function et(e, t = Se().fallbackLocale) {
|
|
3609
|
+
const n = Xt(e);
|
|
3610
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Xt(t)])] : n;
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3613
|
-
return
|
|
3612
|
+
function pe() {
|
|
3613
|
+
return xt != null ? xt : void 0;
|
|
3614
3614
|
}
|
|
3615
|
-
|
|
3616
|
-
|
|
3615
|
+
Ze.subscribe((e) => {
|
|
3616
|
+
xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3617
3617
|
});
|
|
3618
|
-
const
|
|
3619
|
-
if (e &&
|
|
3620
|
-
const { loadingDelay: t } =
|
|
3621
|
-
let
|
|
3622
|
-
return typeof window != "undefined" &&
|
|
3623
|
-
() =>
|
|
3618
|
+
const Sr = (e) => {
|
|
3619
|
+
if (e && fr(e) && _t(e)) {
|
|
3620
|
+
const { loadingDelay: t } = Se();
|
|
3621
|
+
let n;
|
|
3622
|
+
return typeof window != "undefined" && pe() != null && t ? n = window.setTimeout(
|
|
3623
|
+
() => ht.set(!0),
|
|
3624
3624
|
t
|
|
3625
|
-
) :
|
|
3626
|
-
|
|
3625
|
+
) : ht.set(!0), wn(e).then(() => {
|
|
3626
|
+
Ze.set(e);
|
|
3627
3627
|
}).finally(() => {
|
|
3628
|
-
clearTimeout(
|
|
3628
|
+
clearTimeout(n), ht.set(!1);
|
|
3629
3629
|
});
|
|
3630
3630
|
}
|
|
3631
|
-
return
|
|
3632
|
-
},
|
|
3633
|
-
set:
|
|
3634
|
-
}),
|
|
3631
|
+
return Ze.set(e);
|
|
3632
|
+
}, Le = Pr(Tr({}, Ze), {
|
|
3633
|
+
set: Sr
|
|
3634
|
+
}), tt = (e) => {
|
|
3635
3635
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3636
|
-
return (
|
|
3637
|
-
const r = JSON.stringify(
|
|
3638
|
-
return r in t ? t[r] : t[r] = e(
|
|
3636
|
+
return (i) => {
|
|
3637
|
+
const r = JSON.stringify(i);
|
|
3638
|
+
return r in t ? t[r] : t[r] = e(i);
|
|
3639
3639
|
};
|
|
3640
3640
|
};
|
|
3641
|
-
var Br = Object.defineProperty,
|
|
3642
|
-
for (var
|
|
3643
|
-
|
|
3644
|
-
if (
|
|
3645
|
-
for (var
|
|
3646
|
-
|
|
3641
|
+
var Br = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t) => {
|
|
3642
|
+
for (var n in t || (t = {}))
|
|
3643
|
+
Tn.call(t, n) && qt(e, n, t[n]);
|
|
3644
|
+
if (Ye)
|
|
3645
|
+
for (var n of Ye(t))
|
|
3646
|
+
Pn.call(t, n) && qt(e, n, t[n]);
|
|
3647
3647
|
return e;
|
|
3648
|
-
},
|
|
3649
|
-
var
|
|
3650
|
-
for (var
|
|
3651
|
-
|
|
3652
|
-
if (e != null &&
|
|
3653
|
-
for (var
|
|
3654
|
-
t.indexOf(
|
|
3655
|
-
return
|
|
3648
|
+
}, Ae = (e, t) => {
|
|
3649
|
+
var n = {};
|
|
3650
|
+
for (var i in e)
|
|
3651
|
+
Tn.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
|
|
3652
|
+
if (e != null && Ye)
|
|
3653
|
+
for (var i of Ye(e))
|
|
3654
|
+
t.indexOf(i) < 0 && Pn.call(e, i) && (n[i] = e[i]);
|
|
3655
|
+
return n;
|
|
3656
3656
|
};
|
|
3657
|
-
const
|
|
3658
|
-
const { formats:
|
|
3659
|
-
if (e in
|
|
3660
|
-
return
|
|
3657
|
+
const Ue = (e, t) => {
|
|
3658
|
+
const { formats: n } = Se();
|
|
3659
|
+
if (e in n && t in n[e])
|
|
3660
|
+
return n[e][t];
|
|
3661
3661
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3662
|
-
}, Lr =
|
|
3662
|
+
}, Lr = tt(
|
|
3663
3663
|
(e) => {
|
|
3664
|
-
var t = e, { locale:
|
|
3665
|
-
if (
|
|
3664
|
+
var t = e, { locale: n, format: i } = t, r = Ae(t, ["locale", "format"]);
|
|
3665
|
+
if (n == null)
|
|
3666
3666
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3667
|
-
return
|
|
3667
|
+
return i && (r = Ue("number", i)), new Intl.NumberFormat(n, r);
|
|
3668
3668
|
}
|
|
3669
|
-
),
|
|
3669
|
+
), Ar = tt(
|
|
3670
3670
|
(e) => {
|
|
3671
|
-
var t = e, { locale:
|
|
3672
|
-
if (
|
|
3671
|
+
var t = e, { locale: n, format: i } = t, r = Ae(t, ["locale", "format"]);
|
|
3672
|
+
if (n == null)
|
|
3673
3673
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3674
|
-
return
|
|
3674
|
+
return i ? r = Ue("date", i) : Object.keys(r).length === 0 && (r = Ue("date", "short")), new Intl.DateTimeFormat(n, r);
|
|
3675
3675
|
}
|
|
3676
|
-
),
|
|
3676
|
+
), Ir = tt(
|
|
3677
3677
|
(e) => {
|
|
3678
|
-
var t = e, { locale:
|
|
3679
|
-
if (
|
|
3678
|
+
var t = e, { locale: n, format: i } = t, r = Ae(t, ["locale", "format"]);
|
|
3679
|
+
if (n == null)
|
|
3680
3680
|
throw new Error(
|
|
3681
3681
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3682
3682
|
);
|
|
3683
|
-
return
|
|
3683
|
+
return i ? r = Ue("time", i) : Object.keys(r).length === 0 && (r = Ue("time", "short")), new Intl.DateTimeFormat(n, r);
|
|
3684
3684
|
}
|
|
3685
|
-
),
|
|
3685
|
+
), kr = (e = {}) => {
|
|
3686
3686
|
var t = e, {
|
|
3687
|
-
locale:
|
|
3688
|
-
} = t,
|
|
3687
|
+
locale: n = pe()
|
|
3688
|
+
} = t, i = Ae(t, [
|
|
3689
3689
|
"locale"
|
|
3690
3690
|
]);
|
|
3691
|
-
return Lr(Pt({ locale:
|
|
3692
|
-
},
|
|
3691
|
+
return Lr(Pt({ locale: n }, i));
|
|
3692
|
+
}, Cr = (e = {}) => {
|
|
3693
3693
|
var t = e, {
|
|
3694
|
-
locale:
|
|
3695
|
-
} = t,
|
|
3694
|
+
locale: n = pe()
|
|
3695
|
+
} = t, i = Ae(t, [
|
|
3696
3696
|
"locale"
|
|
3697
3697
|
]);
|
|
3698
|
-
return
|
|
3698
|
+
return Ar(Pt({ locale: n }, i));
|
|
3699
3699
|
}, Hr = (e = {}) => {
|
|
3700
3700
|
var t = e, {
|
|
3701
|
-
locale:
|
|
3702
|
-
} = t,
|
|
3701
|
+
locale: n = pe()
|
|
3702
|
+
} = t, i = Ae(t, [
|
|
3703
3703
|
"locale"
|
|
3704
3704
|
]);
|
|
3705
|
-
return
|
|
3706
|
-
},
|
|
3705
|
+
return Ir(Pt({ locale: n }, i));
|
|
3706
|
+
}, Nr = tt(
|
|
3707
3707
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3708
|
-
(e, t =
|
|
3709
|
-
ignoreTag:
|
|
3708
|
+
(e, t = pe()) => new ar(e, t, Se().formats, {
|
|
3709
|
+
ignoreTag: Se().ignoreTag
|
|
3710
3710
|
})
|
|
3711
|
-
),
|
|
3712
|
-
var
|
|
3711
|
+
), Or = (e, t = {}) => {
|
|
3712
|
+
var n, i, r, o;
|
|
3713
3713
|
let a = t;
|
|
3714
3714
|
typeof e == "object" && (a = e, e = a.id);
|
|
3715
3715
|
const {
|
|
3716
3716
|
values: s,
|
|
3717
|
-
locale: u =
|
|
3717
|
+
locale: u = pe(),
|
|
3718
3718
|
default: l
|
|
3719
3719
|
} = a;
|
|
3720
3720
|
if (u == null)
|
|
3721
3721
|
throw new Error(
|
|
3722
3722
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3723
3723
|
);
|
|
3724
|
-
let c =
|
|
3724
|
+
let c = vn(e, u);
|
|
3725
3725
|
if (!c)
|
|
3726
|
-
c = (o = (r = (
|
|
3726
|
+
c = (o = (r = (i = (n = Se()).handleMissingMessage) == null ? void 0 : i.call(n, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
|
|
3727
3727
|
else if (typeof c != "string")
|
|
3728
3728
|
return console.warn(
|
|
3729
3729
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3732,7 +3732,7 @@ const De = (e, t) => {
|
|
|
3732
3732
|
return c;
|
|
3733
3733
|
let p = c;
|
|
3734
3734
|
try {
|
|
3735
|
-
p =
|
|
3735
|
+
p = Nr(c, u).format(s);
|
|
3736
3736
|
} catch (m) {
|
|
3737
3737
|
m instanceof Error && console.warn(
|
|
3738
3738
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3740,18 +3740,18 @@ const De = (e, t) => {
|
|
|
3740
3740
|
);
|
|
3741
3741
|
}
|
|
3742
3742
|
return p;
|
|
3743
|
-
},
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
function
|
|
3749
|
-
|
|
3750
|
-
}
|
|
3751
|
-
function
|
|
3752
|
-
|
|
3753
|
-
}
|
|
3754
|
-
const
|
|
3743
|
+
}, Mr = (e, t) => Hr(t).format(e), Dr = (e, t) => Cr(t).format(e), Rr = (e, t) => kr(t).format(e), Ur = (e, t = pe()) => vn(e, t), jr = Be([Le, je], () => Or);
|
|
3744
|
+
Be([Le], () => Mr);
|
|
3745
|
+
Be([Le], () => Dr);
|
|
3746
|
+
Be([Le], () => Rr);
|
|
3747
|
+
Be([Le, je], () => Ur);
|
|
3748
|
+
function Wt(e, t) {
|
|
3749
|
+
_n(e, t);
|
|
3750
|
+
}
|
|
3751
|
+
function Gr(e) {
|
|
3752
|
+
Le.set(e);
|
|
3753
|
+
}
|
|
3754
|
+
const Zt = {
|
|
3755
3755
|
en: {
|
|
3756
3756
|
loading: "Loading, please wait...",
|
|
3757
3757
|
setLimit: "Set a limit",
|
|
@@ -4011,627 +4011,655 @@ const Wt = {
|
|
|
4011
4011
|
docsRequired: "Documents required!",
|
|
4012
4012
|
kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
|
|
4013
4013
|
}
|
|
4014
|
-
};
|
|
4015
|
-
function
|
|
4014
|
+
}, Ee = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4015
|
+
function $r(e, t) {
|
|
4016
4016
|
if (e) {
|
|
4017
|
-
const
|
|
4018
|
-
|
|
4017
|
+
const n = document.createElement("style");
|
|
4018
|
+
n.innerHTML = t, e.appendChild(n);
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function zr(e, t) {
|
|
4022
4022
|
if (!e || !t)
|
|
4023
4023
|
return;
|
|
4024
|
-
const
|
|
4025
|
-
fetch(
|
|
4024
|
+
const n = new URL(t);
|
|
4025
|
+
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
4026
4026
|
const r = document.createElement("style");
|
|
4027
|
-
r.innerHTML =
|
|
4028
|
-
}).catch((
|
|
4029
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4027
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
4028
|
+
}).catch((i) => {
|
|
4029
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
4030
4030
|
});
|
|
4031
4031
|
}
|
|
4032
|
-
function
|
|
4033
|
-
if (window.emMessageBus)
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4032
|
+
function Fr(e, t, n, i = !1) {
|
|
4033
|
+
if (!window.emMessageBus)
|
|
4034
|
+
return;
|
|
4035
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
4036
|
+
return n = Vr(e, t), n;
|
|
4037
|
+
window[Ee] || (window[Ee] = {}), n = Xr(e, t);
|
|
4038
|
+
const o = n.unsubscribe.bind(n), a = () => {
|
|
4039
|
+
if (window[Ee][t]) {
|
|
4040
|
+
const s = window[Ee][t];
|
|
4041
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Ee][t];
|
|
4042
|
+
}
|
|
4043
|
+
o();
|
|
4044
|
+
};
|
|
4045
|
+
return n.unsubscribe = a, n;
|
|
4046
|
+
}
|
|
4047
|
+
function Vr(e, t) {
|
|
4048
|
+
const n = document.createElement("style");
|
|
4049
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
4050
|
+
e && (n.innerHTML = i, e.appendChild(n));
|
|
4051
|
+
});
|
|
4052
|
+
}
|
|
4053
|
+
function Xr(e, t) {
|
|
4054
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4055
|
+
var s;
|
|
4056
|
+
if (!e)
|
|
4057
|
+
return;
|
|
4058
|
+
const i = e.getRootNode(), r = window[Ee];
|
|
4059
|
+
let o = (s = r[t]) == null ? void 0 : s.sheet;
|
|
4060
|
+
o ? r[t].refCount = r[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(n), r[t] = {
|
|
4061
|
+
sheet: o,
|
|
4062
|
+
refCount: 1
|
|
4037
4063
|
});
|
|
4038
|
-
|
|
4064
|
+
const a = i.adoptedStyleSheets || [];
|
|
4065
|
+
a.includes(o) || (i.adoptedStyleSheets = [...a, o]);
|
|
4066
|
+
});
|
|
4039
4067
|
}
|
|
4040
|
-
function
|
|
4041
|
-
|
|
4068
|
+
function qr(e) {
|
|
4069
|
+
Hn(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
4042
4070
|
}
|
|
4043
|
-
function
|
|
4071
|
+
function Wr(e) {
|
|
4044
4072
|
let t;
|
|
4045
|
-
function
|
|
4073
|
+
function n(o, a) {
|
|
4046
4074
|
if (
|
|
4047
4075
|
/*popupState*/
|
|
4048
4076
|
o[10] === "initial"
|
|
4049
4077
|
)
|
|
4050
|
-
return
|
|
4078
|
+
return eo;
|
|
4051
4079
|
if (
|
|
4052
4080
|
/*popupState*/
|
|
4053
4081
|
o[10] === "successful"
|
|
4054
4082
|
)
|
|
4055
|
-
return
|
|
4083
|
+
return Kr;
|
|
4056
4084
|
if (
|
|
4057
4085
|
/*popupState*/
|
|
4058
4086
|
o[10] === "KYC"
|
|
4059
4087
|
)
|
|
4060
|
-
return
|
|
4088
|
+
return Qr;
|
|
4061
4089
|
if (
|
|
4062
4090
|
/*popupState*/
|
|
4063
4091
|
o[10] === "KYC2"
|
|
4064
4092
|
)
|
|
4065
|
-
return
|
|
4093
|
+
return Jr;
|
|
4066
4094
|
if (
|
|
4067
4095
|
/*popupState*/
|
|
4068
4096
|
o[10] === "error"
|
|
4069
4097
|
)
|
|
4070
|
-
return
|
|
4098
|
+
return Yr;
|
|
4071
4099
|
}
|
|
4072
|
-
let
|
|
4100
|
+
let i = n(e), r = i && i(e);
|
|
4073
4101
|
return {
|
|
4074
4102
|
c() {
|
|
4075
|
-
t =
|
|
4103
|
+
t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
|
|
4076
4104
|
},
|
|
4077
4105
|
m(o, a) {
|
|
4078
|
-
|
|
4106
|
+
x(o, t, a), r && r.m(t, null);
|
|
4079
4107
|
},
|
|
4080
4108
|
p(o, a) {
|
|
4081
|
-
|
|
4109
|
+
i === (i = n(o)) && r ? r.p(o, a) : (r && r.d(1), r = i && i(o), r && (r.c(), r.m(t, null)));
|
|
4082
4110
|
},
|
|
4083
4111
|
d(o) {
|
|
4084
|
-
o &&
|
|
4112
|
+
o && E(t), r && r.d();
|
|
4085
4113
|
}
|
|
4086
4114
|
};
|
|
4087
4115
|
}
|
|
4088
|
-
function
|
|
4089
|
-
let t,
|
|
4116
|
+
function Zr(e) {
|
|
4117
|
+
let t, n = (
|
|
4090
4118
|
/*$_*/
|
|
4091
4119
|
e[12]("loading") + ""
|
|
4092
|
-
),
|
|
4120
|
+
), i;
|
|
4093
4121
|
return {
|
|
4094
4122
|
c() {
|
|
4095
|
-
t =
|
|
4123
|
+
t = g("p"), i = S(n);
|
|
4096
4124
|
},
|
|
4097
4125
|
m(r, o) {
|
|
4098
|
-
|
|
4126
|
+
x(r, t, o), f(t, i);
|
|
4099
4127
|
},
|
|
4100
4128
|
p(r, o) {
|
|
4101
4129
|
o[0] & /*$_*/
|
|
4102
|
-
4096 &&
|
|
4103
|
-
r[12]("loading") + "") &&
|
|
4130
|
+
4096 && n !== (n = /*$_*/
|
|
4131
|
+
r[12]("loading") + "") && C(i, n);
|
|
4104
4132
|
},
|
|
4105
4133
|
d(r) {
|
|
4106
|
-
r &&
|
|
4134
|
+
r && E(t);
|
|
4107
4135
|
}
|
|
4108
4136
|
};
|
|
4109
4137
|
}
|
|
4110
|
-
function
|
|
4111
|
-
let t,
|
|
4138
|
+
function Yr(e) {
|
|
4139
|
+
let t, n = (
|
|
4112
4140
|
/*$_*/
|
|
4113
4141
|
e[12]("depositError") + ""
|
|
4114
|
-
),
|
|
4142
|
+
), i, r, o, a, s, u = (
|
|
4115
4143
|
/*$_*/
|
|
4116
4144
|
e[12]("errorDescription") + ""
|
|
4117
4145
|
), l, c, p, m = (
|
|
4118
4146
|
/*$_*/
|
|
4119
4147
|
e[12]("closeButton") + ""
|
|
4120
|
-
), d,
|
|
4148
|
+
), d, w, v;
|
|
4121
4149
|
return {
|
|
4122
4150
|
c() {
|
|
4123
|
-
t =
|
|
4151
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = M(), s = g("p"), l = S(u), c = M(), p = g("button"), d = S(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4124
4152
|
},
|
|
4125
|
-
m(y,
|
|
4126
|
-
|
|
4153
|
+
m(y, T) {
|
|
4154
|
+
x(y, t, T), f(t, i), x(y, r, T), x(y, o, T), x(y, a, T), x(y, s, T), f(s, l), x(y, c, T), x(y, p, T), f(p, d), w || (v = W(
|
|
4127
4155
|
p,
|
|
4128
4156
|
"click",
|
|
4129
4157
|
/*click_handler_10*/
|
|
4130
4158
|
e[37]
|
|
4131
|
-
),
|
|
4159
|
+
), w = !0);
|
|
4132
4160
|
},
|
|
4133
|
-
p(y,
|
|
4134
|
-
|
|
4135
|
-
4096 &&
|
|
4136
|
-
y[12]("depositError") + "") &&
|
|
4161
|
+
p(y, T) {
|
|
4162
|
+
T[0] & /*$_*/
|
|
4163
|
+
4096 && n !== (n = /*$_*/
|
|
4164
|
+
y[12]("depositError") + "") && C(i, n), T[0] & /*$_*/
|
|
4137
4165
|
4096 && u !== (u = /*$_*/
|
|
4138
|
-
y[12]("errorDescription") + "") &&
|
|
4166
|
+
y[12]("errorDescription") + "") && C(l, u), T[0] & /*$_*/
|
|
4139
4167
|
4096 && m !== (m = /*$_*/
|
|
4140
|
-
y[12]("closeButton") + "") &&
|
|
4168
|
+
y[12]("closeButton") + "") && C(d, m);
|
|
4141
4169
|
},
|
|
4142
4170
|
d(y) {
|
|
4143
|
-
y && (
|
|
4171
|
+
y && (E(t), E(r), E(o), E(a), E(s), E(c), E(p)), w = !1, v();
|
|
4144
4172
|
}
|
|
4145
4173
|
};
|
|
4146
4174
|
}
|
|
4147
|
-
function
|
|
4148
|
-
let t,
|
|
4175
|
+
function Jr(e) {
|
|
4176
|
+
let t, n = (
|
|
4149
4177
|
/*$_*/
|
|
4150
4178
|
e[12]("docsRequired") + ""
|
|
4151
|
-
),
|
|
4179
|
+
), i, r, o, a, s, u, l, c, p, m = (
|
|
4152
4180
|
/*$_*/
|
|
4153
4181
|
e[12]("docsRequired") + ""
|
|
4154
|
-
), d,
|
|
4182
|
+
), d, w, v, y = (
|
|
4155
4183
|
/*$_*/
|
|
4156
4184
|
e[12]("kyc2") + ""
|
|
4157
|
-
),
|
|
4185
|
+
), T, B, I, D = (
|
|
4158
4186
|
/*$_*/
|
|
4159
4187
|
e[12]("kycButton") + ""
|
|
4160
|
-
),
|
|
4188
|
+
), L, H, G, N = (
|
|
4161
4189
|
/*$_*/
|
|
4162
4190
|
e[12]("closeButton") + ""
|
|
4163
|
-
),
|
|
4191
|
+
), U, $, J;
|
|
4164
4192
|
return {
|
|
4165
4193
|
c() {
|
|
4166
|
-
t =
|
|
4194
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = M(), I = g("button"), L = S(D), H = M(), G = g("button"), U = S(N), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4167
4195
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4168
4196
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4169
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4197
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Oe(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(I, "class", "KycButton PrimaryButtonStyle"), h(G, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4170
4198
|
},
|
|
4171
|
-
m(
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4199
|
+
m(_, R) {
|
|
4200
|
+
x(_, t, R), f(t, i), x(_, r, R), x(_, o, R), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), x(_, B, R), x(_, I, R), f(I, L), x(_, H, R), x(_, G, R), f(G, U), $ || (J = [
|
|
4201
|
+
W(
|
|
4202
|
+
I,
|
|
4175
4203
|
"click",
|
|
4176
4204
|
/*click_handler_8*/
|
|
4177
4205
|
e[35]
|
|
4178
4206
|
),
|
|
4179
|
-
|
|
4180
|
-
|
|
4207
|
+
W(
|
|
4208
|
+
G,
|
|
4181
4209
|
"click",
|
|
4182
4210
|
/*click_handler_9*/
|
|
4183
4211
|
e[36]
|
|
4184
4212
|
)
|
|
4185
|
-
],
|
|
4213
|
+
], $ = !0);
|
|
4186
4214
|
},
|
|
4187
|
-
p(
|
|
4188
|
-
|
|
4189
|
-
4096 &&
|
|
4190
|
-
|
|
4215
|
+
p(_, R) {
|
|
4216
|
+
R[0] & /*$_*/
|
|
4217
|
+
4096 && n !== (n = /*$_*/
|
|
4218
|
+
_[12]("docsRequired") + "") && C(i, n), R[0] & /*$_*/
|
|
4191
4219
|
4096 && m !== (m = /*$_*/
|
|
4192
|
-
|
|
4220
|
+
_[12]("docsRequired") + "") && C(d, m), R[0] & /*$_*/
|
|
4193
4221
|
4096 && y !== (y = /*$_*/
|
|
4194
|
-
|
|
4195
|
-
4096 &&
|
|
4196
|
-
|
|
4197
|
-
4096 &&
|
|
4198
|
-
|
|
4222
|
+
_[12]("kyc2") + "") && C(T, y), R[0] & /*$_*/
|
|
4223
|
+
4096 && D !== (D = /*$_*/
|
|
4224
|
+
_[12]("kycButton") + "") && C(L, D), R[0] & /*$_*/
|
|
4225
|
+
4096 && N !== (N = /*$_*/
|
|
4226
|
+
_[12]("closeButton") + "") && C(U, N);
|
|
4199
4227
|
},
|
|
4200
|
-
d(
|
|
4201
|
-
|
|
4228
|
+
d(_) {
|
|
4229
|
+
_ && (E(t), E(r), E(o), E(B), E(I), E(H), E(G)), $ = !1, ce(J);
|
|
4202
4230
|
}
|
|
4203
4231
|
};
|
|
4204
4232
|
}
|
|
4205
|
-
function
|
|
4206
|
-
let t,
|
|
4233
|
+
function Qr(e) {
|
|
4234
|
+
let t, n = (
|
|
4207
4235
|
/*$_*/
|
|
4208
4236
|
e[12]("depositLimit") + ""
|
|
4209
|
-
),
|
|
4237
|
+
), i, r, o, a, s, u, l, c, p, m = (
|
|
4210
4238
|
/*$_*/
|
|
4211
4239
|
e[12]("successful") + ""
|
|
4212
|
-
), d,
|
|
4240
|
+
), d, w, v, y = (
|
|
4213
4241
|
/*$_*/
|
|
4214
4242
|
e[12]("kyc1Part1") + ""
|
|
4215
|
-
),
|
|
4243
|
+
), T, B, I, D, L = (
|
|
4216
4244
|
/*$_*/
|
|
4217
4245
|
e[12]("kyc1Part2") + ""
|
|
4218
|
-
),
|
|
4246
|
+
), H, G, N, U = (
|
|
4219
4247
|
/*$_*/
|
|
4220
4248
|
e[12]("kycButton") + ""
|
|
4221
|
-
),
|
|
4249
|
+
), $, J, _, R = (
|
|
4222
4250
|
/*$_*/
|
|
4223
4251
|
e[12]("closeButton") + ""
|
|
4224
|
-
), ne,
|
|
4252
|
+
), ne, ie, ae;
|
|
4225
4253
|
return {
|
|
4226
4254
|
c() {
|
|
4227
|
-
t =
|
|
4255
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = S(
|
|
4228
4256
|
/*legislatorLimitValue*/
|
|
4229
4257
|
e[11]
|
|
4230
|
-
),
|
|
4258
|
+
), I = M(), D = S(
|
|
4231
4259
|
/*currency*/
|
|
4232
4260
|
e[0]
|
|
4233
|
-
),
|
|
4261
|
+
), H = S(L), G = M(), N = g("button"), $ = S(U), J = M(), _ = g("button"), ne = S(R), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4234
4262
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4235
4263
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4236
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4264
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Oe(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(N, "class", "KycButton PrimaryButtonStyle"), h(_, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4237
4265
|
},
|
|
4238
4266
|
m(F, j) {
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4267
|
+
x(F, t, j), f(t, i), x(F, r, j), x(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), f(v, B), f(v, I), f(v, D), f(v, H), x(F, G, j), x(F, N, j), f(N, $), x(F, J, j), x(F, _, j), f(_, ne), ie || (ae = [
|
|
4268
|
+
W(
|
|
4269
|
+
N,
|
|
4242
4270
|
"click",
|
|
4243
4271
|
/*click_handler_6*/
|
|
4244
4272
|
e[33]
|
|
4245
4273
|
),
|
|
4246
|
-
|
|
4247
|
-
|
|
4274
|
+
W(
|
|
4275
|
+
_,
|
|
4248
4276
|
"click",
|
|
4249
4277
|
/*click_handler_7*/
|
|
4250
4278
|
e[34]
|
|
4251
4279
|
)
|
|
4252
|
-
],
|
|
4280
|
+
], ie = !0);
|
|
4253
4281
|
},
|
|
4254
4282
|
p(F, j) {
|
|
4255
4283
|
j[0] & /*$_*/
|
|
4256
|
-
4096 &&
|
|
4257
|
-
F[12]("depositLimit") + "") &&
|
|
4284
|
+
4096 && n !== (n = /*$_*/
|
|
4285
|
+
F[12]("depositLimit") + "") && C(i, n), j[0] & /*$_*/
|
|
4258
4286
|
4096 && m !== (m = /*$_*/
|
|
4259
|
-
F[12]("successful") + "") &&
|
|
4287
|
+
F[12]("successful") + "") && C(d, m), j[0] & /*$_*/
|
|
4260
4288
|
4096 && y !== (y = /*$_*/
|
|
4261
|
-
F[12]("kyc1Part1") + "") &&
|
|
4262
|
-
2048 &&
|
|
4263
|
-
|
|
4289
|
+
F[12]("kyc1Part1") + "") && C(T, y), j[0] & /*legislatorLimitValue*/
|
|
4290
|
+
2048 && C(
|
|
4291
|
+
B,
|
|
4264
4292
|
/*legislatorLimitValue*/
|
|
4265
4293
|
F[11]
|
|
4266
4294
|
), j[0] & /*currency*/
|
|
4267
|
-
1 &&
|
|
4268
|
-
|
|
4295
|
+
1 && C(
|
|
4296
|
+
D,
|
|
4269
4297
|
/*currency*/
|
|
4270
4298
|
F[0]
|
|
4271
4299
|
), j[0] & /*$_*/
|
|
4272
|
-
4096 &&
|
|
4273
|
-
F[12]("kyc1Part2") + "") &&
|
|
4274
|
-
4096 && R !== (R = /*$_*/
|
|
4275
|
-
F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
|
|
4300
|
+
4096 && L !== (L = /*$_*/
|
|
4301
|
+
F[12]("kyc1Part2") + "") && C(H, L), j[0] & /*$_*/
|
|
4276
4302
|
4096 && U !== (U = /*$_*/
|
|
4277
|
-
F[12]("
|
|
4303
|
+
F[12]("kycButton") + "") && C($, U), j[0] & /*$_*/
|
|
4304
|
+
4096 && R !== (R = /*$_*/
|
|
4305
|
+
F[12]("closeButton") + "") && C(ne, R);
|
|
4278
4306
|
},
|
|
4279
4307
|
d(F) {
|
|
4280
|
-
F && (
|
|
4308
|
+
F && (E(t), E(r), E(o), E(G), E(N), E(J), E(_)), ie = !1, ce(ae);
|
|
4281
4309
|
}
|
|
4282
4310
|
};
|
|
4283
4311
|
}
|
|
4284
|
-
function
|
|
4285
|
-
let t,
|
|
4312
|
+
function Kr(e) {
|
|
4313
|
+
let t, n = (
|
|
4286
4314
|
/*$_*/
|
|
4287
4315
|
e[12]("depositLimit") + ""
|
|
4288
|
-
),
|
|
4316
|
+
), i, r, o, a, s, u, l, c, p, m, d, w, v = (
|
|
4289
4317
|
/*$_*/
|
|
4290
4318
|
e[12]("successful") + ""
|
|
4291
|
-
), y,
|
|
4319
|
+
), y, T, B, I = (
|
|
4292
4320
|
/*$_*/
|
|
4293
4321
|
e[12]("successDescription") + ""
|
|
4294
|
-
),
|
|
4322
|
+
), D, L, H, G, N;
|
|
4295
4323
|
return {
|
|
4296
4324
|
c() {
|
|
4297
|
-
t =
|
|
4298
|
-
`), p =
|
|
4325
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("defs"), l = Z("style"), c = S(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4326
|
+
`), p = Z("g"), m = Z("polygon"), d = M(), w = g("p"), y = S(v), T = M(), B = g("p"), D = S(I), L = M(), H = g("button"), H.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), Oe(s, "shape-rendering", "geometricPrecision"), Oe(s, "text-rendering", "geometricPrecision"), Oe(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(B, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "ConfirmButton PrimaryButtonStyle");
|
|
4299
4327
|
},
|
|
4300
|
-
m(
|
|
4301
|
-
|
|
4302
|
-
|
|
4328
|
+
m(U, $) {
|
|
4329
|
+
x(U, t, $), f(t, i), x(U, r, $), x(U, o, $), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, w), f(w, y), f(o, T), f(o, B), f(B, D), x(U, L, $), x(U, H, $), G || (N = W(
|
|
4330
|
+
H,
|
|
4303
4331
|
"click",
|
|
4304
4332
|
/*click_handler_5*/
|
|
4305
4333
|
e[32]
|
|
4306
|
-
),
|
|
4334
|
+
), G = !0);
|
|
4307
4335
|
},
|
|
4308
|
-
p(
|
|
4309
|
-
|
|
4310
|
-
4096 &&
|
|
4311
|
-
|
|
4312
|
-
4096 &&
|
|
4313
|
-
|
|
4314
|
-
4096 &&
|
|
4315
|
-
|
|
4336
|
+
p(U, $) {
|
|
4337
|
+
$[0] & /*$_*/
|
|
4338
|
+
4096 && n !== (n = /*$_*/
|
|
4339
|
+
U[12]("depositLimit") + "") && C(i, n), $[0] & /*$_*/
|
|
4340
|
+
4096 && v !== (v = /*$_*/
|
|
4341
|
+
U[12]("successful") + "") && C(y, v), $[0] & /*$_*/
|
|
4342
|
+
4096 && I !== (I = /*$_*/
|
|
4343
|
+
U[12]("successDescription") + "") && C(D, I);
|
|
4316
4344
|
},
|
|
4317
|
-
d(
|
|
4318
|
-
|
|
4345
|
+
d(U) {
|
|
4346
|
+
U && (E(t), E(r), E(o), E(L), E(H)), G = !1, N();
|
|
4319
4347
|
}
|
|
4320
4348
|
};
|
|
4321
4349
|
}
|
|
4322
|
-
function
|
|
4323
|
-
let t,
|
|
4350
|
+
function eo(e) {
|
|
4351
|
+
let t, n = (
|
|
4324
4352
|
/*$_*/
|
|
4325
4353
|
e[12]("setLimit") + ""
|
|
4326
|
-
),
|
|
4354
|
+
), i, r, o, a = (
|
|
4327
4355
|
/*$_*/
|
|
4328
4356
|
e[12]("setLimitDescription") + ""
|
|
4329
4357
|
), s, u, l, c = (
|
|
4330
4358
|
/*$_*/
|
|
4331
4359
|
e[12]("lugasInfo1") + ""
|
|
4332
|
-
), p, m, d,
|
|
4360
|
+
), p, m, d, w = (
|
|
4333
4361
|
/*$_*/
|
|
4334
4362
|
e[12]("lugasInfo2") + ""
|
|
4335
|
-
),
|
|
4363
|
+
), v, y, T, B = (
|
|
4336
4364
|
/*$_*/
|
|
4337
4365
|
e[12]("keepCurrentLimit") + ""
|
|
4338
|
-
),
|
|
4366
|
+
), I, D, L, H = (
|
|
4339
4367
|
/*$_*/
|
|
4340
4368
|
e[12]("keepCurrentLimitButton") + ""
|
|
4341
|
-
),
|
|
4369
|
+
), G, N, U, $, J, _, R, ne, ie = (
|
|
4342
4370
|
/*$_*/
|
|
4343
4371
|
e[12]("depositPeriod") + ""
|
|
4344
|
-
),
|
|
4372
|
+
), ae, F, j, K, Ge, re, me = (
|
|
4345
4373
|
/*$_*/
|
|
4346
4374
|
e[12]("applyButton") + ""
|
|
4347
|
-
),
|
|
4375
|
+
), Ie, ke, Y, de = (
|
|
4348
4376
|
/*$_*/
|
|
4349
4377
|
e[12]("TCpart1") + ""
|
|
4350
|
-
),
|
|
4378
|
+
), Ce, he, be = (
|
|
4351
4379
|
/*$_*/
|
|
4352
4380
|
e[12]("TClink") + ""
|
|
4353
|
-
),
|
|
4381
|
+
), He, $e, b = (
|
|
4354
4382
|
/*$_*/
|
|
4355
4383
|
e[12]("TCpart2") + ""
|
|
4356
|
-
),
|
|
4384
|
+
), X, le, fe, oe = (
|
|
4357
4385
|
/*$_*/
|
|
4358
4386
|
e[12]("PPlink") + ""
|
|
4359
|
-
),
|
|
4387
|
+
), nt, St, it, Bt;
|
|
4360
4388
|
return {
|
|
4361
4389
|
c() {
|
|
4362
|
-
t =
|
|
4363
|
-
|
|
4390
|
+
t = g("p"), i = S(n), r = M(), o = g("p"), s = S(a), u = M(), l = g("p"), p = S(c), m = M(), d = g("button"), v = S(w), y = M(), T = g("button"), I = S(B), D = M(), L = g("button"), G = S(H), N = Z("svg"), U = Z("path"), $ = Z("path"), J = M(), _ = g("div"), R = g("div"), ne = g("span"), ae = S(ie), F = M(), j = g("div"), K = g("input"), Ge = M(), re = g("button"), Ie = S(me), ke = M(), Y = g("p"), Ce = S(de), he = g("button"), He = S(be), $e = M(), X = S(b), le = M(), fe = g("button"), nt = S(oe), St = S("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(T, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(N, "class", "ExpandArrow"), h(N, "xmlns", "http://www.w3.org/2000/svg"), h(N, "width", "36"), h(N, "height", "36"), h(N, "viewBox", "0 0 36 36"), h(N, "fill", "#999"), ze(
|
|
4391
|
+
N,
|
|
4364
4392
|
"Extended",
|
|
4365
4393
|
/*extended*/
|
|
4366
4394
|
e[5]
|
|
4367
|
-
), h(
|
|
4368
|
-
|
|
4395
|
+
), h(L, "class", "ExpandButton"), h(ne, "class", "DepositPeriodText"), h(R, "class", "DepositTextSection"), h(K, "type", "number"), h(K, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(j, "class", "DepositInputSection"), h(_, "class", "SetLimitSection"), ze(
|
|
4396
|
+
_,
|
|
4369
4397
|
"Hidden",
|
|
4370
4398
|
/*hidden*/
|
|
4371
4399
|
e[4]
|
|
4372
|
-
), h(he, "class", "LinkButton"), h(
|
|
4400
|
+
), h(he, "class", "LinkButton"), h(fe, "class", "LinkButton"), h(Y, "class", "TermsConditions");
|
|
4373
4401
|
},
|
|
4374
|
-
m(
|
|
4375
|
-
|
|
4402
|
+
m(k, O) {
|
|
4403
|
+
x(k, t, O), f(t, i), x(k, r, O), x(k, o, O), f(o, s), x(k, u, O), x(k, l, O), f(l, p), f(l, m), f(l, d), f(d, v), x(k, y, O), x(k, T, O), f(T, I), x(k, D, O), x(k, L, O), f(L, G), f(L, N), f(N, U), f(N, $), e[26](N), x(k, J, O), x(k, _, O), f(_, R), f(R, ne), f(ne, ae), f(_, F), f(_, j), f(j, K), Ht(
|
|
4376
4404
|
K,
|
|
4377
4405
|
/*inputAmount*/
|
|
4378
4406
|
e[6]
|
|
4379
|
-
), f(j,
|
|
4380
|
-
|
|
4407
|
+
), f(j, Ge), f(j, re), f(re, Ie), e[28](re), x(k, ke, O), x(k, Y, O), f(Y, Ce), f(Y, he), f(he, He), f(Y, $e), f(Y, X), f(Y, le), f(Y, fe), f(fe, nt), f(Y, St), it || (Bt = [
|
|
4408
|
+
W(
|
|
4381
4409
|
d,
|
|
4382
4410
|
"click",
|
|
4383
4411
|
/*click_handler*/
|
|
4384
4412
|
e[24]
|
|
4385
4413
|
),
|
|
4386
|
-
|
|
4387
|
-
|
|
4414
|
+
W(
|
|
4415
|
+
T,
|
|
4388
4416
|
"click",
|
|
4389
4417
|
/*click_handler_1*/
|
|
4390
4418
|
e[25]
|
|
4391
4419
|
),
|
|
4392
|
-
|
|
4393
|
-
|
|
4420
|
+
W(
|
|
4421
|
+
L,
|
|
4394
4422
|
"click",
|
|
4395
4423
|
/*toggleNewLimitArea*/
|
|
4396
4424
|
e[13]
|
|
4397
4425
|
),
|
|
4398
|
-
|
|
4426
|
+
W(
|
|
4399
4427
|
K,
|
|
4400
4428
|
"input",
|
|
4401
4429
|
/*input_input_handler*/
|
|
4402
4430
|
e[27]
|
|
4403
4431
|
),
|
|
4404
|
-
|
|
4432
|
+
W(
|
|
4405
4433
|
K,
|
|
4406
4434
|
"keyup",
|
|
4407
4435
|
/*updateInputValue*/
|
|
4408
4436
|
e[14]
|
|
4409
4437
|
),
|
|
4410
|
-
|
|
4411
|
-
|
|
4438
|
+
W(
|
|
4439
|
+
re,
|
|
4412
4440
|
"click",
|
|
4413
4441
|
/*click_handler_2*/
|
|
4414
4442
|
e[29]
|
|
4415
4443
|
),
|
|
4416
|
-
|
|
4444
|
+
W(
|
|
4417
4445
|
he,
|
|
4418
4446
|
"click",
|
|
4419
4447
|
/*click_handler_3*/
|
|
4420
4448
|
e[30]
|
|
4421
4449
|
),
|
|
4422
|
-
|
|
4423
|
-
|
|
4450
|
+
W(
|
|
4451
|
+
fe,
|
|
4424
4452
|
"click",
|
|
4425
4453
|
/*click_handler_4*/
|
|
4426
4454
|
e[31]
|
|
4427
4455
|
)
|
|
4428
4456
|
], it = !0);
|
|
4429
4457
|
},
|
|
4430
|
-
p(
|
|
4431
|
-
|
|
4432
|
-
4096 &&
|
|
4433
|
-
|
|
4458
|
+
p(k, O) {
|
|
4459
|
+
O[0] & /*$_*/
|
|
4460
|
+
4096 && n !== (n = /*$_*/
|
|
4461
|
+
k[12]("setLimit") + "") && C(i, n), O[0] & /*$_*/
|
|
4434
4462
|
4096 && a !== (a = /*$_*/
|
|
4435
|
-
|
|
4463
|
+
k[12]("setLimitDescription") + "") && C(s, a), O[0] & /*$_*/
|
|
4436
4464
|
4096 && c !== (c = /*$_*/
|
|
4437
|
-
|
|
4438
|
-
4096 &&
|
|
4439
|
-
|
|
4440
|
-
4096 &&
|
|
4441
|
-
|
|
4442
|
-
4096 &&
|
|
4443
|
-
|
|
4444
|
-
32 &&
|
|
4445
|
-
|
|
4465
|
+
k[12]("lugasInfo1") + "") && C(p, c), O[0] & /*$_*/
|
|
4466
|
+
4096 && w !== (w = /*$_*/
|
|
4467
|
+
k[12]("lugasInfo2") + "") && C(v, w), O[0] & /*$_*/
|
|
4468
|
+
4096 && B !== (B = /*$_*/
|
|
4469
|
+
k[12]("keepCurrentLimit") + "") && C(I, B), O[0] & /*$_*/
|
|
4470
|
+
4096 && H !== (H = /*$_*/
|
|
4471
|
+
k[12]("keepCurrentLimitButton") + "") && C(G, H), O[0] & /*extended*/
|
|
4472
|
+
32 && ze(
|
|
4473
|
+
N,
|
|
4446
4474
|
"Extended",
|
|
4447
4475
|
/*extended*/
|
|
4448
|
-
|
|
4449
|
-
),
|
|
4450
|
-
4096 &&
|
|
4451
|
-
|
|
4452
|
-
64 &&
|
|
4453
|
-
|
|
4476
|
+
k[5]
|
|
4477
|
+
), O[0] & /*$_*/
|
|
4478
|
+
4096 && ie !== (ie = /*$_*/
|
|
4479
|
+
k[12]("depositPeriod") + "") && C(ae, ie), O[0] & /*inputAmount*/
|
|
4480
|
+
64 && Kt(K.value) !== /*inputAmount*/
|
|
4481
|
+
k[6] && Ht(
|
|
4454
4482
|
K,
|
|
4455
4483
|
/*inputAmount*/
|
|
4456
|
-
|
|
4457
|
-
),
|
|
4458
|
-
4096 &&
|
|
4459
|
-
|
|
4460
|
-
16 &&
|
|
4461
|
-
|
|
4484
|
+
k[6]
|
|
4485
|
+
), O[0] & /*$_*/
|
|
4486
|
+
4096 && me !== (me = /*$_*/
|
|
4487
|
+
k[12]("applyButton") + "") && C(Ie, me), O[0] & /*hidden*/
|
|
4488
|
+
16 && ze(
|
|
4489
|
+
_,
|
|
4462
4490
|
"Hidden",
|
|
4463
4491
|
/*hidden*/
|
|
4464
|
-
|
|
4465
|
-
),
|
|
4466
|
-
4096 && me !== (me = /*$_*/
|
|
4467
|
-
I[12]("TCpart1") + "") && k(Ie, me), C[0] & /*$_*/
|
|
4492
|
+
k[4]
|
|
4493
|
+
), O[0] & /*$_*/
|
|
4468
4494
|
4096 && de !== (de = /*$_*/
|
|
4469
|
-
|
|
4470
|
-
4096 &&
|
|
4471
|
-
|
|
4472
|
-
4096 &&
|
|
4473
|
-
|
|
4495
|
+
k[12]("TCpart1") + "") && C(Ce, de), O[0] & /*$_*/
|
|
4496
|
+
4096 && be !== (be = /*$_*/
|
|
4497
|
+
k[12]("TClink") + "") && C(He, be), O[0] & /*$_*/
|
|
4498
|
+
4096 && b !== (b = /*$_*/
|
|
4499
|
+
k[12]("TCpart2") + "") && C(X, b), O[0] & /*$_*/
|
|
4500
|
+
4096 && oe !== (oe = /*$_*/
|
|
4501
|
+
k[12]("PPlink") + "") && C(nt, oe);
|
|
4474
4502
|
},
|
|
4475
|
-
d(
|
|
4476
|
-
|
|
4503
|
+
d(k) {
|
|
4504
|
+
k && (E(t), E(r), E(o), E(u), E(l), E(y), E(T), E(D), E(L), E(J), E(_), E(ke), E(Y)), e[26](null), e[28](null), it = !1, ce(Bt);
|
|
4477
4505
|
}
|
|
4478
4506
|
};
|
|
4479
4507
|
}
|
|
4480
|
-
function
|
|
4481
|
-
let t,
|
|
4508
|
+
function to(e) {
|
|
4509
|
+
let t, n, i, r;
|
|
4482
4510
|
function o(u, l) {
|
|
4483
4511
|
if (
|
|
4484
4512
|
/*isLoading*/
|
|
4485
4513
|
u[7]
|
|
4486
4514
|
)
|
|
4487
|
-
return
|
|
4515
|
+
return Zr;
|
|
4488
4516
|
if (
|
|
4489
4517
|
/*lang*/
|
|
4490
4518
|
u[1]
|
|
4491
4519
|
)
|
|
4492
|
-
return
|
|
4520
|
+
return Wr;
|
|
4493
4521
|
}
|
|
4494
4522
|
let a = o(e), s = a && a(e);
|
|
4495
4523
|
return {
|
|
4496
4524
|
c() {
|
|
4497
|
-
t =
|
|
4525
|
+
t = g("div"), n = g("div"), i = g("div"), r = g("div"), s && s.c(), h(r, "class", "ModalContainer"), h(i, "class", "Overlay"), h(n, "class", "player-account-gaming-limits-popup-2");
|
|
4498
4526
|
},
|
|
4499
4527
|
m(u, l) {
|
|
4500
|
-
|
|
4528
|
+
x(u, t, l), f(t, n), f(n, i), f(i, r), s && s.m(r, null), e[38](n), e[39](t);
|
|
4501
4529
|
},
|
|
4502
4530
|
p(u, l) {
|
|
4503
4531
|
a === (a = o(u)) && s ? s.p(u, l) : (s && s.d(1), s = a && a(u), s && (s.c(), s.m(r, null)));
|
|
4504
4532
|
},
|
|
4505
|
-
i:
|
|
4506
|
-
o:
|
|
4533
|
+
i: te,
|
|
4534
|
+
o: te,
|
|
4507
4535
|
d(u) {
|
|
4508
|
-
u &&
|
|
4536
|
+
u && E(t), s && s.d(), e[38](null), e[39](null);
|
|
4509
4537
|
}
|
|
4510
4538
|
};
|
|
4511
4539
|
}
|
|
4512
|
-
function
|
|
4513
|
-
let
|
|
4514
|
-
|
|
4515
|
-
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d,
|
|
4516
|
-
const
|
|
4517
|
-
fetch(l).then((
|
|
4518
|
-
Object.keys(
|
|
4519
|
-
|
|
4540
|
+
function no(e, t, n) {
|
|
4541
|
+
let i;
|
|
4542
|
+
Cn(e, jr, (b) => n(12, i = b));
|
|
4543
|
+
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, w, v, y = !0, T = !1, B, I = !1, D, L, H = "initial", G;
|
|
4544
|
+
const N = () => {
|
|
4545
|
+
fetch(l).then((X) => X.json()).then((X) => {
|
|
4546
|
+
Object.keys(X).forEach((le) => {
|
|
4547
|
+
Wt(le, X[le]);
|
|
4520
4548
|
});
|
|
4521
|
-
}).catch((
|
|
4522
|
-
console.log(
|
|
4549
|
+
}).catch((X) => {
|
|
4550
|
+
console.log(X);
|
|
4523
4551
|
});
|
|
4524
4552
|
};
|
|
4525
|
-
Object.keys(
|
|
4526
|
-
|
|
4553
|
+
Object.keys(Zt).forEach((b) => {
|
|
4554
|
+
Wt(b, Zt[b]);
|
|
4527
4555
|
});
|
|
4528
|
-
const
|
|
4529
|
-
|
|
4530
|
-
},
|
|
4531
|
-
|
|
4532
|
-
},
|
|
4533
|
-
|
|
4534
|
-
const
|
|
4535
|
-
|
|
4536
|
-
},
|
|
4537
|
-
switch (window.postMessage({ type:
|
|
4556
|
+
const U = () => {
|
|
4557
|
+
n(5, T = !T), n(4, y = !y);
|
|
4558
|
+
}, $ = () => {
|
|
4559
|
+
L.parentNode.removeChild(L);
|
|
4560
|
+
}, J = () => {
|
|
4561
|
+
B > 999999999999999 && n(6, B = 999999999999999);
|
|
4562
|
+
const X = B - Math.floor(B) === 0;
|
|
4563
|
+
B > 0 && X ? D.removeAttribute("disabled") : D.setAttribute("disabled", "true");
|
|
4564
|
+
}, _ = (b) => {
|
|
4565
|
+
switch (window.postMessage({ type: b }, window.location.href), b) {
|
|
4538
4566
|
case "closePopup":
|
|
4539
4567
|
case "uploadDocuments":
|
|
4540
|
-
|
|
4568
|
+
$();
|
|
4541
4569
|
break;
|
|
4542
4570
|
}
|
|
4543
|
-
},
|
|
4544
|
-
const
|
|
4545
|
-
let
|
|
4546
|
-
|
|
4547
|
-
let
|
|
4571
|
+
}, R = (b) => {
|
|
4572
|
+
const X = new URL(`/v1/player/${r}/limit/lugas`, a);
|
|
4573
|
+
let le = {};
|
|
4574
|
+
n(7, I = !0), le = b === "custom" ? { amount: B } : {};
|
|
4575
|
+
let fe = {
|
|
4548
4576
|
method: "POST",
|
|
4549
4577
|
headers: {
|
|
4550
4578
|
"X-SessionID": o,
|
|
4551
4579
|
"Content-Type": "application/json",
|
|
4552
4580
|
Accept: "application/json"
|
|
4553
4581
|
},
|
|
4554
|
-
body: JSON.stringify(
|
|
4582
|
+
body: JSON.stringify(le)
|
|
4555
4583
|
};
|
|
4556
|
-
fetch(
|
|
4557
|
-
|
|
4558
|
-
}).catch((
|
|
4559
|
-
console.log(
|
|
4584
|
+
fetch(X.href, fe).then((oe) => oe.json()).then((oe) => {
|
|
4585
|
+
ne(oe);
|
|
4586
|
+
}).catch((oe) => {
|
|
4587
|
+
console.log(oe);
|
|
4560
4588
|
}).finally(() => {
|
|
4561
|
-
|
|
4589
|
+
n(7, I = !1);
|
|
4562
4590
|
});
|
|
4563
|
-
},
|
|
4564
|
-
if (
|
|
4565
|
-
switch (
|
|
4591
|
+
}, ne = (b) => {
|
|
4592
|
+
if (b.hasOwnProperty("kycNeeded"))
|
|
4593
|
+
switch (b.popup) {
|
|
4566
4594
|
case 1:
|
|
4567
|
-
|
|
4595
|
+
n(10, H = "KYC"), n(11, G = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
|
|
4568
4596
|
break;
|
|
4569
4597
|
case 2:
|
|
4570
|
-
|
|
4598
|
+
n(10, H = "successful");
|
|
4571
4599
|
break;
|
|
4572
4600
|
case 3:
|
|
4573
|
-
|
|
4601
|
+
n(10, H = "KYC2");
|
|
4574
4602
|
break;
|
|
4575
4603
|
}
|
|
4576
4604
|
else
|
|
4577
|
-
|
|
4578
|
-
},
|
|
4579
|
-
|
|
4605
|
+
n(10, H = "error");
|
|
4606
|
+
}, ie = () => {
|
|
4607
|
+
Gr(u);
|
|
4580
4608
|
};
|
|
4581
|
-
|
|
4609
|
+
Un(() => () => {
|
|
4582
4610
|
});
|
|
4583
|
-
const
|
|
4584
|
-
function
|
|
4585
|
-
|
|
4586
|
-
|
|
4611
|
+
const ae = () => _("lugasInformation"), F = () => R("default");
|
|
4612
|
+
function j(b) {
|
|
4613
|
+
_e[b ? "unshift" : "push"](() => {
|
|
4614
|
+
v = b, n(3, v);
|
|
4587
4615
|
});
|
|
4588
4616
|
}
|
|
4589
|
-
function
|
|
4590
|
-
|
|
4617
|
+
function K() {
|
|
4618
|
+
B = Kt(this.value), n(6, B);
|
|
4591
4619
|
}
|
|
4592
|
-
function
|
|
4593
|
-
|
|
4594
|
-
|
|
4620
|
+
function Ge(b) {
|
|
4621
|
+
_e[b ? "unshift" : "push"](() => {
|
|
4622
|
+
D = b, n(8, D);
|
|
4595
4623
|
});
|
|
4596
4624
|
}
|
|
4597
|
-
const
|
|
4598
|
-
function
|
|
4599
|
-
|
|
4600
|
-
|
|
4625
|
+
const re = () => R("custom"), me = () => _("termsConditions"), Ie = () => _("privacyPolicy"), ke = () => _("closePopup"), Y = () => _("uploadDocuments"), de = () => _("closePopup"), Ce = () => _("uploadDocuments"), he = () => _("closePopup"), be = () => _("closePopup");
|
|
4626
|
+
function He(b) {
|
|
4627
|
+
_e[b ? "unshift" : "push"](() => {
|
|
4628
|
+
L = b, n(9, L);
|
|
4601
4629
|
});
|
|
4602
4630
|
}
|
|
4603
|
-
function
|
|
4604
|
-
|
|
4605
|
-
d =
|
|
4631
|
+
function $e(b) {
|
|
4632
|
+
_e[b ? "unshift" : "push"](() => {
|
|
4633
|
+
d = b, n(2, d);
|
|
4606
4634
|
});
|
|
4607
4635
|
}
|
|
4608
|
-
return e.$$set = (
|
|
4609
|
-
"userid" in
|
|
4636
|
+
return e.$$set = (b) => {
|
|
4637
|
+
"userid" in b && n(17, r = b.userid), "session" in b && n(18, o = b.session), "endpoint" in b && n(19, a = b.endpoint), "currency" in b && n(0, s = b.currency), "lang" in b && n(1, u = b.lang), "translationurl" in b && n(20, l = b.translationurl), "clientstyling" in b && n(21, c = b.clientstyling), "clientstylingurl" in b && n(22, p = b.clientstylingurl), "mbsource" in b && n(23, m = b.mbsource);
|
|
4610
4638
|
}, e.$$.update = () => {
|
|
4611
4639
|
e.$$.dirty[0] & /*lang*/
|
|
4612
|
-
2 && u &&
|
|
4613
|
-
2097156 && c && d &&
|
|
4614
|
-
4194308 && p && d &&
|
|
4615
|
-
8388612 && m && d &&
|
|
4616
|
-
1048576 && l &&
|
|
4640
|
+
2 && u && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4641
|
+
2097156 && c && d && $r(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4642
|
+
4194308 && p && d && zr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4643
|
+
8388612 && m && d && Fr(d, `${m}.Style`, w), e.$$.dirty[0] & /*translationurl*/
|
|
4644
|
+
1048576 && l && N();
|
|
4617
4645
|
}, [
|
|
4618
4646
|
s,
|
|
4619
4647
|
u,
|
|
4620
4648
|
d,
|
|
4621
|
-
E,
|
|
4622
|
-
_,
|
|
4623
|
-
y,
|
|
4624
4649
|
v,
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4650
|
+
y,
|
|
4651
|
+
T,
|
|
4652
|
+
B,
|
|
4653
|
+
I,
|
|
4629
4654
|
D,
|
|
4630
|
-
|
|
4655
|
+
L,
|
|
4631
4656
|
H,
|
|
4632
4657
|
G,
|
|
4633
|
-
|
|
4634
|
-
|
|
4658
|
+
i,
|
|
4659
|
+
U,
|
|
4660
|
+
J,
|
|
4661
|
+
_,
|
|
4662
|
+
R,
|
|
4635
4663
|
r,
|
|
4636
4664
|
o,
|
|
4637
4665
|
a,
|
|
@@ -4639,32 +4667,32 @@ function Kr(e, t, i) {
|
|
|
4639
4667
|
c,
|
|
4640
4668
|
p,
|
|
4641
4669
|
m,
|
|
4642
|
-
|
|
4643
|
-
le,
|
|
4670
|
+
ae,
|
|
4644
4671
|
F,
|
|
4645
4672
|
j,
|
|
4646
4673
|
K,
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
pe,
|
|
4650
|
-
Se,
|
|
4651
|
-
Ae,
|
|
4652
|
-
J,
|
|
4674
|
+
Ge,
|
|
4675
|
+
re,
|
|
4653
4676
|
me,
|
|
4654
4677
|
Ie,
|
|
4655
|
-
|
|
4678
|
+
ke,
|
|
4679
|
+
Y,
|
|
4656
4680
|
de,
|
|
4657
|
-
|
|
4681
|
+
Ce,
|
|
4682
|
+
he,
|
|
4683
|
+
be,
|
|
4684
|
+
He,
|
|
4685
|
+
$e
|
|
4658
4686
|
];
|
|
4659
4687
|
}
|
|
4660
|
-
class
|
|
4688
|
+
class io extends Jn {
|
|
4661
4689
|
constructor(t) {
|
|
4662
|
-
super(),
|
|
4690
|
+
super(), Zn(
|
|
4663
4691
|
this,
|
|
4664
4692
|
t,
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4693
|
+
no,
|
|
4694
|
+
to,
|
|
4695
|
+
Jt,
|
|
4668
4696
|
{
|
|
4669
4697
|
userid: 17,
|
|
4670
4698
|
session: 18,
|
|
@@ -4676,7 +4704,7 @@ class eo extends Zi {
|
|
|
4676
4704
|
clientstylingurl: 22,
|
|
4677
4705
|
mbsource: 23
|
|
4678
4706
|
},
|
|
4679
|
-
|
|
4707
|
+
qr,
|
|
4680
4708
|
[-1, -1]
|
|
4681
4709
|
);
|
|
4682
4710
|
}
|
|
@@ -4684,58 +4712,58 @@ class eo extends Zi {
|
|
|
4684
4712
|
return this.$$.ctx[17];
|
|
4685
4713
|
}
|
|
4686
4714
|
set userid(t) {
|
|
4687
|
-
this.$$set({ userid: t }),
|
|
4715
|
+
this.$$set({ userid: t }), ee();
|
|
4688
4716
|
}
|
|
4689
4717
|
get session() {
|
|
4690
4718
|
return this.$$.ctx[18];
|
|
4691
4719
|
}
|
|
4692
4720
|
set session(t) {
|
|
4693
|
-
this.$$set({ session: t }),
|
|
4721
|
+
this.$$set({ session: t }), ee();
|
|
4694
4722
|
}
|
|
4695
4723
|
get endpoint() {
|
|
4696
4724
|
return this.$$.ctx[19];
|
|
4697
4725
|
}
|
|
4698
4726
|
set endpoint(t) {
|
|
4699
|
-
this.$$set({ endpoint: t }),
|
|
4727
|
+
this.$$set({ endpoint: t }), ee();
|
|
4700
4728
|
}
|
|
4701
4729
|
get currency() {
|
|
4702
4730
|
return this.$$.ctx[0];
|
|
4703
4731
|
}
|
|
4704
4732
|
set currency(t) {
|
|
4705
|
-
this.$$set({ currency: t }),
|
|
4733
|
+
this.$$set({ currency: t }), ee();
|
|
4706
4734
|
}
|
|
4707
4735
|
get lang() {
|
|
4708
4736
|
return this.$$.ctx[1];
|
|
4709
4737
|
}
|
|
4710
4738
|
set lang(t) {
|
|
4711
|
-
this.$$set({ lang: t }),
|
|
4739
|
+
this.$$set({ lang: t }), ee();
|
|
4712
4740
|
}
|
|
4713
4741
|
get translationurl() {
|
|
4714
4742
|
return this.$$.ctx[20];
|
|
4715
4743
|
}
|
|
4716
4744
|
set translationurl(t) {
|
|
4717
|
-
this.$$set({ translationurl: t }),
|
|
4745
|
+
this.$$set({ translationurl: t }), ee();
|
|
4718
4746
|
}
|
|
4719
4747
|
get clientstyling() {
|
|
4720
4748
|
return this.$$.ctx[21];
|
|
4721
4749
|
}
|
|
4722
4750
|
set clientstyling(t) {
|
|
4723
|
-
this.$$set({ clientstyling: t }),
|
|
4751
|
+
this.$$set({ clientstyling: t }), ee();
|
|
4724
4752
|
}
|
|
4725
4753
|
get clientstylingurl() {
|
|
4726
4754
|
return this.$$.ctx[22];
|
|
4727
4755
|
}
|
|
4728
4756
|
set clientstylingurl(t) {
|
|
4729
|
-
this.$$set({ clientstylingurl: t }),
|
|
4757
|
+
this.$$set({ clientstylingurl: t }), ee();
|
|
4730
4758
|
}
|
|
4731
4759
|
get mbsource() {
|
|
4732
4760
|
return this.$$.ctx[23];
|
|
4733
4761
|
}
|
|
4734
4762
|
set mbsource(t) {
|
|
4735
|
-
this.$$set({ mbsource: t }),
|
|
4763
|
+
this.$$set({ mbsource: t }), ee();
|
|
4736
4764
|
}
|
|
4737
4765
|
}
|
|
4738
|
-
|
|
4766
|
+
Yn(io, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4739
4767
|
export {
|
|
4740
|
-
|
|
4768
|
+
io as default
|
|
4741
4769
|
};
|