hmrc-frontend 6.89.0 → 6.91.0
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/hmrc/VERSION.txt +1 -1
- package/hmrc/accessible-autocomplete-6.91.0.css +2 -0
- package/hmrc/accessible-autocomplete-6.91.0.js +2962 -0
- package/hmrc/all-govuk-and-hmrc.js +1 -1
- package/hmrc/all.js +12 -14
- package/hmrc/components/internal-header/_internal-header.scss +53 -21
- package/hmrc/components/internal-header/template.njk +2 -2
- package/hmrc/components/language-select/template.njk +1 -1
- package/hmrc/components/service-navigation-language-select/template.njk +1 -1
- package/hmrc/hmrc-frontend-6.91.0.min.css +3 -0
- package/hmrc/{hmrc-frontend-6.89.0.min.js → hmrc-frontend-6.91.0.min.js} +2 -2
- package/hmrc/maps/accessible-autocomplete-6.91.0.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-6.91.0.min.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-6.91.0.min.js.map +1 -0
- package/package.json +1 -1
- package/hmrc/accessible-autocomplete-6.89.0.css +0 -2
- package/hmrc/accessible-autocomplete-6.89.0.js +0 -2953
- package/hmrc/hmrc-frontend-6.89.0.min.css +0 -3
- package/hmrc/maps/accessible-autocomplete-6.89.0.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-6.89.0.min.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-6.89.0.min.js.map +0 -1
|
@@ -0,0 +1,2962 @@
|
|
|
1
|
+
(function (factory) {
|
|
2
|
+
typeof define === 'function' && define.amd ? define('HMRCAccessibleAutocomplete', factory) :
|
|
3
|
+
factory();
|
|
4
|
+
})((function () { 'use strict';
|
|
5
|
+
|
|
6
|
+
function getDefaultExportFromCjs (x) {
|
|
7
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
var accessibleAutocomplete_min = {exports: {}};
|
|
11
|
+
|
|
12
|
+
var hasRequiredAccessibleAutocomplete_min;
|
|
13
|
+
|
|
14
|
+
function requireAccessibleAutocomplete_min () {
|
|
15
|
+
if (hasRequiredAccessibleAutocomplete_min) return accessibleAutocomplete_min.exports;
|
|
16
|
+
hasRequiredAccessibleAutocomplete_min = 1;
|
|
17
|
+
(function (module, exports) {
|
|
18
|
+
!function (t, e) {
|
|
19
|
+
module.exports = e() ;
|
|
20
|
+
}(self, function () {
|
|
21
|
+
return function () {
|
|
22
|
+
|
|
23
|
+
var t = {
|
|
24
|
+
8952: function (t, e, n) {
|
|
25
|
+
var r = n(4328),
|
|
26
|
+
o = n(36),
|
|
27
|
+
i = TypeError;
|
|
28
|
+
t.exports = function (t) {
|
|
29
|
+
if (r(t)) return t;
|
|
30
|
+
throw new i(o(t) + " is not a function");
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
2096: function (t, e, n) {
|
|
34
|
+
var r = n(2424),
|
|
35
|
+
o = String,
|
|
36
|
+
i = TypeError;
|
|
37
|
+
t.exports = function (t) {
|
|
38
|
+
if (r(t)) return t;
|
|
39
|
+
throw new i("Can't set " + o(t) + " as a prototype");
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
4764: function (t, e, n) {
|
|
43
|
+
var r = n(9764).charAt;
|
|
44
|
+
t.exports = function (t, e, n) {
|
|
45
|
+
return e + (n ? r(t, e).length : 1);
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
6100: function (t, e, n) {
|
|
49
|
+
var r = n(7e3),
|
|
50
|
+
o = TypeError;
|
|
51
|
+
t.exports = function (t, e) {
|
|
52
|
+
if (r(e, t)) return t;
|
|
53
|
+
throw new o("Incorrect invocation");
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
3951: function (t, e, n) {
|
|
57
|
+
var r = n(1632),
|
|
58
|
+
o = String,
|
|
59
|
+
i = TypeError;
|
|
60
|
+
t.exports = function (t) {
|
|
61
|
+
if (r(t)) return t;
|
|
62
|
+
throw new i(o(t) + " is not an object");
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
2504: function (t, e, n) {
|
|
66
|
+
var r = n(4096),
|
|
67
|
+
o = n(2495),
|
|
68
|
+
i = n(3556),
|
|
69
|
+
u = function (t) {
|
|
70
|
+
return function (e, n, u) {
|
|
71
|
+
var a = r(e),
|
|
72
|
+
c = i(a);
|
|
73
|
+
if (0 === c) return !t && -1;
|
|
74
|
+
var s,
|
|
75
|
+
l = o(u, c);
|
|
76
|
+
if (t && n != n) {
|
|
77
|
+
for (; c > l;) if ((s = a[l++]) != s) return true;
|
|
78
|
+
} else for (; c > l; l++) if ((t || l in a) && a[l] === n) return t || l || 0;
|
|
79
|
+
return !t && -1;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
t.exports = {
|
|
83
|
+
includes: u(true),
|
|
84
|
+
indexOf: u(false)
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
3364: function (t, e, n) {
|
|
88
|
+
var r = n(8992),
|
|
89
|
+
o = n(1664),
|
|
90
|
+
i = n(5712),
|
|
91
|
+
u = n(4356),
|
|
92
|
+
a = n(3556),
|
|
93
|
+
c = n(2568),
|
|
94
|
+
s = o([].push),
|
|
95
|
+
l = function (t) {
|
|
96
|
+
var e = 1 === t,
|
|
97
|
+
n = 2 === t,
|
|
98
|
+
o = 3 === t,
|
|
99
|
+
l = 4 === t,
|
|
100
|
+
f = 6 === t,
|
|
101
|
+
p = 7 === t,
|
|
102
|
+
d = 5 === t || f;
|
|
103
|
+
return function (h, v, m, y) {
|
|
104
|
+
for (var g, b, x = u(h), w = i(x), O = a(w), _ = r(v, m), S = 0, C = y || c, E = e ? C(h, O) : n || p ? C(h, 0) : void 0; O > S; S++) if ((d || S in w) && (b = _(g = w[S], S, x), t)) if (e) E[S] = b;else if (b) switch (t) {
|
|
105
|
+
case 3:
|
|
106
|
+
return true;
|
|
107
|
+
case 5:
|
|
108
|
+
return g;
|
|
109
|
+
case 6:
|
|
110
|
+
return S;
|
|
111
|
+
case 2:
|
|
112
|
+
s(E, g);
|
|
113
|
+
} else switch (t) {
|
|
114
|
+
case 4:
|
|
115
|
+
return false;
|
|
116
|
+
case 7:
|
|
117
|
+
s(E, g);
|
|
118
|
+
}
|
|
119
|
+
return f ? -1 : o || l ? l : E;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
t.exports = {
|
|
123
|
+
forEach: l(0),
|
|
124
|
+
map: l(1),
|
|
125
|
+
filter: l(2),
|
|
126
|
+
some: l(3),
|
|
127
|
+
every: l(4),
|
|
128
|
+
find: l(5),
|
|
129
|
+
findIndex: l(6),
|
|
130
|
+
filterReject: l(7)
|
|
131
|
+
};
|
|
132
|
+
},
|
|
133
|
+
953: function (t, e, n) {
|
|
134
|
+
var r = n(9957),
|
|
135
|
+
o = n(9972),
|
|
136
|
+
i = n(8504),
|
|
137
|
+
u = o("species");
|
|
138
|
+
t.exports = function (t) {
|
|
139
|
+
return i >= 51 || !r(function () {
|
|
140
|
+
var e = [];
|
|
141
|
+
return (e.constructor = {})[u] = function () {
|
|
142
|
+
return {
|
|
143
|
+
foo: 1
|
|
144
|
+
};
|
|
145
|
+
}, 1 !== e[t](Boolean).foo;
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
},
|
|
149
|
+
1496: function (t, e, n) {
|
|
150
|
+
var r = n(9957);
|
|
151
|
+
t.exports = function (t, e) {
|
|
152
|
+
var n = [][t];
|
|
153
|
+
return !!n && r(function () {
|
|
154
|
+
n.call(null, e || function () {
|
|
155
|
+
return 1;
|
|
156
|
+
}, 1);
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
6728: function (t, e, n) {
|
|
161
|
+
var r = n(3476),
|
|
162
|
+
o = n(1432),
|
|
163
|
+
i = TypeError,
|
|
164
|
+
u = Object.getOwnPropertyDescriptor,
|
|
165
|
+
a = r && !function () {
|
|
166
|
+
if (void 0 !== this) return true;
|
|
167
|
+
try {
|
|
168
|
+
Object.defineProperty([], "length", {
|
|
169
|
+
writable: !1
|
|
170
|
+
}).length = 1;
|
|
171
|
+
} catch (t) {
|
|
172
|
+
return t instanceof TypeError;
|
|
173
|
+
}
|
|
174
|
+
}();
|
|
175
|
+
t.exports = a ? function (t, e) {
|
|
176
|
+
if (o(t) && !u(t, "length").writable) throw new i("Cannot set read only .length");
|
|
177
|
+
return t.length = e;
|
|
178
|
+
} : function (t, e) {
|
|
179
|
+
return t.length = e;
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
6736: function (t, e, n) {
|
|
183
|
+
var r = n(1432),
|
|
184
|
+
o = n(6072),
|
|
185
|
+
i = n(1632),
|
|
186
|
+
u = n(9972)("species"),
|
|
187
|
+
a = Array;
|
|
188
|
+
t.exports = function (t) {
|
|
189
|
+
var e;
|
|
190
|
+
return r(t) && (e = t.constructor, (o(e) && (e === a || r(e.prototype)) || i(e) && null === (e = e[u])) && (e = void 0)), void 0 === e ? a : e;
|
|
191
|
+
};
|
|
192
|
+
},
|
|
193
|
+
2568: function (t, e, n) {
|
|
194
|
+
var r = n(6736);
|
|
195
|
+
t.exports = function (t, e) {
|
|
196
|
+
return new (r(t))(0 === e ? 0 : e);
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
8696: function (t, e, n) {
|
|
200
|
+
var r = n(3951),
|
|
201
|
+
o = n(3112);
|
|
202
|
+
t.exports = function (t, e, n, i) {
|
|
203
|
+
try {
|
|
204
|
+
return i ? e(r(n)[0], n[1]) : e(n);
|
|
205
|
+
} catch (u) {
|
|
206
|
+
o(t, "throw", u);
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
1888: function (t, e, n) {
|
|
211
|
+
var r = n(1664),
|
|
212
|
+
o = r({}.toString),
|
|
213
|
+
i = r("".slice);
|
|
214
|
+
t.exports = function (t) {
|
|
215
|
+
return i(o(t), 8, -1);
|
|
216
|
+
};
|
|
217
|
+
},
|
|
218
|
+
4427: function (t, e, n) {
|
|
219
|
+
var r = n(16),
|
|
220
|
+
o = n(4328),
|
|
221
|
+
i = n(1888),
|
|
222
|
+
u = n(9972)("toStringTag"),
|
|
223
|
+
a = Object,
|
|
224
|
+
c = "Arguments" === i(function () {
|
|
225
|
+
return arguments;
|
|
226
|
+
}());
|
|
227
|
+
t.exports = r ? i : function (t) {
|
|
228
|
+
var e, n, r;
|
|
229
|
+
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = function (t, e) {
|
|
230
|
+
try {
|
|
231
|
+
return t[e];
|
|
232
|
+
} catch (n) {}
|
|
233
|
+
}(e = a(t), u)) ? n : c ? i(e) : "Object" === (r = i(e)) && o(e.callee) ? "Arguments" : r;
|
|
234
|
+
};
|
|
235
|
+
},
|
|
236
|
+
9968: function (t, e, n) {
|
|
237
|
+
var r = n(5152),
|
|
238
|
+
o = n(9252),
|
|
239
|
+
i = n(9444),
|
|
240
|
+
u = n(8352);
|
|
241
|
+
t.exports = function (t, e, n) {
|
|
242
|
+
for (var a = o(e), c = u.f, s = i.f, l = 0; l < a.length; l++) {
|
|
243
|
+
var f = a[l];
|
|
244
|
+
r(t, f) || n && r(n, f) || c(t, f, s(e, f));
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
},
|
|
248
|
+
2272: function (t, e, n) {
|
|
249
|
+
var r = n(9957);
|
|
250
|
+
t.exports = !r(function () {
|
|
251
|
+
function t() {}
|
|
252
|
+
return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype;
|
|
253
|
+
});
|
|
254
|
+
},
|
|
255
|
+
3336: function (t) {
|
|
256
|
+
t.exports = function (t, e) {
|
|
257
|
+
return {
|
|
258
|
+
value: t,
|
|
259
|
+
done: e
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
},
|
|
263
|
+
3440: function (t, e, n) {
|
|
264
|
+
var r = n(3476),
|
|
265
|
+
o = n(8352),
|
|
266
|
+
i = n(9728);
|
|
267
|
+
t.exports = r ? function (t, e, n) {
|
|
268
|
+
return o.f(t, e, i(1, n));
|
|
269
|
+
} : function (t, e, n) {
|
|
270
|
+
return t[e] = n, t;
|
|
271
|
+
};
|
|
272
|
+
},
|
|
273
|
+
9728: function (t) {
|
|
274
|
+
t.exports = function (t, e) {
|
|
275
|
+
return {
|
|
276
|
+
enumerable: !(1 & t),
|
|
277
|
+
configurable: !(2 & t),
|
|
278
|
+
writable: !(4 & t),
|
|
279
|
+
value: e
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
92: function (t, e, n) {
|
|
284
|
+
var r = n(3476),
|
|
285
|
+
o = n(8352),
|
|
286
|
+
i = n(9728);
|
|
287
|
+
t.exports = function (t, e, n) {
|
|
288
|
+
r ? o.f(t, e, i(0, n)) : t[e] = n;
|
|
289
|
+
};
|
|
290
|
+
},
|
|
291
|
+
2544: function (t, e, n) {
|
|
292
|
+
var r = n(5312),
|
|
293
|
+
o = n(8352);
|
|
294
|
+
t.exports = function (t, e, n) {
|
|
295
|
+
return n.get && r(n.get, e, {
|
|
296
|
+
getter: true
|
|
297
|
+
}), n.set && r(n.set, e, {
|
|
298
|
+
setter: true
|
|
299
|
+
}), o.f(t, e, n);
|
|
300
|
+
};
|
|
301
|
+
},
|
|
302
|
+
6076: function (t, e, n) {
|
|
303
|
+
var r = n(4328),
|
|
304
|
+
o = n(8352),
|
|
305
|
+
i = n(5312),
|
|
306
|
+
u = n(4636);
|
|
307
|
+
t.exports = function (t, e, n, a) {
|
|
308
|
+
a || (a = {});
|
|
309
|
+
var c = a.enumerable,
|
|
310
|
+
s = void 0 !== a.name ? a.name : e;
|
|
311
|
+
if (r(n) && i(n, s, a), a.global) c ? t[e] = n : u(e, n);else {
|
|
312
|
+
try {
|
|
313
|
+
a.unsafe ? t[e] && (c = !0) : delete t[e];
|
|
314
|
+
} catch (l) {}
|
|
315
|
+
c ? t[e] = n : o.f(t, e, {
|
|
316
|
+
value: n,
|
|
317
|
+
enumerable: false,
|
|
318
|
+
configurable: !a.nonConfigurable,
|
|
319
|
+
writable: !a.nonWritable
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
return t;
|
|
323
|
+
};
|
|
324
|
+
},
|
|
325
|
+
4036: function (t, e, n) {
|
|
326
|
+
var r = n(6076);
|
|
327
|
+
t.exports = function (t, e, n) {
|
|
328
|
+
for (var o in e) r(t, o, e[o], n);
|
|
329
|
+
return t;
|
|
330
|
+
};
|
|
331
|
+
},
|
|
332
|
+
4636: function (t, e, n) {
|
|
333
|
+
var r = n(6420),
|
|
334
|
+
o = Object.defineProperty;
|
|
335
|
+
t.exports = function (t, e) {
|
|
336
|
+
try {
|
|
337
|
+
o(r, t, {
|
|
338
|
+
value: e,
|
|
339
|
+
configurable: !0,
|
|
340
|
+
writable: !0
|
|
341
|
+
});
|
|
342
|
+
} catch (n) {
|
|
343
|
+
r[t] = e;
|
|
344
|
+
}
|
|
345
|
+
return e;
|
|
346
|
+
};
|
|
347
|
+
},
|
|
348
|
+
3476: function (t, e, n) {
|
|
349
|
+
var r = n(9957);
|
|
350
|
+
t.exports = !r(function () {
|
|
351
|
+
return 7 !== Object.defineProperty({}, 1, {
|
|
352
|
+
get: function () {
|
|
353
|
+
return 7;
|
|
354
|
+
}
|
|
355
|
+
})[1];
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
8168: function (t, e, n) {
|
|
359
|
+
var r = n(6420),
|
|
360
|
+
o = n(1632),
|
|
361
|
+
i = r.document,
|
|
362
|
+
u = o(i) && o(i.createElement);
|
|
363
|
+
t.exports = function (t) {
|
|
364
|
+
return u ? i.createElement(t) : {};
|
|
365
|
+
};
|
|
366
|
+
},
|
|
367
|
+
4316: function (t) {
|
|
368
|
+
var e = TypeError;
|
|
369
|
+
t.exports = function (t) {
|
|
370
|
+
if (t > 9007199254740991) throw e("Maximum allowed index exceeded");
|
|
371
|
+
return t;
|
|
372
|
+
};
|
|
373
|
+
},
|
|
374
|
+
6064: function (t) {
|
|
375
|
+
t.exports = "undefined" != typeof navigator && String(navigator.userAgent) || "";
|
|
376
|
+
},
|
|
377
|
+
8504: function (t, e, n) {
|
|
378
|
+
var r,
|
|
379
|
+
o,
|
|
380
|
+
i = n(6420),
|
|
381
|
+
u = n(6064),
|
|
382
|
+
a = i.process,
|
|
383
|
+
c = i.Deno,
|
|
384
|
+
s = a && a.versions || c && c.version,
|
|
385
|
+
l = s && s.v8;
|
|
386
|
+
l && (o = (r = l.split("."))[0] > 0 && r[0] < 4 ? 1 : +(r[0] + r[1])), !o && u && (!(r = u.match(/Edge\/(\d+)/)) || r[1] >= 74) && (r = u.match(/Chrome\/(\d+)/)) && (o = +r[1]), t.exports = o;
|
|
387
|
+
},
|
|
388
|
+
8256: function (t) {
|
|
389
|
+
t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
|
|
390
|
+
},
|
|
391
|
+
6520: function (t, e, n) {
|
|
392
|
+
var r = n(1664),
|
|
393
|
+
o = Error,
|
|
394
|
+
i = r("".replace),
|
|
395
|
+
u = String(new o("zxcasd").stack),
|
|
396
|
+
a = /\n\s*at [^:]*:[^\n]*/,
|
|
397
|
+
c = a.test(u);
|
|
398
|
+
t.exports = function (t, e) {
|
|
399
|
+
if (c && "string" == typeof t && !o.prepareStackTrace) for (; e--;) t = i(t, a, "");
|
|
400
|
+
return t;
|
|
401
|
+
};
|
|
402
|
+
},
|
|
403
|
+
3696: function (t, e, n) {
|
|
404
|
+
var r = n(3440),
|
|
405
|
+
o = n(6520),
|
|
406
|
+
i = n(9184),
|
|
407
|
+
u = Error.captureStackTrace;
|
|
408
|
+
t.exports = function (t, e, n, a) {
|
|
409
|
+
i && (u ? u(t, e) : r(t, "stack", o(n, a)));
|
|
410
|
+
};
|
|
411
|
+
},
|
|
412
|
+
9184: function (t, e, n) {
|
|
413
|
+
var r = n(9957),
|
|
414
|
+
o = n(9728);
|
|
415
|
+
t.exports = !r(function () {
|
|
416
|
+
var t = new Error("a");
|
|
417
|
+
return !("stack" in t) || (Object.defineProperty(t, "stack", o(1, 7)), 7 !== t.stack);
|
|
418
|
+
});
|
|
419
|
+
},
|
|
420
|
+
9160: function (t, e, n) {
|
|
421
|
+
var r = n(6420),
|
|
422
|
+
o = n(9444).f,
|
|
423
|
+
i = n(3440),
|
|
424
|
+
u = n(6076),
|
|
425
|
+
a = n(4636),
|
|
426
|
+
c = n(9968),
|
|
427
|
+
s = n(6704);
|
|
428
|
+
t.exports = function (t, e) {
|
|
429
|
+
var n,
|
|
430
|
+
l,
|
|
431
|
+
f,
|
|
432
|
+
p,
|
|
433
|
+
d,
|
|
434
|
+
h = t.target,
|
|
435
|
+
v = t.global,
|
|
436
|
+
m = t.stat;
|
|
437
|
+
if (n = v ? r : m ? r[h] || a(h, {}) : r[h] && r[h].prototype) for (l in e) {
|
|
438
|
+
if (p = e[l], f = t.dontCallGetSet ? (d = o(n, l)) && d.value : n[l], !s(v ? l : h + (m ? "." : "#") + l, t.forced) && void 0 !== f) {
|
|
439
|
+
if (typeof p == typeof f) continue;
|
|
440
|
+
c(p, f);
|
|
441
|
+
}
|
|
442
|
+
(t.sham || f && f.sham) && i(p, "sham", true), u(n, l, p, t);
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
},
|
|
446
|
+
9957: function (t) {
|
|
447
|
+
t.exports = function (t) {
|
|
448
|
+
try {
|
|
449
|
+
return !!t();
|
|
450
|
+
} catch (e) {
|
|
451
|
+
return true;
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
},
|
|
455
|
+
7176: function (t, e, n) {
|
|
456
|
+
n(880);
|
|
457
|
+
var r = n(8448),
|
|
458
|
+
o = n(6076),
|
|
459
|
+
i = n(7680),
|
|
460
|
+
u = n(9957),
|
|
461
|
+
a = n(9972),
|
|
462
|
+
c = n(3440),
|
|
463
|
+
s = a("species"),
|
|
464
|
+
l = RegExp.prototype;
|
|
465
|
+
t.exports = function (t, e, n, f) {
|
|
466
|
+
var p = a(t),
|
|
467
|
+
d = !u(function () {
|
|
468
|
+
var e = {};
|
|
469
|
+
return e[p] = function () {
|
|
470
|
+
return 7;
|
|
471
|
+
}, 7 !== ""[t](e);
|
|
472
|
+
}),
|
|
473
|
+
h = d && !u(function () {
|
|
474
|
+
var e = false,
|
|
475
|
+
n = /a/;
|
|
476
|
+
return "split" === t && ((n = {}).constructor = {}, n.constructor[s] = function () {
|
|
477
|
+
return n;
|
|
478
|
+
}, n.flags = "", n[p] = /./[p]), n.exec = function () {
|
|
479
|
+
return e = true, null;
|
|
480
|
+
}, n[p](""), !e;
|
|
481
|
+
});
|
|
482
|
+
if (!d || !h || n) {
|
|
483
|
+
var v = /./[p],
|
|
484
|
+
m = e(p, ""[t], function (t, e, n, o, u) {
|
|
485
|
+
var a = e.exec;
|
|
486
|
+
return a === i || a === l.exec ? d && !u ? {
|
|
487
|
+
done: true,
|
|
488
|
+
value: r(v, e, n, o)
|
|
489
|
+
} : {
|
|
490
|
+
done: true,
|
|
491
|
+
value: r(t, n, e, o)
|
|
492
|
+
} : {
|
|
493
|
+
done: false
|
|
494
|
+
};
|
|
495
|
+
});
|
|
496
|
+
o(String.prototype, t, m[0]), o(l, p, m[1]);
|
|
497
|
+
}
|
|
498
|
+
f && c(l[p], "sham", true);
|
|
499
|
+
};
|
|
500
|
+
},
|
|
501
|
+
908: function (t, e, n) {
|
|
502
|
+
var r = n(7332),
|
|
503
|
+
o = Function.prototype,
|
|
504
|
+
i = o.apply,
|
|
505
|
+
u = o.call;
|
|
506
|
+
t.exports = "object" == typeof Reflect && Reflect.apply || (r ? u.bind(i) : function () {
|
|
507
|
+
return u.apply(i, arguments);
|
|
508
|
+
});
|
|
509
|
+
},
|
|
510
|
+
8992: function (t, e, n) {
|
|
511
|
+
var r = n(3180),
|
|
512
|
+
o = n(8952),
|
|
513
|
+
i = n(7332),
|
|
514
|
+
u = r(r.bind);
|
|
515
|
+
t.exports = function (t, e) {
|
|
516
|
+
return o(t), void 0 === e ? t : i ? u(t, e) : function () {
|
|
517
|
+
return t.apply(e, arguments);
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
},
|
|
521
|
+
7332: function (t, e, n) {
|
|
522
|
+
var r = n(9957);
|
|
523
|
+
t.exports = !r(function () {
|
|
524
|
+
var t = function () {}.bind();
|
|
525
|
+
return "function" != typeof t || t.hasOwnProperty("prototype");
|
|
526
|
+
});
|
|
527
|
+
},
|
|
528
|
+
8448: function (t, e, n) {
|
|
529
|
+
var r = n(7332),
|
|
530
|
+
o = Function.prototype.call;
|
|
531
|
+
t.exports = r ? o.bind(o) : function () {
|
|
532
|
+
return o.apply(o, arguments);
|
|
533
|
+
};
|
|
534
|
+
},
|
|
535
|
+
6208: function (t, e, n) {
|
|
536
|
+
var r = n(3476),
|
|
537
|
+
o = n(5152),
|
|
538
|
+
i = Function.prototype,
|
|
539
|
+
u = r && Object.getOwnPropertyDescriptor,
|
|
540
|
+
a = o(i, "name"),
|
|
541
|
+
c = a && "something" === function () {}.name,
|
|
542
|
+
s = a && (!r || r && u(i, "name").configurable);
|
|
543
|
+
t.exports = {
|
|
544
|
+
EXISTS: a,
|
|
545
|
+
PROPER: c,
|
|
546
|
+
CONFIGURABLE: s
|
|
547
|
+
};
|
|
548
|
+
},
|
|
549
|
+
5288: function (t, e, n) {
|
|
550
|
+
var r = n(1664),
|
|
551
|
+
o = n(8952);
|
|
552
|
+
t.exports = function (t, e, n) {
|
|
553
|
+
try {
|
|
554
|
+
return r(o(Object.getOwnPropertyDescriptor(t, e)[n]));
|
|
555
|
+
} catch (i) {}
|
|
556
|
+
};
|
|
557
|
+
},
|
|
558
|
+
3180: function (t, e, n) {
|
|
559
|
+
var r = n(1888),
|
|
560
|
+
o = n(1664);
|
|
561
|
+
t.exports = function (t) {
|
|
562
|
+
if ("Function" === r(t)) return o(t);
|
|
563
|
+
};
|
|
564
|
+
},
|
|
565
|
+
1664: function (t, e, n) {
|
|
566
|
+
var r = n(7332),
|
|
567
|
+
o = Function.prototype,
|
|
568
|
+
i = o.call,
|
|
569
|
+
u = r && o.bind.bind(i, i);
|
|
570
|
+
t.exports = r ? u : function (t) {
|
|
571
|
+
return function () {
|
|
572
|
+
return i.apply(t, arguments);
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
},
|
|
576
|
+
5232: function (t, e, n) {
|
|
577
|
+
var r = n(6420),
|
|
578
|
+
o = n(4328);
|
|
579
|
+
t.exports = function (t, e) {
|
|
580
|
+
return arguments.length < 2 ? (n = r[t], o(n) ? n : void 0) : r[t] && r[t][e];
|
|
581
|
+
var n;
|
|
582
|
+
};
|
|
583
|
+
},
|
|
584
|
+
6752: function (t) {
|
|
585
|
+
t.exports = function (t) {
|
|
586
|
+
return {
|
|
587
|
+
iterator: t,
|
|
588
|
+
next: t.next,
|
|
589
|
+
done: false
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
},
|
|
593
|
+
4504: function (t, e, n) {
|
|
594
|
+
var r = n(8952),
|
|
595
|
+
o = n(9760);
|
|
596
|
+
t.exports = function (t, e) {
|
|
597
|
+
var n = t[e];
|
|
598
|
+
return o(n) ? void 0 : r(n);
|
|
599
|
+
};
|
|
600
|
+
},
|
|
601
|
+
6420: function (t, e, n) {
|
|
602
|
+
var r = function (t) {
|
|
603
|
+
return t && t.Math === Math && t;
|
|
604
|
+
};
|
|
605
|
+
t.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof n.g && n.g) || r("object" == typeof this && this) || function () {
|
|
606
|
+
return this;
|
|
607
|
+
}() || Function("return this")();
|
|
608
|
+
},
|
|
609
|
+
5152: function (t, e, n) {
|
|
610
|
+
var r = n(1664),
|
|
611
|
+
o = n(4356),
|
|
612
|
+
i = r({}.hasOwnProperty);
|
|
613
|
+
t.exports = Object.hasOwn || function (t, e) {
|
|
614
|
+
return i(o(t), e);
|
|
615
|
+
};
|
|
616
|
+
},
|
|
617
|
+
2560: function (t) {
|
|
618
|
+
t.exports = {};
|
|
619
|
+
},
|
|
620
|
+
4168: function (t, e, n) {
|
|
621
|
+
var r = n(5232);
|
|
622
|
+
t.exports = r("document", "documentElement");
|
|
623
|
+
},
|
|
624
|
+
9888: function (t, e, n) {
|
|
625
|
+
var r = n(3476),
|
|
626
|
+
o = n(9957),
|
|
627
|
+
i = n(8168);
|
|
628
|
+
t.exports = !r && !o(function () {
|
|
629
|
+
return 7 !== Object.defineProperty(i("div"), "a", {
|
|
630
|
+
get: function () {
|
|
631
|
+
return 7;
|
|
632
|
+
}
|
|
633
|
+
}).a;
|
|
634
|
+
});
|
|
635
|
+
},
|
|
636
|
+
5712: function (t, e, n) {
|
|
637
|
+
var r = n(1664),
|
|
638
|
+
o = n(9957),
|
|
639
|
+
i = n(1888),
|
|
640
|
+
u = Object,
|
|
641
|
+
a = r("".split);
|
|
642
|
+
t.exports = o(function () {
|
|
643
|
+
return !u("z").propertyIsEnumerable(0);
|
|
644
|
+
}) ? function (t) {
|
|
645
|
+
return "String" === i(t) ? a(t, "") : u(t);
|
|
646
|
+
} : u;
|
|
647
|
+
},
|
|
648
|
+
7512: function (t, e, n) {
|
|
649
|
+
var r = n(4328),
|
|
650
|
+
o = n(1632),
|
|
651
|
+
i = n(4024);
|
|
652
|
+
t.exports = function (t, e, n) {
|
|
653
|
+
var u, a;
|
|
654
|
+
return i && r(u = e.constructor) && u !== n && o(a = u.prototype) && a !== n.prototype && i(t, a), t;
|
|
655
|
+
};
|
|
656
|
+
},
|
|
657
|
+
9112: function (t, e, n) {
|
|
658
|
+
var r = n(1664),
|
|
659
|
+
o = n(4328),
|
|
660
|
+
i = n(3976),
|
|
661
|
+
u = r(Function.toString);
|
|
662
|
+
o(i.inspectSource) || (i.inspectSource = function (t) {
|
|
663
|
+
return u(t);
|
|
664
|
+
}), t.exports = i.inspectSource;
|
|
665
|
+
},
|
|
666
|
+
3480: function (t, e, n) {
|
|
667
|
+
var r = n(1632),
|
|
668
|
+
o = n(3440);
|
|
669
|
+
t.exports = function (t, e) {
|
|
670
|
+
r(e) && "cause" in e && o(t, "cause", e.cause);
|
|
671
|
+
};
|
|
672
|
+
},
|
|
673
|
+
9104: function (t, e, n) {
|
|
674
|
+
var r,
|
|
675
|
+
o,
|
|
676
|
+
i,
|
|
677
|
+
u = n(4288),
|
|
678
|
+
a = n(6420),
|
|
679
|
+
c = n(1632),
|
|
680
|
+
s = n(3440),
|
|
681
|
+
l = n(5152),
|
|
682
|
+
f = n(3976),
|
|
683
|
+
p = n(6504),
|
|
684
|
+
d = n(2560),
|
|
685
|
+
h = "Object already initialized",
|
|
686
|
+
v = a.TypeError,
|
|
687
|
+
m = a.WeakMap;
|
|
688
|
+
if (u || f.state) {
|
|
689
|
+
var y = f.state || (f.state = new m());
|
|
690
|
+
y.get = y.get, y.has = y.has, y.set = y.set, r = function (t, e) {
|
|
691
|
+
if (y.has(t)) throw new v(h);
|
|
692
|
+
return e.facade = t, y.set(t, e), e;
|
|
693
|
+
}, o = function (t) {
|
|
694
|
+
return y.get(t) || {};
|
|
695
|
+
}, i = function (t) {
|
|
696
|
+
return y.has(t);
|
|
697
|
+
};
|
|
698
|
+
} else {
|
|
699
|
+
var g = p("state");
|
|
700
|
+
d[g] = true, r = function (t, e) {
|
|
701
|
+
if (l(t, g)) throw new v(h);
|
|
702
|
+
return e.facade = t, s(t, g, e), e;
|
|
703
|
+
}, o = function (t) {
|
|
704
|
+
return l(t, g) ? t[g] : {};
|
|
705
|
+
}, i = function (t) {
|
|
706
|
+
return l(t, g);
|
|
707
|
+
};
|
|
708
|
+
}
|
|
709
|
+
t.exports = {
|
|
710
|
+
set: r,
|
|
711
|
+
get: o,
|
|
712
|
+
has: i,
|
|
713
|
+
enforce: function (t) {
|
|
714
|
+
return i(t) ? o(t) : r(t, {});
|
|
715
|
+
},
|
|
716
|
+
getterFor: function (t) {
|
|
717
|
+
return function (e) {
|
|
718
|
+
var n;
|
|
719
|
+
if (!c(e) || (n = o(e)).type !== t) throw new v("Incompatible receiver, " + t + " required");
|
|
720
|
+
return n;
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
},
|
|
725
|
+
1432: function (t, e, n) {
|
|
726
|
+
var r = n(1888);
|
|
727
|
+
t.exports = Array.isArray || function (t) {
|
|
728
|
+
return "Array" === r(t);
|
|
729
|
+
};
|
|
730
|
+
},
|
|
731
|
+
4328: function (t) {
|
|
732
|
+
var e = "object" == typeof document && document.all;
|
|
733
|
+
t.exports = void 0 === e && void 0 !== e ? function (t) {
|
|
734
|
+
return "function" == typeof t || t === e;
|
|
735
|
+
} : function (t) {
|
|
736
|
+
return "function" == typeof t;
|
|
737
|
+
};
|
|
738
|
+
},
|
|
739
|
+
6072: function (t, e, n) {
|
|
740
|
+
var r = n(1664),
|
|
741
|
+
o = n(9957),
|
|
742
|
+
i = n(4328),
|
|
743
|
+
u = n(4427),
|
|
744
|
+
a = n(5232),
|
|
745
|
+
c = n(9112),
|
|
746
|
+
s = function () {},
|
|
747
|
+
l = a("Reflect", "construct"),
|
|
748
|
+
f = /^\s*(?:class|function)\b/,
|
|
749
|
+
p = r(f.exec),
|
|
750
|
+
d = !f.test(s),
|
|
751
|
+
h = function (t) {
|
|
752
|
+
if (!i(t)) return false;
|
|
753
|
+
try {
|
|
754
|
+
return l(s, [], t), !0;
|
|
755
|
+
} catch (e) {
|
|
756
|
+
return false;
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
v = function (t) {
|
|
760
|
+
if (!i(t)) return false;
|
|
761
|
+
switch (u(t)) {
|
|
762
|
+
case "AsyncFunction":
|
|
763
|
+
case "GeneratorFunction":
|
|
764
|
+
case "AsyncGeneratorFunction":
|
|
765
|
+
return false;
|
|
766
|
+
}
|
|
767
|
+
try {
|
|
768
|
+
return d || !!p(f, c(t));
|
|
769
|
+
} catch (e) {
|
|
770
|
+
return true;
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
v.sham = true, t.exports = !l || o(function () {
|
|
774
|
+
var t;
|
|
775
|
+
return h(h.call) || !h(Object) || !h(function () {
|
|
776
|
+
t = true;
|
|
777
|
+
}) || t;
|
|
778
|
+
}) ? v : h;
|
|
779
|
+
},
|
|
780
|
+
6704: function (t, e, n) {
|
|
781
|
+
var r = n(9957),
|
|
782
|
+
o = n(4328),
|
|
783
|
+
i = /#|\.prototype\./,
|
|
784
|
+
u = function (t, e) {
|
|
785
|
+
var n = c[a(t)];
|
|
786
|
+
return n === l || n !== s && (o(e) ? r(e) : !!e);
|
|
787
|
+
},
|
|
788
|
+
a = u.normalize = function (t) {
|
|
789
|
+
return String(t).replace(i, ".").toLowerCase();
|
|
790
|
+
},
|
|
791
|
+
c = u.data = {},
|
|
792
|
+
s = u.NATIVE = "N",
|
|
793
|
+
l = u.POLYFILL = "P";
|
|
794
|
+
t.exports = u;
|
|
795
|
+
},
|
|
796
|
+
9760: function (t) {
|
|
797
|
+
t.exports = function (t) {
|
|
798
|
+
return null == t;
|
|
799
|
+
};
|
|
800
|
+
},
|
|
801
|
+
1632: function (t, e, n) {
|
|
802
|
+
var r = n(4328);
|
|
803
|
+
t.exports = function (t) {
|
|
804
|
+
return "object" == typeof t ? null !== t : r(t);
|
|
805
|
+
};
|
|
806
|
+
},
|
|
807
|
+
2424: function (t, e, n) {
|
|
808
|
+
var r = n(1632);
|
|
809
|
+
t.exports = function (t) {
|
|
810
|
+
return r(t) || null === t;
|
|
811
|
+
};
|
|
812
|
+
},
|
|
813
|
+
7048: function (t) {
|
|
814
|
+
t.exports = false;
|
|
815
|
+
},
|
|
816
|
+
7728: function (t, e, n) {
|
|
817
|
+
var r = n(5232),
|
|
818
|
+
o = n(4328),
|
|
819
|
+
i = n(7e3),
|
|
820
|
+
u = n(6536),
|
|
821
|
+
a = Object;
|
|
822
|
+
t.exports = u ? function (t) {
|
|
823
|
+
return "symbol" == typeof t;
|
|
824
|
+
} : function (t) {
|
|
825
|
+
var e = r("Symbol");
|
|
826
|
+
return o(e) && i(e.prototype, a(t));
|
|
827
|
+
};
|
|
828
|
+
},
|
|
829
|
+
3112: function (t, e, n) {
|
|
830
|
+
var r = n(8448),
|
|
831
|
+
o = n(3951),
|
|
832
|
+
i = n(4504);
|
|
833
|
+
t.exports = function (t, e, n) {
|
|
834
|
+
var u, a;
|
|
835
|
+
o(t);
|
|
836
|
+
try {
|
|
837
|
+
if (!(u = i(t, "return"))) {
|
|
838
|
+
if ("throw" === e) throw n;
|
|
839
|
+
return n;
|
|
840
|
+
}
|
|
841
|
+
u = r(u, t);
|
|
842
|
+
} catch (c) {
|
|
843
|
+
a = true, u = c;
|
|
844
|
+
}
|
|
845
|
+
if ("throw" === e) throw n;
|
|
846
|
+
if (a) throw u;
|
|
847
|
+
return o(u), n;
|
|
848
|
+
};
|
|
849
|
+
},
|
|
850
|
+
9724: function (t, e, n) {
|
|
851
|
+
var r = n(8448),
|
|
852
|
+
o = n(9368),
|
|
853
|
+
i = n(3440),
|
|
854
|
+
u = n(4036),
|
|
855
|
+
a = n(9972),
|
|
856
|
+
c = n(9104),
|
|
857
|
+
s = n(4504),
|
|
858
|
+
l = n(336).IteratorPrototype,
|
|
859
|
+
f = n(3336),
|
|
860
|
+
p = n(3112),
|
|
861
|
+
d = a("toStringTag"),
|
|
862
|
+
h = "IteratorHelper",
|
|
863
|
+
v = "WrapForValidIterator",
|
|
864
|
+
m = c.set,
|
|
865
|
+
y = function (t) {
|
|
866
|
+
var e = c.getterFor(t ? v : h);
|
|
867
|
+
return u(o(l), {
|
|
868
|
+
next: function () {
|
|
869
|
+
var n = e(this);
|
|
870
|
+
if (t) return n.nextHandler();
|
|
871
|
+
try {
|
|
872
|
+
var r = n.done ? void 0 : n.nextHandler();
|
|
873
|
+
return f(r, n.done);
|
|
874
|
+
} catch (o) {
|
|
875
|
+
throw n.done = true, o;
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
return: function () {
|
|
879
|
+
var n = e(this),
|
|
880
|
+
o = n.iterator;
|
|
881
|
+
if (n.done = true, t) {
|
|
882
|
+
var i = s(o, "return");
|
|
883
|
+
return i ? r(i, o) : f(void 0, true);
|
|
884
|
+
}
|
|
885
|
+
if (n.inner) try {
|
|
886
|
+
p(n.inner.iterator, "normal");
|
|
887
|
+
} catch (u) {
|
|
888
|
+
return p(o, "throw", u);
|
|
889
|
+
}
|
|
890
|
+
return p(o, "normal"), f(void 0, true);
|
|
891
|
+
}
|
|
892
|
+
});
|
|
893
|
+
},
|
|
894
|
+
g = y(true),
|
|
895
|
+
b = y(false);
|
|
896
|
+
i(b, d, "Iterator Helper"), t.exports = function (t, e) {
|
|
897
|
+
var n = function (n, r) {
|
|
898
|
+
r ? (r.iterator = n.iterator, r.next = n.next) : r = n, r.type = e ? v : h, r.nextHandler = t, r.counter = 0, r.done = false, m(this, r);
|
|
899
|
+
};
|
|
900
|
+
return n.prototype = e ? g : b, n;
|
|
901
|
+
};
|
|
902
|
+
},
|
|
903
|
+
5792: function (t, e, n) {
|
|
904
|
+
var r = n(8448),
|
|
905
|
+
o = n(8952),
|
|
906
|
+
i = n(3951),
|
|
907
|
+
u = n(6752),
|
|
908
|
+
a = n(9724),
|
|
909
|
+
c = n(8696),
|
|
910
|
+
s = a(function () {
|
|
911
|
+
var t = this.iterator,
|
|
912
|
+
e = i(r(this.next, t));
|
|
913
|
+
if (!(this.done = !!e.done)) return c(t, this.mapper, [e.value, this.counter++], true);
|
|
914
|
+
});
|
|
915
|
+
t.exports = function (t) {
|
|
916
|
+
return i(this), o(t), new s(u(this), {
|
|
917
|
+
mapper: t
|
|
918
|
+
});
|
|
919
|
+
};
|
|
920
|
+
},
|
|
921
|
+
336: function (t, e, n) {
|
|
922
|
+
var r,
|
|
923
|
+
o,
|
|
924
|
+
i,
|
|
925
|
+
u = n(9957),
|
|
926
|
+
a = n(4328),
|
|
927
|
+
c = n(1632),
|
|
928
|
+
s = n(9368),
|
|
929
|
+
l = n(7796),
|
|
930
|
+
f = n(6076),
|
|
931
|
+
p = n(9972),
|
|
932
|
+
d = n(7048),
|
|
933
|
+
h = p("iterator"),
|
|
934
|
+
v = false;
|
|
935
|
+
[].keys && ("next" in (i = [].keys()) ? (o = l(l(i))) !== Object.prototype && (r = o) : v = true), !c(r) || u(function () {
|
|
936
|
+
var t = {};
|
|
937
|
+
return r[h].call(t) !== t;
|
|
938
|
+
}) ? r = {} : d && (r = s(r)), a(r[h]) || f(r, h, function () {
|
|
939
|
+
return this;
|
|
940
|
+
}), t.exports = {
|
|
941
|
+
IteratorPrototype: r,
|
|
942
|
+
BUGGY_SAFARI_ITERATORS: v
|
|
943
|
+
};
|
|
944
|
+
},
|
|
945
|
+
3556: function (t, e, n) {
|
|
946
|
+
var r = n(7584);
|
|
947
|
+
t.exports = function (t) {
|
|
948
|
+
return r(t.length);
|
|
949
|
+
};
|
|
950
|
+
},
|
|
951
|
+
5312: function (t, e, n) {
|
|
952
|
+
var r = n(1664),
|
|
953
|
+
o = n(9957),
|
|
954
|
+
i = n(4328),
|
|
955
|
+
u = n(5152),
|
|
956
|
+
a = n(3476),
|
|
957
|
+
c = n(6208).CONFIGURABLE,
|
|
958
|
+
s = n(9112),
|
|
959
|
+
l = n(9104),
|
|
960
|
+
f = l.enforce,
|
|
961
|
+
p = l.get,
|
|
962
|
+
d = String,
|
|
963
|
+
h = Object.defineProperty,
|
|
964
|
+
v = r("".slice),
|
|
965
|
+
m = r("".replace),
|
|
966
|
+
y = r([].join),
|
|
967
|
+
g = a && !o(function () {
|
|
968
|
+
return 8 !== h(function () {}, "length", {
|
|
969
|
+
value: 8
|
|
970
|
+
}).length;
|
|
971
|
+
}),
|
|
972
|
+
b = String(String).split("String"),
|
|
973
|
+
x = t.exports = function (t, e, n) {
|
|
974
|
+
"Symbol(" === v(d(e), 0, 7) && (e = "[" + m(d(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), n && n.getter && (e = "get " + e), n && n.setter && (e = "set " + e), (!u(t, "name") || c && t.name !== e) && (a ? h(t, "name", {
|
|
975
|
+
value: e,
|
|
976
|
+
configurable: true
|
|
977
|
+
}) : t.name = e), g && n && u(n, "arity") && t.length !== n.arity && h(t, "length", {
|
|
978
|
+
value: n.arity
|
|
979
|
+
});
|
|
980
|
+
try {
|
|
981
|
+
n && u(n, "constructor") && n.constructor ? a && h(t, "prototype", {
|
|
982
|
+
writable: !1
|
|
983
|
+
}) : t.prototype && (t.prototype = void 0);
|
|
984
|
+
} catch (o) {}
|
|
985
|
+
var r = f(t);
|
|
986
|
+
return u(r, "source") || (r.source = y(b, "string" == typeof e ? e : "")), t;
|
|
987
|
+
};
|
|
988
|
+
Function.prototype.toString = x(function () {
|
|
989
|
+
return i(this) && p(this).source || s(this);
|
|
990
|
+
}, "toString");
|
|
991
|
+
},
|
|
992
|
+
1748: function (t) {
|
|
993
|
+
var e = Math.ceil,
|
|
994
|
+
n = Math.floor;
|
|
995
|
+
t.exports = Math.trunc || function (t) {
|
|
996
|
+
var r = +t;
|
|
997
|
+
return (r > 0 ? n : e)(r);
|
|
998
|
+
};
|
|
999
|
+
},
|
|
1000
|
+
8948: function (t, e, n) {
|
|
1001
|
+
var r = n(5016);
|
|
1002
|
+
t.exports = function (t, e) {
|
|
1003
|
+
return void 0 === t ? arguments.length < 2 ? "" : e : r(t);
|
|
1004
|
+
};
|
|
1005
|
+
},
|
|
1006
|
+
9292: function (t, e, n) {
|
|
1007
|
+
var r = n(3476),
|
|
1008
|
+
o = n(1664),
|
|
1009
|
+
i = n(8448),
|
|
1010
|
+
u = n(9957),
|
|
1011
|
+
a = n(1531),
|
|
1012
|
+
c = n(9392),
|
|
1013
|
+
s = n(8912),
|
|
1014
|
+
l = n(4356),
|
|
1015
|
+
f = n(5712),
|
|
1016
|
+
p = Object.assign,
|
|
1017
|
+
d = Object.defineProperty,
|
|
1018
|
+
h = o([].concat);
|
|
1019
|
+
t.exports = !p || u(function () {
|
|
1020
|
+
if (r && 1 !== p({
|
|
1021
|
+
b: 1
|
|
1022
|
+
}, p(d({}, "a", {
|
|
1023
|
+
enumerable: true,
|
|
1024
|
+
get: function () {
|
|
1025
|
+
d(this, "b", {
|
|
1026
|
+
value: 3,
|
|
1027
|
+
enumerable: false
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
1030
|
+
}), {
|
|
1031
|
+
b: 2
|
|
1032
|
+
})).b) return true;
|
|
1033
|
+
var t = {},
|
|
1034
|
+
e = {},
|
|
1035
|
+
n = Symbol("assign detection"),
|
|
1036
|
+
o = "abcdefghijklmnopqrst";
|
|
1037
|
+
return t[n] = 7, o.split("").forEach(function (t) {
|
|
1038
|
+
e[t] = t;
|
|
1039
|
+
}), 7 !== p({}, t)[n] || a(p({}, e)).join("") !== o;
|
|
1040
|
+
}) ? function (t, e) {
|
|
1041
|
+
for (var n = l(t), o = arguments.length, u = 1, p = c.f, d = s.f; o > u;) for (var v, m = f(arguments[u++]), y = p ? h(a(m), p(m)) : a(m), g = y.length, b = 0; g > b;) v = y[b++], r && !i(d, m, v) || (n[v] = m[v]);
|
|
1042
|
+
return n;
|
|
1043
|
+
} : p;
|
|
1044
|
+
},
|
|
1045
|
+
9368: function (t, e, n) {
|
|
1046
|
+
var r,
|
|
1047
|
+
o = n(3951),
|
|
1048
|
+
i = n(2056),
|
|
1049
|
+
u = n(8256),
|
|
1050
|
+
a = n(2560),
|
|
1051
|
+
c = n(4168),
|
|
1052
|
+
s = n(8168),
|
|
1053
|
+
l = n(6504),
|
|
1054
|
+
f = "prototype",
|
|
1055
|
+
p = "script",
|
|
1056
|
+
d = l("IE_PROTO"),
|
|
1057
|
+
h = function () {},
|
|
1058
|
+
v = function (t) {
|
|
1059
|
+
return "<" + p + ">" + t + "</" + p + ">";
|
|
1060
|
+
},
|
|
1061
|
+
m = function (t) {
|
|
1062
|
+
t.write(v("")), t.close();
|
|
1063
|
+
var e = t.parentWindow.Object;
|
|
1064
|
+
return t = null, e;
|
|
1065
|
+
},
|
|
1066
|
+
y = function () {
|
|
1067
|
+
try {
|
|
1068
|
+
r = new ActiveXObject("htmlfile");
|
|
1069
|
+
} catch (i) {}
|
|
1070
|
+
var t, e, n;
|
|
1071
|
+
y = "undefined" != typeof document ? document.domain && r ? m(r) : (e = s("iframe"), n = "java" + p + ":", e.style.display = "none", c.appendChild(e), e.src = String(n), (t = e.contentWindow.document).open(), t.write(v("document.F=Object")), t.close(), t.F) : m(r);
|
|
1072
|
+
for (var o = u.length; o--;) delete y[f][u[o]];
|
|
1073
|
+
return y();
|
|
1074
|
+
};
|
|
1075
|
+
a[d] = true, t.exports = Object.create || function (t, e) {
|
|
1076
|
+
var n;
|
|
1077
|
+
return null !== t ? (h[f] = o(t), n = new h(), h[f] = null, n[d] = t) : n = y(), void 0 === e ? n : i.f(n, e);
|
|
1078
|
+
};
|
|
1079
|
+
},
|
|
1080
|
+
2056: function (t, e, n) {
|
|
1081
|
+
var r = n(3476),
|
|
1082
|
+
o = n(1576),
|
|
1083
|
+
i = n(8352),
|
|
1084
|
+
u = n(3951),
|
|
1085
|
+
a = n(4096),
|
|
1086
|
+
c = n(1531);
|
|
1087
|
+
e.f = r && !o ? Object.defineProperties : function (t, e) {
|
|
1088
|
+
u(t);
|
|
1089
|
+
for (var n, r = a(e), o = c(e), s = o.length, l = 0; s > l;) i.f(t, n = o[l++], r[n]);
|
|
1090
|
+
return t;
|
|
1091
|
+
};
|
|
1092
|
+
},
|
|
1093
|
+
8352: function (t, e, n) {
|
|
1094
|
+
var r = n(3476),
|
|
1095
|
+
o = n(9888),
|
|
1096
|
+
i = n(1576),
|
|
1097
|
+
u = n(3951),
|
|
1098
|
+
a = n(88),
|
|
1099
|
+
c = TypeError,
|
|
1100
|
+
s = Object.defineProperty,
|
|
1101
|
+
l = Object.getOwnPropertyDescriptor,
|
|
1102
|
+
f = "enumerable",
|
|
1103
|
+
p = "configurable",
|
|
1104
|
+
d = "writable";
|
|
1105
|
+
e.f = r ? i ? function (t, e, n) {
|
|
1106
|
+
if (u(t), e = a(e), u(n), "function" == typeof t && "prototype" === e && "value" in n && d in n && !n[d]) {
|
|
1107
|
+
var r = l(t, e);
|
|
1108
|
+
r && r[d] && (t[e] = n.value, n = {
|
|
1109
|
+
configurable: p in n ? n[p] : r[p],
|
|
1110
|
+
enumerable: f in n ? n[f] : r[f],
|
|
1111
|
+
writable: false
|
|
1112
|
+
});
|
|
1113
|
+
}
|
|
1114
|
+
return s(t, e, n);
|
|
1115
|
+
} : s : function (t, e, n) {
|
|
1116
|
+
if (u(t), e = a(e), u(n), o) try {
|
|
1117
|
+
return s(t, e, n);
|
|
1118
|
+
} catch (r) {}
|
|
1119
|
+
if ("get" in n || "set" in n) throw new c("Accessors not supported");
|
|
1120
|
+
return "value" in n && (t[e] = n.value), t;
|
|
1121
|
+
};
|
|
1122
|
+
},
|
|
1123
|
+
9444: function (t, e, n) {
|
|
1124
|
+
var r = n(3476),
|
|
1125
|
+
o = n(8448),
|
|
1126
|
+
i = n(8912),
|
|
1127
|
+
u = n(9728),
|
|
1128
|
+
a = n(4096),
|
|
1129
|
+
c = n(88),
|
|
1130
|
+
s = n(5152),
|
|
1131
|
+
l = n(9888),
|
|
1132
|
+
f = Object.getOwnPropertyDescriptor;
|
|
1133
|
+
e.f = r ? f : function (t, e) {
|
|
1134
|
+
if (t = a(t), e = c(e), l) try {
|
|
1135
|
+
return f(t, e);
|
|
1136
|
+
} catch (n) {}
|
|
1137
|
+
if (s(t, e)) return u(!o(i.f, t, e), t[e]);
|
|
1138
|
+
};
|
|
1139
|
+
},
|
|
1140
|
+
5048: function (t, e, n) {
|
|
1141
|
+
var r = n(9008),
|
|
1142
|
+
o = n(8256).concat("length", "prototype");
|
|
1143
|
+
e.f = Object.getOwnPropertyNames || function (t) {
|
|
1144
|
+
return r(t, o);
|
|
1145
|
+
};
|
|
1146
|
+
},
|
|
1147
|
+
9392: function (t, e) {
|
|
1148
|
+
e.f = Object.getOwnPropertySymbols;
|
|
1149
|
+
},
|
|
1150
|
+
7796: function (t, e, n) {
|
|
1151
|
+
var r = n(5152),
|
|
1152
|
+
o = n(4328),
|
|
1153
|
+
i = n(4356),
|
|
1154
|
+
u = n(6504),
|
|
1155
|
+
a = n(2272),
|
|
1156
|
+
c = u("IE_PROTO"),
|
|
1157
|
+
s = Object,
|
|
1158
|
+
l = s.prototype;
|
|
1159
|
+
t.exports = a ? s.getPrototypeOf : function (t) {
|
|
1160
|
+
var e = i(t);
|
|
1161
|
+
if (r(e, c)) return e[c];
|
|
1162
|
+
var n = e.constructor;
|
|
1163
|
+
return o(n) && e instanceof n ? n.prototype : e instanceof s ? l : null;
|
|
1164
|
+
};
|
|
1165
|
+
},
|
|
1166
|
+
7e3: function (t, e, n) {
|
|
1167
|
+
var r = n(1664);
|
|
1168
|
+
t.exports = r({}.isPrototypeOf);
|
|
1169
|
+
},
|
|
1170
|
+
9008: function (t, e, n) {
|
|
1171
|
+
var r = n(1664),
|
|
1172
|
+
o = n(5152),
|
|
1173
|
+
i = n(4096),
|
|
1174
|
+
u = n(2504).indexOf,
|
|
1175
|
+
a = n(2560),
|
|
1176
|
+
c = r([].push);
|
|
1177
|
+
t.exports = function (t, e) {
|
|
1178
|
+
var n,
|
|
1179
|
+
r = i(t),
|
|
1180
|
+
s = 0,
|
|
1181
|
+
l = [];
|
|
1182
|
+
for (n in r) !o(a, n) && o(r, n) && c(l, n);
|
|
1183
|
+
for (; e.length > s;) o(r, n = e[s++]) && (~u(l, n) || c(l, n));
|
|
1184
|
+
return l;
|
|
1185
|
+
};
|
|
1186
|
+
},
|
|
1187
|
+
1531: function (t, e, n) {
|
|
1188
|
+
var r = n(9008),
|
|
1189
|
+
o = n(8256);
|
|
1190
|
+
t.exports = Object.keys || function (t) {
|
|
1191
|
+
return r(t, o);
|
|
1192
|
+
};
|
|
1193
|
+
},
|
|
1194
|
+
8912: function (t, e) {
|
|
1195
|
+
var n = {}.propertyIsEnumerable,
|
|
1196
|
+
r = Object.getOwnPropertyDescriptor,
|
|
1197
|
+
o = r && !n.call({
|
|
1198
|
+
1: 2
|
|
1199
|
+
}, 1);
|
|
1200
|
+
e.f = o ? function (t) {
|
|
1201
|
+
var e = r(this, t);
|
|
1202
|
+
return !!e && e.enumerable;
|
|
1203
|
+
} : n;
|
|
1204
|
+
},
|
|
1205
|
+
4024: function (t, e, n) {
|
|
1206
|
+
var r = n(5288),
|
|
1207
|
+
o = n(3951),
|
|
1208
|
+
i = n(2096);
|
|
1209
|
+
t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () {
|
|
1210
|
+
var t,
|
|
1211
|
+
e = false,
|
|
1212
|
+
n = {};
|
|
1213
|
+
try {
|
|
1214
|
+
(t = r(Object.prototype, "__proto__", "set"))(n, []), e = n instanceof Array;
|
|
1215
|
+
} catch (u) {}
|
|
1216
|
+
return function (n, r) {
|
|
1217
|
+
return o(n), i(r), e ? t(n, r) : n.__proto__ = r, n;
|
|
1218
|
+
};
|
|
1219
|
+
}() : void 0);
|
|
1220
|
+
},
|
|
1221
|
+
7032: function (t, e, n) {
|
|
1222
|
+
var r = n(16),
|
|
1223
|
+
o = n(4427);
|
|
1224
|
+
t.exports = r ? {}.toString : function () {
|
|
1225
|
+
return "[object " + o(this) + "]";
|
|
1226
|
+
};
|
|
1227
|
+
},
|
|
1228
|
+
2104: function (t, e, n) {
|
|
1229
|
+
var r = n(8448),
|
|
1230
|
+
o = n(4328),
|
|
1231
|
+
i = n(1632),
|
|
1232
|
+
u = TypeError;
|
|
1233
|
+
t.exports = function (t, e) {
|
|
1234
|
+
var n, a;
|
|
1235
|
+
if ("string" === e && o(n = t.toString) && !i(a = r(n, t))) return a;
|
|
1236
|
+
if (o(n = t.valueOf) && !i(a = r(n, t))) return a;
|
|
1237
|
+
if ("string" !== e && o(n = t.toString) && !i(a = r(n, t))) return a;
|
|
1238
|
+
throw new u("Can't convert object to primitive value");
|
|
1239
|
+
};
|
|
1240
|
+
},
|
|
1241
|
+
9252: function (t, e, n) {
|
|
1242
|
+
var r = n(5232),
|
|
1243
|
+
o = n(1664),
|
|
1244
|
+
i = n(5048),
|
|
1245
|
+
u = n(9392),
|
|
1246
|
+
a = n(3951),
|
|
1247
|
+
c = o([].concat);
|
|
1248
|
+
t.exports = r("Reflect", "ownKeys") || function (t) {
|
|
1249
|
+
var e = i.f(a(t)),
|
|
1250
|
+
n = u.f;
|
|
1251
|
+
return n ? c(e, n(t)) : e;
|
|
1252
|
+
};
|
|
1253
|
+
},
|
|
1254
|
+
584: function (t, e, n) {
|
|
1255
|
+
var r = n(8352).f;
|
|
1256
|
+
t.exports = function (t, e, n) {
|
|
1257
|
+
n in t || r(t, n, {
|
|
1258
|
+
configurable: true,
|
|
1259
|
+
get: function () {
|
|
1260
|
+
return e[n];
|
|
1261
|
+
},
|
|
1262
|
+
set: function (t) {
|
|
1263
|
+
e[n] = t;
|
|
1264
|
+
}
|
|
1265
|
+
});
|
|
1266
|
+
};
|
|
1267
|
+
},
|
|
1268
|
+
9092: function (t, e, n) {
|
|
1269
|
+
var r = n(8448),
|
|
1270
|
+
o = n(3951),
|
|
1271
|
+
i = n(4328),
|
|
1272
|
+
u = n(1888),
|
|
1273
|
+
a = n(7680),
|
|
1274
|
+
c = TypeError;
|
|
1275
|
+
t.exports = function (t, e) {
|
|
1276
|
+
var n = t.exec;
|
|
1277
|
+
if (i(n)) {
|
|
1278
|
+
var s = r(n, t, e);
|
|
1279
|
+
return null !== s && o(s), s;
|
|
1280
|
+
}
|
|
1281
|
+
if ("RegExp" === u(t)) return r(a, t, e);
|
|
1282
|
+
throw new c("RegExp#exec called on incompatible receiver");
|
|
1283
|
+
};
|
|
1284
|
+
},
|
|
1285
|
+
7680: function (t, e, n) {
|
|
1286
|
+
var r,
|
|
1287
|
+
o,
|
|
1288
|
+
i = n(8448),
|
|
1289
|
+
u = n(1664),
|
|
1290
|
+
a = n(5016),
|
|
1291
|
+
c = n(8872),
|
|
1292
|
+
s = n(3548),
|
|
1293
|
+
l = n(4696),
|
|
1294
|
+
f = n(9368),
|
|
1295
|
+
p = n(9104).get,
|
|
1296
|
+
d = n(8e3),
|
|
1297
|
+
h = n(9124),
|
|
1298
|
+
v = l("native-string-replace", String.prototype.replace),
|
|
1299
|
+
m = RegExp.prototype.exec,
|
|
1300
|
+
y = m,
|
|
1301
|
+
g = u("".charAt),
|
|
1302
|
+
b = u("".indexOf),
|
|
1303
|
+
x = u("".replace),
|
|
1304
|
+
w = u("".slice),
|
|
1305
|
+
O = (o = /b*/g, i(m, r = /a/, "a"), i(m, o, "a"), 0 !== r.lastIndex || 0 !== o.lastIndex),
|
|
1306
|
+
_ = s.BROKEN_CARET,
|
|
1307
|
+
S = void 0 !== /()??/.exec("")[1];
|
|
1308
|
+
(O || S || _ || d || h) && (y = function (t) {
|
|
1309
|
+
var e,
|
|
1310
|
+
n,
|
|
1311
|
+
r,
|
|
1312
|
+
o,
|
|
1313
|
+
u,
|
|
1314
|
+
s,
|
|
1315
|
+
l,
|
|
1316
|
+
d = this,
|
|
1317
|
+
h = p(d),
|
|
1318
|
+
C = a(t),
|
|
1319
|
+
E = h.raw;
|
|
1320
|
+
if (E) return E.lastIndex = d.lastIndex, e = i(y, E, C), d.lastIndex = E.lastIndex, e;
|
|
1321
|
+
var I = h.groups,
|
|
1322
|
+
j = _ && d.sticky,
|
|
1323
|
+
A = i(c, d),
|
|
1324
|
+
P = d.source,
|
|
1325
|
+
N = 0,
|
|
1326
|
+
k = C;
|
|
1327
|
+
if (j && (A = x(A, "y", ""), -1 === b(A, "g") && (A += "g"), k = w(C, d.lastIndex), d.lastIndex > 0 && (!d.multiline || d.multiline && "\n" !== g(C, d.lastIndex - 1)) && (P = "(?: " + P + ")", k = " " + k, N++), n = new RegExp("^(?:" + P + ")", A)), S && (n = new RegExp("^" + P + "$(?!\\s)", A)), O && (r = d.lastIndex), o = i(m, j ? n : d, k), j ? o ? (o.input = w(o.input, N), o[0] = w(o[0], N), o.index = d.lastIndex, d.lastIndex += o[0].length) : d.lastIndex = 0 : O && o && (d.lastIndex = d.global ? o.index + o[0].length : r), S && o && o.length > 1 && i(v, o[0], n, function () {
|
|
1328
|
+
for (u = 1; u < arguments.length - 2; u++) void 0 === arguments[u] && (o[u] = void 0);
|
|
1329
|
+
}), o && I) for (o.groups = s = f(null), u = 0; u < I.length; u++) s[(l = I[u])[0]] = o[l[1]];
|
|
1330
|
+
return o;
|
|
1331
|
+
}), t.exports = y;
|
|
1332
|
+
},
|
|
1333
|
+
8872: function (t, e, n) {
|
|
1334
|
+
var r = n(3951);
|
|
1335
|
+
t.exports = function () {
|
|
1336
|
+
var t = r(this),
|
|
1337
|
+
e = "";
|
|
1338
|
+
return t.hasIndices && (e += "d"), t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.unicodeSets && (e += "v"), t.sticky && (e += "y"), e;
|
|
1339
|
+
};
|
|
1340
|
+
},
|
|
1341
|
+
3548: function (t, e, n) {
|
|
1342
|
+
var r = n(9957),
|
|
1343
|
+
o = n(6420).RegExp,
|
|
1344
|
+
i = r(function () {
|
|
1345
|
+
var t = o("a", "y");
|
|
1346
|
+
return t.lastIndex = 2, null !== t.exec("abcd");
|
|
1347
|
+
}),
|
|
1348
|
+
u = i || r(function () {
|
|
1349
|
+
return !o("a", "y").sticky;
|
|
1350
|
+
}),
|
|
1351
|
+
a = i || r(function () {
|
|
1352
|
+
var t = o("^r", "gy");
|
|
1353
|
+
return t.lastIndex = 2, null !== t.exec("str");
|
|
1354
|
+
});
|
|
1355
|
+
t.exports = {
|
|
1356
|
+
BROKEN_CARET: a,
|
|
1357
|
+
MISSED_STICKY: u,
|
|
1358
|
+
UNSUPPORTED_Y: i
|
|
1359
|
+
};
|
|
1360
|
+
},
|
|
1361
|
+
8e3: function (t, e, n) {
|
|
1362
|
+
var r = n(9957),
|
|
1363
|
+
o = n(6420).RegExp;
|
|
1364
|
+
t.exports = r(function () {
|
|
1365
|
+
var t = o(".", "s");
|
|
1366
|
+
return !(t.dotAll && t.test("\n") && "s" === t.flags);
|
|
1367
|
+
});
|
|
1368
|
+
},
|
|
1369
|
+
9124: function (t, e, n) {
|
|
1370
|
+
var r = n(9957),
|
|
1371
|
+
o = n(6420).RegExp;
|
|
1372
|
+
t.exports = r(function () {
|
|
1373
|
+
var t = o("(?<a>b)", "g");
|
|
1374
|
+
return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$<a>c");
|
|
1375
|
+
});
|
|
1376
|
+
},
|
|
1377
|
+
5436: function (t, e, n) {
|
|
1378
|
+
var r = n(9760),
|
|
1379
|
+
o = TypeError;
|
|
1380
|
+
t.exports = function (t) {
|
|
1381
|
+
if (r(t)) throw new o("Can't call method on " + t);
|
|
1382
|
+
return t;
|
|
1383
|
+
};
|
|
1384
|
+
},
|
|
1385
|
+
6504: function (t, e, n) {
|
|
1386
|
+
var r = n(4696),
|
|
1387
|
+
o = n(7776),
|
|
1388
|
+
i = r("keys");
|
|
1389
|
+
t.exports = function (t) {
|
|
1390
|
+
return i[t] || (i[t] = o(t));
|
|
1391
|
+
};
|
|
1392
|
+
},
|
|
1393
|
+
3976: function (t, e, n) {
|
|
1394
|
+
var r = n(7048),
|
|
1395
|
+
o = n(6420),
|
|
1396
|
+
i = n(4636),
|
|
1397
|
+
u = "__core-js_shared__",
|
|
1398
|
+
a = t.exports = o[u] || i(u, {});
|
|
1399
|
+
(a.versions || (a.versions = [])).push({
|
|
1400
|
+
version: "3.36.0",
|
|
1401
|
+
mode: r ? "pure" : "global",
|
|
1402
|
+
copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
|
|
1403
|
+
license: "https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",
|
|
1404
|
+
source: "https://github.com/zloirock/core-js"
|
|
1405
|
+
});
|
|
1406
|
+
},
|
|
1407
|
+
4696: function (t, e, n) {
|
|
1408
|
+
var r = n(3976);
|
|
1409
|
+
t.exports = function (t, e) {
|
|
1410
|
+
return r[t] || (r[t] = e || {});
|
|
1411
|
+
};
|
|
1412
|
+
},
|
|
1413
|
+
9764: function (t, e, n) {
|
|
1414
|
+
var r = n(1664),
|
|
1415
|
+
o = n(6180),
|
|
1416
|
+
i = n(5016),
|
|
1417
|
+
u = n(5436),
|
|
1418
|
+
a = r("".charAt),
|
|
1419
|
+
c = r("".charCodeAt),
|
|
1420
|
+
s = r("".slice),
|
|
1421
|
+
l = function (t) {
|
|
1422
|
+
return function (e, n) {
|
|
1423
|
+
var r,
|
|
1424
|
+
l,
|
|
1425
|
+
f = i(u(e)),
|
|
1426
|
+
p = o(n),
|
|
1427
|
+
d = f.length;
|
|
1428
|
+
return p < 0 || p >= d ? t ? "" : void 0 : (r = c(f, p)) < 55296 || r > 56319 || p + 1 === d || (l = c(f, p + 1)) < 56320 || l > 57343 ? t ? a(f, p) : r : t ? s(f, p, p + 2) : l - 56320 + (r - 55296 << 10) + 65536;
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
t.exports = {
|
|
1432
|
+
codeAt: l(false),
|
|
1433
|
+
charAt: l(true)
|
|
1434
|
+
};
|
|
1435
|
+
},
|
|
1436
|
+
772: function (t, e, n) {
|
|
1437
|
+
var r = n(8504),
|
|
1438
|
+
o = n(9957),
|
|
1439
|
+
i = n(6420).String;
|
|
1440
|
+
t.exports = !!Object.getOwnPropertySymbols && !o(function () {
|
|
1441
|
+
var t = Symbol("symbol detection");
|
|
1442
|
+
return !i(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && r && r < 41;
|
|
1443
|
+
});
|
|
1444
|
+
},
|
|
1445
|
+
2495: function (t, e, n) {
|
|
1446
|
+
var r = n(6180),
|
|
1447
|
+
o = Math.max,
|
|
1448
|
+
i = Math.min;
|
|
1449
|
+
t.exports = function (t, e) {
|
|
1450
|
+
var n = r(t);
|
|
1451
|
+
return n < 0 ? o(n + e, 0) : i(n, e);
|
|
1452
|
+
};
|
|
1453
|
+
},
|
|
1454
|
+
4096: function (t, e, n) {
|
|
1455
|
+
var r = n(5712),
|
|
1456
|
+
o = n(5436);
|
|
1457
|
+
t.exports = function (t) {
|
|
1458
|
+
return r(o(t));
|
|
1459
|
+
};
|
|
1460
|
+
},
|
|
1461
|
+
6180: function (t, e, n) {
|
|
1462
|
+
var r = n(1748);
|
|
1463
|
+
t.exports = function (t) {
|
|
1464
|
+
var e = +t;
|
|
1465
|
+
return e != e || 0 === e ? 0 : r(e);
|
|
1466
|
+
};
|
|
1467
|
+
},
|
|
1468
|
+
7584: function (t, e, n) {
|
|
1469
|
+
var r = n(6180),
|
|
1470
|
+
o = Math.min;
|
|
1471
|
+
t.exports = function (t) {
|
|
1472
|
+
var e = r(t);
|
|
1473
|
+
return e > 0 ? o(e, 9007199254740991) : 0;
|
|
1474
|
+
};
|
|
1475
|
+
},
|
|
1476
|
+
4356: function (t, e, n) {
|
|
1477
|
+
var r = n(5436),
|
|
1478
|
+
o = Object;
|
|
1479
|
+
t.exports = function (t) {
|
|
1480
|
+
return o(r(t));
|
|
1481
|
+
};
|
|
1482
|
+
},
|
|
1483
|
+
7024: function (t, e, n) {
|
|
1484
|
+
var r = n(8448),
|
|
1485
|
+
o = n(1632),
|
|
1486
|
+
i = n(7728),
|
|
1487
|
+
u = n(4504),
|
|
1488
|
+
a = n(2104),
|
|
1489
|
+
c = n(9972),
|
|
1490
|
+
s = TypeError,
|
|
1491
|
+
l = c("toPrimitive");
|
|
1492
|
+
t.exports = function (t, e) {
|
|
1493
|
+
if (!o(t) || i(t)) return t;
|
|
1494
|
+
var n,
|
|
1495
|
+
c = u(t, l);
|
|
1496
|
+
if (c) {
|
|
1497
|
+
if (void 0 === e && (e = "default"), n = r(c, t, e), !o(n) || i(n)) return n;
|
|
1498
|
+
throw new s("Can't convert object to primitive value");
|
|
1499
|
+
}
|
|
1500
|
+
return void 0 === e && (e = "number"), a(t, e);
|
|
1501
|
+
};
|
|
1502
|
+
},
|
|
1503
|
+
88: function (t, e, n) {
|
|
1504
|
+
var r = n(7024),
|
|
1505
|
+
o = n(7728);
|
|
1506
|
+
t.exports = function (t) {
|
|
1507
|
+
var e = r(t, "string");
|
|
1508
|
+
return o(e) ? e : e + "";
|
|
1509
|
+
};
|
|
1510
|
+
},
|
|
1511
|
+
16: function (t, e, n) {
|
|
1512
|
+
var r = {};
|
|
1513
|
+
r[n(9972)("toStringTag")] = "z", t.exports = "[object z]" === String(r);
|
|
1514
|
+
},
|
|
1515
|
+
5016: function (t, e, n) {
|
|
1516
|
+
var r = n(4427),
|
|
1517
|
+
o = String;
|
|
1518
|
+
t.exports = function (t) {
|
|
1519
|
+
if ("Symbol" === r(t)) throw new TypeError("Cannot convert a Symbol value to a string");
|
|
1520
|
+
return o(t);
|
|
1521
|
+
};
|
|
1522
|
+
},
|
|
1523
|
+
36: function (t) {
|
|
1524
|
+
var e = String;
|
|
1525
|
+
t.exports = function (t) {
|
|
1526
|
+
try {
|
|
1527
|
+
return e(t);
|
|
1528
|
+
} catch (n) {
|
|
1529
|
+
return "Object";
|
|
1530
|
+
}
|
|
1531
|
+
};
|
|
1532
|
+
},
|
|
1533
|
+
7776: function (t, e, n) {
|
|
1534
|
+
var r = n(1664),
|
|
1535
|
+
o = 0,
|
|
1536
|
+
i = Math.random(),
|
|
1537
|
+
u = r(1..toString);
|
|
1538
|
+
t.exports = function (t) {
|
|
1539
|
+
return "Symbol(" + (void 0 === t ? "" : t) + ")_" + u(++o + i, 36);
|
|
1540
|
+
};
|
|
1541
|
+
},
|
|
1542
|
+
6536: function (t, e, n) {
|
|
1543
|
+
var r = n(772);
|
|
1544
|
+
t.exports = r && !Symbol.sham && "symbol" == typeof Symbol.iterator;
|
|
1545
|
+
},
|
|
1546
|
+
1576: function (t, e, n) {
|
|
1547
|
+
var r = n(3476),
|
|
1548
|
+
o = n(9957);
|
|
1549
|
+
t.exports = r && o(function () {
|
|
1550
|
+
return 42 !== Object.defineProperty(function () {}, "prototype", {
|
|
1551
|
+
value: 42,
|
|
1552
|
+
writable: false
|
|
1553
|
+
}).prototype;
|
|
1554
|
+
});
|
|
1555
|
+
},
|
|
1556
|
+
4288: function (t, e, n) {
|
|
1557
|
+
var r = n(6420),
|
|
1558
|
+
o = n(4328),
|
|
1559
|
+
i = r.WeakMap;
|
|
1560
|
+
t.exports = o(i) && /native code/.test(String(i));
|
|
1561
|
+
},
|
|
1562
|
+
9972: function (t, e, n) {
|
|
1563
|
+
var r = n(6420),
|
|
1564
|
+
o = n(4696),
|
|
1565
|
+
i = n(5152),
|
|
1566
|
+
u = n(7776),
|
|
1567
|
+
a = n(772),
|
|
1568
|
+
c = n(6536),
|
|
1569
|
+
s = r.Symbol,
|
|
1570
|
+
l = o("wks"),
|
|
1571
|
+
f = c ? s.for || s : s && s.withoutSetter || u;
|
|
1572
|
+
t.exports = function (t) {
|
|
1573
|
+
return i(l, t) || (l[t] = a && i(s, t) ? s[t] : f("Symbol." + t)), l[t];
|
|
1574
|
+
};
|
|
1575
|
+
},
|
|
1576
|
+
6488: function (t, e, n) {
|
|
1577
|
+
var r = n(5232),
|
|
1578
|
+
o = n(5152),
|
|
1579
|
+
i = n(3440),
|
|
1580
|
+
u = n(7e3),
|
|
1581
|
+
a = n(4024),
|
|
1582
|
+
c = n(9968),
|
|
1583
|
+
s = n(584),
|
|
1584
|
+
l = n(7512),
|
|
1585
|
+
f = n(8948),
|
|
1586
|
+
p = n(3480),
|
|
1587
|
+
d = n(3696),
|
|
1588
|
+
h = n(3476),
|
|
1589
|
+
v = n(7048);
|
|
1590
|
+
t.exports = function (t, e, n, m) {
|
|
1591
|
+
var y = "stackTraceLimit",
|
|
1592
|
+
g = m ? 2 : 1,
|
|
1593
|
+
b = t.split("."),
|
|
1594
|
+
x = b[b.length - 1],
|
|
1595
|
+
w = r.apply(null, b);
|
|
1596
|
+
if (w) {
|
|
1597
|
+
var O = w.prototype;
|
|
1598
|
+
if (!v && o(O, "cause") && delete O.cause, !n) return w;
|
|
1599
|
+
var _ = r("Error"),
|
|
1600
|
+
S = e(function (t, e) {
|
|
1601
|
+
var n = f(m ? e : t, void 0),
|
|
1602
|
+
r = m ? new w(t) : new w();
|
|
1603
|
+
return void 0 !== n && i(r, "message", n), d(r, S, r.stack, 2), this && u(O, this) && l(r, this, S), arguments.length > g && p(r, arguments[g]), r;
|
|
1604
|
+
});
|
|
1605
|
+
if (S.prototype = O, "Error" !== x ? a ? a(S, _) : c(S, _, {
|
|
1606
|
+
name: true
|
|
1607
|
+
}) : h && y in w && (s(S, w, y), s(S, w, "prepareStackTrace")), c(S, w), !v) try {
|
|
1608
|
+
O.name !== x && i(O, "name", x), O.constructor = S;
|
|
1609
|
+
} catch (C) {}
|
|
1610
|
+
return S;
|
|
1611
|
+
}
|
|
1612
|
+
};
|
|
1613
|
+
},
|
|
1614
|
+
7476: function (t, e, n) {
|
|
1615
|
+
var r = n(9160),
|
|
1616
|
+
o = n(9957),
|
|
1617
|
+
i = n(1432),
|
|
1618
|
+
u = n(1632),
|
|
1619
|
+
a = n(4356),
|
|
1620
|
+
c = n(3556),
|
|
1621
|
+
s = n(4316),
|
|
1622
|
+
l = n(92),
|
|
1623
|
+
f = n(2568),
|
|
1624
|
+
p = n(953),
|
|
1625
|
+
d = n(9972),
|
|
1626
|
+
h = n(8504),
|
|
1627
|
+
v = d("isConcatSpreadable"),
|
|
1628
|
+
m = h >= 51 || !o(function () {
|
|
1629
|
+
var t = [];
|
|
1630
|
+
return t[v] = false, t.concat()[0] !== t;
|
|
1631
|
+
}),
|
|
1632
|
+
y = function (t) {
|
|
1633
|
+
if (!u(t)) return false;
|
|
1634
|
+
var e = t[v];
|
|
1635
|
+
return void 0 !== e ? !!e : i(t);
|
|
1636
|
+
};
|
|
1637
|
+
r({
|
|
1638
|
+
target: "Array",
|
|
1639
|
+
proto: true,
|
|
1640
|
+
arity: 1,
|
|
1641
|
+
forced: !m || !p("concat")
|
|
1642
|
+
}, {
|
|
1643
|
+
concat: function (t) {
|
|
1644
|
+
var e,
|
|
1645
|
+
n,
|
|
1646
|
+
r,
|
|
1647
|
+
o,
|
|
1648
|
+
i,
|
|
1649
|
+
u = a(this),
|
|
1650
|
+
p = f(u, 0),
|
|
1651
|
+
d = 0;
|
|
1652
|
+
for (e = -1, r = arguments.length; e < r; e++) if (y(i = -1 === e ? u : arguments[e])) for (o = c(i), s(d + o), n = 0; n < o; n++, d++) n in i && l(p, d, i[n]);else s(d + 1), l(p, d++, i);
|
|
1653
|
+
return p.length = d, p;
|
|
1654
|
+
}
|
|
1655
|
+
});
|
|
1656
|
+
},
|
|
1657
|
+
6932: function (t, e, n) {
|
|
1658
|
+
var r = n(9160),
|
|
1659
|
+
o = n(3364).filter;
|
|
1660
|
+
r({
|
|
1661
|
+
target: "Array",
|
|
1662
|
+
proto: true,
|
|
1663
|
+
forced: !n(953)("filter")
|
|
1664
|
+
}, {
|
|
1665
|
+
filter: function (t) {
|
|
1666
|
+
return o(this, t, arguments.length > 1 ? arguments[1] : void 0);
|
|
1667
|
+
}
|
|
1668
|
+
});
|
|
1669
|
+
},
|
|
1670
|
+
700: function (t, e, n) {
|
|
1671
|
+
var r = n(9160),
|
|
1672
|
+
o = n(1664),
|
|
1673
|
+
i = n(5712),
|
|
1674
|
+
u = n(4096),
|
|
1675
|
+
a = n(1496),
|
|
1676
|
+
c = o([].join);
|
|
1677
|
+
r({
|
|
1678
|
+
target: "Array",
|
|
1679
|
+
proto: true,
|
|
1680
|
+
forced: i !== Object || !a("join", ",")
|
|
1681
|
+
}, {
|
|
1682
|
+
join: function (t) {
|
|
1683
|
+
return c(u(this), void 0 === t ? "," : t);
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
},
|
|
1687
|
+
4456: function (t, e, n) {
|
|
1688
|
+
var r = n(9160),
|
|
1689
|
+
o = n(3364).map;
|
|
1690
|
+
r({
|
|
1691
|
+
target: "Array",
|
|
1692
|
+
proto: true,
|
|
1693
|
+
forced: !n(953)("map")
|
|
1694
|
+
}, {
|
|
1695
|
+
map: function (t) {
|
|
1696
|
+
return o(this, t, arguments.length > 1 ? arguments[1] : void 0);
|
|
1697
|
+
}
|
|
1698
|
+
});
|
|
1699
|
+
},
|
|
1700
|
+
4728: function (t, e, n) {
|
|
1701
|
+
var r = n(9160),
|
|
1702
|
+
o = n(4356),
|
|
1703
|
+
i = n(3556),
|
|
1704
|
+
u = n(6728),
|
|
1705
|
+
a = n(4316);
|
|
1706
|
+
r({
|
|
1707
|
+
target: "Array",
|
|
1708
|
+
proto: true,
|
|
1709
|
+
arity: 1,
|
|
1710
|
+
forced: n(9957)(function () {
|
|
1711
|
+
return 4294967297 !== [].push.call({
|
|
1712
|
+
length: 4294967296
|
|
1713
|
+
}, 1);
|
|
1714
|
+
}) || !function () {
|
|
1715
|
+
try {
|
|
1716
|
+
Object.defineProperty([], "length", {
|
|
1717
|
+
writable: !1
|
|
1718
|
+
}).push();
|
|
1719
|
+
} catch (t) {
|
|
1720
|
+
return t instanceof TypeError;
|
|
1721
|
+
}
|
|
1722
|
+
}()
|
|
1723
|
+
}, {
|
|
1724
|
+
push: function (t) {
|
|
1725
|
+
var e = o(this),
|
|
1726
|
+
n = i(e),
|
|
1727
|
+
r = arguments.length;
|
|
1728
|
+
a(n + r);
|
|
1729
|
+
for (var c = 0; c < r; c++) e[n] = arguments[c], n++;
|
|
1730
|
+
return u(e, n), n;
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
},
|
|
1734
|
+
8752: function (t, e, n) {
|
|
1735
|
+
var r = n(9160),
|
|
1736
|
+
o = n(6420),
|
|
1737
|
+
i = n(908),
|
|
1738
|
+
u = n(6488),
|
|
1739
|
+
a = "WebAssembly",
|
|
1740
|
+
c = o[a],
|
|
1741
|
+
s = 7 !== new Error("e", {
|
|
1742
|
+
cause: 7
|
|
1743
|
+
}).cause,
|
|
1744
|
+
l = function (t, e) {
|
|
1745
|
+
var n = {};
|
|
1746
|
+
n[t] = u(t, e, s), r({
|
|
1747
|
+
global: true,
|
|
1748
|
+
constructor: true,
|
|
1749
|
+
arity: 1,
|
|
1750
|
+
forced: s
|
|
1751
|
+
}, n);
|
|
1752
|
+
},
|
|
1753
|
+
f = function (t, e) {
|
|
1754
|
+
if (c && c[t]) {
|
|
1755
|
+
var n = {};
|
|
1756
|
+
n[t] = u(a + "." + t, e, s), r({
|
|
1757
|
+
target: a,
|
|
1758
|
+
stat: true,
|
|
1759
|
+
constructor: true,
|
|
1760
|
+
arity: 1,
|
|
1761
|
+
forced: s
|
|
1762
|
+
}, n);
|
|
1763
|
+
}
|
|
1764
|
+
};
|
|
1765
|
+
l("Error", function (t) {
|
|
1766
|
+
return function (e) {
|
|
1767
|
+
return i(t, this, arguments);
|
|
1768
|
+
};
|
|
1769
|
+
}), l("EvalError", function (t) {
|
|
1770
|
+
return function (e) {
|
|
1771
|
+
return i(t, this, arguments);
|
|
1772
|
+
};
|
|
1773
|
+
}), l("RangeError", function (t) {
|
|
1774
|
+
return function (e) {
|
|
1775
|
+
return i(t, this, arguments);
|
|
1776
|
+
};
|
|
1777
|
+
}), l("ReferenceError", function (t) {
|
|
1778
|
+
return function (e) {
|
|
1779
|
+
return i(t, this, arguments);
|
|
1780
|
+
};
|
|
1781
|
+
}), l("SyntaxError", function (t) {
|
|
1782
|
+
return function (e) {
|
|
1783
|
+
return i(t, this, arguments);
|
|
1784
|
+
};
|
|
1785
|
+
}), l("TypeError", function (t) {
|
|
1786
|
+
return function (e) {
|
|
1787
|
+
return i(t, this, arguments);
|
|
1788
|
+
};
|
|
1789
|
+
}), l("URIError", function (t) {
|
|
1790
|
+
return function (e) {
|
|
1791
|
+
return i(t, this, arguments);
|
|
1792
|
+
};
|
|
1793
|
+
}), f("CompileError", function (t) {
|
|
1794
|
+
return function (e) {
|
|
1795
|
+
return i(t, this, arguments);
|
|
1796
|
+
};
|
|
1797
|
+
}), f("LinkError", function (t) {
|
|
1798
|
+
return function (e) {
|
|
1799
|
+
return i(t, this, arguments);
|
|
1800
|
+
};
|
|
1801
|
+
}), f("RuntimeError", function (t) {
|
|
1802
|
+
return function (e) {
|
|
1803
|
+
return i(t, this, arguments);
|
|
1804
|
+
};
|
|
1805
|
+
});
|
|
1806
|
+
},
|
|
1807
|
+
508: function (t, e, n) {
|
|
1808
|
+
var r = n(3476),
|
|
1809
|
+
o = n(6208).EXISTS,
|
|
1810
|
+
i = n(1664),
|
|
1811
|
+
u = n(2544),
|
|
1812
|
+
a = Function.prototype,
|
|
1813
|
+
c = i(a.toString),
|
|
1814
|
+
s = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,
|
|
1815
|
+
l = i(s.exec);
|
|
1816
|
+
r && !o && u(a, "name", {
|
|
1817
|
+
configurable: true,
|
|
1818
|
+
get: function () {
|
|
1819
|
+
try {
|
|
1820
|
+
return l(s, c(this))[1];
|
|
1821
|
+
} catch (t) {
|
|
1822
|
+
return "";
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
});
|
|
1826
|
+
},
|
|
1827
|
+
232: function (t, e, n) {
|
|
1828
|
+
var r = n(9160),
|
|
1829
|
+
o = n(9292);
|
|
1830
|
+
r({
|
|
1831
|
+
target: "Object",
|
|
1832
|
+
stat: true,
|
|
1833
|
+
arity: 2,
|
|
1834
|
+
forced: Object.assign !== o
|
|
1835
|
+
}, {
|
|
1836
|
+
assign: o
|
|
1837
|
+
});
|
|
1838
|
+
},
|
|
1839
|
+
5443: function (t, e, n) {
|
|
1840
|
+
var r = n(16),
|
|
1841
|
+
o = n(6076),
|
|
1842
|
+
i = n(7032);
|
|
1843
|
+
r || o(Object.prototype, "toString", i, {
|
|
1844
|
+
unsafe: true
|
|
1845
|
+
});
|
|
1846
|
+
},
|
|
1847
|
+
880: function (t, e, n) {
|
|
1848
|
+
var r = n(9160),
|
|
1849
|
+
o = n(7680);
|
|
1850
|
+
r({
|
|
1851
|
+
target: "RegExp",
|
|
1852
|
+
proto: true,
|
|
1853
|
+
forced: /./.exec !== o
|
|
1854
|
+
}, {
|
|
1855
|
+
exec: o
|
|
1856
|
+
});
|
|
1857
|
+
},
|
|
1858
|
+
9836: function (t, e, n) {
|
|
1859
|
+
var r = n(8448),
|
|
1860
|
+
o = n(7176),
|
|
1861
|
+
i = n(3951),
|
|
1862
|
+
u = n(9760),
|
|
1863
|
+
a = n(7584),
|
|
1864
|
+
c = n(5016),
|
|
1865
|
+
s = n(5436),
|
|
1866
|
+
l = n(4504),
|
|
1867
|
+
f = n(4764),
|
|
1868
|
+
p = n(9092);
|
|
1869
|
+
o("match", function (t, e, n) {
|
|
1870
|
+
return [function (e) {
|
|
1871
|
+
var n = s(this),
|
|
1872
|
+
o = u(e) ? void 0 : l(e, t);
|
|
1873
|
+
return o ? r(o, e, n) : new RegExp(e)[t](c(n));
|
|
1874
|
+
}, function (t) {
|
|
1875
|
+
var r = i(this),
|
|
1876
|
+
o = c(t),
|
|
1877
|
+
u = n(e, r, o);
|
|
1878
|
+
if (u.done) return u.value;
|
|
1879
|
+
if (!r.global) return p(r, o);
|
|
1880
|
+
var s = r.unicode;
|
|
1881
|
+
r.lastIndex = 0;
|
|
1882
|
+
for (var l, d = [], h = 0; null !== (l = p(r, o));) {
|
|
1883
|
+
var v = c(l[0]);
|
|
1884
|
+
d[h] = v, "" === v && (r.lastIndex = f(o, a(r.lastIndex), s)), h++;
|
|
1885
|
+
}
|
|
1886
|
+
return 0 === h ? null : d;
|
|
1887
|
+
}];
|
|
1888
|
+
});
|
|
1889
|
+
},
|
|
1890
|
+
3536: function (t, e, n) {
|
|
1891
|
+
var r = n(9160),
|
|
1892
|
+
o = n(6420),
|
|
1893
|
+
i = n(6100),
|
|
1894
|
+
u = n(3951),
|
|
1895
|
+
a = n(4328),
|
|
1896
|
+
c = n(7796),
|
|
1897
|
+
s = n(2544),
|
|
1898
|
+
l = n(92),
|
|
1899
|
+
f = n(9957),
|
|
1900
|
+
p = n(5152),
|
|
1901
|
+
d = n(9972),
|
|
1902
|
+
h = n(336).IteratorPrototype,
|
|
1903
|
+
v = n(3476),
|
|
1904
|
+
m = n(7048),
|
|
1905
|
+
y = "constructor",
|
|
1906
|
+
g = "Iterator",
|
|
1907
|
+
b = d("toStringTag"),
|
|
1908
|
+
x = TypeError,
|
|
1909
|
+
w = o[g],
|
|
1910
|
+
O = m || !a(w) || w.prototype !== h || !f(function () {
|
|
1911
|
+
w({});
|
|
1912
|
+
}),
|
|
1913
|
+
_ = function () {
|
|
1914
|
+
if (i(this, h), c(this) === h) throw new x("Abstract class Iterator not directly constructable");
|
|
1915
|
+
},
|
|
1916
|
+
S = function (t, e) {
|
|
1917
|
+
v ? s(h, t, {
|
|
1918
|
+
configurable: true,
|
|
1919
|
+
get: function () {
|
|
1920
|
+
return e;
|
|
1921
|
+
},
|
|
1922
|
+
set: function (e) {
|
|
1923
|
+
if (u(this), this === h) throw new x("You can't redefine this property");
|
|
1924
|
+
p(this, t) ? this[t] = e : l(this, t, e);
|
|
1925
|
+
}
|
|
1926
|
+
}) : h[t] = e;
|
|
1927
|
+
};
|
|
1928
|
+
p(h, b) || S(b, g), !O && p(h, y) && h[y] !== Object || S(y, _), _.prototype = h, r({
|
|
1929
|
+
global: true,
|
|
1930
|
+
constructor: true,
|
|
1931
|
+
forced: O
|
|
1932
|
+
}, {
|
|
1933
|
+
Iterator: _
|
|
1934
|
+
});
|
|
1935
|
+
},
|
|
1936
|
+
2144: function (t, e, n) {
|
|
1937
|
+
var r = n(9160),
|
|
1938
|
+
o = n(8448),
|
|
1939
|
+
i = n(8952),
|
|
1940
|
+
u = n(3951),
|
|
1941
|
+
a = n(6752),
|
|
1942
|
+
c = n(9724),
|
|
1943
|
+
s = n(8696),
|
|
1944
|
+
l = n(7048),
|
|
1945
|
+
f = c(function () {
|
|
1946
|
+
for (var t, e, n = this.iterator, r = this.predicate, i = this.next;;) {
|
|
1947
|
+
if (t = u(o(i, n)), this.done = !!t.done) return;
|
|
1948
|
+
if (e = t.value, s(n, r, [e, this.counter++], true)) return e;
|
|
1949
|
+
}
|
|
1950
|
+
});
|
|
1951
|
+
r({
|
|
1952
|
+
target: "Iterator",
|
|
1953
|
+
proto: true,
|
|
1954
|
+
real: true,
|
|
1955
|
+
forced: l
|
|
1956
|
+
}, {
|
|
1957
|
+
filter: function (t) {
|
|
1958
|
+
return u(this), i(t), new f(a(this), {
|
|
1959
|
+
predicate: t
|
|
1960
|
+
});
|
|
1961
|
+
}
|
|
1962
|
+
});
|
|
1963
|
+
},
|
|
1964
|
+
9080: function (t, e, n) {
|
|
1965
|
+
var r = n(9160),
|
|
1966
|
+
o = n(5792);
|
|
1967
|
+
r({
|
|
1968
|
+
target: "Iterator",
|
|
1969
|
+
proto: true,
|
|
1970
|
+
real: true,
|
|
1971
|
+
forced: n(7048)
|
|
1972
|
+
}, {
|
|
1973
|
+
map: o
|
|
1974
|
+
});
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
e = {};
|
|
1978
|
+
function n(r) {
|
|
1979
|
+
var o = e[r];
|
|
1980
|
+
if (void 0 !== o) return o.exports;
|
|
1981
|
+
var i = e[r] = {
|
|
1982
|
+
exports: {}
|
|
1983
|
+
};
|
|
1984
|
+
return t[r].call(i.exports, i, i.exports, n), i.exports;
|
|
1985
|
+
}
|
|
1986
|
+
n.d = function (t, e) {
|
|
1987
|
+
for (var r in e) n.o(e, r) && !n.o(t, r) && Object.defineProperty(t, r, {
|
|
1988
|
+
enumerable: true,
|
|
1989
|
+
get: e[r]
|
|
1990
|
+
});
|
|
1991
|
+
}, n.g = function () {
|
|
1992
|
+
if ("object" == typeof globalThis) return globalThis;
|
|
1993
|
+
try {
|
|
1994
|
+
return this || new Function("return this")();
|
|
1995
|
+
} catch (t) {
|
|
1996
|
+
if ("object" == typeof window) return window;
|
|
1997
|
+
}
|
|
1998
|
+
}(), n.o = function (t, e) {
|
|
1999
|
+
return Object.prototype.hasOwnProperty.call(t, e);
|
|
2000
|
+
};
|
|
2001
|
+
var r = {};
|
|
2002
|
+
return function () {
|
|
2003
|
+
n.d(r, {
|
|
2004
|
+
default: function () {
|
|
2005
|
+
return Q;
|
|
2006
|
+
}
|
|
2007
|
+
});
|
|
2008
|
+
n(8752), n(6932), n(4456), n(508), n(232), n(5443), n(3536), n(2144), n(9080);
|
|
2009
|
+
var t = function () {},
|
|
2010
|
+
e = {},
|
|
2011
|
+
o = [],
|
|
2012
|
+
i = [];
|
|
2013
|
+
function u(n, r) {
|
|
2014
|
+
var u,
|
|
2015
|
+
a,
|
|
2016
|
+
c,
|
|
2017
|
+
s,
|
|
2018
|
+
l = i;
|
|
2019
|
+
for (s = arguments.length; s-- > 2;) o.push(arguments[s]);
|
|
2020
|
+
for (r && null != r.children && (o.length || o.push(r.children), delete r.children); o.length;) if ((a = o.pop()) && void 0 !== a.pop) for (s = a.length; s--;) o.push(a[s]);else "boolean" == typeof a && (a = null), (c = "function" != typeof n) && (null == a ? a = "" : "number" == typeof a ? a = String(a) : "string" != typeof a && (c = false)), c && u ? l[l.length - 1] += a : l === i ? l = [a] : l.push(a), u = c;
|
|
2021
|
+
var f = new t();
|
|
2022
|
+
return f.nodeName = n, f.children = l, f.attributes = null == r ? void 0 : r, f.key = null == r ? void 0 : r.key, void 0 !== e.vnode && e.vnode(f), f;
|
|
2023
|
+
}
|
|
2024
|
+
function a(t, e) {
|
|
2025
|
+
for (var n in e) t[n] = e[n];
|
|
2026
|
+
return t;
|
|
2027
|
+
}
|
|
2028
|
+
function c(t, e) {
|
|
2029
|
+
t && ("function" == typeof t ? t(e) : t.current = e);
|
|
2030
|
+
}
|
|
2031
|
+
var s = "function" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;
|
|
2032
|
+
var l = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,
|
|
2033
|
+
f = [];
|
|
2034
|
+
function p(t) {
|
|
2035
|
+
!t._dirty && (t._dirty = true) && 1 == f.push(t) && (e.debounceRendering || s)(d);
|
|
2036
|
+
}
|
|
2037
|
+
function d() {
|
|
2038
|
+
for (var t; t = f.pop();) t._dirty && T(t);
|
|
2039
|
+
}
|
|
2040
|
+
function h(t, e, n) {
|
|
2041
|
+
return "string" == typeof e || "number" == typeof e ? void 0 !== t.splitText : "string" == typeof e.nodeName ? !t._componentConstructor && v(t, e.nodeName) : n || t._componentConstructor === e.nodeName;
|
|
2042
|
+
}
|
|
2043
|
+
function v(t, e) {
|
|
2044
|
+
return t.normalizedNodeName === e || t.nodeName.toLowerCase() === e.toLowerCase();
|
|
2045
|
+
}
|
|
2046
|
+
function m(t) {
|
|
2047
|
+
var e = a({}, t.attributes);
|
|
2048
|
+
e.children = t.children;
|
|
2049
|
+
var n = t.nodeName.defaultProps;
|
|
2050
|
+
if (void 0 !== n) for (var r in n) void 0 === e[r] && (e[r] = n[r]);
|
|
2051
|
+
return e;
|
|
2052
|
+
}
|
|
2053
|
+
function y(t) {
|
|
2054
|
+
var e = t.parentNode;
|
|
2055
|
+
e && e.removeChild(t);
|
|
2056
|
+
}
|
|
2057
|
+
function g(t, e, n, r, o) {
|
|
2058
|
+
if ("className" === e && (e = "class"), "key" === e) ;else if ("ref" === e) c(n, null), c(r, t);else if ("class" !== e || o) {
|
|
2059
|
+
if ("style" === e) {
|
|
2060
|
+
if (r && "string" != typeof r && "string" != typeof n || (t.style.cssText = r || ""), r && "object" == typeof r) {
|
|
2061
|
+
if ("string" != typeof n) for (var i in n) i in r || (t.style[i] = "");
|
|
2062
|
+
for (var i in r) t.style[i] = "number" == typeof r[i] && false === l.test(i) ? r[i] + "px" : r[i];
|
|
2063
|
+
}
|
|
2064
|
+
} else if ("dangerouslySetInnerHTML" === e) r && (t.innerHTML = r.__html || "");else if ("o" == e[0] && "n" == e[1]) {
|
|
2065
|
+
var u = e !== (e = e.replace(/Capture$/, ""));
|
|
2066
|
+
e = e.toLowerCase().substring(2), r ? n || t.addEventListener(e, b, u) : t.removeEventListener(e, b, u), (t._listeners || (t._listeners = {}))[e] = r;
|
|
2067
|
+
} else if ("list" !== e && "type" !== e && !o && e in t) {
|
|
2068
|
+
try {
|
|
2069
|
+
t[e] = null == r ? "" : r;
|
|
2070
|
+
} catch (s) {}
|
|
2071
|
+
null != r && false !== r || "spellcheck" == e || t.removeAttribute(e);
|
|
2072
|
+
} else {
|
|
2073
|
+
var a = o && e !== (e = e.replace(/^xlink:?/, ""));
|
|
2074
|
+
null == r || false === r ? a ? t.removeAttributeNS("http://www.w3.org/1999/xlink", e.toLowerCase()) : t.removeAttribute(e) : "function" != typeof r && (a ? t.setAttributeNS("http://www.w3.org/1999/xlink", e.toLowerCase(), r) : t.setAttribute(e, r));
|
|
2075
|
+
}
|
|
2076
|
+
} else t.className = r || "";
|
|
2077
|
+
}
|
|
2078
|
+
function b(t) {
|
|
2079
|
+
return this._listeners[t.type](e.event && e.event(t) || t);
|
|
2080
|
+
}
|
|
2081
|
+
var x = [],
|
|
2082
|
+
w = 0,
|
|
2083
|
+
O = false,
|
|
2084
|
+
_ = false;
|
|
2085
|
+
function S() {
|
|
2086
|
+
for (var t; t = x.shift();) e.afterMount && e.afterMount(t), t.componentDidMount && t.componentDidMount();
|
|
2087
|
+
}
|
|
2088
|
+
function C(t, e, n, r, o, i) {
|
|
2089
|
+
w++ || (O = null != o && void 0 !== o.ownerSVGElement, _ = null != t && !("__preactattr_" in t));
|
|
2090
|
+
var u = E(t, e, n, r, i);
|
|
2091
|
+
return o && u.parentNode !== o && o.appendChild(u), --w || (_ = false, i || S()), u;
|
|
2092
|
+
}
|
|
2093
|
+
function E(t, e, n, r, o) {
|
|
2094
|
+
var i = t,
|
|
2095
|
+
u = O;
|
|
2096
|
+
if (null != e && "boolean" != typeof e || (e = ""), "string" == typeof e || "number" == typeof e) return t && void 0 !== t.splitText && t.parentNode && (!t._component || o) ? t.nodeValue != e && (t.nodeValue = e) : (i = document.createTextNode(e), t && (t.parentNode && t.parentNode.replaceChild(i, t), I(t, true))), i.__preactattr_ = true, i;
|
|
2097
|
+
var a,
|
|
2098
|
+
c,
|
|
2099
|
+
s = e.nodeName;
|
|
2100
|
+
if ("function" == typeof s) return function (t, e, n, r) {
|
|
2101
|
+
var o = t && t._component,
|
|
2102
|
+
i = o,
|
|
2103
|
+
u = t,
|
|
2104
|
+
a = o && t._componentConstructor === e.nodeName,
|
|
2105
|
+
c = a,
|
|
2106
|
+
s = m(e);
|
|
2107
|
+
for (; o && !c && (o = o._parentComponent);) c = o.constructor === e.nodeName;
|
|
2108
|
+
o && c && (!r || o._component) ? (k(o, s, 3, n, r), t = o.base) : (i && !a && (R(i), t = u = null), o = P(e.nodeName, s, n), t && !o.nextBase && (o.nextBase = t, u = null), k(o, s, 1, n, r), t = o.base, u && t !== u && (u._component = null, I(u, false)));
|
|
2109
|
+
return t;
|
|
2110
|
+
}(t, e, n, r);
|
|
2111
|
+
if (O = "svg" === s || "foreignObject" !== s && O, s = String(s), (!t || !v(t, s)) && (a = s, (c = O ? document.createElementNS("http://www.w3.org/2000/svg", a) : document.createElement(a)).normalizedNodeName = a, i = c, t)) {
|
|
2112
|
+
for (; t.firstChild;) i.appendChild(t.firstChild);
|
|
2113
|
+
t.parentNode && t.parentNode.replaceChild(i, t), I(t, true);
|
|
2114
|
+
}
|
|
2115
|
+
var l = i.firstChild,
|
|
2116
|
+
f = i.__preactattr_,
|
|
2117
|
+
p = e.children;
|
|
2118
|
+
if (null == f) {
|
|
2119
|
+
f = i.__preactattr_ = {};
|
|
2120
|
+
for (var d = i.attributes, b = d.length; b--;) f[d[b].name] = d[b].value;
|
|
2121
|
+
}
|
|
2122
|
+
return !_ && p && 1 === p.length && "string" == typeof p[0] && null != l && void 0 !== l.splitText && null == l.nextSibling ? l.nodeValue != p[0] && (l.nodeValue = p[0]) : (p && p.length || null != l) && function (t, e, n, r, o) {
|
|
2123
|
+
var i,
|
|
2124
|
+
u,
|
|
2125
|
+
a,
|
|
2126
|
+
c,
|
|
2127
|
+
s,
|
|
2128
|
+
l = t.childNodes,
|
|
2129
|
+
f = [],
|
|
2130
|
+
p = {},
|
|
2131
|
+
d = 0,
|
|
2132
|
+
v = 0,
|
|
2133
|
+
m = l.length,
|
|
2134
|
+
g = 0,
|
|
2135
|
+
b = e ? e.length : 0;
|
|
2136
|
+
if (0 !== m) for (var x = 0; x < m; x++) {
|
|
2137
|
+
var w = l[x],
|
|
2138
|
+
O = w.__preactattr_;
|
|
2139
|
+
null != (_ = b && O ? w._component ? w._component.__key : O.key : null) ? (d++, p[_] = w) : (O || (void 0 !== w.splitText ? !o || w.nodeValue.trim() : o)) && (f[g++] = w);
|
|
2140
|
+
}
|
|
2141
|
+
if (0 !== b) for (x = 0; x < b; x++) {
|
|
2142
|
+
var _;
|
|
2143
|
+
if (s = null, null != (_ = (c = e[x]).key)) d && void 0 !== p[_] && (s = p[_], p[_] = void 0, d--);else if (v < g) for (i = v; i < g; i++) if (void 0 !== f[i] && h(u = f[i], c, o)) {
|
|
2144
|
+
s = u, f[i] = void 0, i === g - 1 && g--, i === v && v++;
|
|
2145
|
+
break;
|
|
2146
|
+
}
|
|
2147
|
+
s = E(s, c, n, r), a = l[x], s && s !== t && s !== a && (null == a ? t.appendChild(s) : s === a.nextSibling ? y(a) : t.insertBefore(s, a));
|
|
2148
|
+
}
|
|
2149
|
+
if (d) for (var x in p) void 0 !== p[x] && I(p[x], false);
|
|
2150
|
+
for (; v <= g;) void 0 !== (s = f[g--]) && I(s, false);
|
|
2151
|
+
}(i, p, n, r, _ || null != f.dangerouslySetInnerHTML), function (t, e, n) {
|
|
2152
|
+
var r;
|
|
2153
|
+
for (r in n) e && null != e[r] || null == n[r] || g(t, r, n[r], n[r] = void 0, O);
|
|
2154
|
+
for (r in e) "children" === r || "innerHTML" === r || r in n && e[r] === ("value" === r || "checked" === r ? t[r] : n[r]) || g(t, r, n[r], n[r] = e[r], O);
|
|
2155
|
+
}(i, e.attributes, f), O = u, i;
|
|
2156
|
+
}
|
|
2157
|
+
function I(t, e) {
|
|
2158
|
+
var n = t._component;
|
|
2159
|
+
n ? R(n) : (null != t.__preactattr_ && c(t.__preactattr_.ref, null), false !== e && null != t.__preactattr_ || y(t), j(t));
|
|
2160
|
+
}
|
|
2161
|
+
function j(t) {
|
|
2162
|
+
for (t = t.lastChild; t;) {
|
|
2163
|
+
var e = t.previousSibling;
|
|
2164
|
+
I(t, true), t = e;
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
var A = [];
|
|
2168
|
+
function P(t, e, n) {
|
|
2169
|
+
var r,
|
|
2170
|
+
o = A.length;
|
|
2171
|
+
for (t.prototype && t.prototype.render ? (r = new t(e, n), M.call(r, e, n)) : ((r = new M(e, n)).constructor = t, r.render = N); o--;) if (A[o].constructor === t) return r.nextBase = A[o].nextBase, A.splice(o, 1), r;
|
|
2172
|
+
return r;
|
|
2173
|
+
}
|
|
2174
|
+
function N(t, e, n) {
|
|
2175
|
+
return this.constructor(t, n);
|
|
2176
|
+
}
|
|
2177
|
+
function k(t, n, r, o, i) {
|
|
2178
|
+
t._disable || (t._disable = true, t.__ref = n.ref, t.__key = n.key, delete n.ref, delete n.key, void 0 === t.constructor.getDerivedStateFromProps && (!t.base || i ? t.componentWillMount && t.componentWillMount() : t.componentWillReceiveProps && t.componentWillReceiveProps(n, o)), o && o !== t.context && (t.prevContext || (t.prevContext = t.context), t.context = o), t.prevProps || (t.prevProps = t.props), t.props = n, t._disable = false, 0 !== r && (1 !== r && false === e.syncComponentUpdates && t.base ? p(t) : T(t, 1, i)), c(t.__ref, t));
|
|
2179
|
+
}
|
|
2180
|
+
function T(t, n, r, o) {
|
|
2181
|
+
if (!t._disable) {
|
|
2182
|
+
var i,
|
|
2183
|
+
u,
|
|
2184
|
+
c,
|
|
2185
|
+
s = t.props,
|
|
2186
|
+
l = t.state,
|
|
2187
|
+
f = t.context,
|
|
2188
|
+
p = t.prevProps || s,
|
|
2189
|
+
d = t.prevState || l,
|
|
2190
|
+
h = t.prevContext || f,
|
|
2191
|
+
v = t.base,
|
|
2192
|
+
y = t.nextBase,
|
|
2193
|
+
g = v || y,
|
|
2194
|
+
b = t._component,
|
|
2195
|
+
O = false,
|
|
2196
|
+
_ = h;
|
|
2197
|
+
if (t.constructor.getDerivedStateFromProps && (l = a(a({}, l), t.constructor.getDerivedStateFromProps(s, l)), t.state = l), v && (t.props = p, t.state = d, t.context = h, 2 !== n && t.shouldComponentUpdate && false === t.shouldComponentUpdate(s, l, f) ? O = true : t.componentWillUpdate && t.componentWillUpdate(s, l, f), t.props = s, t.state = l, t.context = f), t.prevProps = t.prevState = t.prevContext = t.nextBase = null, t._dirty = false, !O) {
|
|
2198
|
+
i = t.render(s, l, f), t.getChildContext && (f = a(a({}, f), t.getChildContext())), v && t.getSnapshotBeforeUpdate && (_ = t.getSnapshotBeforeUpdate(p, d));
|
|
2199
|
+
var E,
|
|
2200
|
+
j,
|
|
2201
|
+
A = i && i.nodeName;
|
|
2202
|
+
if ("function" == typeof A) {
|
|
2203
|
+
var N = m(i);
|
|
2204
|
+
(u = b) && u.constructor === A && N.key == u.__key ? k(u, N, 1, f, false) : (E = u, t._component = u = P(A, N, f), u.nextBase = u.nextBase || y, u._parentComponent = t, k(u, N, 0, f, false), T(u, 1, r, true)), j = u.base;
|
|
2205
|
+
} else c = g, (E = b) && (c = t._component = null), (g || 1 === n) && (c && (c._component = null), j = C(c, i, f, r || !v, g && g.parentNode, true));
|
|
2206
|
+
if (g && j !== g && u !== b) {
|
|
2207
|
+
var M = g.parentNode;
|
|
2208
|
+
M && j !== M && (M.replaceChild(j, g), E || (g._component = null, I(g, false)));
|
|
2209
|
+
}
|
|
2210
|
+
if (E && R(E), t.base = j, j && !o) {
|
|
2211
|
+
for (var L = t, D = t; D = D._parentComponent;) (L = D).base = j;
|
|
2212
|
+
j._component = L, j._componentConstructor = L.constructor;
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
for (!v || r ? x.push(t) : O || (t.componentDidUpdate && t.componentDidUpdate(p, d, _), e.afterUpdate && e.afterUpdate(t)); t._renderCallbacks.length;) t._renderCallbacks.pop().call(t);
|
|
2216
|
+
w || o || S();
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
function R(t) {
|
|
2220
|
+
e.beforeUnmount && e.beforeUnmount(t);
|
|
2221
|
+
var n = t.base;
|
|
2222
|
+
t._disable = true, t.componentWillUnmount && t.componentWillUnmount(), t.base = null;
|
|
2223
|
+
var r = t._component;
|
|
2224
|
+
r ? R(r) : n && (null != n.__preactattr_ && c(n.__preactattr_.ref, null), t.nextBase = n, y(n), A.push(t), j(n)), c(t.__ref, null);
|
|
2225
|
+
}
|
|
2226
|
+
function M(t, e) {
|
|
2227
|
+
this._dirty = true, this.context = e, this.props = t, this.state = this.state || {}, this._renderCallbacks = [];
|
|
2228
|
+
}
|
|
2229
|
+
function L(t, e, n) {
|
|
2230
|
+
return C(n, t, {}, false, e, false);
|
|
2231
|
+
}
|
|
2232
|
+
a(M.prototype, {
|
|
2233
|
+
setState: function (t, e) {
|
|
2234
|
+
this.prevState || (this.prevState = this.state), this.state = a(a({}, this.state), "function" == typeof t ? t(this.state, this.props) : t), e && this._renderCallbacks.push(e), p(this);
|
|
2235
|
+
},
|
|
2236
|
+
forceUpdate: function (t) {
|
|
2237
|
+
t && this._renderCallbacks.push(t), T(this, 2);
|
|
2238
|
+
},
|
|
2239
|
+
render: function () {}
|
|
2240
|
+
});
|
|
2241
|
+
n(700), n(4728), n(880), n(9836), n(7476);
|
|
2242
|
+
function D(t, e) {
|
|
2243
|
+
return D = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
2244
|
+
return t.__proto__ = e, t;
|
|
2245
|
+
}, D(t, e);
|
|
2246
|
+
}
|
|
2247
|
+
var B = function (t) {
|
|
2248
|
+
var e, n;
|
|
2249
|
+
function r() {
|
|
2250
|
+
for (var e, n = arguments.length, r = new Array(n), o = 0; o < n; o++) r[o] = arguments[o];
|
|
2251
|
+
return (e = t.call.apply(t, [this].concat(r)) || this).state = {
|
|
2252
|
+
bump: false,
|
|
2253
|
+
debounced: false
|
|
2254
|
+
}, e;
|
|
2255
|
+
}
|
|
2256
|
+
n = t, (e = r).prototype = Object.create(n.prototype), e.prototype.constructor = e, D(e, n);
|
|
2257
|
+
var o = r.prototype;
|
|
2258
|
+
return o.componentWillMount = function () {
|
|
2259
|
+
var t,
|
|
2260
|
+
e,
|
|
2261
|
+
r,
|
|
2262
|
+
o = this;
|
|
2263
|
+
this.debounceStatusUpdate = (t = function () {
|
|
2264
|
+
if (!o.state.debounced) {
|
|
2265
|
+
var t = !o.props.isInFocus || o.props.validChoiceMade;
|
|
2266
|
+
o.setState(function (e) {
|
|
2267
|
+
return {
|
|
2268
|
+
bump: !e.bump,
|
|
2269
|
+
debounced: true,
|
|
2270
|
+
silenced: t
|
|
2271
|
+
};
|
|
2272
|
+
});
|
|
2273
|
+
}
|
|
2274
|
+
}, e = 1400, function () {
|
|
2275
|
+
var o = this,
|
|
2276
|
+
i = arguments;
|
|
2277
|
+
clearTimeout(r), r = setTimeout(function () {
|
|
2278
|
+
r = null, t.apply(o, i);
|
|
2279
|
+
}, e);
|
|
2280
|
+
});
|
|
2281
|
+
}, o.componentWillReceiveProps = function (t) {
|
|
2282
|
+
t.queryLength;
|
|
2283
|
+
this.setState({
|
|
2284
|
+
debounced: false
|
|
2285
|
+
});
|
|
2286
|
+
}, o.render = function () {
|
|
2287
|
+
var t = this.props,
|
|
2288
|
+
e = t.id,
|
|
2289
|
+
n = t.length,
|
|
2290
|
+
r = t.queryLength,
|
|
2291
|
+
o = t.minQueryLength,
|
|
2292
|
+
i = t.selectedOption,
|
|
2293
|
+
a = t.selectedOptionIndex,
|
|
2294
|
+
c = t.tQueryTooShort,
|
|
2295
|
+
s = t.tNoResults,
|
|
2296
|
+
l = t.tSelectedOption,
|
|
2297
|
+
f = t.tResults,
|
|
2298
|
+
p = t.className,
|
|
2299
|
+
d = this.state,
|
|
2300
|
+
h = d.bump,
|
|
2301
|
+
v = d.debounced,
|
|
2302
|
+
m = d.silenced,
|
|
2303
|
+
y = r < o,
|
|
2304
|
+
g = 0 === n,
|
|
2305
|
+
b = i ? l(i, n, a) : "",
|
|
2306
|
+
x = null;
|
|
2307
|
+
return x = y ? c(o) : g ? s() : f(n, b), this.debounceStatusUpdate(), u("div", {
|
|
2308
|
+
className: p,
|
|
2309
|
+
style: {
|
|
2310
|
+
border: "0",
|
|
2311
|
+
clip: "rect(0 0 0 0)",
|
|
2312
|
+
height: "1px",
|
|
2313
|
+
marginBottom: "-1px",
|
|
2314
|
+
marginRight: "-1px",
|
|
2315
|
+
overflow: "hidden",
|
|
2316
|
+
padding: "0",
|
|
2317
|
+
position: "absolute",
|
|
2318
|
+
whiteSpace: "nowrap",
|
|
2319
|
+
width: "1px"
|
|
2320
|
+
}
|
|
2321
|
+
}, u("div", {
|
|
2322
|
+
id: e + "__status--A",
|
|
2323
|
+
role: "status",
|
|
2324
|
+
"aria-atomic": "true",
|
|
2325
|
+
"aria-live": "polite"
|
|
2326
|
+
}, !m && v && h ? x : ""), u("div", {
|
|
2327
|
+
id: e + "__status--B",
|
|
2328
|
+
role: "status",
|
|
2329
|
+
"aria-atomic": "true",
|
|
2330
|
+
"aria-live": "polite"
|
|
2331
|
+
}, m || !v || h ? "" : x));
|
|
2332
|
+
}, r;
|
|
2333
|
+
}(M);
|
|
2334
|
+
B.defaultProps = {
|
|
2335
|
+
tQueryTooShort: function (t) {
|
|
2336
|
+
return "Type in " + t + " or more characters for results";
|
|
2337
|
+
},
|
|
2338
|
+
tNoResults: function () {
|
|
2339
|
+
return "No search results";
|
|
2340
|
+
},
|
|
2341
|
+
tSelectedOption: function (t, e, n) {
|
|
2342
|
+
return t + " " + (n + 1) + " of " + e + " is highlighted";
|
|
2343
|
+
},
|
|
2344
|
+
tResults: function (t, e) {
|
|
2345
|
+
return t + " " + (1 === t ? "result" : "results") + " " + (1 === t ? "is" : "are") + " available. " + e;
|
|
2346
|
+
}
|
|
2347
|
+
};
|
|
2348
|
+
var F = function (t) {
|
|
2349
|
+
return u("svg", {
|
|
2350
|
+
version: "1.1",
|
|
2351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2352
|
+
className: t.className,
|
|
2353
|
+
focusable: "false"
|
|
2354
|
+
}, u("g", {
|
|
2355
|
+
stroke: "none",
|
|
2356
|
+
fill: "none",
|
|
2357
|
+
"fill-rule": "evenodd"
|
|
2358
|
+
}, u("polygon", {
|
|
2359
|
+
fill: "#000000",
|
|
2360
|
+
points: "0 0 22 0 11 17"
|
|
2361
|
+
})));
|
|
2362
|
+
};
|
|
2363
|
+
function U() {
|
|
2364
|
+
return U = Object.assign ? Object.assign.bind() : function (t) {
|
|
2365
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
2366
|
+
var n = arguments[e];
|
|
2367
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
2368
|
+
}
|
|
2369
|
+
return t;
|
|
2370
|
+
}, U.apply(this, arguments);
|
|
2371
|
+
}
|
|
2372
|
+
function V(t) {
|
|
2373
|
+
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2374
|
+
return t;
|
|
2375
|
+
}
|
|
2376
|
+
function q(t, e) {
|
|
2377
|
+
return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
2378
|
+
return t.__proto__ = e, t;
|
|
2379
|
+
}, q(t, e);
|
|
2380
|
+
}
|
|
2381
|
+
var W = {
|
|
2382
|
+
13: "enter",
|
|
2383
|
+
27: "escape",
|
|
2384
|
+
32: "space",
|
|
2385
|
+
38: "up",
|
|
2386
|
+
40: "down"
|
|
2387
|
+
};
|
|
2388
|
+
function H() {
|
|
2389
|
+
return "undefined" != typeof navigator && !(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g) || !navigator.userAgent.match(/AppleWebKit/g));
|
|
2390
|
+
}
|
|
2391
|
+
var K = function (t) {
|
|
2392
|
+
var e, n;
|
|
2393
|
+
function r(e) {
|
|
2394
|
+
var n;
|
|
2395
|
+
return (n = t.call(this, e) || this).elementReferences = {}, n.state = {
|
|
2396
|
+
focused: null,
|
|
2397
|
+
hovered: null,
|
|
2398
|
+
menuOpen: false,
|
|
2399
|
+
options: e.defaultValue ? [e.defaultValue] : [],
|
|
2400
|
+
query: e.defaultValue,
|
|
2401
|
+
validChoiceMade: false,
|
|
2402
|
+
selected: null,
|
|
2403
|
+
ariaHint: true
|
|
2404
|
+
}, n.handleComponentBlur = n.handleComponentBlur.bind(V(n)), n.handleKeyDown = n.handleKeyDown.bind(V(n)), n.handleUpArrow = n.handleUpArrow.bind(V(n)), n.handleDownArrow = n.handleDownArrow.bind(V(n)), n.handleEnter = n.handleEnter.bind(V(n)), n.handlePrintableKey = n.handlePrintableKey.bind(V(n)), n.handleListMouseLeave = n.handleListMouseLeave.bind(V(n)), n.handleOptionBlur = n.handleOptionBlur.bind(V(n)), n.handleOptionClick = n.handleOptionClick.bind(V(n)), n.handleOptionFocus = n.handleOptionFocus.bind(V(n)), n.handleOptionMouseDown = n.handleOptionMouseDown.bind(V(n)), n.handleOptionMouseEnter = n.handleOptionMouseEnter.bind(V(n)), n.handleInputBlur = n.handleInputBlur.bind(V(n)), n.handleInputChange = n.handleInputChange.bind(V(n)), n.handleInputClick = n.handleInputClick.bind(V(n)), n.handleInputFocus = n.handleInputFocus.bind(V(n)), n.pollInputElement = n.pollInputElement.bind(V(n)), n.getDirectInputChanges = n.getDirectInputChanges.bind(V(n)), n;
|
|
2405
|
+
}
|
|
2406
|
+
n = t, (e = r).prototype = Object.create(n.prototype), e.prototype.constructor = e, q(e, n);
|
|
2407
|
+
var o = r.prototype;
|
|
2408
|
+
return o.isQueryAnOption = function (t, e) {
|
|
2409
|
+
var n = this;
|
|
2410
|
+
return -1 !== e.map(function (t) {
|
|
2411
|
+
return n.templateInputValue(t).toLowerCase();
|
|
2412
|
+
}).indexOf(t.toLowerCase());
|
|
2413
|
+
}, o.componentDidMount = function () {
|
|
2414
|
+
this.pollInputElement();
|
|
2415
|
+
}, o.componentWillUnmount = function () {
|
|
2416
|
+
clearTimeout(this.$pollInput);
|
|
2417
|
+
}, o.pollInputElement = function () {
|
|
2418
|
+
var t = this;
|
|
2419
|
+
this.getDirectInputChanges(), this.$pollInput = setTimeout(function () {
|
|
2420
|
+
t.pollInputElement();
|
|
2421
|
+
}, 100);
|
|
2422
|
+
}, o.getDirectInputChanges = function () {
|
|
2423
|
+
var t = this.elementReferences[-1];
|
|
2424
|
+
t && t.value !== this.state.query && this.handleInputChange({
|
|
2425
|
+
target: {
|
|
2426
|
+
value: t.value
|
|
2427
|
+
}
|
|
2428
|
+
});
|
|
2429
|
+
}, o.componentDidUpdate = function (t, e) {
|
|
2430
|
+
var n = this.state.focused,
|
|
2431
|
+
r = null === n,
|
|
2432
|
+
o = e.focused !== n;
|
|
2433
|
+
o && !r && this.elementReferences[n].focus();
|
|
2434
|
+
var i = -1 === n,
|
|
2435
|
+
u = o && null === e.focused;
|
|
2436
|
+
if (i && u) {
|
|
2437
|
+
var a = this.elementReferences[n];
|
|
2438
|
+
a.setSelectionRange(0, a.value.length);
|
|
2439
|
+
}
|
|
2440
|
+
}, o.hasAutoselect = function () {
|
|
2441
|
+
return !H() && this.props.autoselect;
|
|
2442
|
+
}, o.templateInputValue = function (t) {
|
|
2443
|
+
var e = this.props.templates && this.props.templates.inputValue;
|
|
2444
|
+
return e ? e(t) : t;
|
|
2445
|
+
}, o.templateSuggestion = function (t) {
|
|
2446
|
+
var e = this.props.templates && this.props.templates.suggestion;
|
|
2447
|
+
return e ? e(t) : t;
|
|
2448
|
+
}, o.handleComponentBlur = function (t) {
|
|
2449
|
+
var e,
|
|
2450
|
+
n = this.state,
|
|
2451
|
+
r = n.options,
|
|
2452
|
+
o = n.query,
|
|
2453
|
+
i = n.selected;
|
|
2454
|
+
this.props.confirmOnBlur ? (e = t.query || o, this.props.onConfirm(r[i])) : e = o, this.setState({
|
|
2455
|
+
focused: null,
|
|
2456
|
+
menuOpen: t.menuOpen || false,
|
|
2457
|
+
query: e,
|
|
2458
|
+
selected: null,
|
|
2459
|
+
validChoiceMade: this.isQueryAnOption(e, r)
|
|
2460
|
+
});
|
|
2461
|
+
}, o.handleListMouseLeave = function (t) {
|
|
2462
|
+
this.setState({
|
|
2463
|
+
hovered: null
|
|
2464
|
+
});
|
|
2465
|
+
}, o.handleOptionBlur = function (t, e) {
|
|
2466
|
+
var n = this.state,
|
|
2467
|
+
r = n.focused,
|
|
2468
|
+
o = n.menuOpen,
|
|
2469
|
+
i = n.options,
|
|
2470
|
+
u = n.selected,
|
|
2471
|
+
a = null === t.relatedTarget,
|
|
2472
|
+
c = t.relatedTarget === this.elementReferences[-1],
|
|
2473
|
+
s = r !== e && -1 !== r;
|
|
2474
|
+
if (!s && a || !(s || c)) {
|
|
2475
|
+
var l = o && H();
|
|
2476
|
+
this.handleComponentBlur({
|
|
2477
|
+
menuOpen: l,
|
|
2478
|
+
query: this.templateInputValue(i[u])
|
|
2479
|
+
});
|
|
2480
|
+
}
|
|
2481
|
+
}, o.handleInputBlur = function (t) {
|
|
2482
|
+
var e = this.state,
|
|
2483
|
+
n = e.focused,
|
|
2484
|
+
r = e.menuOpen,
|
|
2485
|
+
o = e.options,
|
|
2486
|
+
i = e.query,
|
|
2487
|
+
u = e.selected;
|
|
2488
|
+
if (!(-1 !== n)) {
|
|
2489
|
+
var a = r && H(),
|
|
2490
|
+
c = H() ? i : this.templateInputValue(o[u]);
|
|
2491
|
+
this.handleComponentBlur({
|
|
2492
|
+
menuOpen: a,
|
|
2493
|
+
query: c
|
|
2494
|
+
});
|
|
2495
|
+
}
|
|
2496
|
+
}, o.handleInputChange = function (t) {
|
|
2497
|
+
var e = this,
|
|
2498
|
+
n = this.props,
|
|
2499
|
+
r = n.minLength,
|
|
2500
|
+
o = n.source,
|
|
2501
|
+
i = n.showAllValues,
|
|
2502
|
+
u = this.hasAutoselect(),
|
|
2503
|
+
a = t.target.value,
|
|
2504
|
+
c = 0 === a.length,
|
|
2505
|
+
s = this.state.query !== a,
|
|
2506
|
+
l = a.length >= r;
|
|
2507
|
+
this.setState({
|
|
2508
|
+
query: a,
|
|
2509
|
+
ariaHint: c
|
|
2510
|
+
}), i || !c && s && l ? o(a, function (t) {
|
|
2511
|
+
var n = t.length > 0;
|
|
2512
|
+
e.setState({
|
|
2513
|
+
menuOpen: n,
|
|
2514
|
+
options: t,
|
|
2515
|
+
selected: u && n ? 0 : -1,
|
|
2516
|
+
validChoiceMade: false
|
|
2517
|
+
});
|
|
2518
|
+
}) : !c && l || this.setState({
|
|
2519
|
+
menuOpen: false,
|
|
2520
|
+
options: []
|
|
2521
|
+
});
|
|
2522
|
+
}, o.handleInputClick = function (t) {
|
|
2523
|
+
this.handleInputChange(t);
|
|
2524
|
+
}, o.handleInputFocus = function (t) {
|
|
2525
|
+
var e = this.state,
|
|
2526
|
+
n = e.query,
|
|
2527
|
+
r = e.validChoiceMade,
|
|
2528
|
+
o = e.options,
|
|
2529
|
+
i = this.props.minLength,
|
|
2530
|
+
u = !r && n.length >= i && o.length > 0;
|
|
2531
|
+
u ? this.setState(function (t) {
|
|
2532
|
+
var e = t.menuOpen;
|
|
2533
|
+
return {
|
|
2534
|
+
focused: -1,
|
|
2535
|
+
menuOpen: u || e,
|
|
2536
|
+
selected: -1
|
|
2537
|
+
};
|
|
2538
|
+
}) : this.setState({
|
|
2539
|
+
focused: -1
|
|
2540
|
+
});
|
|
2541
|
+
}, o.handleOptionFocus = function (t) {
|
|
2542
|
+
this.setState({
|
|
2543
|
+
focused: t,
|
|
2544
|
+
hovered: null,
|
|
2545
|
+
selected: t
|
|
2546
|
+
});
|
|
2547
|
+
}, o.handleOptionMouseEnter = function (t, e) {
|
|
2548
|
+
H() || this.setState({
|
|
2549
|
+
hovered: e
|
|
2550
|
+
});
|
|
2551
|
+
}, o.handleOptionClick = function (t, e) {
|
|
2552
|
+
var n = this.state.options[e],
|
|
2553
|
+
r = this.templateInputValue(n);
|
|
2554
|
+
this.props.onConfirm(n), this.setState({
|
|
2555
|
+
focused: -1,
|
|
2556
|
+
hovered: null,
|
|
2557
|
+
menuOpen: false,
|
|
2558
|
+
query: r,
|
|
2559
|
+
selected: -1,
|
|
2560
|
+
validChoiceMade: true
|
|
2561
|
+
}), this.forceUpdate();
|
|
2562
|
+
}, o.handleOptionMouseDown = function (t) {
|
|
2563
|
+
t.preventDefault();
|
|
2564
|
+
}, o.handleUpArrow = function (t) {
|
|
2565
|
+
t.preventDefault();
|
|
2566
|
+
var e = this.state,
|
|
2567
|
+
n = e.menuOpen,
|
|
2568
|
+
r = e.selected;
|
|
2569
|
+
-1 !== r && n && this.handleOptionFocus(r - 1);
|
|
2570
|
+
}, o.handleDownArrow = function (t) {
|
|
2571
|
+
var e = this;
|
|
2572
|
+
if (t.preventDefault(), this.props.showAllValues && false === this.state.menuOpen) t.preventDefault(), this.props.source("", function (t) {
|
|
2573
|
+
e.setState({
|
|
2574
|
+
menuOpen: true,
|
|
2575
|
+
options: t,
|
|
2576
|
+
selected: 0,
|
|
2577
|
+
focused: 0,
|
|
2578
|
+
hovered: null
|
|
2579
|
+
});
|
|
2580
|
+
});else if (true === this.state.menuOpen) {
|
|
2581
|
+
var n = this.state,
|
|
2582
|
+
r = n.menuOpen,
|
|
2583
|
+
o = n.options,
|
|
2584
|
+
i = n.selected;
|
|
2585
|
+
i !== o.length - 1 && r && this.handleOptionFocus(i + 1);
|
|
2586
|
+
}
|
|
2587
|
+
}, o.handleSpace = function (t) {
|
|
2588
|
+
var e = this;
|
|
2589
|
+
this.props.showAllValues && false === this.state.menuOpen && "" === this.state.query && (t.preventDefault(), this.props.source("", function (t) {
|
|
2590
|
+
e.setState({
|
|
2591
|
+
menuOpen: true,
|
|
2592
|
+
options: t
|
|
2593
|
+
});
|
|
2594
|
+
})), -1 !== this.state.focused && (t.preventDefault(), this.handleOptionClick(t, this.state.focused));
|
|
2595
|
+
}, o.handleEnter = function (t) {
|
|
2596
|
+
this.state.menuOpen && (t.preventDefault(), this.state.selected >= 0 && this.handleOptionClick(t, this.state.selected));
|
|
2597
|
+
}, o.handlePrintableKey = function (t) {
|
|
2598
|
+
var e = this.elementReferences[-1];
|
|
2599
|
+
t.target === e || e.focus();
|
|
2600
|
+
}, o.handleKeyDown = function (t) {
|
|
2601
|
+
switch (W[t.keyCode]) {
|
|
2602
|
+
case "up":
|
|
2603
|
+
this.handleUpArrow(t);
|
|
2604
|
+
break;
|
|
2605
|
+
case "down":
|
|
2606
|
+
this.handleDownArrow(t);
|
|
2607
|
+
break;
|
|
2608
|
+
case "space":
|
|
2609
|
+
this.handleSpace(t);
|
|
2610
|
+
break;
|
|
2611
|
+
case "enter":
|
|
2612
|
+
this.handleEnter(t);
|
|
2613
|
+
break;
|
|
2614
|
+
case "escape":
|
|
2615
|
+
this.handleComponentBlur({
|
|
2616
|
+
query: this.state.query
|
|
2617
|
+
});
|
|
2618
|
+
break;
|
|
2619
|
+
default:
|
|
2620
|
+
((e = t.keyCode) > 47 && e < 58 || 32 === e || 8 === e || e > 64 && e < 91 || e > 95 && e < 112 || e > 185 && e < 193 || e > 218 && e < 223) && this.handlePrintableKey(t);
|
|
2621
|
+
}
|
|
2622
|
+
var e;
|
|
2623
|
+
}, o.render = function () {
|
|
2624
|
+
var t,
|
|
2625
|
+
e = this,
|
|
2626
|
+
n = this.props,
|
|
2627
|
+
r = n.cssNamespace,
|
|
2628
|
+
o = n.displayMenu,
|
|
2629
|
+
i = n.id,
|
|
2630
|
+
a = n.minLength,
|
|
2631
|
+
c = n.name,
|
|
2632
|
+
s = n.placeholder,
|
|
2633
|
+
l = n.required,
|
|
2634
|
+
f = n.showAllValues,
|
|
2635
|
+
p = n.tNoResults,
|
|
2636
|
+
d = n.tStatusQueryTooShort,
|
|
2637
|
+
h = n.tStatusNoResults,
|
|
2638
|
+
v = n.tStatusSelectedOption,
|
|
2639
|
+
m = n.tStatusResults,
|
|
2640
|
+
y = n.tAssistiveHint,
|
|
2641
|
+
g = n.dropdownArrow,
|
|
2642
|
+
b = n.menuAttributes,
|
|
2643
|
+
x = n.inputClasses,
|
|
2644
|
+
w = n.hintClasses,
|
|
2645
|
+
O = n.menuClasses,
|
|
2646
|
+
_ = this.state,
|
|
2647
|
+
S = _.focused,
|
|
2648
|
+
C = _.hovered,
|
|
2649
|
+
E = _.menuOpen,
|
|
2650
|
+
I = _.options,
|
|
2651
|
+
j = _.query,
|
|
2652
|
+
A = _.selected,
|
|
2653
|
+
P = _.ariaHint,
|
|
2654
|
+
N = _.validChoiceMade,
|
|
2655
|
+
k = this.hasAutoselect(),
|
|
2656
|
+
T = -1 === S,
|
|
2657
|
+
R = 0 === I.length,
|
|
2658
|
+
M = 0 !== j.length,
|
|
2659
|
+
L = j.length >= a,
|
|
2660
|
+
D = this.props.showNoOptionsFound && T && R && M && L,
|
|
2661
|
+
F = r + "__wrapper",
|
|
2662
|
+
V = r + "__status",
|
|
2663
|
+
q = r + "__dropdown-arrow-down",
|
|
2664
|
+
W = -1 !== S && null !== S,
|
|
2665
|
+
K = r + "__option",
|
|
2666
|
+
z = r + "__hint",
|
|
2667
|
+
G = this.templateInputValue(I[A]),
|
|
2668
|
+
Q = G && 0 === G.toLowerCase().indexOf(j.toLowerCase()) && k ? j + G.substr(j.length) : "",
|
|
2669
|
+
$ = i + "__assistiveHint",
|
|
2670
|
+
Y = {
|
|
2671
|
+
"aria-describedby": P ? $ : null,
|
|
2672
|
+
"aria-expanded": E ? "true" : "false",
|
|
2673
|
+
"aria-activedescendant": W ? i + "__option--" + S : null,
|
|
2674
|
+
"aria-controls": i + "__listbox",
|
|
2675
|
+
"aria-autocomplete": this.hasAutoselect() ? "both" : "list"
|
|
2676
|
+
};
|
|
2677
|
+
f && "string" == typeof (t = g({
|
|
2678
|
+
className: q
|
|
2679
|
+
})) && (t = u("div", {
|
|
2680
|
+
className: r + "__dropdown-arrow-down-wrapper",
|
|
2681
|
+
dangerouslySetInnerHTML: {
|
|
2682
|
+
__html: t
|
|
2683
|
+
}
|
|
2684
|
+
}));
|
|
2685
|
+
var X = r + "__input",
|
|
2686
|
+
J = [X, this.props.showAllValues ? X + "--show-all-values" : X + "--default"];
|
|
2687
|
+
null !== S && J.push(X + "--focused"), x && J.push(x);
|
|
2688
|
+
var Z = r + "__menu",
|
|
2689
|
+
tt = [Z, Z + "--" + o, Z + "--" + (E || D ? "visible" : "hidden")];
|
|
2690
|
+
O && tt.push(O), (null != b && b.class || null != b && b.className) && tt.push((null == b ? void 0 : b.class) || (null == b ? void 0 : b.className));
|
|
2691
|
+
var et = Object.assign({
|
|
2692
|
+
"aria-labelledby": i
|
|
2693
|
+
}, b, {
|
|
2694
|
+
id: i + "__listbox",
|
|
2695
|
+
role: "listbox",
|
|
2696
|
+
className: tt.join(" "),
|
|
2697
|
+
onMouseLeave: this.handleListMouseLeave
|
|
2698
|
+
});
|
|
2699
|
+
return delete et.class, u("div", {
|
|
2700
|
+
className: F,
|
|
2701
|
+
onKeyDown: this.handleKeyDown
|
|
2702
|
+
}, u(B, {
|
|
2703
|
+
id: i,
|
|
2704
|
+
length: I.length,
|
|
2705
|
+
queryLength: j.length,
|
|
2706
|
+
minQueryLength: a,
|
|
2707
|
+
selectedOption: this.templateInputValue(I[A]),
|
|
2708
|
+
selectedOptionIndex: A,
|
|
2709
|
+
validChoiceMade: N,
|
|
2710
|
+
isInFocus: null !== this.state.focused,
|
|
2711
|
+
tQueryTooShort: d,
|
|
2712
|
+
tNoResults: h,
|
|
2713
|
+
tSelectedOption: v,
|
|
2714
|
+
tResults: m,
|
|
2715
|
+
className: V
|
|
2716
|
+
}), Q && u("span", null, u("input", {
|
|
2717
|
+
className: [z, null === w ? x : w].filter(Boolean).join(" "),
|
|
2718
|
+
readonly: true,
|
|
2719
|
+
tabIndex: "-1",
|
|
2720
|
+
value: Q
|
|
2721
|
+
})), u("input", U({}, Y, {
|
|
2722
|
+
autoComplete: "off",
|
|
2723
|
+
className: J.join(" "),
|
|
2724
|
+
id: i,
|
|
2725
|
+
onClick: this.handleInputClick,
|
|
2726
|
+
onBlur: this.handleInputBlur
|
|
2727
|
+
}, {
|
|
2728
|
+
onInput: this.handleInputChange
|
|
2729
|
+
}, {
|
|
2730
|
+
onFocus: this.handleInputFocus,
|
|
2731
|
+
name: c,
|
|
2732
|
+
placeholder: s,
|
|
2733
|
+
ref: function (t) {
|
|
2734
|
+
e.elementReferences[-1] = t;
|
|
2735
|
+
},
|
|
2736
|
+
type: "text",
|
|
2737
|
+
role: "combobox",
|
|
2738
|
+
required: l,
|
|
2739
|
+
value: j
|
|
2740
|
+
})), t, u("ul", et, I.map(function (t, n) {
|
|
2741
|
+
var r = (-1 === S ? A === n : S === n) && null === C ? " " + K + "--focused" : "",
|
|
2742
|
+
o = n % 2 ? " " + K + "--odd" : "",
|
|
2743
|
+
a = H() ? "<span id=" + i + "__option-suffix--" + n + ' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> ' + (n + 1) + " of " + I.length + "</span>" : "";
|
|
2744
|
+
return u("li", {
|
|
2745
|
+
"aria-selected": S === n ? "true" : "false",
|
|
2746
|
+
className: "" + K + r + o,
|
|
2747
|
+
dangerouslySetInnerHTML: {
|
|
2748
|
+
__html: e.templateSuggestion(t) + a
|
|
2749
|
+
},
|
|
2750
|
+
id: i + "__option--" + n,
|
|
2751
|
+
key: n,
|
|
2752
|
+
onBlur: function (t) {
|
|
2753
|
+
return e.handleOptionBlur(t, n);
|
|
2754
|
+
},
|
|
2755
|
+
onClick: function (t) {
|
|
2756
|
+
return e.handleOptionClick(t, n);
|
|
2757
|
+
},
|
|
2758
|
+
onMouseDown: e.handleOptionMouseDown,
|
|
2759
|
+
onMouseEnter: function (t) {
|
|
2760
|
+
return e.handleOptionMouseEnter(t, n);
|
|
2761
|
+
},
|
|
2762
|
+
ref: function (t) {
|
|
2763
|
+
e.elementReferences[n] = t;
|
|
2764
|
+
},
|
|
2765
|
+
role: "option",
|
|
2766
|
+
tabIndex: "-1",
|
|
2767
|
+
"aria-posinset": n + 1,
|
|
2768
|
+
"aria-setsize": I.length
|
|
2769
|
+
});
|
|
2770
|
+
}), D && u("li", {
|
|
2771
|
+
className: K + " " + K + "--no-results",
|
|
2772
|
+
role: "option",
|
|
2773
|
+
"aria-disabled": "true"
|
|
2774
|
+
}, p())), u("span", {
|
|
2775
|
+
id: $,
|
|
2776
|
+
style: {
|
|
2777
|
+
display: "none"
|
|
2778
|
+
}
|
|
2779
|
+
}, y()));
|
|
2780
|
+
}, r;
|
|
2781
|
+
}(M);
|
|
2782
|
+
function z(t) {
|
|
2783
|
+
if (!t.element) throw new Error("element is not defined");
|
|
2784
|
+
if (!t.id) throw new Error("id is not defined");
|
|
2785
|
+
if (!t.source) throw new Error("source is not defined");
|
|
2786
|
+
Array.isArray(t.source) && (t.source = G(t.source)), L(u(K, t), t.element);
|
|
2787
|
+
}
|
|
2788
|
+
K.defaultProps = {
|
|
2789
|
+
autoselect: false,
|
|
2790
|
+
cssNamespace: "autocomplete",
|
|
2791
|
+
defaultValue: "",
|
|
2792
|
+
displayMenu: "inline",
|
|
2793
|
+
minLength: 0,
|
|
2794
|
+
name: "input-autocomplete",
|
|
2795
|
+
placeholder: "",
|
|
2796
|
+
onConfirm: function () {},
|
|
2797
|
+
confirmOnBlur: true,
|
|
2798
|
+
showNoOptionsFound: true,
|
|
2799
|
+
showAllValues: false,
|
|
2800
|
+
required: false,
|
|
2801
|
+
tNoResults: function () {
|
|
2802
|
+
return "No results found";
|
|
2803
|
+
},
|
|
2804
|
+
tAssistiveHint: function () {
|
|
2805
|
+
return "When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.";
|
|
2806
|
+
},
|
|
2807
|
+
dropdownArrow: F,
|
|
2808
|
+
menuAttributes: {},
|
|
2809
|
+
inputClasses: null,
|
|
2810
|
+
hintClasses: null,
|
|
2811
|
+
menuClasses: null
|
|
2812
|
+
};
|
|
2813
|
+
var G = function (t) {
|
|
2814
|
+
return function (e, n) {
|
|
2815
|
+
n(t.filter(function (t) {
|
|
2816
|
+
return -1 !== t.toLowerCase().indexOf(e.toLowerCase());
|
|
2817
|
+
}));
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
z.enhanceSelectElement = function (t) {
|
|
2821
|
+
if (!t.selectElement) throw new Error("selectElement is not defined");
|
|
2822
|
+
if (!t.source) {
|
|
2823
|
+
var e = [].filter.call(t.selectElement.options, function (e) {
|
|
2824
|
+
return e.value || t.preserveNullOptions;
|
|
2825
|
+
});
|
|
2826
|
+
t.source = e.map(function (t) {
|
|
2827
|
+
return t.textContent || t.innerText;
|
|
2828
|
+
});
|
|
2829
|
+
}
|
|
2830
|
+
if (t.onConfirm = t.onConfirm || function (e) {
|
|
2831
|
+
var n = [].filter.call(t.selectElement.options, function (t) {
|
|
2832
|
+
return (t.textContent || t.innerText) === e;
|
|
2833
|
+
})[0];
|
|
2834
|
+
n && (n.selected = true);
|
|
2835
|
+
}, t.selectElement.value || void 0 === t.defaultValue) {
|
|
2836
|
+
var n = t.selectElement.options[t.selectElement.options.selectedIndex];
|
|
2837
|
+
t.defaultValue = n.textContent || n.innerText;
|
|
2838
|
+
}
|
|
2839
|
+
void 0 === t.name && (t.name = ""), void 0 === t.id && (void 0 === t.selectElement.id ? t.id = "" : t.id = t.selectElement.id), void 0 === t.autoselect && (t.autoselect = true);
|
|
2840
|
+
var r = document.createElement("div");
|
|
2841
|
+
t.selectElement.parentNode.insertBefore(r, t.selectElement), z(Object.assign({}, t, {
|
|
2842
|
+
element: r
|
|
2843
|
+
})), t.selectElement.style.display = "none", t.selectElement.id = t.selectElement.id + "-select";
|
|
2844
|
+
};
|
|
2845
|
+
var Q = z;
|
|
2846
|
+
}(), r = r.default;
|
|
2847
|
+
}();
|
|
2848
|
+
});
|
|
2849
|
+
} (accessibleAutocomplete_min));
|
|
2850
|
+
return accessibleAutocomplete_min.exports;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
var accessibleAutocomplete_minExports = requireAccessibleAutocomplete_min();
|
|
2854
|
+
var HMRCAccessibleAutocomplete = /*@__PURE__*/getDefaultExportFromCjs(accessibleAutocomplete_minExports);
|
|
2855
|
+
|
|
2856
|
+
function AccessibleAutoComplete($module, window, document) {
|
|
2857
|
+
this.$module = $module;
|
|
2858
|
+
this.window = window;
|
|
2859
|
+
this.document = document;
|
|
2860
|
+
}
|
|
2861
|
+
AccessibleAutoComplete.prototype.init = function init() {
|
|
2862
|
+
if (this.$module) {
|
|
2863
|
+
var trimQuery = function trimQuery(values) {
|
|
2864
|
+
return function (query, syncResults) {
|
|
2865
|
+
var matches = values.filter(function (r) {
|
|
2866
|
+
return r.toLowerCase().indexOf(query.toLowerCase().trim()) !== -1;
|
|
2867
|
+
});
|
|
2868
|
+
syncResults(matches);
|
|
2869
|
+
};
|
|
2870
|
+
};
|
|
2871
|
+
var selectElement = this.$module;
|
|
2872
|
+
var selectOptions = Array.from(selectElement.options);
|
|
2873
|
+
var autocompleteId = selectElement.id;
|
|
2874
|
+
var showAllValues = selectElement.getAttribute('data-show-all-values') === 'true';
|
|
2875
|
+
var autoselect = selectElement.getAttribute('data-auto-select') === 'true';
|
|
2876
|
+
var defaultValue = selectElement.getAttribute('data-default-value');
|
|
2877
|
+
var minLength = selectElement.getAttribute('data-min-length');
|
|
2878
|
+
var configurationOptions = {
|
|
2879
|
+
selectElement: selectElement,
|
|
2880
|
+
showAllValues: showAllValues,
|
|
2881
|
+
autoselect: autoselect,
|
|
2882
|
+
defaultValue: defaultValue,
|
|
2883
|
+
minLength: minLength,
|
|
2884
|
+
// we don't yet support preserveNullOptions,
|
|
2885
|
+
// but if we start then it needs to override this filtering
|
|
2886
|
+
// https://github.com/alphagov/accessible-autocomplete/blob/main/src/wrapper.js#L24
|
|
2887
|
+
source: trimQuery(Array.from(this.$module.options).filter(function (a) {
|
|
2888
|
+
return a.value;
|
|
2889
|
+
}).map(function (a) {
|
|
2890
|
+
return a.textContent;
|
|
2891
|
+
})),
|
|
2892
|
+
onConfirm: function onConfirm(chosenOption) {
|
|
2893
|
+
var _document$getElementB;
|
|
2894
|
+
selectElement.value = '';
|
|
2895
|
+
var chosenOptionOrCurrentValue = typeof chosenOption !== 'undefined' ? chosenOption : (_document$getElementB = document.getElementById(autocompleteId)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.value;
|
|
2896
|
+
var selectedOption = [].filter.call(selectOptions, function (option) {
|
|
2897
|
+
return (option.textContent || option.innerText) === chosenOptionOrCurrentValue;
|
|
2898
|
+
})[0];
|
|
2899
|
+
if (selectedOption) selectedOption.selected = true;
|
|
2900
|
+
}
|
|
2901
|
+
};
|
|
2902
|
+
var language = selectElement.getAttribute('data-language') || 'en';
|
|
2903
|
+
if (language === 'cy') {
|
|
2904
|
+
configurationOptions.tAssistiveHint = function () {
|
|
2905
|
+
return 'Pan fydd canlyniadau awtogwblhau ar gael, defnyddiwch y saethau i fyny ac i lawr i’w hadolygu a phwyswch y fysell ’enter’ i’w dewis.' + ' Gall defnyddwyr dyfeisiau cyffwrdd, archwilio drwy gyffwrdd â’r sgrin neu drwy sweipio.';
|
|
2906
|
+
};
|
|
2907
|
+
configurationOptions.tStatusQueryTooShort = function (minQueryLength) {
|
|
2908
|
+
return "Ysgrifennwch ".concat(minQueryLength, " neu fwy o gymeriadau am ganlyniadau");
|
|
2909
|
+
};
|
|
2910
|
+
configurationOptions.tNoResults = function () {
|
|
2911
|
+
return 'Dim canlyniadau wedi’u darganfod';
|
|
2912
|
+
};
|
|
2913
|
+
configurationOptions.tStatusNoResults = function () {
|
|
2914
|
+
return 'Dim canlyniadau chwilio';
|
|
2915
|
+
};
|
|
2916
|
+
configurationOptions.tStatusSelectedOption = function (selectedOption, length, index) {
|
|
2917
|
+
return "Mae ".concat(selectedOption, " ").concat(index + 1, " o ").concat(length, " wedi\u2019i amlygu");
|
|
2918
|
+
};
|
|
2919
|
+
configurationOptions.tStatusResults = function (length, contentSelectedOption) {
|
|
2920
|
+
var resultOrResults = length === 1 ? 'canlyniad' : 'o ganlyniadau';
|
|
2921
|
+
return "".concat(length, " ").concat(resultOrResults, " ar gael. ").concat(contentSelectedOption);
|
|
2922
|
+
};
|
|
2923
|
+
}
|
|
2924
|
+
window.HMRCAccessibleAutocomplete.enhanceSelectElement(configurationOptions);
|
|
2925
|
+
var selectElementAriaDescribedBy = selectElement.getAttribute('aria-describedby') || '';
|
|
2926
|
+
var autocompleteElement = document.getElementById(autocompleteId);
|
|
2927
|
+
var autocompleteElementAriaDescribedBy = (autocompleteElement === null || autocompleteElement === void 0 ? void 0 : autocompleteElement.getAttribute('aria-describedby')) || '';
|
|
2928
|
+
var autocompleteElementMissingAriaDescribedAttrs = autocompleteElement && autocompleteElement.tagName !== 'select' && !autocompleteElementAriaDescribedBy.includes(selectElementAriaDescribedBy);
|
|
2929
|
+
if (autocompleteElementMissingAriaDescribedAttrs) {
|
|
2930
|
+
// if there is a hint and/or error then the autocomplete element
|
|
2931
|
+
// needs to be aria-describedby these, which it isn't by default.
|
|
2932
|
+
// we need to check if it hasn't already been done to avoid adding
|
|
2933
|
+
// them twice if someone has added a separate patch.
|
|
2934
|
+
autocompleteElement.setAttribute('aria-describedby', "".concat(selectElementAriaDescribedBy, " ").concat(autocompleteElementAriaDescribedBy));
|
|
2935
|
+
// IMPORTANT ACCESSIBILITY NOTE:
|
|
2936
|
+
// on interaction, the accessible autocomplete will update the
|
|
2937
|
+
// aria-describedby attribute, which will cause the links to hint
|
|
2938
|
+
// and error to be removed. After talking with DIAS we've opted
|
|
2939
|
+
// not to re-add the links at the moment, because when we do they
|
|
2940
|
+
// are re-announced to users too much (after they select an option)
|
|
2941
|
+
// we may investigate ways to add the links back after a delay to
|
|
2942
|
+
// maintain them without reducing usability in the future.
|
|
2943
|
+
|
|
2944
|
+
// and in case page is still using adam's patch, this should stop
|
|
2945
|
+
// the select elements aria-describedby from being added to the
|
|
2946
|
+
// autocomplete element twice when that runs (though unsure if a
|
|
2947
|
+
// screen reader would actually announce the elements twice if same
|
|
2948
|
+
// element was listed twice in the aria-describedby attribute)
|
|
2949
|
+
selectElement.setAttribute('aria-describedby', '');
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
window.HMRCAccessibleAutocomplete = HMRCAccessibleAutocomplete;
|
|
2955
|
+
var $AccessibleAutocomplete = document.querySelectorAll('select[data-module="hmrc-accessible-autocomplete"]');
|
|
2956
|
+
if ($AccessibleAutocomplete) {
|
|
2957
|
+
$AccessibleAutocomplete.forEach(function (selectElement) {
|
|
2958
|
+
new AccessibleAutoComplete(selectElement, window, document).init();
|
|
2959
|
+
});
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
}));
|