y-design-ssr 0.0.34 → 0.0.36
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/README.md +1 -1
- package/libs/button.js +1319 -653
- package/libs/cell.js +1604 -713
- package/libs/checkbox.js +2337 -1031
- package/libs/checkboxGroup.js +2048 -948
- package/libs/col.js +1990 -892
- package/libs/countdown.js +1358 -691
- package/libs/dialog.css +1 -1
- package/libs/dialog.js +2371 -1234
- package/libs/empty.js +1323 -654
- package/libs/form.js +3040 -2042
- package/libs/formItem.js +3132 -2111
- package/libs/icon.js +1585 -686
- package/libs/input.js +1763 -848
- package/libs/list.js +2323 -1629
- package/libs/loading.js +1873 -960
- package/libs/mask.js +1796 -846
- package/libs/popup.js +1820 -880
- package/libs/progress.js +1455 -727
- package/libs/pullrefresh.js +1372 -730
- package/libs/row.js +1981 -874
- package/libs/slider.js +1858 -936
- package/libs/stepper.js +1764 -843
- package/libs/swipe.js +2091 -1041
- package/libs/swipeItem.js +2091 -1041
- package/libs/switch.js +1723 -817
- package/libs/tab.js +2523 -1867
- package/libs/tabs.js +2522 -1857
- package/libs/toast.js +2021 -888
- package/libs/tooltip.js +1749 -1040
- package/libs/yui.css +1 -1
- package/libs/yui.js +4549 -3895
- package/package.json +2 -2
package/libs/pullrefresh.js
CHANGED
|
@@ -7,172 +7,10 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__391__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/ 676:
|
|
15
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
16
|
-
|
|
17
|
-
"use strict";
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "Z": function() { return /* binding */ _arrayLikeToArray; }
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
function _arrayLikeToArray(arr, len) {
|
|
22
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
23
|
-
|
|
24
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
25
|
-
arr2[i] = arr[i];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return arr2;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ 6156:
|
|
34
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
35
|
-
|
|
36
|
-
"use strict";
|
|
37
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
38
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
39
|
-
/* harmony export */ });
|
|
40
|
-
function _defineProperty(obj, key, value) {
|
|
41
|
-
if (key in obj) {
|
|
42
|
-
Object.defineProperty(obj, key, {
|
|
43
|
-
value: value,
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true
|
|
47
|
-
});
|
|
48
|
-
} else {
|
|
49
|
-
obj[key] = value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return obj;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ 4699:
|
|
58
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
59
|
-
|
|
60
|
-
"use strict";
|
|
61
|
-
|
|
62
|
-
// EXPORTS
|
|
63
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
64
|
-
"Z": function() { return /* binding */ _slicedToArray; }
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
68
|
-
function _arrayWithHoles(arr) {
|
|
69
|
-
if (Array.isArray(arr)) return arr;
|
|
70
|
-
}
|
|
71
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
72
|
-
function _iterableToArrayLimit(arr, i) {
|
|
73
|
-
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
74
|
-
|
|
75
|
-
if (_i == null) return;
|
|
76
|
-
var _arr = [];
|
|
77
|
-
var _n = true;
|
|
78
|
-
var _d = false;
|
|
79
|
-
|
|
80
|
-
var _s, _e;
|
|
81
|
-
|
|
82
|
-
try {
|
|
83
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
84
|
-
_arr.push(_s.value);
|
|
85
|
-
|
|
86
|
-
if (i && _arr.length === i) break;
|
|
87
|
-
}
|
|
88
|
-
} catch (err) {
|
|
89
|
-
_d = true;
|
|
90
|
-
_e = err;
|
|
91
|
-
} finally {
|
|
92
|
-
try {
|
|
93
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
94
|
-
} finally {
|
|
95
|
-
if (_d) throw _e;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
return _arr;
|
|
100
|
-
}
|
|
101
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
102
|
-
var unsupportedIterableToArray = __webpack_require__(2961);
|
|
103
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
104
|
-
function _nonIterableRest() {
|
|
105
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
106
|
-
}
|
|
107
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
function _slicedToArray(arr, i) {
|
|
113
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray/* default */.Z)(arr, i) || _nonIterableRest();
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 7329:
|
|
119
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
120
|
-
|
|
121
|
-
"use strict";
|
|
122
|
-
|
|
123
|
-
// EXPORTS
|
|
124
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
125
|
-
"Z": function() { return /* binding */ _toConsumableArray; }
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
129
|
-
var arrayLikeToArray = __webpack_require__(676);
|
|
130
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
131
|
-
|
|
132
|
-
function _arrayWithoutHoles(arr) {
|
|
133
|
-
if (Array.isArray(arr)) return (0,arrayLikeToArray/* default */.Z)(arr);
|
|
134
|
-
}
|
|
135
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
136
|
-
function _iterableToArray(iter) {
|
|
137
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
138
|
-
}
|
|
139
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
140
|
-
var unsupportedIterableToArray = __webpack_require__(2961);
|
|
141
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
142
|
-
function _nonIterableSpread() {
|
|
143
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
144
|
-
}
|
|
145
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
function _toConsumableArray(arr) {
|
|
151
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || (0,unsupportedIterableToArray/* default */.Z)(arr) || _nonIterableSpread();
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/***/ }),
|
|
155
|
-
|
|
156
|
-
/***/ 2961:
|
|
157
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
158
|
-
|
|
159
|
-
"use strict";
|
|
160
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
161
|
-
/* harmony export */ "Z": function() { return /* binding */ _unsupportedIterableToArray; }
|
|
162
|
-
/* harmony export */ });
|
|
163
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(676);
|
|
164
|
-
|
|
165
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
166
|
-
if (!o) return;
|
|
167
|
-
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* .default */ .Z)(o, minLen);
|
|
168
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
169
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
170
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
171
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* .default */ .Z)(o, minLen);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/***/ }),
|
|
175
|
-
|
|
176
14
|
/***/ 3466:
|
|
177
15
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
178
16
|
|
|
@@ -183,12 +21,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
183
21
|
"Z": function() { return /* binding */ locale; }
|
|
184
22
|
});
|
|
185
23
|
|
|
186
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
187
|
-
var defineProperty = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
25
|
+
var defineProperty = __webpack_require__(4572);
|
|
188
26
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
189
27
|
var es_object_assign = __webpack_require__(9601);
|
|
190
28
|
// EXTERNAL MODULE: external "vue"
|
|
191
|
-
var external_vue_ = __webpack_require__(
|
|
29
|
+
var external_vue_ = __webpack_require__(391);
|
|
192
30
|
;// CONCATENATED MODULE: ./packages/locale/lang/zh-CN.ts
|
|
193
31
|
/*
|
|
194
32
|
* @Author: liuwentao
|
|
@@ -213,7 +51,6 @@ var external_vue_ = __webpack_require__(4103);
|
|
|
213
51
|
;// CONCATENATED MODULE: ./packages/locale/index.ts
|
|
214
52
|
|
|
215
53
|
|
|
216
|
-
|
|
217
54
|
/*
|
|
218
55
|
* @Author: liuwentao
|
|
219
56
|
* @Date: 2021-05-24 20:26:52
|
|
@@ -263,6 +100,8 @@ var is = __webpack_require__(3703);
|
|
|
263
100
|
var es_array_concat = __webpack_require__(2222);
|
|
264
101
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
265
102
|
var es_array_reduce = __webpack_require__(5827);
|
|
103
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
104
|
+
var es_object_to_string = __webpack_require__(1539);
|
|
266
105
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
267
106
|
var es_object_keys = __webpack_require__(7941);
|
|
268
107
|
;// CONCATENATED MODULE: ./packages/utils/create/bem.ts
|
|
@@ -278,7 +117,6 @@ var es_object_keys = __webpack_require__(7941);
|
|
|
278
117
|
* @LastEditTime: 2021-05-25 19:31:14
|
|
279
118
|
* @FilePath: /yui-vue/packages/utils/create/bem.ts
|
|
280
119
|
*/
|
|
281
|
-
|
|
282
120
|
/**
|
|
283
121
|
* bem helper
|
|
284
122
|
* --不传参默认返回block--
|
|
@@ -291,40 +129,35 @@ var es_object_keys = __webpack_require__(7941);
|
|
|
291
129
|
* --传两参数即为element+modifiers--
|
|
292
130
|
* b('text', { disabled:false, loading:true }) => 'button__text button__text--loading'
|
|
293
131
|
*/
|
|
132
|
+
|
|
294
133
|
var getMods = function getMods(el, mods) {
|
|
295
134
|
// modifiers为空: 返回''
|
|
296
135
|
if (!mods) {
|
|
297
136
|
return '';
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
137
|
+
}
|
|
138
|
+
// mods为string: 返回 el--incomings
|
|
301
139
|
if (typeof mods === 'string') {
|
|
302
140
|
return " ".concat(el, "--").concat(mods);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
141
|
+
}
|
|
142
|
+
// mods为数组: reduce累加modifiers每一项的getModifier处理结果
|
|
306
143
|
if (Array.isArray(mods)) {
|
|
307
144
|
return mods.reduce(function (acc, cur) {
|
|
308
145
|
return acc + getMods(el, cur);
|
|
309
146
|
}, '');
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
|
|
147
|
+
}
|
|
148
|
+
// mods为对象: 遍历key,reduce累加modifiers每一项,判断该项是否可用,再执行getModifier处理结果
|
|
313
149
|
return Object.keys(mods).reduce(function (acc, cur) {
|
|
314
150
|
return acc + (mods[cur] ? getMods(el, cur) : '');
|
|
315
151
|
}, '');
|
|
316
152
|
};
|
|
317
|
-
|
|
318
153
|
var createBEM = function createBEM(block) {
|
|
319
154
|
return function (el, mods) {
|
|
320
155
|
var _el = el;
|
|
321
156
|
var _mods = mods;
|
|
322
|
-
|
|
323
157
|
if (_el && typeof _el !== 'string') {
|
|
324
158
|
_mods = _el;
|
|
325
159
|
_el = '';
|
|
326
160
|
}
|
|
327
|
-
|
|
328
161
|
_el = _el ? "".concat(block, "__").concat(_el) : block;
|
|
329
162
|
return "".concat(_el).concat(getMods(_el, _mods));
|
|
330
163
|
};
|
|
@@ -334,7 +167,6 @@ var createGlobalBem = function createGlobalBem() {
|
|
|
334
167
|
if (!mods) {
|
|
335
168
|
return "y-".concat(el);
|
|
336
169
|
}
|
|
337
|
-
|
|
338
170
|
return "".concat(getMods("y-".concat(el), mods));
|
|
339
171
|
};
|
|
340
172
|
};
|
|
@@ -360,40 +192,31 @@ var createLocale = function createLocale(name) {
|
|
|
360
192
|
};
|
|
361
193
|
;// CONCATENATED MODULE: ./packages/utils/types.ts
|
|
362
194
|
var Size;
|
|
363
|
-
|
|
364
195
|
(function (Size) {
|
|
365
196
|
Size["Mini"] = "mini";
|
|
366
197
|
Size["Small"] = "small";
|
|
367
198
|
Size["Middle"] = "middle";
|
|
368
199
|
Size["Large"] = "large";
|
|
369
200
|
})(Size || (Size = {}));
|
|
370
|
-
|
|
371
201
|
var Horizontal;
|
|
372
|
-
|
|
373
202
|
(function (Horizontal) {
|
|
374
203
|
Horizontal["Left"] = "left";
|
|
375
204
|
Horizontal["Center"] = "center";
|
|
376
205
|
Horizontal["Right"] = "right";
|
|
377
206
|
})(Horizontal || (Horizontal = {}));
|
|
378
|
-
|
|
379
207
|
var Vertical;
|
|
380
|
-
|
|
381
208
|
(function (Vertical) {
|
|
382
209
|
Vertical["Top"] = "top";
|
|
383
210
|
Vertical["Middle"] = "middle";
|
|
384
211
|
Vertical["Bottom"] = "bottom";
|
|
385
212
|
})(Vertical || (Vertical = {}));
|
|
386
|
-
|
|
387
213
|
var Position;
|
|
388
|
-
|
|
389
214
|
(function (Position) {
|
|
390
215
|
Position["Relative"] = "relative";
|
|
391
216
|
Position["Absolute"] = "absolute";
|
|
392
217
|
Position["Fixed"] = "fixed";
|
|
393
218
|
})(Position || (Position = {}));
|
|
394
|
-
|
|
395
219
|
var Location;
|
|
396
|
-
|
|
397
220
|
(function (Location) {
|
|
398
221
|
Location["Top"] = "top";
|
|
399
222
|
Location["Right"] = "right";
|
|
@@ -401,9 +224,7 @@ var Location;
|
|
|
401
224
|
Location["Left"] = "left";
|
|
402
225
|
Location["Center"] = "center";
|
|
403
226
|
})(Location || (Location = {}));
|
|
404
|
-
|
|
405
227
|
var Direction;
|
|
406
|
-
|
|
407
228
|
(function (Direction) {
|
|
408
229
|
Direction["clockwise"] = "clockwise";
|
|
409
230
|
Direction["counterclockwise"] = "counterclockwise";
|
|
@@ -428,19 +249,17 @@ var parseUnit = function parseUnit(val) {
|
|
|
428
249
|
if (isNaN(Number(val)) && typeof val === 'string') {
|
|
429
250
|
return val;
|
|
430
251
|
}
|
|
431
|
-
|
|
432
252
|
return "".concat(val, "px");
|
|
433
253
|
};
|
|
254
|
+
|
|
434
255
|
/*
|
|
435
256
|
* @Description: 处理百分比
|
|
436
257
|
*/
|
|
437
|
-
|
|
438
258
|
var parsePercent = function parsePercent(val, baseNumber) {
|
|
439
259
|
if (typeof val === 'string' && val.includes('%')) {
|
|
440
260
|
if (!val.includes('%')) return Number(val);
|
|
441
261
|
return baseNumber * Number(val.replace(/%/g, '')) / 100;
|
|
442
262
|
}
|
|
443
|
-
|
|
444
263
|
return Number(val);
|
|
445
264
|
};
|
|
446
265
|
;// CONCATENATED MODULE: ./packages/utils/index.ts
|
|
@@ -460,13 +279,11 @@ var parsePercent = function parsePercent(val, baseNumber) {
|
|
|
460
279
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1539);
|
|
461
280
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
462
281
|
|
|
463
|
-
|
|
464
282
|
var tagTester = function tagTester(name) {
|
|
465
283
|
return function (obj) {
|
|
466
284
|
return Object.prototype.toString.call(obj) === "[object ".concat(name, "]");
|
|
467
285
|
};
|
|
468
286
|
};
|
|
469
|
-
|
|
470
287
|
var isArguments = tagTester('Arguments');
|
|
471
288
|
var isFunction = tagTester('Function');
|
|
472
289
|
var isString = tagTester('String');
|
|
@@ -484,13 +301,18 @@ var isPromise = tagTester('Promise');
|
|
|
484
301
|
|
|
485
302
|
/***/ }),
|
|
486
303
|
|
|
487
|
-
/***/
|
|
488
|
-
/***/ (function(module) {
|
|
304
|
+
/***/ 9662:
|
|
305
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
489
306
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
307
|
+
var isCallable = __webpack_require__(614);
|
|
308
|
+
var tryToString = __webpack_require__(6330);
|
|
309
|
+
|
|
310
|
+
var $TypeError = TypeError;
|
|
311
|
+
|
|
312
|
+
// `Assert: IsCallable(argument) is true`
|
|
313
|
+
module.exports = function (argument) {
|
|
314
|
+
if (isCallable(argument)) return argument;
|
|
315
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
494
316
|
};
|
|
495
317
|
|
|
496
318
|
|
|
@@ -499,12 +321,14 @@ module.exports = function (it) {
|
|
|
499
321
|
/***/ 6077:
|
|
500
322
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
501
323
|
|
|
502
|
-
var
|
|
324
|
+
var isCallable = __webpack_require__(614);
|
|
503
325
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
326
|
+
var $String = String;
|
|
327
|
+
var $TypeError = TypeError;
|
|
328
|
+
|
|
329
|
+
module.exports = function (argument) {
|
|
330
|
+
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
331
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
508
332
|
};
|
|
509
333
|
|
|
510
334
|
|
|
@@ -515,7 +339,7 @@ module.exports = function (it) {
|
|
|
515
339
|
|
|
516
340
|
var wellKnownSymbol = __webpack_require__(5112);
|
|
517
341
|
var create = __webpack_require__(30);
|
|
518
|
-
var
|
|
342
|
+
var defineProperty = (__webpack_require__(3070).f);
|
|
519
343
|
|
|
520
344
|
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
521
345
|
var ArrayPrototype = Array.prototype;
|
|
@@ -523,7 +347,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
523
347
|
// Array.prototype[@@unscopables]
|
|
524
348
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
525
349
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
526
|
-
|
|
350
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
527
351
|
configurable: true,
|
|
528
352
|
value: create(null)
|
|
529
353
|
});
|
|
@@ -542,7 +366,7 @@ module.exports = function (key) {
|
|
|
542
366
|
|
|
543
367
|
"use strict";
|
|
544
368
|
|
|
545
|
-
var charAt = __webpack_require__(8710).charAt;
|
|
369
|
+
var charAt = (__webpack_require__(8710).charAt);
|
|
546
370
|
|
|
547
371
|
// `AdvanceStringIndex` abstract operation
|
|
548
372
|
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
@@ -558,10 +382,13 @@ module.exports = function (S, index, unicode) {
|
|
|
558
382
|
|
|
559
383
|
var isObject = __webpack_require__(111);
|
|
560
384
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
385
|
+
var $String = String;
|
|
386
|
+
var $TypeError = TypeError;
|
|
387
|
+
|
|
388
|
+
// `Assert: Type(argument) is Object`
|
|
389
|
+
module.exports = function (argument) {
|
|
390
|
+
if (isObject(argument)) return argument;
|
|
391
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
565
392
|
};
|
|
566
393
|
|
|
567
394
|
|
|
@@ -571,14 +398,14 @@ module.exports = function (it) {
|
|
|
571
398
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
572
399
|
|
|
573
400
|
var toIndexedObject = __webpack_require__(5656);
|
|
574
|
-
var toLength = __webpack_require__(7466);
|
|
575
401
|
var toAbsoluteIndex = __webpack_require__(1400);
|
|
402
|
+
var lengthOfArrayLike = __webpack_require__(6244);
|
|
576
403
|
|
|
577
404
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
578
405
|
var createMethod = function (IS_INCLUDES) {
|
|
579
406
|
return function ($this, el, fromIndex) {
|
|
580
407
|
var O = toIndexedObject($this);
|
|
581
|
-
var length =
|
|
408
|
+
var length = lengthOfArrayLike(O);
|
|
582
409
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
583
410
|
var value;
|
|
584
411
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -610,30 +437,31 @@ module.exports = {
|
|
|
610
437
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
611
438
|
|
|
612
439
|
var bind = __webpack_require__(9974);
|
|
440
|
+
var uncurryThis = __webpack_require__(1702);
|
|
613
441
|
var IndexedObject = __webpack_require__(8361);
|
|
614
442
|
var toObject = __webpack_require__(7908);
|
|
615
|
-
var
|
|
443
|
+
var lengthOfArrayLike = __webpack_require__(6244);
|
|
616
444
|
var arraySpeciesCreate = __webpack_require__(5417);
|
|
617
445
|
|
|
618
|
-
var push = [].push;
|
|
446
|
+
var push = uncurryThis([].push);
|
|
619
447
|
|
|
620
|
-
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex,
|
|
448
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
621
449
|
var createMethod = function (TYPE) {
|
|
622
450
|
var IS_MAP = TYPE == 1;
|
|
623
451
|
var IS_FILTER = TYPE == 2;
|
|
624
452
|
var IS_SOME = TYPE == 3;
|
|
625
453
|
var IS_EVERY = TYPE == 4;
|
|
626
454
|
var IS_FIND_INDEX = TYPE == 6;
|
|
627
|
-
var
|
|
455
|
+
var IS_FILTER_REJECT = TYPE == 7;
|
|
628
456
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
629
457
|
return function ($this, callbackfn, that, specificCreate) {
|
|
630
458
|
var O = toObject($this);
|
|
631
459
|
var self = IndexedObject(O);
|
|
632
|
-
var boundFunction = bind(callbackfn, that
|
|
633
|
-
var length =
|
|
460
|
+
var boundFunction = bind(callbackfn, that);
|
|
461
|
+
var length = lengthOfArrayLike(self);
|
|
634
462
|
var index = 0;
|
|
635
463
|
var create = specificCreate || arraySpeciesCreate;
|
|
636
|
-
var target = IS_MAP ? create($this, length) : IS_FILTER ||
|
|
464
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
637
465
|
var value, result;
|
|
638
466
|
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
639
467
|
value = self[index];
|
|
@@ -644,10 +472,10 @@ var createMethod = function (TYPE) {
|
|
|
644
472
|
case 3: return true; // some
|
|
645
473
|
case 5: return value; // find
|
|
646
474
|
case 6: return index; // findIndex
|
|
647
|
-
case 2: push
|
|
475
|
+
case 2: push(target, value); // filter
|
|
648
476
|
} else switch (TYPE) {
|
|
649
477
|
case 4: return false; // every
|
|
650
|
-
case 7: push
|
|
478
|
+
case 7: push(target, value); // filterReject
|
|
651
479
|
}
|
|
652
480
|
}
|
|
653
481
|
}
|
|
@@ -677,9 +505,9 @@ module.exports = {
|
|
|
677
505
|
// `Array.prototype.findIndex` method
|
|
678
506
|
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
679
507
|
findIndex: createMethod(6),
|
|
680
|
-
// `Array.prototype.
|
|
508
|
+
// `Array.prototype.filterReject` method
|
|
681
509
|
// https://github.com/tc39/proposal-array-filtering
|
|
682
|
-
|
|
510
|
+
filterReject: createMethod(7)
|
|
683
511
|
};
|
|
684
512
|
|
|
685
513
|
|
|
@@ -721,8 +549,8 @@ var fails = __webpack_require__(7293);
|
|
|
721
549
|
module.exports = function (METHOD_NAME, argument) {
|
|
722
550
|
var method = [][METHOD_NAME];
|
|
723
551
|
return !!method && fails(function () {
|
|
724
|
-
// eslint-disable-next-line no-useless-call
|
|
725
|
-
method.call(null, argument || function () {
|
|
552
|
+
// eslint-disable-next-line no-useless-call -- required for testing
|
|
553
|
+
method.call(null, argument || function () { return 1; }, 1);
|
|
726
554
|
});
|
|
727
555
|
};
|
|
728
556
|
|
|
@@ -732,18 +560,20 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
732
560
|
/***/ 3671:
|
|
733
561
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
734
562
|
|
|
735
|
-
var
|
|
563
|
+
var aCallable = __webpack_require__(9662);
|
|
736
564
|
var toObject = __webpack_require__(7908);
|
|
737
565
|
var IndexedObject = __webpack_require__(8361);
|
|
738
|
-
var
|
|
566
|
+
var lengthOfArrayLike = __webpack_require__(6244);
|
|
567
|
+
|
|
568
|
+
var $TypeError = TypeError;
|
|
739
569
|
|
|
740
570
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
741
571
|
var createMethod = function (IS_RIGHT) {
|
|
742
572
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
743
|
-
|
|
573
|
+
aCallable(callbackfn);
|
|
744
574
|
var O = toObject(that);
|
|
745
575
|
var self = IndexedObject(O);
|
|
746
|
-
var length =
|
|
576
|
+
var length = lengthOfArrayLike(O);
|
|
747
577
|
var index = IS_RIGHT ? length - 1 : 0;
|
|
748
578
|
var i = IS_RIGHT ? -1 : 1;
|
|
749
579
|
if (argumentsLength < 2) while (true) {
|
|
@@ -754,7 +584,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
754
584
|
}
|
|
755
585
|
index += i;
|
|
756
586
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
757
|
-
throw TypeError('Reduce of empty array with no initial value');
|
|
587
|
+
throw $TypeError('Reduce of empty array with no initial value');
|
|
758
588
|
}
|
|
759
589
|
}
|
|
760
590
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -776,40 +606,59 @@ module.exports = {
|
|
|
776
606
|
|
|
777
607
|
/***/ }),
|
|
778
608
|
|
|
779
|
-
/***/
|
|
609
|
+
/***/ 7475:
|
|
780
610
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
781
611
|
|
|
782
|
-
var isObject = __webpack_require__(111);
|
|
783
612
|
var isArray = __webpack_require__(3157);
|
|
613
|
+
var isConstructor = __webpack_require__(4411);
|
|
614
|
+
var isObject = __webpack_require__(111);
|
|
784
615
|
var wellKnownSymbol = __webpack_require__(5112);
|
|
785
616
|
|
|
786
617
|
var SPECIES = wellKnownSymbol('species');
|
|
618
|
+
var $Array = Array;
|
|
787
619
|
|
|
788
|
-
// `ArraySpeciesCreate` abstract operation
|
|
620
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
789
621
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
790
|
-
module.exports = function (originalArray
|
|
622
|
+
module.exports = function (originalArray) {
|
|
791
623
|
var C;
|
|
792
624
|
if (isArray(originalArray)) {
|
|
793
625
|
C = originalArray.constructor;
|
|
794
626
|
// cross-realm fallback
|
|
795
|
-
if (
|
|
627
|
+
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
|
|
796
628
|
else if (isObject(C)) {
|
|
797
629
|
C = C[SPECIES];
|
|
798
630
|
if (C === null) C = undefined;
|
|
799
631
|
}
|
|
800
|
-
} return
|
|
632
|
+
} return C === undefined ? $Array : C;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
|
|
638
|
+
/***/ 5417:
|
|
639
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
640
|
+
|
|
641
|
+
var arraySpeciesConstructor = __webpack_require__(7475);
|
|
642
|
+
|
|
643
|
+
// `ArraySpeciesCreate` abstract operation
|
|
644
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
645
|
+
module.exports = function (originalArray, length) {
|
|
646
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
801
647
|
};
|
|
802
648
|
|
|
803
649
|
|
|
804
650
|
/***/ }),
|
|
805
651
|
|
|
806
652
|
/***/ 4326:
|
|
807
|
-
/***/ (function(module) {
|
|
653
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
654
|
+
|
|
655
|
+
var uncurryThis = __webpack_require__(1702);
|
|
808
656
|
|
|
809
|
-
var toString = {}.toString;
|
|
657
|
+
var toString = uncurryThis({}.toString);
|
|
658
|
+
var stringSlice = uncurryThis(''.slice);
|
|
810
659
|
|
|
811
660
|
module.exports = function (it) {
|
|
812
|
-
return toString
|
|
661
|
+
return stringSlice(toString(it), 8, -1);
|
|
813
662
|
};
|
|
814
663
|
|
|
815
664
|
|
|
@@ -819,10 +668,13 @@ module.exports = function (it) {
|
|
|
819
668
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
820
669
|
|
|
821
670
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(1694);
|
|
671
|
+
var isCallable = __webpack_require__(614);
|
|
822
672
|
var classofRaw = __webpack_require__(4326);
|
|
823
673
|
var wellKnownSymbol = __webpack_require__(5112);
|
|
824
674
|
|
|
825
675
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
676
|
+
var $Object = Object;
|
|
677
|
+
|
|
826
678
|
// ES3 wrong here
|
|
827
679
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
828
680
|
|
|
@@ -838,11 +690,11 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
838
690
|
var O, tag, result;
|
|
839
691
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
840
692
|
// @@toStringTag case
|
|
841
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
693
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
842
694
|
// builtinTag case
|
|
843
695
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
844
696
|
// ES3 arguments fallback
|
|
845
|
-
: (result = classofRaw(O)) == 'Object' &&
|
|
697
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
846
698
|
};
|
|
847
699
|
|
|
848
700
|
|
|
@@ -851,18 +703,20 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
851
703
|
/***/ 9920:
|
|
852
704
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
853
705
|
|
|
854
|
-
var
|
|
706
|
+
var hasOwn = __webpack_require__(2597);
|
|
855
707
|
var ownKeys = __webpack_require__(3887);
|
|
856
708
|
var getOwnPropertyDescriptorModule = __webpack_require__(1236);
|
|
857
709
|
var definePropertyModule = __webpack_require__(3070);
|
|
858
710
|
|
|
859
|
-
module.exports = function (target, source) {
|
|
711
|
+
module.exports = function (target, source, exceptions) {
|
|
860
712
|
var keys = ownKeys(source);
|
|
861
713
|
var defineProperty = definePropertyModule.f;
|
|
862
714
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
863
715
|
for (var i = 0; i < keys.length; i++) {
|
|
864
716
|
var key = keys[i];
|
|
865
|
-
if (!
|
|
717
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
718
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
719
|
+
}
|
|
866
720
|
}
|
|
867
721
|
};
|
|
868
722
|
|
|
@@ -928,17 +782,70 @@ module.exports = function (bitmap, value) {
|
|
|
928
782
|
|
|
929
783
|
"use strict";
|
|
930
784
|
|
|
931
|
-
var
|
|
785
|
+
var toPropertyKey = __webpack_require__(4948);
|
|
932
786
|
var definePropertyModule = __webpack_require__(3070);
|
|
933
787
|
var createPropertyDescriptor = __webpack_require__(9114);
|
|
934
788
|
|
|
935
789
|
module.exports = function (object, key, value) {
|
|
936
|
-
var propertyKey =
|
|
790
|
+
var propertyKey = toPropertyKey(key);
|
|
937
791
|
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
938
792
|
else object[propertyKey] = value;
|
|
939
793
|
};
|
|
940
794
|
|
|
941
795
|
|
|
796
|
+
/***/ }),
|
|
797
|
+
|
|
798
|
+
/***/ 8052:
|
|
799
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
800
|
+
|
|
801
|
+
var isCallable = __webpack_require__(614);
|
|
802
|
+
var definePropertyModule = __webpack_require__(3070);
|
|
803
|
+
var makeBuiltIn = __webpack_require__(6339);
|
|
804
|
+
var defineGlobalProperty = __webpack_require__(3072);
|
|
805
|
+
|
|
806
|
+
module.exports = function (O, key, value, options) {
|
|
807
|
+
if (!options) options = {};
|
|
808
|
+
var simple = options.enumerable;
|
|
809
|
+
var name = options.name !== undefined ? options.name : key;
|
|
810
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
811
|
+
if (options.global) {
|
|
812
|
+
if (simple) O[key] = value;
|
|
813
|
+
else defineGlobalProperty(key, value);
|
|
814
|
+
} else {
|
|
815
|
+
try {
|
|
816
|
+
if (!options.unsafe) delete O[key];
|
|
817
|
+
else if (O[key]) simple = true;
|
|
818
|
+
} catch (error) { /* empty */ }
|
|
819
|
+
if (simple) O[key] = value;
|
|
820
|
+
else definePropertyModule.f(O, key, {
|
|
821
|
+
value: value,
|
|
822
|
+
enumerable: false,
|
|
823
|
+
configurable: !options.nonConfigurable,
|
|
824
|
+
writable: !options.nonWritable
|
|
825
|
+
});
|
|
826
|
+
} return O;
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/***/ }),
|
|
831
|
+
|
|
832
|
+
/***/ 3072:
|
|
833
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
834
|
+
|
|
835
|
+
var global = __webpack_require__(7854);
|
|
836
|
+
|
|
837
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
838
|
+
var defineProperty = Object.defineProperty;
|
|
839
|
+
|
|
840
|
+
module.exports = function (key, value) {
|
|
841
|
+
try {
|
|
842
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
843
|
+
} catch (error) {
|
|
844
|
+
global[key] = value;
|
|
845
|
+
} return value;
|
|
846
|
+
};
|
|
847
|
+
|
|
848
|
+
|
|
942
849
|
/***/ }),
|
|
943
850
|
|
|
944
851
|
/***/ 9781:
|
|
@@ -953,6 +860,22 @@ module.exports = !fails(function () {
|
|
|
953
860
|
});
|
|
954
861
|
|
|
955
862
|
|
|
863
|
+
/***/ }),
|
|
864
|
+
|
|
865
|
+
/***/ 4154:
|
|
866
|
+
/***/ (function(module) {
|
|
867
|
+
|
|
868
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
869
|
+
|
|
870
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
871
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
872
|
+
|
|
873
|
+
module.exports = {
|
|
874
|
+
all: documentAll,
|
|
875
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
|
|
956
879
|
/***/ }),
|
|
957
880
|
|
|
958
881
|
/***/ 317:
|
|
@@ -970,6 +893,20 @@ module.exports = function (it) {
|
|
|
970
893
|
};
|
|
971
894
|
|
|
972
895
|
|
|
896
|
+
/***/ }),
|
|
897
|
+
|
|
898
|
+
/***/ 7207:
|
|
899
|
+
/***/ (function(module) {
|
|
900
|
+
|
|
901
|
+
var $TypeError = TypeError;
|
|
902
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
903
|
+
|
|
904
|
+
module.exports = function (it) {
|
|
905
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
906
|
+
return it;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
|
|
973
910
|
/***/ }),
|
|
974
911
|
|
|
975
912
|
/***/ 5268:
|
|
@@ -1000,22 +937,29 @@ var global = __webpack_require__(7854);
|
|
|
1000
937
|
var userAgent = __webpack_require__(8113);
|
|
1001
938
|
|
|
1002
939
|
var process = global.process;
|
|
1003
|
-
var
|
|
940
|
+
var Deno = global.Deno;
|
|
941
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
1004
942
|
var v8 = versions && versions.v8;
|
|
1005
943
|
var match, version;
|
|
1006
944
|
|
|
1007
945
|
if (v8) {
|
|
1008
946
|
match = v8.split('.');
|
|
1009
|
-
|
|
1010
|
-
|
|
947
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
948
|
+
// but their correct versions are not interesting for us
|
|
949
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
953
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
954
|
+
if (!version && userAgent) {
|
|
1011
955
|
match = userAgent.match(/Edge\/(\d+)/);
|
|
1012
956
|
if (!match || match[1] >= 74) {
|
|
1013
957
|
match = userAgent.match(/Chrome\/(\d+)/);
|
|
1014
|
-
if (match) version = match[1];
|
|
958
|
+
if (match) version = +match[1];
|
|
1015
959
|
}
|
|
1016
960
|
}
|
|
1017
961
|
|
|
1018
|
-
module.exports = version
|
|
962
|
+
module.exports = version;
|
|
1019
963
|
|
|
1020
964
|
|
|
1021
965
|
/***/ }),
|
|
@@ -1041,26 +985,27 @@ module.exports = [
|
|
|
1041
985
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1042
986
|
|
|
1043
987
|
var global = __webpack_require__(7854);
|
|
1044
|
-
var getOwnPropertyDescriptor = __webpack_require__(1236).f;
|
|
988
|
+
var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
1045
989
|
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
1046
|
-
var
|
|
1047
|
-
var
|
|
990
|
+
var defineBuiltIn = __webpack_require__(8052);
|
|
991
|
+
var defineGlobalProperty = __webpack_require__(3072);
|
|
1048
992
|
var copyConstructorProperties = __webpack_require__(9920);
|
|
1049
993
|
var isForced = __webpack_require__(4705);
|
|
1050
994
|
|
|
1051
995
|
/*
|
|
1052
|
-
options.target
|
|
1053
|
-
options.global
|
|
1054
|
-
options.stat
|
|
1055
|
-
options.proto
|
|
1056
|
-
options.real
|
|
1057
|
-
options.forced
|
|
1058
|
-
options.bind
|
|
1059
|
-
options.wrap
|
|
1060
|
-
options.unsafe
|
|
1061
|
-
options.sham
|
|
1062
|
-
options.enumerable
|
|
1063
|
-
options.
|
|
996
|
+
options.target - name of the target object
|
|
997
|
+
options.global - target is the global object
|
|
998
|
+
options.stat - export as static methods of target
|
|
999
|
+
options.proto - export as prototype methods of target
|
|
1000
|
+
options.real - real prototype method for the `pure` version
|
|
1001
|
+
options.forced - export even if the native feature is available
|
|
1002
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
1003
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1004
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1005
|
+
options.sham - add a flag to not completely full polyfills
|
|
1006
|
+
options.enumerable - export as enumerable property
|
|
1007
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
1008
|
+
options.name - the .name of the function if it does not match the key
|
|
1064
1009
|
*/
|
|
1065
1010
|
module.exports = function (options, source) {
|
|
1066
1011
|
var TARGET = options.target;
|
|
@@ -1070,28 +1015,27 @@ module.exports = function (options, source) {
|
|
|
1070
1015
|
if (GLOBAL) {
|
|
1071
1016
|
target = global;
|
|
1072
1017
|
} else if (STATIC) {
|
|
1073
|
-
target = global[TARGET] ||
|
|
1018
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1074
1019
|
} else {
|
|
1075
1020
|
target = (global[TARGET] || {}).prototype;
|
|
1076
1021
|
}
|
|
1077
1022
|
if (target) for (key in source) {
|
|
1078
1023
|
sourceProperty = source[key];
|
|
1079
|
-
if (options.
|
|
1024
|
+
if (options.dontCallGetSet) {
|
|
1080
1025
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1081
1026
|
targetProperty = descriptor && descriptor.value;
|
|
1082
1027
|
} else targetProperty = target[key];
|
|
1083
1028
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1084
1029
|
// contained in target
|
|
1085
1030
|
if (!FORCED && targetProperty !== undefined) {
|
|
1086
|
-
if (typeof sourceProperty
|
|
1031
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1087
1032
|
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1088
1033
|
}
|
|
1089
1034
|
// add a flag to not completely full polyfills
|
|
1090
1035
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1091
1036
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1092
1037
|
}
|
|
1093
|
-
|
|
1094
|
-
redefine(target, key, sourceProperty, options);
|
|
1038
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
1095
1039
|
}
|
|
1096
1040
|
};
|
|
1097
1041
|
|
|
@@ -1119,7 +1063,8 @@ module.exports = function (exec) {
|
|
|
1119
1063
|
|
|
1120
1064
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1121
1065
|
__webpack_require__(4916);
|
|
1122
|
-
var
|
|
1066
|
+
var uncurryThis = __webpack_require__(1470);
|
|
1067
|
+
var defineBuiltIn = __webpack_require__(8052);
|
|
1123
1068
|
var regexpExec = __webpack_require__(2261);
|
|
1124
1069
|
var fails = __webpack_require__(7293);
|
|
1125
1070
|
var wellKnownSymbol = __webpack_require__(5112);
|
|
@@ -1128,47 +1073,7 @@ var createNonEnumerableProperty = __webpack_require__(8880);
|
|
|
1128
1073
|
var SPECIES = wellKnownSymbol('species');
|
|
1129
1074
|
var RegExpPrototype = RegExp.prototype;
|
|
1130
1075
|
|
|
1131
|
-
|
|
1132
|
-
// #replace needs built-in support for named groups.
|
|
1133
|
-
// #match works fine because it just return the exec results, even if it has
|
|
1134
|
-
// a "grops" property.
|
|
1135
|
-
var re = /./;
|
|
1136
|
-
re.exec = function () {
|
|
1137
|
-
var result = [];
|
|
1138
|
-
result.groups = { a: '7' };
|
|
1139
|
-
return result;
|
|
1140
|
-
};
|
|
1141
|
-
return ''.replace(re, '$<a>') !== '7';
|
|
1142
|
-
});
|
|
1143
|
-
|
|
1144
|
-
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
1145
|
-
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
1146
|
-
var REPLACE_KEEPS_$0 = (function () {
|
|
1147
|
-
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
1148
|
-
return 'a'.replace(/./, '$0') === '$0';
|
|
1149
|
-
})();
|
|
1150
|
-
|
|
1151
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
1152
|
-
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
1153
|
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
1154
|
-
if (/./[REPLACE]) {
|
|
1155
|
-
return /./[REPLACE]('a', '$0') === '';
|
|
1156
|
-
}
|
|
1157
|
-
return false;
|
|
1158
|
-
})();
|
|
1159
|
-
|
|
1160
|
-
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
1161
|
-
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
1162
|
-
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
1163
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
1164
|
-
var re = /(?:)/;
|
|
1165
|
-
var originalExec = re.exec;
|
|
1166
|
-
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
1167
|
-
var result = 'ab'.split(re);
|
|
1168
|
-
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
|
|
1169
|
-
});
|
|
1170
|
-
|
|
1171
|
-
module.exports = function (KEY, length, exec, sham) {
|
|
1076
|
+
module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
1172
1077
|
var SYMBOL = wellKnownSymbol(KEY);
|
|
1173
1078
|
|
|
1174
1079
|
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
@@ -1205,94 +1110,186 @@ module.exports = function (KEY, length, exec, sham) {
|
|
|
1205
1110
|
if (
|
|
1206
1111
|
!DELEGATES_TO_SYMBOL ||
|
|
1207
1112
|
!DELEGATES_TO_EXEC ||
|
|
1208
|
-
|
|
1209
|
-
REPLACE_SUPPORTS_NAMED_GROUPS &&
|
|
1210
|
-
REPLACE_KEEPS_$0 &&
|
|
1211
|
-
!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
|
1212
|
-
)) ||
|
|
1213
|
-
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
|
1113
|
+
FORCED
|
|
1214
1114
|
) {
|
|
1215
|
-
var
|
|
1115
|
+
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
|
|
1216
1116
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
1117
|
+
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
|
1217
1118
|
var $exec = regexp.exec;
|
|
1218
1119
|
if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
|
|
1219
1120
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
1220
1121
|
// The native String method already delegates to @@method (this
|
|
1221
1122
|
// polyfilled function), leasing to infinite recursion.
|
|
1222
1123
|
// We avoid it by directly calling the native @@method method.
|
|
1223
|
-
return { done: true, value:
|
|
1124
|
+
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
|
1224
1125
|
}
|
|
1225
|
-
return { done: true, value:
|
|
1126
|
+
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
|
1226
1127
|
}
|
|
1227
1128
|
return { done: false };
|
|
1228
|
-
}, {
|
|
1229
|
-
REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
|
|
1230
|
-
REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
|
1231
1129
|
});
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
redefine(String.prototype, KEY, stringMethod);
|
|
1236
|
-
redefine(RegExpPrototype, SYMBOL, length == 2
|
|
1237
|
-
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
|
1238
|
-
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
|
1239
|
-
? function (string, arg) { return regexMethod.call(string, this, arg); }
|
|
1240
|
-
// 21.2.5.6 RegExp.prototype[@@match](string)
|
|
1241
|
-
// 21.2.5.9 RegExp.prototype[@@search](string)
|
|
1242
|
-
: function (string) { return regexMethod.call(string, this); }
|
|
1243
|
-
);
|
|
1130
|
+
|
|
1131
|
+
defineBuiltIn(String.prototype, KEY, methods[0]);
|
|
1132
|
+
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
|
1244
1133
|
}
|
|
1245
1134
|
|
|
1246
|
-
if (
|
|
1135
|
+
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
1247
1136
|
};
|
|
1248
1137
|
|
|
1249
1138
|
|
|
1139
|
+
/***/ }),
|
|
1140
|
+
|
|
1141
|
+
/***/ 2104:
|
|
1142
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1143
|
+
|
|
1144
|
+
var NATIVE_BIND = __webpack_require__(4374);
|
|
1145
|
+
|
|
1146
|
+
var FunctionPrototype = Function.prototype;
|
|
1147
|
+
var apply = FunctionPrototype.apply;
|
|
1148
|
+
var call = FunctionPrototype.call;
|
|
1149
|
+
|
|
1150
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
1151
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
1152
|
+
return call.apply(apply, arguments);
|
|
1153
|
+
});
|
|
1154
|
+
|
|
1155
|
+
|
|
1250
1156
|
/***/ }),
|
|
1251
1157
|
|
|
1252
1158
|
/***/ 9974:
|
|
1253
1159
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1254
1160
|
|
|
1255
|
-
var
|
|
1161
|
+
var uncurryThis = __webpack_require__(1470);
|
|
1162
|
+
var aCallable = __webpack_require__(9662);
|
|
1163
|
+
var NATIVE_BIND = __webpack_require__(4374);
|
|
1164
|
+
|
|
1165
|
+
var bind = uncurryThis(uncurryThis.bind);
|
|
1256
1166
|
|
|
1257
1167
|
// optional / simple context binding
|
|
1258
|
-
module.exports = function (fn, that
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
switch (length) {
|
|
1262
|
-
case 0: return function () {
|
|
1263
|
-
return fn.call(that);
|
|
1264
|
-
};
|
|
1265
|
-
case 1: return function (a) {
|
|
1266
|
-
return fn.call(that, a);
|
|
1267
|
-
};
|
|
1268
|
-
case 2: return function (a, b) {
|
|
1269
|
-
return fn.call(that, a, b);
|
|
1270
|
-
};
|
|
1271
|
-
case 3: return function (a, b, c) {
|
|
1272
|
-
return fn.call(that, a, b, c);
|
|
1273
|
-
};
|
|
1274
|
-
}
|
|
1275
|
-
return function (/* ...args */) {
|
|
1168
|
+
module.exports = function (fn, that) {
|
|
1169
|
+
aCallable(fn);
|
|
1170
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
|
1276
1171
|
return fn.apply(that, arguments);
|
|
1277
1172
|
};
|
|
1278
1173
|
};
|
|
1279
1174
|
|
|
1280
1175
|
|
|
1176
|
+
/***/ }),
|
|
1177
|
+
|
|
1178
|
+
/***/ 4374:
|
|
1179
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1180
|
+
|
|
1181
|
+
var fails = __webpack_require__(7293);
|
|
1182
|
+
|
|
1183
|
+
module.exports = !fails(function () {
|
|
1184
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
1185
|
+
var test = (function () { /* empty */ }).bind();
|
|
1186
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1187
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
1188
|
+
});
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
/***/ }),
|
|
1192
|
+
|
|
1193
|
+
/***/ 6916:
|
|
1194
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1195
|
+
|
|
1196
|
+
var NATIVE_BIND = __webpack_require__(4374);
|
|
1197
|
+
|
|
1198
|
+
var call = Function.prototype.call;
|
|
1199
|
+
|
|
1200
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
1201
|
+
return call.apply(call, arguments);
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
/***/ }),
|
|
1206
|
+
|
|
1207
|
+
/***/ 6530:
|
|
1208
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1209
|
+
|
|
1210
|
+
var DESCRIPTORS = __webpack_require__(9781);
|
|
1211
|
+
var hasOwn = __webpack_require__(2597);
|
|
1212
|
+
|
|
1213
|
+
var FunctionPrototype = Function.prototype;
|
|
1214
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1215
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
1216
|
+
|
|
1217
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
1218
|
+
// additional protection from minified / mangled / dropped function names
|
|
1219
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1220
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1221
|
+
|
|
1222
|
+
module.exports = {
|
|
1223
|
+
EXISTS: EXISTS,
|
|
1224
|
+
PROPER: PROPER,
|
|
1225
|
+
CONFIGURABLE: CONFIGURABLE
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
/***/ }),
|
|
1230
|
+
|
|
1231
|
+
/***/ 1470:
|
|
1232
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1233
|
+
|
|
1234
|
+
var classofRaw = __webpack_require__(4326);
|
|
1235
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1236
|
+
|
|
1237
|
+
module.exports = function (fn) {
|
|
1238
|
+
// Nashorn bug:
|
|
1239
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
1240
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
1241
|
+
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
/***/ }),
|
|
1246
|
+
|
|
1247
|
+
/***/ 1702:
|
|
1248
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1249
|
+
|
|
1250
|
+
var NATIVE_BIND = __webpack_require__(4374);
|
|
1251
|
+
|
|
1252
|
+
var FunctionPrototype = Function.prototype;
|
|
1253
|
+
var call = FunctionPrototype.call;
|
|
1254
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
1255
|
+
|
|
1256
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
1257
|
+
return function () {
|
|
1258
|
+
return call.apply(fn, arguments);
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
|
|
1281
1263
|
/***/ }),
|
|
1282
1264
|
|
|
1283
1265
|
/***/ 5005:
|
|
1284
1266
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1285
1267
|
|
|
1286
|
-
var path = __webpack_require__(857);
|
|
1287
1268
|
var global = __webpack_require__(7854);
|
|
1269
|
+
var isCallable = __webpack_require__(614);
|
|
1288
1270
|
|
|
1289
|
-
var aFunction = function (
|
|
1290
|
-
return
|
|
1271
|
+
var aFunction = function (argument) {
|
|
1272
|
+
return isCallable(argument) ? argument : undefined;
|
|
1291
1273
|
};
|
|
1292
1274
|
|
|
1293
1275
|
module.exports = function (namespace, method) {
|
|
1294
|
-
return arguments.length < 2 ? aFunction(
|
|
1295
|
-
|
|
1276
|
+
return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
/***/ }),
|
|
1281
|
+
|
|
1282
|
+
/***/ 8173:
|
|
1283
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1284
|
+
|
|
1285
|
+
var aCallable = __webpack_require__(9662);
|
|
1286
|
+
var isNullOrUndefined = __webpack_require__(8554);
|
|
1287
|
+
|
|
1288
|
+
// `GetMethod` abstract operation
|
|
1289
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
1290
|
+
module.exports = function (V, P) {
|
|
1291
|
+
var func = V[P];
|
|
1292
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
1296
1293
|
};
|
|
1297
1294
|
|
|
1298
1295
|
|
|
@@ -1301,13 +1298,17 @@ module.exports = function (namespace, method) {
|
|
|
1301
1298
|
/***/ 647:
|
|
1302
1299
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1303
1300
|
|
|
1301
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1304
1302
|
var toObject = __webpack_require__(7908);
|
|
1305
1303
|
|
|
1306
1304
|
var floor = Math.floor;
|
|
1307
|
-
var
|
|
1305
|
+
var charAt = uncurryThis(''.charAt);
|
|
1306
|
+
var replace = uncurryThis(''.replace);
|
|
1307
|
+
var stringSlice = uncurryThis(''.slice);
|
|
1308
1308
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
1309
1309
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
1310
1310
|
|
|
1311
|
+
// `GetSubstitution` abstract operation
|
|
1311
1312
|
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
1312
1313
|
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
1313
1314
|
var tailPos = position + matched.length;
|
|
@@ -1317,15 +1318,15 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl
|
|
|
1317
1318
|
namedCaptures = toObject(namedCaptures);
|
|
1318
1319
|
symbols = SUBSTITUTION_SYMBOLS;
|
|
1319
1320
|
}
|
|
1320
|
-
return replace
|
|
1321
|
+
return replace(replacement, symbols, function (match, ch) {
|
|
1321
1322
|
var capture;
|
|
1322
|
-
switch (
|
|
1323
|
+
switch (charAt(ch, 0)) {
|
|
1323
1324
|
case '$': return '$';
|
|
1324
1325
|
case '&': return matched;
|
|
1325
|
-
case '`': return str
|
|
1326
|
-
case "'": return str
|
|
1326
|
+
case '`': return stringSlice(str, 0, position);
|
|
1327
|
+
case "'": return stringSlice(str, tailPos);
|
|
1327
1328
|
case '<':
|
|
1328
|
-
capture = namedCaptures[ch
|
|
1329
|
+
capture = namedCaptures[stringSlice(ch, 1, -1)];
|
|
1329
1330
|
break;
|
|
1330
1331
|
default: // \d\d?
|
|
1331
1332
|
var n = +ch;
|
|
@@ -1333,7 +1334,7 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl
|
|
|
1333
1334
|
if (n > m) {
|
|
1334
1335
|
var f = floor(n / 10);
|
|
1335
1336
|
if (f === 0) return match;
|
|
1336
|
-
if (f <= m) return captures[f - 1] === undefined ?
|
|
1337
|
+
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
1337
1338
|
return match;
|
|
1338
1339
|
}
|
|
1339
1340
|
capture = captures[n - 1];
|
|
@@ -1366,15 +1367,19 @@ module.exports =
|
|
|
1366
1367
|
|
|
1367
1368
|
/***/ }),
|
|
1368
1369
|
|
|
1369
|
-
/***/
|
|
1370
|
+
/***/ 2597:
|
|
1370
1371
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1371
1372
|
|
|
1373
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1372
1374
|
var toObject = __webpack_require__(7908);
|
|
1373
1375
|
|
|
1374
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
|
1376
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
1375
1377
|
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
+
// `HasOwnProperty` abstract operation
|
|
1379
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
1380
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
1381
|
+
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
1382
|
+
return hasOwnProperty(toObject(it), key);
|
|
1378
1383
|
};
|
|
1379
1384
|
|
|
1380
1385
|
|
|
@@ -1405,9 +1410,9 @@ var DESCRIPTORS = __webpack_require__(9781);
|
|
|
1405
1410
|
var fails = __webpack_require__(7293);
|
|
1406
1411
|
var createElement = __webpack_require__(317);
|
|
1407
1412
|
|
|
1408
|
-
//
|
|
1413
|
+
// Thanks to IE8 for its funny defineProperty
|
|
1409
1414
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
1410
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
1415
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1411
1416
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1412
1417
|
get: function () { return 7; }
|
|
1413
1418
|
}).a != 7;
|
|
@@ -1419,19 +1424,21 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
1419
1424
|
/***/ 8361:
|
|
1420
1425
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1421
1426
|
|
|
1427
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1422
1428
|
var fails = __webpack_require__(7293);
|
|
1423
1429
|
var classof = __webpack_require__(4326);
|
|
1424
1430
|
|
|
1425
|
-
var
|
|
1431
|
+
var $Object = Object;
|
|
1432
|
+
var split = uncurryThis(''.split);
|
|
1426
1433
|
|
|
1427
1434
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1428
1435
|
module.exports = fails(function () {
|
|
1429
1436
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
1430
1437
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1431
|
-
return
|
|
1438
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
1432
1439
|
}) ? function (it) {
|
|
1433
|
-
return classof(it) == 'String' ? split
|
|
1434
|
-
} : Object;
|
|
1440
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
1441
|
+
} : $Object;
|
|
1435
1442
|
|
|
1436
1443
|
|
|
1437
1444
|
/***/ }),
|
|
@@ -1439,6 +1446,7 @@ module.exports = fails(function () {
|
|
|
1439
1446
|
/***/ 9587:
|
|
1440
1447
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1441
1448
|
|
|
1449
|
+
var isCallable = __webpack_require__(614);
|
|
1442
1450
|
var isObject = __webpack_require__(111);
|
|
1443
1451
|
var setPrototypeOf = __webpack_require__(7674);
|
|
1444
1452
|
|
|
@@ -1449,7 +1457,7 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
1449
1457
|
// it can work only with native `setPrototypeOf`
|
|
1450
1458
|
setPrototypeOf &&
|
|
1451
1459
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1452
|
-
|
|
1460
|
+
isCallable(NewTarget = dummy.constructor) &&
|
|
1453
1461
|
NewTarget !== Wrapper &&
|
|
1454
1462
|
isObject(NewTargetPrototype = NewTarget.prototype) &&
|
|
1455
1463
|
NewTargetPrototype !== Wrapper.prototype
|
|
@@ -1463,14 +1471,16 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
1463
1471
|
/***/ 2788:
|
|
1464
1472
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1465
1473
|
|
|
1474
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1475
|
+
var isCallable = __webpack_require__(614);
|
|
1466
1476
|
var store = __webpack_require__(5465);
|
|
1467
1477
|
|
|
1468
|
-
var functionToString = Function.toString;
|
|
1478
|
+
var functionToString = uncurryThis(Function.toString);
|
|
1469
1479
|
|
|
1470
|
-
// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1471
|
-
if (
|
|
1480
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1481
|
+
if (!isCallable(store.inspectSource)) {
|
|
1472
1482
|
store.inspectSource = function (it) {
|
|
1473
|
-
return functionToString
|
|
1483
|
+
return functionToString(it);
|
|
1474
1484
|
};
|
|
1475
1485
|
}
|
|
1476
1486
|
|
|
@@ -1482,16 +1492,17 @@ module.exports = store.inspectSource;
|
|
|
1482
1492
|
/***/ 9909:
|
|
1483
1493
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1484
1494
|
|
|
1485
|
-
var NATIVE_WEAK_MAP = __webpack_require__(
|
|
1495
|
+
var NATIVE_WEAK_MAP = __webpack_require__(4811);
|
|
1486
1496
|
var global = __webpack_require__(7854);
|
|
1487
1497
|
var isObject = __webpack_require__(111);
|
|
1488
1498
|
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
1489
|
-
var
|
|
1499
|
+
var hasOwn = __webpack_require__(2597);
|
|
1490
1500
|
var shared = __webpack_require__(5465);
|
|
1491
1501
|
var sharedKey = __webpack_require__(6200);
|
|
1492
1502
|
var hiddenKeys = __webpack_require__(3501);
|
|
1493
1503
|
|
|
1494
1504
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1505
|
+
var TypeError = global.TypeError;
|
|
1495
1506
|
var WeakMap = global.WeakMap;
|
|
1496
1507
|
var set, get, has;
|
|
1497
1508
|
|
|
@@ -1510,35 +1521,37 @@ var getterFor = function (TYPE) {
|
|
|
1510
1521
|
|
|
1511
1522
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1512
1523
|
var store = shared.state || (shared.state = new WeakMap());
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1524
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
1525
|
+
store.get = store.get;
|
|
1526
|
+
store.has = store.has;
|
|
1527
|
+
store.set = store.set;
|
|
1528
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
1516
1529
|
set = function (it, metadata) {
|
|
1517
|
-
if (
|
|
1530
|
+
if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1518
1531
|
metadata.facade = it;
|
|
1519
|
-
|
|
1532
|
+
store.set(it, metadata);
|
|
1520
1533
|
return metadata;
|
|
1521
1534
|
};
|
|
1522
1535
|
get = function (it) {
|
|
1523
|
-
return
|
|
1536
|
+
return store.get(it) || {};
|
|
1524
1537
|
};
|
|
1525
1538
|
has = function (it) {
|
|
1526
|
-
return
|
|
1539
|
+
return store.has(it);
|
|
1527
1540
|
};
|
|
1528
1541
|
} else {
|
|
1529
1542
|
var STATE = sharedKey('state');
|
|
1530
1543
|
hiddenKeys[STATE] = true;
|
|
1531
1544
|
set = function (it, metadata) {
|
|
1532
|
-
if (
|
|
1545
|
+
if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1533
1546
|
metadata.facade = it;
|
|
1534
1547
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
1535
1548
|
return metadata;
|
|
1536
1549
|
};
|
|
1537
1550
|
get = function (it) {
|
|
1538
|
-
return
|
|
1551
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
1539
1552
|
};
|
|
1540
1553
|
has = function (it) {
|
|
1541
|
-
return
|
|
1554
|
+
return hasOwn(it, STATE);
|
|
1542
1555
|
};
|
|
1543
1556
|
}
|
|
1544
1557
|
|
|
@@ -1553,18 +1566,95 @@ module.exports = {
|
|
|
1553
1566
|
|
|
1554
1567
|
/***/ }),
|
|
1555
1568
|
|
|
1556
|
-
/***/ 3157:
|
|
1569
|
+
/***/ 3157:
|
|
1570
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1571
|
+
|
|
1572
|
+
var classof = __webpack_require__(4326);
|
|
1573
|
+
|
|
1574
|
+
// `IsArray` abstract operation
|
|
1575
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
1576
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1577
|
+
module.exports = Array.isArray || function isArray(argument) {
|
|
1578
|
+
return classof(argument) == 'Array';
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
/***/ }),
|
|
1583
|
+
|
|
1584
|
+
/***/ 614:
|
|
1585
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1586
|
+
|
|
1587
|
+
var $documentAll = __webpack_require__(4154);
|
|
1588
|
+
|
|
1589
|
+
var documentAll = $documentAll.all;
|
|
1590
|
+
|
|
1591
|
+
// `IsCallable` abstract operation
|
|
1592
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
1593
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
|
|
1594
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
1595
|
+
} : function (argument) {
|
|
1596
|
+
return typeof argument == 'function';
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
/***/ }),
|
|
1601
|
+
|
|
1602
|
+
/***/ 4411:
|
|
1557
1603
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1558
1604
|
|
|
1559
|
-
var
|
|
1605
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1606
|
+
var fails = __webpack_require__(7293);
|
|
1607
|
+
var isCallable = __webpack_require__(614);
|
|
1608
|
+
var classof = __webpack_require__(648);
|
|
1609
|
+
var getBuiltIn = __webpack_require__(5005);
|
|
1610
|
+
var inspectSource = __webpack_require__(2788);
|
|
1560
1611
|
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1612
|
+
var noop = function () { /* empty */ };
|
|
1613
|
+
var empty = [];
|
|
1614
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
1615
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1616
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
|
1617
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1618
|
+
|
|
1619
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
1620
|
+
if (!isCallable(argument)) return false;
|
|
1621
|
+
try {
|
|
1622
|
+
construct(noop, empty, argument);
|
|
1623
|
+
return true;
|
|
1624
|
+
} catch (error) {
|
|
1625
|
+
return false;
|
|
1626
|
+
}
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
1630
|
+
if (!isCallable(argument)) return false;
|
|
1631
|
+
switch (classof(argument)) {
|
|
1632
|
+
case 'AsyncFunction':
|
|
1633
|
+
case 'GeneratorFunction':
|
|
1634
|
+
case 'AsyncGeneratorFunction': return false;
|
|
1635
|
+
}
|
|
1636
|
+
try {
|
|
1637
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1638
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1639
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
1640
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
1641
|
+
} catch (error) {
|
|
1642
|
+
return true;
|
|
1643
|
+
}
|
|
1566
1644
|
};
|
|
1567
1645
|
|
|
1646
|
+
isConstructorLegacy.sham = true;
|
|
1647
|
+
|
|
1648
|
+
// `IsConstructor` abstract operation
|
|
1649
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1650
|
+
module.exports = !construct || fails(function () {
|
|
1651
|
+
var called;
|
|
1652
|
+
return isConstructorModern(isConstructorModern.call)
|
|
1653
|
+
|| !isConstructorModern(Object)
|
|
1654
|
+
|| !isConstructorModern(function () { called = true; })
|
|
1655
|
+
|| called;
|
|
1656
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
1657
|
+
|
|
1568
1658
|
|
|
1569
1659
|
/***/ }),
|
|
1570
1660
|
|
|
@@ -1572,6 +1662,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
1572
1662
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1573
1663
|
|
|
1574
1664
|
var fails = __webpack_require__(7293);
|
|
1665
|
+
var isCallable = __webpack_require__(614);
|
|
1575
1666
|
|
|
1576
1667
|
var replacement = /#|\.prototype\./;
|
|
1577
1668
|
|
|
@@ -1579,7 +1670,7 @@ var isForced = function (feature, detection) {
|
|
|
1579
1670
|
var value = data[normalize(feature)];
|
|
1580
1671
|
return value == POLYFILL ? true
|
|
1581
1672
|
: value == NATIVE ? false
|
|
1582
|
-
:
|
|
1673
|
+
: isCallable(detection) ? fails(detection)
|
|
1583
1674
|
: !!detection;
|
|
1584
1675
|
};
|
|
1585
1676
|
|
|
@@ -1596,11 +1687,30 @@ module.exports = isForced;
|
|
|
1596
1687
|
|
|
1597
1688
|
/***/ }),
|
|
1598
1689
|
|
|
1599
|
-
/***/
|
|
1690
|
+
/***/ 8554:
|
|
1600
1691
|
/***/ (function(module) {
|
|
1601
1692
|
|
|
1693
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
1694
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
1602
1695
|
module.exports = function (it) {
|
|
1603
|
-
return
|
|
1696
|
+
return it === null || it === undefined;
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
/***/ }),
|
|
1701
|
+
|
|
1702
|
+
/***/ 111:
|
|
1703
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1704
|
+
|
|
1705
|
+
var isCallable = __webpack_require__(614);
|
|
1706
|
+
var $documentAll = __webpack_require__(4154);
|
|
1707
|
+
|
|
1708
|
+
var documentAll = $documentAll.all;
|
|
1709
|
+
|
|
1710
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (it) {
|
|
1711
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
|
|
1712
|
+
} : function (it) {
|
|
1713
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
1604
1714
|
};
|
|
1605
1715
|
|
|
1606
1716
|
|
|
@@ -1633,33 +1743,109 @@ module.exports = function (it) {
|
|
|
1633
1743
|
|
|
1634
1744
|
/***/ }),
|
|
1635
1745
|
|
|
1636
|
-
/***/
|
|
1746
|
+
/***/ 2190:
|
|
1637
1747
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1638
1748
|
|
|
1639
|
-
|
|
1640
|
-
var
|
|
1641
|
-
var
|
|
1749
|
+
var getBuiltIn = __webpack_require__(5005);
|
|
1750
|
+
var isCallable = __webpack_require__(614);
|
|
1751
|
+
var isPrototypeOf = __webpack_require__(7976);
|
|
1752
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(3307);
|
|
1642
1753
|
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1754
|
+
var $Object = Object;
|
|
1755
|
+
|
|
1756
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
1757
|
+
return typeof it == 'symbol';
|
|
1758
|
+
} : function (it) {
|
|
1759
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
1760
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
1761
|
+
};
|
|
1650
1762
|
|
|
1651
1763
|
|
|
1652
1764
|
/***/ }),
|
|
1653
1765
|
|
|
1654
|
-
/***/
|
|
1766
|
+
/***/ 6244:
|
|
1655
1767
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1656
1768
|
|
|
1657
|
-
var
|
|
1769
|
+
var toLength = __webpack_require__(7466);
|
|
1770
|
+
|
|
1771
|
+
// `LengthOfArrayLike` abstract operation
|
|
1772
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1773
|
+
module.exports = function (obj) {
|
|
1774
|
+
return toLength(obj.length);
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
/***/ }),
|
|
1779
|
+
|
|
1780
|
+
/***/ 6339:
|
|
1781
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1782
|
+
|
|
1783
|
+
var fails = __webpack_require__(7293);
|
|
1784
|
+
var isCallable = __webpack_require__(614);
|
|
1785
|
+
var hasOwn = __webpack_require__(2597);
|
|
1786
|
+
var DESCRIPTORS = __webpack_require__(9781);
|
|
1787
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(6530).CONFIGURABLE);
|
|
1658
1788
|
var inspectSource = __webpack_require__(2788);
|
|
1789
|
+
var InternalStateModule = __webpack_require__(9909);
|
|
1659
1790
|
|
|
1660
|
-
var
|
|
1791
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
1792
|
+
var getInternalState = InternalStateModule.get;
|
|
1793
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1794
|
+
var defineProperty = Object.defineProperty;
|
|
1661
1795
|
|
|
1662
|
-
|
|
1796
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
1797
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1798
|
+
});
|
|
1799
|
+
|
|
1800
|
+
var TEMPLATE = String(String).split('String');
|
|
1801
|
+
|
|
1802
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
1803
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1804
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1805
|
+
}
|
|
1806
|
+
if (options && options.getter) name = 'get ' + name;
|
|
1807
|
+
if (options && options.setter) name = 'set ' + name;
|
|
1808
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1809
|
+
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
|
1810
|
+
else value.name = name;
|
|
1811
|
+
}
|
|
1812
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
1813
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
1814
|
+
}
|
|
1815
|
+
try {
|
|
1816
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
1817
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
1818
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1819
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
1820
|
+
} catch (error) { /* empty */ }
|
|
1821
|
+
var state = enforceInternalState(value);
|
|
1822
|
+
if (!hasOwn(state, 'source')) {
|
|
1823
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1824
|
+
} return value;
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1828
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
1829
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
1830
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
1831
|
+
}, 'toString');
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
/***/ }),
|
|
1835
|
+
|
|
1836
|
+
/***/ 4758:
|
|
1837
|
+
/***/ (function(module) {
|
|
1838
|
+
|
|
1839
|
+
var ceil = Math.ceil;
|
|
1840
|
+
var floor = Math.floor;
|
|
1841
|
+
|
|
1842
|
+
// `Math.trunc` method
|
|
1843
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
1844
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
1845
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
1846
|
+
var n = +x;
|
|
1847
|
+
return (n > 0 ? floor : ceil)(n);
|
|
1848
|
+
};
|
|
1663
1849
|
|
|
1664
1850
|
|
|
1665
1851
|
/***/ }),
|
|
@@ -1669,9 +1855,11 @@ module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSour
|
|
|
1669
1855
|
|
|
1670
1856
|
var isRegExp = __webpack_require__(7850);
|
|
1671
1857
|
|
|
1858
|
+
var $TypeError = TypeError;
|
|
1859
|
+
|
|
1672
1860
|
module.exports = function (it) {
|
|
1673
1861
|
if (isRegExp(it)) {
|
|
1674
|
-
throw TypeError("The method doesn't accept regular expressions");
|
|
1862
|
+
throw $TypeError("The method doesn't accept regular expressions");
|
|
1675
1863
|
} return it;
|
|
1676
1864
|
};
|
|
1677
1865
|
|
|
@@ -1684,6 +1872,8 @@ module.exports = function (it) {
|
|
|
1684
1872
|
"use strict";
|
|
1685
1873
|
|
|
1686
1874
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
1875
|
+
var uncurryThis = __webpack_require__(1702);
|
|
1876
|
+
var call = __webpack_require__(6916);
|
|
1687
1877
|
var fails = __webpack_require__(7293);
|
|
1688
1878
|
var objectKeys = __webpack_require__(1956);
|
|
1689
1879
|
var getOwnPropertySymbolsModule = __webpack_require__(5181);
|
|
@@ -1695,6 +1885,7 @@ var IndexedObject = __webpack_require__(8361);
|
|
|
1695
1885
|
var $assign = Object.assign;
|
|
1696
1886
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1697
1887
|
var defineProperty = Object.defineProperty;
|
|
1888
|
+
var concat = uncurryThis([].concat);
|
|
1698
1889
|
|
|
1699
1890
|
// `Object.assign` method
|
|
1700
1891
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -1726,13 +1917,13 @@ module.exports = !$assign || fails(function () {
|
|
|
1726
1917
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1727
1918
|
while (argumentsLength > index) {
|
|
1728
1919
|
var S = IndexedObject(arguments[index++]);
|
|
1729
|
-
var keys = getOwnPropertySymbols ? objectKeys(S)
|
|
1920
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1730
1921
|
var length = keys.length;
|
|
1731
1922
|
var j = 0;
|
|
1732
1923
|
var key;
|
|
1733
1924
|
while (length > j) {
|
|
1734
1925
|
key = keys[j++];
|
|
1735
|
-
if (!DESCRIPTORS ||
|
|
1926
|
+
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1736
1927
|
}
|
|
1737
1928
|
} return T;
|
|
1738
1929
|
} : $assign;
|
|
@@ -1743,8 +1934,9 @@ module.exports = !$assign || fails(function () {
|
|
|
1743
1934
|
/***/ 30:
|
|
1744
1935
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1745
1936
|
|
|
1937
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
1746
1938
|
var anObject = __webpack_require__(9670);
|
|
1747
|
-
var
|
|
1939
|
+
var definePropertiesModule = __webpack_require__(6048);
|
|
1748
1940
|
var enumBugKeys = __webpack_require__(748);
|
|
1749
1941
|
var hiddenKeys = __webpack_require__(3501);
|
|
1750
1942
|
var html = __webpack_require__(490);
|
|
@@ -1797,10 +1989,13 @@ var NullProtoObjectViaIFrame = function () {
|
|
|
1797
1989
|
var activeXDocument;
|
|
1798
1990
|
var NullProtoObject = function () {
|
|
1799
1991
|
try {
|
|
1800
|
-
|
|
1801
|
-
activeXDocument = document.domain && new ActiveXObject('htmlfile');
|
|
1992
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
1802
1993
|
} catch (error) { /* ignore */ }
|
|
1803
|
-
NullProtoObject =
|
|
1994
|
+
NullProtoObject = typeof document != 'undefined'
|
|
1995
|
+
? document.domain && activeXDocument
|
|
1996
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
1997
|
+
: NullProtoObjectViaIFrame()
|
|
1998
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
1804
1999
|
var length = enumBugKeys.length;
|
|
1805
2000
|
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
1806
2001
|
return NullProtoObject();
|
|
@@ -1810,6 +2005,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
1810
2005
|
|
|
1811
2006
|
// `Object.create` method
|
|
1812
2007
|
// https://tc39.es/ecma262/#sec-object.create
|
|
2008
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
1813
2009
|
module.exports = Object.create || function create(O, Properties) {
|
|
1814
2010
|
var result;
|
|
1815
2011
|
if (O !== null) {
|
|
@@ -1819,30 +2015,33 @@ module.exports = Object.create || function create(O, Properties) {
|
|
|
1819
2015
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1820
2016
|
result[IE_PROTO] = O;
|
|
1821
2017
|
} else result = NullProtoObject();
|
|
1822
|
-
return Properties === undefined ? result :
|
|
2018
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1823
2019
|
};
|
|
1824
2020
|
|
|
1825
2021
|
|
|
1826
2022
|
/***/ }),
|
|
1827
2023
|
|
|
1828
2024
|
/***/ 6048:
|
|
1829
|
-
/***/ (function(
|
|
2025
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1830
2026
|
|
|
1831
2027
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
2028
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3353);
|
|
1832
2029
|
var definePropertyModule = __webpack_require__(3070);
|
|
1833
2030
|
var anObject = __webpack_require__(9670);
|
|
2031
|
+
var toIndexedObject = __webpack_require__(5656);
|
|
1834
2032
|
var objectKeys = __webpack_require__(1956);
|
|
1835
2033
|
|
|
1836
2034
|
// `Object.defineProperties` method
|
|
1837
2035
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1838
2036
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1839
|
-
|
|
2037
|
+
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1840
2038
|
anObject(O);
|
|
2039
|
+
var props = toIndexedObject(Properties);
|
|
1841
2040
|
var keys = objectKeys(Properties);
|
|
1842
2041
|
var length = keys.length;
|
|
1843
2042
|
var index = 0;
|
|
1844
2043
|
var key;
|
|
1845
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++],
|
|
2044
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1846
2045
|
return O;
|
|
1847
2046
|
};
|
|
1848
2047
|
|
|
@@ -1854,22 +2053,44 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
1854
2053
|
|
|
1855
2054
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
1856
2055
|
var IE8_DOM_DEFINE = __webpack_require__(4664);
|
|
2056
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3353);
|
|
1857
2057
|
var anObject = __webpack_require__(9670);
|
|
1858
|
-
var
|
|
2058
|
+
var toPropertyKey = __webpack_require__(4948);
|
|
1859
2059
|
|
|
2060
|
+
var $TypeError = TypeError;
|
|
1860
2061
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1861
2062
|
var $defineProperty = Object.defineProperty;
|
|
2063
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2064
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2065
|
+
var ENUMERABLE = 'enumerable';
|
|
2066
|
+
var CONFIGURABLE = 'configurable';
|
|
2067
|
+
var WRITABLE = 'writable';
|
|
1862
2068
|
|
|
1863
2069
|
// `Object.defineProperty` method
|
|
1864
2070
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1865
|
-
exports.f = DESCRIPTORS ?
|
|
2071
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
2072
|
+
anObject(O);
|
|
2073
|
+
P = toPropertyKey(P);
|
|
2074
|
+
anObject(Attributes);
|
|
2075
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
2076
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
2077
|
+
if (current && current[WRITABLE]) {
|
|
2078
|
+
O[P] = Attributes.value;
|
|
2079
|
+
Attributes = {
|
|
2080
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
2081
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
2082
|
+
writable: false
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
} return $defineProperty(O, P, Attributes);
|
|
2086
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
1866
2087
|
anObject(O);
|
|
1867
|
-
P =
|
|
2088
|
+
P = toPropertyKey(P);
|
|
1868
2089
|
anObject(Attributes);
|
|
1869
2090
|
if (IE8_DOM_DEFINE) try {
|
|
1870
2091
|
return $defineProperty(O, P, Attributes);
|
|
1871
2092
|
} catch (error) { /* empty */ }
|
|
1872
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
2093
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
1873
2094
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1874
2095
|
return O;
|
|
1875
2096
|
};
|
|
@@ -1881,11 +2102,12 @@ exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attrib
|
|
|
1881
2102
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1882
2103
|
|
|
1883
2104
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
2105
|
+
var call = __webpack_require__(6916);
|
|
1884
2106
|
var propertyIsEnumerableModule = __webpack_require__(5296);
|
|
1885
2107
|
var createPropertyDescriptor = __webpack_require__(9114);
|
|
1886
2108
|
var toIndexedObject = __webpack_require__(5656);
|
|
1887
|
-
var
|
|
1888
|
-
var
|
|
2109
|
+
var toPropertyKey = __webpack_require__(4948);
|
|
2110
|
+
var hasOwn = __webpack_require__(2597);
|
|
1889
2111
|
var IE8_DOM_DEFINE = __webpack_require__(4664);
|
|
1890
2112
|
|
|
1891
2113
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1895,11 +2117,11 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
1895
2117
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1896
2118
|
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
1897
2119
|
O = toIndexedObject(O);
|
|
1898
|
-
P =
|
|
2120
|
+
P = toPropertyKey(P);
|
|
1899
2121
|
if (IE8_DOM_DEFINE) try {
|
|
1900
2122
|
return $getOwnPropertyDescriptor(O, P);
|
|
1901
2123
|
} catch (error) { /* empty */ }
|
|
1902
|
-
if (
|
|
2124
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
1903
2125
|
};
|
|
1904
2126
|
|
|
1905
2127
|
|
|
@@ -1930,25 +2152,38 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
1930
2152
|
exports.f = Object.getOwnPropertySymbols;
|
|
1931
2153
|
|
|
1932
2154
|
|
|
2155
|
+
/***/ }),
|
|
2156
|
+
|
|
2157
|
+
/***/ 7976:
|
|
2158
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2159
|
+
|
|
2160
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2161
|
+
|
|
2162
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
2163
|
+
|
|
2164
|
+
|
|
1933
2165
|
/***/ }),
|
|
1934
2166
|
|
|
1935
2167
|
/***/ 6324:
|
|
1936
2168
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1937
2169
|
|
|
1938
|
-
var
|
|
2170
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2171
|
+
var hasOwn = __webpack_require__(2597);
|
|
1939
2172
|
var toIndexedObject = __webpack_require__(5656);
|
|
1940
|
-
var indexOf = __webpack_require__(1318).indexOf;
|
|
2173
|
+
var indexOf = (__webpack_require__(1318).indexOf);
|
|
1941
2174
|
var hiddenKeys = __webpack_require__(3501);
|
|
1942
2175
|
|
|
2176
|
+
var push = uncurryThis([].push);
|
|
2177
|
+
|
|
1943
2178
|
module.exports = function (object, names) {
|
|
1944
2179
|
var O = toIndexedObject(object);
|
|
1945
2180
|
var i = 0;
|
|
1946
2181
|
var result = [];
|
|
1947
2182
|
var key;
|
|
1948
|
-
for (key in O) !
|
|
2183
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
1949
2184
|
// Don't enum bug & hidden keys
|
|
1950
|
-
while (names.length > i) if (
|
|
1951
|
-
~indexOf(result, key) ||
|
|
2185
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
2186
|
+
~indexOf(result, key) || push(result, key);
|
|
1952
2187
|
}
|
|
1953
2188
|
return result;
|
|
1954
2189
|
};
|
|
@@ -1998,6 +2233,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
1998
2233
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1999
2234
|
|
|
2000
2235
|
/* eslint-disable no-proto -- safe */
|
|
2236
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2001
2237
|
var anObject = __webpack_require__(9670);
|
|
2002
2238
|
var aPossiblePrototype = __webpack_require__(6077);
|
|
2003
2239
|
|
|
@@ -2011,14 +2247,14 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
2011
2247
|
var setter;
|
|
2012
2248
|
try {
|
|
2013
2249
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2014
|
-
setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
|
|
2015
|
-
setter
|
|
2250
|
+
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
2251
|
+
setter(test, []);
|
|
2016
2252
|
CORRECT_SETTER = test instanceof Array;
|
|
2017
2253
|
} catch (error) { /* empty */ }
|
|
2018
2254
|
return function setPrototypeOf(O, proto) {
|
|
2019
2255
|
anObject(O);
|
|
2020
2256
|
aPossiblePrototype(proto);
|
|
2021
|
-
if (CORRECT_SETTER) setter
|
|
2257
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
2022
2258
|
else O.__proto__ = proto;
|
|
2023
2259
|
return O;
|
|
2024
2260
|
};
|
|
@@ -2042,110 +2278,76 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
|
|
2042
2278
|
};
|
|
2043
2279
|
|
|
2044
2280
|
|
|
2281
|
+
/***/ }),
|
|
2282
|
+
|
|
2283
|
+
/***/ 2140:
|
|
2284
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2285
|
+
|
|
2286
|
+
var call = __webpack_require__(6916);
|
|
2287
|
+
var isCallable = __webpack_require__(614);
|
|
2288
|
+
var isObject = __webpack_require__(111);
|
|
2289
|
+
|
|
2290
|
+
var $TypeError = TypeError;
|
|
2291
|
+
|
|
2292
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
2293
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
2294
|
+
module.exports = function (input, pref) {
|
|
2295
|
+
var fn, val;
|
|
2296
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
2297
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
2298
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
2299
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
2300
|
+
};
|
|
2301
|
+
|
|
2302
|
+
|
|
2045
2303
|
/***/ }),
|
|
2046
2304
|
|
|
2047
2305
|
/***/ 3887:
|
|
2048
2306
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2049
2307
|
|
|
2050
2308
|
var getBuiltIn = __webpack_require__(5005);
|
|
2309
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2051
2310
|
var getOwnPropertyNamesModule = __webpack_require__(8006);
|
|
2052
2311
|
var getOwnPropertySymbolsModule = __webpack_require__(5181);
|
|
2053
2312
|
var anObject = __webpack_require__(9670);
|
|
2054
2313
|
|
|
2314
|
+
var concat = uncurryThis([].concat);
|
|
2315
|
+
|
|
2055
2316
|
// all object keys, includes non-enumerable and symbols
|
|
2056
2317
|
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
2057
2318
|
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
2058
2319
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
2059
|
-
return getOwnPropertySymbols ?
|
|
2320
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
2060
2321
|
};
|
|
2061
2322
|
|
|
2062
2323
|
|
|
2063
|
-
/***/ }),
|
|
2064
|
-
|
|
2065
|
-
/***/ 857:
|
|
2066
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2067
|
-
|
|
2068
|
-
var global = __webpack_require__(7854);
|
|
2069
|
-
|
|
2070
|
-
module.exports = global;
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
/***/ }),
|
|
2074
|
-
|
|
2075
|
-
/***/ 1320:
|
|
2076
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2077
|
-
|
|
2078
|
-
var global = __webpack_require__(7854);
|
|
2079
|
-
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
2080
|
-
var has = __webpack_require__(6656);
|
|
2081
|
-
var setGlobal = __webpack_require__(3505);
|
|
2082
|
-
var inspectSource = __webpack_require__(2788);
|
|
2083
|
-
var InternalStateModule = __webpack_require__(9909);
|
|
2084
|
-
|
|
2085
|
-
var getInternalState = InternalStateModule.get;
|
|
2086
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
2087
|
-
var TEMPLATE = String(String).split('String');
|
|
2088
|
-
|
|
2089
|
-
(module.exports = function (O, key, value, options) {
|
|
2090
|
-
var unsafe = options ? !!options.unsafe : false;
|
|
2091
|
-
var simple = options ? !!options.enumerable : false;
|
|
2092
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
2093
|
-
var state;
|
|
2094
|
-
if (typeof value == 'function') {
|
|
2095
|
-
if (typeof key == 'string' && !has(value, 'name')) {
|
|
2096
|
-
createNonEnumerableProperty(value, 'name', key);
|
|
2097
|
-
}
|
|
2098
|
-
state = enforceInternalState(value);
|
|
2099
|
-
if (!state.source) {
|
|
2100
|
-
state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
if (O === global) {
|
|
2104
|
-
if (simple) O[key] = value;
|
|
2105
|
-
else setGlobal(key, value);
|
|
2106
|
-
return;
|
|
2107
|
-
} else if (!unsafe) {
|
|
2108
|
-
delete O[key];
|
|
2109
|
-
} else if (!noTargetGet && O[key]) {
|
|
2110
|
-
simple = true;
|
|
2111
|
-
}
|
|
2112
|
-
if (simple) O[key] = value;
|
|
2113
|
-
else createNonEnumerableProperty(O, key, value);
|
|
2114
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
2115
|
-
})(Function.prototype, 'toString', function toString() {
|
|
2116
|
-
return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
|
|
2117
|
-
});
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
2324
|
/***/ }),
|
|
2121
2325
|
|
|
2122
2326
|
/***/ 7651:
|
|
2123
2327
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2124
2328
|
|
|
2329
|
+
var call = __webpack_require__(6916);
|
|
2330
|
+
var anObject = __webpack_require__(9670);
|
|
2331
|
+
var isCallable = __webpack_require__(614);
|
|
2125
2332
|
var classof = __webpack_require__(4326);
|
|
2126
2333
|
var regexpExec = __webpack_require__(2261);
|
|
2127
2334
|
|
|
2335
|
+
var $TypeError = TypeError;
|
|
2336
|
+
|
|
2128
2337
|
// `RegExpExec` abstract operation
|
|
2129
2338
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
2130
2339
|
module.exports = function (R, S) {
|
|
2131
2340
|
var exec = R.exec;
|
|
2132
|
-
if (
|
|
2133
|
-
var result =
|
|
2134
|
-
if (
|
|
2135
|
-
throw TypeError('RegExp exec method returned something other than an Object or null');
|
|
2136
|
-
}
|
|
2341
|
+
if (isCallable(exec)) {
|
|
2342
|
+
var result = call(exec, R, S);
|
|
2343
|
+
if (result !== null) anObject(result);
|
|
2137
2344
|
return result;
|
|
2138
2345
|
}
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
throw TypeError('RegExp#exec called on incompatible receiver');
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
return regexpExec.call(R, S);
|
|
2346
|
+
if (classof(R) === 'RegExp') return call(regexpExec, R, S);
|
|
2347
|
+
throw $TypeError('RegExp#exec called on incompatible receiver');
|
|
2145
2348
|
};
|
|
2146
2349
|
|
|
2147
2350
|
|
|
2148
|
-
|
|
2149
2351
|
/***/ }),
|
|
2150
2352
|
|
|
2151
2353
|
/***/ 2261:
|
|
@@ -2153,51 +2355,73 @@ module.exports = function (R, S) {
|
|
|
2153
2355
|
|
|
2154
2356
|
"use strict";
|
|
2155
2357
|
|
|
2156
|
-
/* eslint-disable regexp/no-
|
|
2358
|
+
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
2157
2359
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
2360
|
+
var call = __webpack_require__(6916);
|
|
2361
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2362
|
+
var toString = __webpack_require__(1340);
|
|
2158
2363
|
var regexpFlags = __webpack_require__(7066);
|
|
2159
2364
|
var stickyHelpers = __webpack_require__(2999);
|
|
2160
2365
|
var shared = __webpack_require__(2309);
|
|
2366
|
+
var create = __webpack_require__(30);
|
|
2367
|
+
var getInternalState = (__webpack_require__(9909).get);
|
|
2368
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__(9441);
|
|
2369
|
+
var UNSUPPORTED_NCG = __webpack_require__(7168);
|
|
2161
2370
|
|
|
2162
|
-
var nativeExec = RegExp.prototype.exec;
|
|
2163
2371
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
2164
|
-
|
|
2372
|
+
var nativeExec = RegExp.prototype.exec;
|
|
2165
2373
|
var patchedExec = nativeExec;
|
|
2374
|
+
var charAt = uncurryThis(''.charAt);
|
|
2375
|
+
var indexOf = uncurryThis(''.indexOf);
|
|
2376
|
+
var replace = uncurryThis(''.replace);
|
|
2377
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2166
2378
|
|
|
2167
2379
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
2168
2380
|
var re1 = /a/;
|
|
2169
2381
|
var re2 = /b*/g;
|
|
2170
|
-
|
|
2171
|
-
|
|
2382
|
+
call(nativeExec, re1, 'a');
|
|
2383
|
+
call(nativeExec, re2, 'a');
|
|
2172
2384
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
2173
2385
|
})();
|
|
2174
2386
|
|
|
2175
|
-
var UNSUPPORTED_Y = stickyHelpers.
|
|
2387
|
+
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
2176
2388
|
|
|
2177
2389
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
2178
2390
|
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
2179
2391
|
|
|
2180
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
|
|
2392
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
2181
2393
|
|
|
2182
2394
|
if (PATCH) {
|
|
2183
|
-
patchedExec = function exec(
|
|
2395
|
+
patchedExec = function exec(string) {
|
|
2184
2396
|
var re = this;
|
|
2185
|
-
var
|
|
2397
|
+
var state = getInternalState(re);
|
|
2398
|
+
var str = toString(string);
|
|
2399
|
+
var raw = state.raw;
|
|
2400
|
+
var result, reCopy, lastIndex, match, i, object, group;
|
|
2401
|
+
|
|
2402
|
+
if (raw) {
|
|
2403
|
+
raw.lastIndex = re.lastIndex;
|
|
2404
|
+
result = call(patchedExec, raw, str);
|
|
2405
|
+
re.lastIndex = raw.lastIndex;
|
|
2406
|
+
return result;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
var groups = state.groups;
|
|
2186
2410
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
2187
|
-
var flags =
|
|
2411
|
+
var flags = call(regexpFlags, re);
|
|
2188
2412
|
var source = re.source;
|
|
2189
2413
|
var charsAdded = 0;
|
|
2190
2414
|
var strCopy = str;
|
|
2191
2415
|
|
|
2192
2416
|
if (sticky) {
|
|
2193
|
-
flags =
|
|
2194
|
-
if (
|
|
2417
|
+
flags = replace(flags, 'y', '');
|
|
2418
|
+
if (indexOf(flags, 'g') === -1) {
|
|
2195
2419
|
flags += 'g';
|
|
2196
2420
|
}
|
|
2197
2421
|
|
|
2198
|
-
strCopy =
|
|
2422
|
+
strCopy = stringSlice(str, re.lastIndex);
|
|
2199
2423
|
// Support anchored sticky behavior.
|
|
2200
|
-
if (re.lastIndex > 0 && (!re.multiline || re.multiline && str
|
|
2424
|
+
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
|
|
2201
2425
|
source = '(?: ' + source + ')';
|
|
2202
2426
|
strCopy = ' ' + strCopy;
|
|
2203
2427
|
charsAdded++;
|
|
@@ -2212,12 +2436,12 @@ if (PATCH) {
|
|
|
2212
2436
|
}
|
|
2213
2437
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
2214
2438
|
|
|
2215
|
-
match =
|
|
2439
|
+
match = call(nativeExec, sticky ? reCopy : re, strCopy);
|
|
2216
2440
|
|
|
2217
2441
|
if (sticky) {
|
|
2218
2442
|
if (match) {
|
|
2219
|
-
match.input = match.input
|
|
2220
|
-
match[0] = match[0]
|
|
2443
|
+
match.input = stringSlice(match.input, charsAdded);
|
|
2444
|
+
match[0] = stringSlice(match[0], charsAdded);
|
|
2221
2445
|
match.index = re.lastIndex;
|
|
2222
2446
|
re.lastIndex += match[0].length;
|
|
2223
2447
|
} else re.lastIndex = 0;
|
|
@@ -2226,14 +2450,22 @@ if (PATCH) {
|
|
|
2226
2450
|
}
|
|
2227
2451
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
2228
2452
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
2229
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
2230
|
-
|
|
2453
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
2454
|
+
call(nativeReplace, match[0], reCopy, function () {
|
|
2231
2455
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
2232
2456
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
2233
2457
|
}
|
|
2234
2458
|
});
|
|
2235
2459
|
}
|
|
2236
2460
|
|
|
2461
|
+
if (match && groups) {
|
|
2462
|
+
match.groups = object = create(null);
|
|
2463
|
+
for (i = 0; i < groups.length; i++) {
|
|
2464
|
+
group = groups[i];
|
|
2465
|
+
object[group[0]] = match[group[1]];
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2237
2469
|
return match;
|
|
2238
2470
|
};
|
|
2239
2471
|
}
|
|
@@ -2255,11 +2487,13 @@ var anObject = __webpack_require__(9670);
|
|
|
2255
2487
|
module.exports = function () {
|
|
2256
2488
|
var that = anObject(this);
|
|
2257
2489
|
var result = '';
|
|
2490
|
+
if (that.hasIndices) result += 'd';
|
|
2258
2491
|
if (that.global) result += 'g';
|
|
2259
2492
|
if (that.ignoreCase) result += 'i';
|
|
2260
2493
|
if (that.multiline) result += 'm';
|
|
2261
2494
|
if (that.dotAll) result += 's';
|
|
2262
2495
|
if (that.unicode) result += 'u';
|
|
2496
|
+
if (that.unicodeSets) result += 'v';
|
|
2263
2497
|
if (that.sticky) result += 'y';
|
|
2264
2498
|
return result;
|
|
2265
2499
|
};
|
|
@@ -2268,61 +2502,89 @@ module.exports = function () {
|
|
|
2268
2502
|
/***/ }),
|
|
2269
2503
|
|
|
2270
2504
|
/***/ 2999:
|
|
2271
|
-
/***/ (function(
|
|
2272
|
-
|
|
2273
|
-
"use strict";
|
|
2274
|
-
|
|
2505
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2275
2506
|
|
|
2276
2507
|
var fails = __webpack_require__(7293);
|
|
2508
|
+
var global = __webpack_require__(7854);
|
|
2277
2509
|
|
|
2278
|
-
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2279
|
-
|
|
2280
|
-
function RE(s, f) {
|
|
2281
|
-
return RegExp(s, f);
|
|
2282
|
-
}
|
|
2510
|
+
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2511
|
+
var $RegExp = global.RegExp;
|
|
2283
2512
|
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
var re = RE('a', 'y');
|
|
2513
|
+
var UNSUPPORTED_Y = fails(function () {
|
|
2514
|
+
var re = $RegExp('a', 'y');
|
|
2287
2515
|
re.lastIndex = 2;
|
|
2288
2516
|
return re.exec('abcd') != null;
|
|
2289
2517
|
});
|
|
2290
2518
|
|
|
2291
|
-
|
|
2519
|
+
// UC Browser bug
|
|
2520
|
+
// https://github.com/zloirock/core-js/issues/1008
|
|
2521
|
+
var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
|
|
2522
|
+
return !$RegExp('a', 'y').sticky;
|
|
2523
|
+
});
|
|
2524
|
+
|
|
2525
|
+
var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
2292
2526
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
2293
|
-
var re =
|
|
2527
|
+
var re = $RegExp('^r', 'gy');
|
|
2294
2528
|
re.lastIndex = 2;
|
|
2295
2529
|
return re.exec('str') != null;
|
|
2296
2530
|
});
|
|
2297
2531
|
|
|
2532
|
+
module.exports = {
|
|
2533
|
+
BROKEN_CARET: BROKEN_CARET,
|
|
2534
|
+
MISSED_STICKY: MISSED_STICKY,
|
|
2535
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y
|
|
2536
|
+
};
|
|
2537
|
+
|
|
2298
2538
|
|
|
2299
2539
|
/***/ }),
|
|
2300
2540
|
|
|
2301
|
-
/***/
|
|
2302
|
-
/***/ (function(module) {
|
|
2541
|
+
/***/ 9441:
|
|
2542
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2303
2543
|
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2544
|
+
var fails = __webpack_require__(7293);
|
|
2545
|
+
var global = __webpack_require__(7854);
|
|
2546
|
+
|
|
2547
|
+
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
2548
|
+
var $RegExp = global.RegExp;
|
|
2549
|
+
|
|
2550
|
+
module.exports = fails(function () {
|
|
2551
|
+
var re = $RegExp('.', 's');
|
|
2552
|
+
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
2553
|
+
});
|
|
2310
2554
|
|
|
2311
2555
|
|
|
2312
2556
|
/***/ }),
|
|
2313
2557
|
|
|
2314
|
-
/***/
|
|
2558
|
+
/***/ 7168:
|
|
2315
2559
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2316
2560
|
|
|
2561
|
+
var fails = __webpack_require__(7293);
|
|
2317
2562
|
var global = __webpack_require__(7854);
|
|
2318
|
-
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
2319
2563
|
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2564
|
+
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
2565
|
+
var $RegExp = global.RegExp;
|
|
2566
|
+
|
|
2567
|
+
module.exports = fails(function () {
|
|
2568
|
+
var re = $RegExp('(?<a>b)', 'g');
|
|
2569
|
+
return re.exec('b').groups.a !== 'b' ||
|
|
2570
|
+
'b'.replace(re, '$<a>c') !== 'bc';
|
|
2571
|
+
});
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
/***/ }),
|
|
2575
|
+
|
|
2576
|
+
/***/ 4488:
|
|
2577
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2578
|
+
|
|
2579
|
+
var isNullOrUndefined = __webpack_require__(8554);
|
|
2580
|
+
|
|
2581
|
+
var $TypeError = TypeError;
|
|
2582
|
+
|
|
2583
|
+
// `RequireObjectCoercible` abstract operation
|
|
2584
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2585
|
+
module.exports = function (it) {
|
|
2586
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
2587
|
+
return it;
|
|
2326
2588
|
};
|
|
2327
2589
|
|
|
2328
2590
|
|
|
@@ -2347,10 +2609,10 @@ module.exports = function (key) {
|
|
|
2347
2609
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2348
2610
|
|
|
2349
2611
|
var global = __webpack_require__(7854);
|
|
2350
|
-
var
|
|
2612
|
+
var defineGlobalProperty = __webpack_require__(3072);
|
|
2351
2613
|
|
|
2352
2614
|
var SHARED = '__core-js_shared__';
|
|
2353
|
-
var store = global[SHARED] ||
|
|
2615
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2354
2616
|
|
|
2355
2617
|
module.exports = store;
|
|
2356
2618
|
|
|
@@ -2366,9 +2628,11 @@ var store = __webpack_require__(5465);
|
|
|
2366
2628
|
(module.exports = function (key, value) {
|
|
2367
2629
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
2368
2630
|
})('versions', []).push({
|
|
2369
|
-
version: '3.
|
|
2631
|
+
version: '3.26.1',
|
|
2370
2632
|
mode: IS_PURE ? 'pure' : 'global',
|
|
2371
|
-
copyright: '©
|
|
2633
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
2634
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
|
|
2635
|
+
source: 'https://github.com/zloirock/core-js'
|
|
2372
2636
|
});
|
|
2373
2637
|
|
|
2374
2638
|
|
|
@@ -2377,22 +2641,31 @@ var store = __webpack_require__(5465);
|
|
|
2377
2641
|
/***/ 8710:
|
|
2378
2642
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2379
2643
|
|
|
2380
|
-
var
|
|
2644
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2645
|
+
var toIntegerOrInfinity = __webpack_require__(9303);
|
|
2646
|
+
var toString = __webpack_require__(1340);
|
|
2381
2647
|
var requireObjectCoercible = __webpack_require__(4488);
|
|
2382
2648
|
|
|
2383
|
-
|
|
2649
|
+
var charAt = uncurryThis(''.charAt);
|
|
2650
|
+
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
2651
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2652
|
+
|
|
2384
2653
|
var createMethod = function (CONVERT_TO_STRING) {
|
|
2385
2654
|
return function ($this, pos) {
|
|
2386
|
-
var S =
|
|
2387
|
-
var position =
|
|
2655
|
+
var S = toString(requireObjectCoercible($this));
|
|
2656
|
+
var position = toIntegerOrInfinity(pos);
|
|
2388
2657
|
var size = S.length;
|
|
2389
2658
|
var first, second;
|
|
2390
2659
|
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
2391
|
-
first =
|
|
2660
|
+
first = charCodeAt(S, position);
|
|
2392
2661
|
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
2393
|
-
|| (second =
|
|
2394
|
-
? CONVERT_TO_STRING
|
|
2395
|
-
|
|
2662
|
+
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
2663
|
+
? CONVERT_TO_STRING
|
|
2664
|
+
? charAt(S, position)
|
|
2665
|
+
: first
|
|
2666
|
+
: CONVERT_TO_STRING
|
|
2667
|
+
? stringSlice(S, position, position + 2)
|
|
2668
|
+
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
2396
2669
|
};
|
|
2397
2670
|
};
|
|
2398
2671
|
|
|
@@ -2411,9 +2684,12 @@ module.exports = {
|
|
|
2411
2684
|
/***/ 3111:
|
|
2412
2685
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2413
2686
|
|
|
2687
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2414
2688
|
var requireObjectCoercible = __webpack_require__(4488);
|
|
2689
|
+
var toString = __webpack_require__(1340);
|
|
2415
2690
|
var whitespaces = __webpack_require__(1361);
|
|
2416
2691
|
|
|
2692
|
+
var replace = uncurryThis(''.replace);
|
|
2417
2693
|
var whitespace = '[' + whitespaces + ']';
|
|
2418
2694
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
2419
2695
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
@@ -2421,9 +2697,9 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
|
2421
2697
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
2422
2698
|
var createMethod = function (TYPE) {
|
|
2423
2699
|
return function ($this) {
|
|
2424
|
-
var string =
|
|
2425
|
-
if (TYPE & 1) string =
|
|
2426
|
-
if (TYPE & 2) string =
|
|
2700
|
+
var string = toString(requireObjectCoercible($this));
|
|
2701
|
+
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
2702
|
+
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
2427
2703
|
return string;
|
|
2428
2704
|
};
|
|
2429
2705
|
};
|
|
@@ -2441,12 +2717,44 @@ module.exports = {
|
|
|
2441
2717
|
};
|
|
2442
2718
|
|
|
2443
2719
|
|
|
2720
|
+
/***/ }),
|
|
2721
|
+
|
|
2722
|
+
/***/ 6293:
|
|
2723
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2724
|
+
|
|
2725
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
2726
|
+
var V8_VERSION = __webpack_require__(7392);
|
|
2727
|
+
var fails = __webpack_require__(7293);
|
|
2728
|
+
|
|
2729
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
2730
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
2731
|
+
var symbol = Symbol();
|
|
2732
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
2733
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
2734
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
2735
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
2736
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
2737
|
+
});
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
/***/ }),
|
|
2741
|
+
|
|
2742
|
+
/***/ 863:
|
|
2743
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2744
|
+
|
|
2745
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2746
|
+
|
|
2747
|
+
// `thisNumberValue` abstract operation
|
|
2748
|
+
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
2749
|
+
module.exports = uncurryThis(1.0.valueOf);
|
|
2750
|
+
|
|
2751
|
+
|
|
2444
2752
|
/***/ }),
|
|
2445
2753
|
|
|
2446
2754
|
/***/ 1400:
|
|
2447
2755
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2448
2756
|
|
|
2449
|
-
var
|
|
2757
|
+
var toIntegerOrInfinity = __webpack_require__(9303);
|
|
2450
2758
|
|
|
2451
2759
|
var max = Math.max;
|
|
2452
2760
|
var min = Math.min;
|
|
@@ -2455,7 +2763,7 @@ var min = Math.min;
|
|
|
2455
2763
|
// Let integer be ? ToInteger(index).
|
|
2456
2764
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
2457
2765
|
module.exports = function (index, length) {
|
|
2458
|
-
var integer =
|
|
2766
|
+
var integer = toIntegerOrInfinity(index);
|
|
2459
2767
|
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
2460
2768
|
};
|
|
2461
2769
|
|
|
@@ -2476,16 +2784,17 @@ module.exports = function (it) {
|
|
|
2476
2784
|
|
|
2477
2785
|
/***/ }),
|
|
2478
2786
|
|
|
2479
|
-
/***/
|
|
2480
|
-
/***/ (function(module) {
|
|
2787
|
+
/***/ 9303:
|
|
2788
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2481
2789
|
|
|
2482
|
-
var
|
|
2483
|
-
var floor = Math.floor;
|
|
2790
|
+
var trunc = __webpack_require__(4758);
|
|
2484
2791
|
|
|
2485
|
-
// `
|
|
2486
|
-
// https://tc39.es/ecma262/#sec-
|
|
2792
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
2793
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
2487
2794
|
module.exports = function (argument) {
|
|
2488
|
-
|
|
2795
|
+
var number = +argument;
|
|
2796
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2797
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
2489
2798
|
};
|
|
2490
2799
|
|
|
2491
2800
|
|
|
@@ -2494,14 +2803,14 @@ module.exports = function (argument) {
|
|
|
2494
2803
|
/***/ 7466:
|
|
2495
2804
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2496
2805
|
|
|
2497
|
-
var
|
|
2806
|
+
var toIntegerOrInfinity = __webpack_require__(9303);
|
|
2498
2807
|
|
|
2499
2808
|
var min = Math.min;
|
|
2500
2809
|
|
|
2501
2810
|
// `ToLength` abstract operation
|
|
2502
2811
|
// https://tc39.es/ecma262/#sec-tolength
|
|
2503
2812
|
module.exports = function (argument) {
|
|
2504
|
-
return argument > 0 ? min(
|
|
2813
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
2505
2814
|
};
|
|
2506
2815
|
|
|
2507
2816
|
|
|
@@ -2512,10 +2821,12 @@ module.exports = function (argument) {
|
|
|
2512
2821
|
|
|
2513
2822
|
var requireObjectCoercible = __webpack_require__(4488);
|
|
2514
2823
|
|
|
2824
|
+
var $Object = Object;
|
|
2825
|
+
|
|
2515
2826
|
// `ToObject` abstract operation
|
|
2516
2827
|
// https://tc39.es/ecma262/#sec-toobject
|
|
2517
2828
|
module.exports = function (argument) {
|
|
2518
|
-
return Object(requireObjectCoercible(argument));
|
|
2829
|
+
return $Object(requireObjectCoercible(argument));
|
|
2519
2830
|
};
|
|
2520
2831
|
|
|
2521
2832
|
|
|
@@ -2524,19 +2835,46 @@ module.exports = function (argument) {
|
|
|
2524
2835
|
/***/ 7593:
|
|
2525
2836
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2526
2837
|
|
|
2838
|
+
var call = __webpack_require__(6916);
|
|
2527
2839
|
var isObject = __webpack_require__(111);
|
|
2840
|
+
var isSymbol = __webpack_require__(2190);
|
|
2841
|
+
var getMethod = __webpack_require__(8173);
|
|
2842
|
+
var ordinaryToPrimitive = __webpack_require__(2140);
|
|
2843
|
+
var wellKnownSymbol = __webpack_require__(5112);
|
|
2844
|
+
|
|
2845
|
+
var $TypeError = TypeError;
|
|
2846
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
2528
2847
|
|
|
2529
2848
|
// `ToPrimitive` abstract operation
|
|
2530
2849
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2850
|
+
module.exports = function (input, pref) {
|
|
2851
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
|
2852
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2853
|
+
var result;
|
|
2854
|
+
if (exoticToPrim) {
|
|
2855
|
+
if (pref === undefined) pref = 'default';
|
|
2856
|
+
result = call(exoticToPrim, input, pref);
|
|
2857
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
|
2858
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
2859
|
+
}
|
|
2860
|
+
if (pref === undefined) pref = 'number';
|
|
2861
|
+
return ordinaryToPrimitive(input, pref);
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/***/ }),
|
|
2866
|
+
|
|
2867
|
+
/***/ 4948:
|
|
2868
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2869
|
+
|
|
2870
|
+
var toPrimitive = __webpack_require__(7593);
|
|
2871
|
+
var isSymbol = __webpack_require__(2190);
|
|
2872
|
+
|
|
2873
|
+
// `ToPropertyKey` abstract operation
|
|
2874
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
2875
|
+
module.exports = function (argument) {
|
|
2876
|
+
var key = toPrimitive(argument, 'string');
|
|
2877
|
+
return isSymbol(key) ? key : key + '';
|
|
2540
2878
|
};
|
|
2541
2879
|
|
|
2542
2880
|
|
|
@@ -2557,14 +2895,48 @@ module.exports = String(test) === '[object z]';
|
|
|
2557
2895
|
|
|
2558
2896
|
/***/ }),
|
|
2559
2897
|
|
|
2560
|
-
/***/
|
|
2898
|
+
/***/ 1340:
|
|
2899
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2900
|
+
|
|
2901
|
+
var classof = __webpack_require__(648);
|
|
2902
|
+
|
|
2903
|
+
var $String = String;
|
|
2904
|
+
|
|
2905
|
+
module.exports = function (argument) {
|
|
2906
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2907
|
+
return $String(argument);
|
|
2908
|
+
};
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
/***/ }),
|
|
2912
|
+
|
|
2913
|
+
/***/ 6330:
|
|
2561
2914
|
/***/ (function(module) {
|
|
2562
2915
|
|
|
2916
|
+
var $String = String;
|
|
2917
|
+
|
|
2918
|
+
module.exports = function (argument) {
|
|
2919
|
+
try {
|
|
2920
|
+
return $String(argument);
|
|
2921
|
+
} catch (error) {
|
|
2922
|
+
return 'Object';
|
|
2923
|
+
}
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
/***/ }),
|
|
2928
|
+
|
|
2929
|
+
/***/ 9711:
|
|
2930
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2931
|
+
|
|
2932
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2933
|
+
|
|
2563
2934
|
var id = 0;
|
|
2564
2935
|
var postfix = Math.random();
|
|
2936
|
+
var toString = uncurryThis(1.0.toString);
|
|
2565
2937
|
|
|
2566
2938
|
module.exports = function (key) {
|
|
2567
|
-
return 'Symbol(' +
|
|
2939
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
2568
2940
|
};
|
|
2569
2941
|
|
|
2570
2942
|
|
|
@@ -2574,13 +2946,45 @@ module.exports = function (key) {
|
|
|
2574
2946
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2575
2947
|
|
|
2576
2948
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
2577
|
-
var NATIVE_SYMBOL = __webpack_require__(
|
|
2949
|
+
var NATIVE_SYMBOL = __webpack_require__(6293);
|
|
2578
2950
|
|
|
2579
2951
|
module.exports = NATIVE_SYMBOL
|
|
2580
2952
|
&& !Symbol.sham
|
|
2581
2953
|
&& typeof Symbol.iterator == 'symbol';
|
|
2582
2954
|
|
|
2583
2955
|
|
|
2956
|
+
/***/ }),
|
|
2957
|
+
|
|
2958
|
+
/***/ 3353:
|
|
2959
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2960
|
+
|
|
2961
|
+
var DESCRIPTORS = __webpack_require__(9781);
|
|
2962
|
+
var fails = __webpack_require__(7293);
|
|
2963
|
+
|
|
2964
|
+
// V8 ~ Chrome 36-
|
|
2965
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2966
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
2967
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2968
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2969
|
+
value: 42,
|
|
2970
|
+
writable: false
|
|
2971
|
+
}).prototype != 42;
|
|
2972
|
+
});
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
/***/ }),
|
|
2976
|
+
|
|
2977
|
+
/***/ 4811:
|
|
2978
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2979
|
+
|
|
2980
|
+
var global = __webpack_require__(7854);
|
|
2981
|
+
var isCallable = __webpack_require__(614);
|
|
2982
|
+
|
|
2983
|
+
var WeakMap = global.WeakMap;
|
|
2984
|
+
|
|
2985
|
+
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
2986
|
+
|
|
2987
|
+
|
|
2584
2988
|
/***/ }),
|
|
2585
2989
|
|
|
2586
2990
|
/***/ 5112:
|
|
@@ -2588,21 +2992,25 @@ module.exports = NATIVE_SYMBOL
|
|
|
2588
2992
|
|
|
2589
2993
|
var global = __webpack_require__(7854);
|
|
2590
2994
|
var shared = __webpack_require__(2309);
|
|
2591
|
-
var
|
|
2995
|
+
var hasOwn = __webpack_require__(2597);
|
|
2592
2996
|
var uid = __webpack_require__(9711);
|
|
2593
|
-
var NATIVE_SYMBOL = __webpack_require__(
|
|
2997
|
+
var NATIVE_SYMBOL = __webpack_require__(6293);
|
|
2594
2998
|
var USE_SYMBOL_AS_UID = __webpack_require__(3307);
|
|
2595
2999
|
|
|
2596
3000
|
var WellKnownSymbolsStore = shared('wks');
|
|
2597
3001
|
var Symbol = global.Symbol;
|
|
3002
|
+
var symbolFor = Symbol && Symbol['for'];
|
|
2598
3003
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
2599
3004
|
|
|
2600
3005
|
module.exports = function (name) {
|
|
2601
|
-
if (!
|
|
2602
|
-
|
|
3006
|
+
if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
3007
|
+
var description = 'Symbol.' + name;
|
|
3008
|
+
if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
|
|
2603
3009
|
WellKnownSymbolsStore[name] = Symbol[name];
|
|
3010
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
3011
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
2604
3012
|
} else {
|
|
2605
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(
|
|
3013
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
2606
3014
|
}
|
|
2607
3015
|
} return WellKnownSymbolsStore[name];
|
|
2608
3016
|
};
|
|
@@ -2630,7 +3038,8 @@ var fails = __webpack_require__(7293);
|
|
|
2630
3038
|
var isArray = __webpack_require__(3157);
|
|
2631
3039
|
var isObject = __webpack_require__(111);
|
|
2632
3040
|
var toObject = __webpack_require__(7908);
|
|
2633
|
-
var
|
|
3041
|
+
var lengthOfArrayLike = __webpack_require__(6244);
|
|
3042
|
+
var doesNotExceedSafeInteger = __webpack_require__(7207);
|
|
2634
3043
|
var createProperty = __webpack_require__(6135);
|
|
2635
3044
|
var arraySpeciesCreate = __webpack_require__(5417);
|
|
2636
3045
|
var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
|
|
@@ -2638,8 +3047,6 @@ var wellKnownSymbol = __webpack_require__(5112);
|
|
|
2638
3047
|
var V8_VERSION = __webpack_require__(7392);
|
|
2639
3048
|
|
|
2640
3049
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
2641
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2642
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2643
3050
|
|
|
2644
3051
|
// We can't use this feature detection in V8 since it causes
|
|
2645
3052
|
// deoptimization and serious performance degradation
|
|
@@ -2663,7 +3070,7 @@ var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
|
2663
3070
|
// `Array.prototype.concat` method
|
|
2664
3071
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2665
3072
|
// with adding support of @@isConcatSpreadable and @@species
|
|
2666
|
-
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
3073
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
2667
3074
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2668
3075
|
concat: function concat(arg) {
|
|
2669
3076
|
var O = toObject(this);
|
|
@@ -2673,11 +3080,11 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
2673
3080
|
for (i = -1, length = arguments.length; i < length; i++) {
|
|
2674
3081
|
E = i === -1 ? O : arguments[i];
|
|
2675
3082
|
if (isConcatSpreadable(E)) {
|
|
2676
|
-
len =
|
|
2677
|
-
|
|
3083
|
+
len = lengthOfArrayLike(E);
|
|
3084
|
+
doesNotExceedSafeInteger(n + len);
|
|
2678
3085
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
2679
3086
|
} else {
|
|
2680
|
-
|
|
3087
|
+
doesNotExceedSafeInteger(n + 1);
|
|
2681
3088
|
createProperty(A, n++, E);
|
|
2682
3089
|
}
|
|
2683
3090
|
}
|
|
@@ -2695,7 +3102,7 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
2695
3102
|
"use strict";
|
|
2696
3103
|
|
|
2697
3104
|
var $ = __webpack_require__(2109);
|
|
2698
|
-
var $filter = __webpack_require__(2092).filter;
|
|
3105
|
+
var $filter = (__webpack_require__(2092).filter);
|
|
2699
3106
|
var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
|
|
2700
3107
|
|
|
2701
3108
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
@@ -2718,12 +3125,18 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
2718
3125
|
"use strict";
|
|
2719
3126
|
|
|
2720
3127
|
var $ = __webpack_require__(2109);
|
|
2721
|
-
var $includes = __webpack_require__(1318).includes;
|
|
3128
|
+
var $includes = (__webpack_require__(1318).includes);
|
|
3129
|
+
var fails = __webpack_require__(7293);
|
|
2722
3130
|
var addToUnscopables = __webpack_require__(1223);
|
|
2723
3131
|
|
|
3132
|
+
// FF99+ bug
|
|
3133
|
+
var BROKEN_ON_SPARSE = fails(function () {
|
|
3134
|
+
return !Array(1).includes();
|
|
3135
|
+
});
|
|
3136
|
+
|
|
2724
3137
|
// `Array.prototype.includes` method
|
|
2725
3138
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2726
|
-
$({ target: 'Array', proto: true }, {
|
|
3139
|
+
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2727
3140
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2728
3141
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2729
3142
|
}
|
|
@@ -2741,7 +3154,7 @@ addToUnscopables('includes');
|
|
|
2741
3154
|
"use strict";
|
|
2742
3155
|
|
|
2743
3156
|
var $ = __webpack_require__(2109);
|
|
2744
|
-
var $reduce = __webpack_require__(3671).left;
|
|
3157
|
+
var $reduce = (__webpack_require__(3671).left);
|
|
2745
3158
|
var arrayMethodIsStrict = __webpack_require__(9341);
|
|
2746
3159
|
var CHROME_VERSION = __webpack_require__(7392);
|
|
2747
3160
|
var IS_NODE = __webpack_require__(5268);
|
|
@@ -2755,7 +3168,8 @@ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
|
2755
3168
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
2756
3169
|
$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
2757
3170
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
2758
|
-
|
|
3171
|
+
var length = arguments.length;
|
|
3172
|
+
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
2759
3173
|
}
|
|
2760
3174
|
});
|
|
2761
3175
|
|
|
@@ -2766,21 +3180,24 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
2766
3180
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
2767
3181
|
|
|
2768
3182
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
2769
|
-
var
|
|
3183
|
+
var FUNCTION_NAME_EXISTS = (__webpack_require__(6530).EXISTS);
|
|
3184
|
+
var uncurryThis = __webpack_require__(1702);
|
|
3185
|
+
var defineProperty = (__webpack_require__(3070).f);
|
|
2770
3186
|
|
|
2771
3187
|
var FunctionPrototype = Function.prototype;
|
|
2772
|
-
var
|
|
2773
|
-
var nameRE =
|
|
3188
|
+
var functionToString = uncurryThis(FunctionPrototype.toString);
|
|
3189
|
+
var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
|
|
3190
|
+
var regExpExec = uncurryThis(nameRE.exec);
|
|
2774
3191
|
var NAME = 'name';
|
|
2775
3192
|
|
|
2776
3193
|
// Function instances `.name` property
|
|
2777
3194
|
// https://tc39.es/ecma262/#sec-function-instances-name
|
|
2778
|
-
if (DESCRIPTORS && !
|
|
3195
|
+
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
2779
3196
|
defineProperty(FunctionPrototype, NAME, {
|
|
2780
3197
|
configurable: true,
|
|
2781
3198
|
get: function () {
|
|
2782
3199
|
try {
|
|
2783
|
-
return
|
|
3200
|
+
return regExpExec(nameRE, functionToString(this))[1];
|
|
2784
3201
|
} catch (error) {
|
|
2785
3202
|
return '';
|
|
2786
3203
|
}
|
|
@@ -2798,47 +3215,57 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
|
|
|
2798
3215
|
|
|
2799
3216
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
2800
3217
|
var global = __webpack_require__(7854);
|
|
3218
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2801
3219
|
var isForced = __webpack_require__(4705);
|
|
2802
|
-
var
|
|
2803
|
-
var
|
|
2804
|
-
var classof = __webpack_require__(4326);
|
|
3220
|
+
var defineBuiltIn = __webpack_require__(8052);
|
|
3221
|
+
var hasOwn = __webpack_require__(2597);
|
|
2805
3222
|
var inheritIfRequired = __webpack_require__(9587);
|
|
3223
|
+
var isPrototypeOf = __webpack_require__(7976);
|
|
3224
|
+
var isSymbol = __webpack_require__(2190);
|
|
2806
3225
|
var toPrimitive = __webpack_require__(7593);
|
|
2807
3226
|
var fails = __webpack_require__(7293);
|
|
2808
|
-
var
|
|
2809
|
-
var
|
|
2810
|
-
var
|
|
2811
|
-
var
|
|
2812
|
-
var trim = __webpack_require__(3111).trim;
|
|
3227
|
+
var getOwnPropertyNames = (__webpack_require__(8006).f);
|
|
3228
|
+
var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
3229
|
+
var defineProperty = (__webpack_require__(3070).f);
|
|
3230
|
+
var thisNumberValue = __webpack_require__(863);
|
|
3231
|
+
var trim = (__webpack_require__(3111).trim);
|
|
2813
3232
|
|
|
2814
3233
|
var NUMBER = 'Number';
|
|
2815
3234
|
var NativeNumber = global[NUMBER];
|
|
2816
3235
|
var NumberPrototype = NativeNumber.prototype;
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
var
|
|
3236
|
+
var TypeError = global.TypeError;
|
|
3237
|
+
var arraySlice = uncurryThis(''.slice);
|
|
3238
|
+
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
3239
|
+
|
|
3240
|
+
// `ToNumeric` abstract operation
|
|
3241
|
+
// https://tc39.es/ecma262/#sec-tonumeric
|
|
3242
|
+
var toNumeric = function (value) {
|
|
3243
|
+
var primValue = toPrimitive(value, 'number');
|
|
3244
|
+
return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
|
|
3245
|
+
};
|
|
2820
3246
|
|
|
2821
3247
|
// `ToNumber` abstract operation
|
|
2822
3248
|
// https://tc39.es/ecma262/#sec-tonumber
|
|
2823
3249
|
var toNumber = function (argument) {
|
|
2824
|
-
var it = toPrimitive(argument,
|
|
3250
|
+
var it = toPrimitive(argument, 'number');
|
|
2825
3251
|
var first, third, radix, maxCode, digits, length, index, code;
|
|
3252
|
+
if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');
|
|
2826
3253
|
if (typeof it == 'string' && it.length > 2) {
|
|
2827
3254
|
it = trim(it);
|
|
2828
|
-
first =
|
|
3255
|
+
first = charCodeAt(it, 0);
|
|
2829
3256
|
if (first === 43 || first === 45) {
|
|
2830
|
-
third =
|
|
3257
|
+
third = charCodeAt(it, 2);
|
|
2831
3258
|
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
2832
3259
|
} else if (first === 48) {
|
|
2833
|
-
switch (
|
|
3260
|
+
switch (charCodeAt(it, 1)) {
|
|
2834
3261
|
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
|
|
2835
3262
|
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
2836
3263
|
default: return +it;
|
|
2837
3264
|
}
|
|
2838
|
-
digits = it
|
|
3265
|
+
digits = arraySlice(it, 2);
|
|
2839
3266
|
length = digits.length;
|
|
2840
3267
|
for (index = 0; index < length; index++) {
|
|
2841
|
-
code =
|
|
3268
|
+
code = charCodeAt(digits, index);
|
|
2842
3269
|
// parseInt parses a string to a first unavailable symbol
|
|
2843
3270
|
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
2844
3271
|
if (code < 48 || code > maxCode) return NaN;
|
|
@@ -2851,29 +3278,27 @@ var toNumber = function (argument) {
|
|
|
2851
3278
|
// https://tc39.es/ecma262/#sec-number-constructor
|
|
2852
3279
|
if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
|
|
2853
3280
|
var NumberWrapper = function Number(value) {
|
|
2854
|
-
var
|
|
3281
|
+
var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
|
|
2855
3282
|
var dummy = this;
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
|
|
3283
|
+
// check on 1..constructor(foo) case
|
|
3284
|
+
return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })
|
|
3285
|
+
? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
|
|
2860
3286
|
};
|
|
2861
3287
|
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
|
|
2862
3288
|
// ES3:
|
|
2863
3289
|
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2864
3290
|
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
2865
|
-
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,
|
|
2866
|
-
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +
|
|
3291
|
+
'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
|
|
2867
3292
|
// ESNext
|
|
2868
3293
|
'fromString,range'
|
|
2869
3294
|
).split(','), j = 0, key; keys.length > j; j++) {
|
|
2870
|
-
if (
|
|
3295
|
+
if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {
|
|
2871
3296
|
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
|
|
2872
3297
|
}
|
|
2873
3298
|
}
|
|
2874
3299
|
NumberWrapper.prototype = NumberPrototype;
|
|
2875
3300
|
NumberPrototype.constructor = NumberWrapper;
|
|
2876
|
-
|
|
3301
|
+
defineBuiltIn(global, NUMBER, NumberWrapper, { constructor: true });
|
|
2877
3302
|
}
|
|
2878
3303
|
|
|
2879
3304
|
|
|
@@ -2888,7 +3313,7 @@ var assign = __webpack_require__(1574);
|
|
|
2888
3313
|
// `Object.assign` method
|
|
2889
3314
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2890
3315
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2891
|
-
$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
3316
|
+
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
2892
3317
|
assign: assign
|
|
2893
3318
|
});
|
|
2894
3319
|
|
|
@@ -2920,13 +3345,13 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
2920
3345
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
2921
3346
|
|
|
2922
3347
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(1694);
|
|
2923
|
-
var
|
|
3348
|
+
var defineBuiltIn = __webpack_require__(8052);
|
|
2924
3349
|
var toString = __webpack_require__(288);
|
|
2925
3350
|
|
|
2926
3351
|
// `Object.prototype.toString` method
|
|
2927
3352
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2928
3353
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
2929
|
-
|
|
3354
|
+
defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
|
|
2930
3355
|
}
|
|
2931
3356
|
|
|
2932
3357
|
|
|
@@ -2955,16 +3380,23 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
2955
3380
|
"use strict";
|
|
2956
3381
|
|
|
2957
3382
|
var $ = __webpack_require__(2109);
|
|
3383
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2958
3384
|
var notARegExp = __webpack_require__(3929);
|
|
2959
3385
|
var requireObjectCoercible = __webpack_require__(4488);
|
|
3386
|
+
var toString = __webpack_require__(1340);
|
|
2960
3387
|
var correctIsRegExpLogic = __webpack_require__(4964);
|
|
2961
3388
|
|
|
3389
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
3390
|
+
|
|
2962
3391
|
// `String.prototype.includes` method
|
|
2963
3392
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
2964
3393
|
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
2965
3394
|
includes: function includes(searchString /* , position = 0 */) {
|
|
2966
|
-
return !!~
|
|
2967
|
-
|
|
3395
|
+
return !!~stringIndexOf(
|
|
3396
|
+
toString(requireObjectCoercible(this)),
|
|
3397
|
+
toString(notARegExp(searchString)),
|
|
3398
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
3399
|
+
);
|
|
2968
3400
|
}
|
|
2969
3401
|
});
|
|
2970
3402
|
|
|
@@ -2976,26 +3408,64 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
2976
3408
|
|
|
2977
3409
|
"use strict";
|
|
2978
3410
|
|
|
3411
|
+
var apply = __webpack_require__(2104);
|
|
3412
|
+
var call = __webpack_require__(6916);
|
|
3413
|
+
var uncurryThis = __webpack_require__(1702);
|
|
2979
3414
|
var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007);
|
|
3415
|
+
var fails = __webpack_require__(7293);
|
|
2980
3416
|
var anObject = __webpack_require__(9670);
|
|
3417
|
+
var isCallable = __webpack_require__(614);
|
|
3418
|
+
var isNullOrUndefined = __webpack_require__(8554);
|
|
3419
|
+
var toIntegerOrInfinity = __webpack_require__(9303);
|
|
2981
3420
|
var toLength = __webpack_require__(7466);
|
|
2982
|
-
var
|
|
3421
|
+
var toString = __webpack_require__(1340);
|
|
2983
3422
|
var requireObjectCoercible = __webpack_require__(4488);
|
|
2984
3423
|
var advanceStringIndex = __webpack_require__(1530);
|
|
3424
|
+
var getMethod = __webpack_require__(8173);
|
|
2985
3425
|
var getSubstitution = __webpack_require__(647);
|
|
2986
3426
|
var regExpExec = __webpack_require__(7651);
|
|
3427
|
+
var wellKnownSymbol = __webpack_require__(5112);
|
|
2987
3428
|
|
|
3429
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
2988
3430
|
var max = Math.max;
|
|
2989
3431
|
var min = Math.min;
|
|
3432
|
+
var concat = uncurryThis([].concat);
|
|
3433
|
+
var push = uncurryThis([].push);
|
|
3434
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
3435
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2990
3436
|
|
|
2991
3437
|
var maybeToString = function (it) {
|
|
2992
3438
|
return it === undefined ? it : String(it);
|
|
2993
3439
|
};
|
|
2994
3440
|
|
|
3441
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
3442
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
3443
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
3444
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
3445
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
3446
|
+
})();
|
|
3447
|
+
|
|
3448
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
3449
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
3450
|
+
if (/./[REPLACE]) {
|
|
3451
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
3452
|
+
}
|
|
3453
|
+
return false;
|
|
3454
|
+
})();
|
|
3455
|
+
|
|
3456
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
3457
|
+
var re = /./;
|
|
3458
|
+
re.exec = function () {
|
|
3459
|
+
var result = [];
|
|
3460
|
+
result.groups = { a: '7' };
|
|
3461
|
+
return result;
|
|
3462
|
+
};
|
|
3463
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
3464
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
3465
|
+
});
|
|
3466
|
+
|
|
2995
3467
|
// @@replace logic
|
|
2996
|
-
fixRegExpWellKnownSymbolLogic('replace',
|
|
2997
|
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
|
|
2998
|
-
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
|
|
3468
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
2999
3469
|
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
3000
3470
|
|
|
3001
3471
|
return [
|
|
@@ -3003,27 +3473,28 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|
|
3003
3473
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
3004
3474
|
function replace(searchValue, replaceValue) {
|
|
3005
3475
|
var O = requireObjectCoercible(this);
|
|
3006
|
-
var replacer = searchValue
|
|
3007
|
-
return replacer
|
|
3008
|
-
?
|
|
3009
|
-
:
|
|
3476
|
+
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
|
|
3477
|
+
return replacer
|
|
3478
|
+
? call(replacer, searchValue, O, replaceValue)
|
|
3479
|
+
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
3010
3480
|
},
|
|
3011
3481
|
// `RegExp.prototype[@@replace]` method
|
|
3012
3482
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
3013
|
-
function (
|
|
3483
|
+
function (string, replaceValue) {
|
|
3484
|
+
var rx = anObject(this);
|
|
3485
|
+
var S = toString(string);
|
|
3486
|
+
|
|
3014
3487
|
if (
|
|
3015
|
-
|
|
3016
|
-
(
|
|
3488
|
+
typeof replaceValue == 'string' &&
|
|
3489
|
+
stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
|
3490
|
+
stringIndexOf(replaceValue, '$<') === -1
|
|
3017
3491
|
) {
|
|
3018
|
-
var res = maybeCallNative(nativeReplace,
|
|
3492
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
3019
3493
|
if (res.done) return res.value;
|
|
3020
3494
|
}
|
|
3021
3495
|
|
|
3022
|
-
var
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
var functionalReplace = typeof replaceValue === 'function';
|
|
3026
|
-
if (!functionalReplace) replaceValue = String(replaceValue);
|
|
3496
|
+
var functionalReplace = isCallable(replaceValue);
|
|
3497
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
3027
3498
|
|
|
3028
3499
|
var global = rx.global;
|
|
3029
3500
|
if (global) {
|
|
@@ -3035,10 +3506,10 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|
|
3035
3506
|
var result = regExpExec(rx, S);
|
|
3036
3507
|
if (result === null) break;
|
|
3037
3508
|
|
|
3038
|
-
|
|
3509
|
+
push(results, result);
|
|
3039
3510
|
if (!global) break;
|
|
3040
3511
|
|
|
3041
|
-
var matchStr =
|
|
3512
|
+
var matchStr = toString(result[0]);
|
|
3042
3513
|
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
3043
3514
|
}
|
|
3044
3515
|
|
|
@@ -3047,41 +3518,235 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|
|
3047
3518
|
for (var i = 0; i < results.length; i++) {
|
|
3048
3519
|
result = results[i];
|
|
3049
3520
|
|
|
3050
|
-
var matched =
|
|
3051
|
-
var position = max(min(
|
|
3521
|
+
var matched = toString(result[0]);
|
|
3522
|
+
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
3052
3523
|
var captures = [];
|
|
3053
3524
|
// NOTE: This is equivalent to
|
|
3054
3525
|
// captures = result.slice(1).map(maybeToString)
|
|
3055
3526
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
3056
3527
|
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
3057
3528
|
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
3058
|
-
for (var j = 1; j < result.length; j++)
|
|
3529
|
+
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
|
3059
3530
|
var namedCaptures = result.groups;
|
|
3060
3531
|
if (functionalReplace) {
|
|
3061
|
-
var replacerArgs = [matched]
|
|
3062
|
-
if (namedCaptures !== undefined)
|
|
3063
|
-
var replacement =
|
|
3532
|
+
var replacerArgs = concat([matched], captures, position, S);
|
|
3533
|
+
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
3534
|
+
var replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
3064
3535
|
} else {
|
|
3065
3536
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
3066
3537
|
}
|
|
3067
3538
|
if (position >= nextSourcePosition) {
|
|
3068
|
-
accumulatedResult += S
|
|
3539
|
+
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
3069
3540
|
nextSourcePosition = position + matched.length;
|
|
3070
3541
|
}
|
|
3071
3542
|
}
|
|
3072
|
-
return accumulatedResult + S
|
|
3543
|
+
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
3073
3544
|
}
|
|
3074
3545
|
];
|
|
3075
|
-
});
|
|
3546
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
3076
3547
|
|
|
3077
3548
|
|
|
3078
3549
|
/***/ }),
|
|
3079
3550
|
|
|
3080
|
-
/***/
|
|
3551
|
+
/***/ 391:
|
|
3081
3552
|
/***/ (function(module) {
|
|
3082
3553
|
|
|
3083
3554
|
"use strict";
|
|
3084
|
-
module.exports =
|
|
3555
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__391__;
|
|
3556
|
+
|
|
3557
|
+
/***/ }),
|
|
3558
|
+
|
|
3559
|
+
/***/ 907:
|
|
3560
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3561
|
+
|
|
3562
|
+
"use strict";
|
|
3563
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3564
|
+
/* harmony export */ "Z": function() { return /* binding */ _arrayLikeToArray; }
|
|
3565
|
+
/* harmony export */ });
|
|
3566
|
+
function _arrayLikeToArray(arr, len) {
|
|
3567
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3568
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
3569
|
+
arr2[i] = arr[i];
|
|
3570
|
+
}
|
|
3571
|
+
return arr2;
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
/***/ }),
|
|
3575
|
+
|
|
3576
|
+
/***/ 4572:
|
|
3577
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3578
|
+
|
|
3579
|
+
"use strict";
|
|
3580
|
+
|
|
3581
|
+
// EXPORTS
|
|
3582
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
3583
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
3584
|
+
});
|
|
3585
|
+
|
|
3586
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
3587
|
+
function _typeof(obj) {
|
|
3588
|
+
"@babel/helpers - typeof";
|
|
3589
|
+
|
|
3590
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
3591
|
+
return typeof obj;
|
|
3592
|
+
} : function (obj) {
|
|
3593
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
3594
|
+
}, _typeof(obj);
|
|
3595
|
+
}
|
|
3596
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
3597
|
+
|
|
3598
|
+
function _toPrimitive(input, hint) {
|
|
3599
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
3600
|
+
var prim = input[Symbol.toPrimitive];
|
|
3601
|
+
if (prim !== undefined) {
|
|
3602
|
+
var res = prim.call(input, hint || "default");
|
|
3603
|
+
if (_typeof(res) !== "object") return res;
|
|
3604
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3605
|
+
}
|
|
3606
|
+
return (hint === "string" ? String : Number)(input);
|
|
3607
|
+
}
|
|
3608
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
|
+
function _toPropertyKey(arg) {
|
|
3612
|
+
var key = _toPrimitive(arg, "string");
|
|
3613
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
3614
|
+
}
|
|
3615
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
3616
|
+
|
|
3617
|
+
function _defineProperty(obj, key, value) {
|
|
3618
|
+
key = _toPropertyKey(key);
|
|
3619
|
+
if (key in obj) {
|
|
3620
|
+
Object.defineProperty(obj, key, {
|
|
3621
|
+
value: value,
|
|
3622
|
+
enumerable: true,
|
|
3623
|
+
configurable: true,
|
|
3624
|
+
writable: true
|
|
3625
|
+
});
|
|
3626
|
+
} else {
|
|
3627
|
+
obj[key] = value;
|
|
3628
|
+
}
|
|
3629
|
+
return obj;
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
/***/ }),
|
|
3633
|
+
|
|
3634
|
+
/***/ 885:
|
|
3635
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3636
|
+
|
|
3637
|
+
"use strict";
|
|
3638
|
+
|
|
3639
|
+
// EXPORTS
|
|
3640
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
3641
|
+
"Z": function() { return /* binding */ _slicedToArray; }
|
|
3642
|
+
});
|
|
3643
|
+
|
|
3644
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
3645
|
+
function _arrayWithHoles(arr) {
|
|
3646
|
+
if (Array.isArray(arr)) return arr;
|
|
3647
|
+
}
|
|
3648
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
3649
|
+
function _iterableToArrayLimit(arr, i) {
|
|
3650
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3651
|
+
if (null != _i) {
|
|
3652
|
+
var _s,
|
|
3653
|
+
_e,
|
|
3654
|
+
_x,
|
|
3655
|
+
_r,
|
|
3656
|
+
_arr = [],
|
|
3657
|
+
_n = !0,
|
|
3658
|
+
_d = !1;
|
|
3659
|
+
try {
|
|
3660
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
3661
|
+
if (Object(_i) !== _i) return;
|
|
3662
|
+
_n = !1;
|
|
3663
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
3664
|
+
;
|
|
3665
|
+
}
|
|
3666
|
+
} catch (err) {
|
|
3667
|
+
_d = !0, _e = err;
|
|
3668
|
+
} finally {
|
|
3669
|
+
try {
|
|
3670
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
3671
|
+
} finally {
|
|
3672
|
+
if (_d) throw _e;
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
return _arr;
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3679
|
+
var unsupportedIterableToArray = __webpack_require__(181);
|
|
3680
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
3681
|
+
function _nonIterableRest() {
|
|
3682
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3683
|
+
}
|
|
3684
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
3685
|
+
|
|
3686
|
+
|
|
3687
|
+
|
|
3688
|
+
|
|
3689
|
+
function _slicedToArray(arr, i) {
|
|
3690
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray/* default */.Z)(arr, i) || _nonIterableRest();
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
/***/ }),
|
|
3694
|
+
|
|
3695
|
+
/***/ 2982:
|
|
3696
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3697
|
+
|
|
3698
|
+
"use strict";
|
|
3699
|
+
|
|
3700
|
+
// EXPORTS
|
|
3701
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
3702
|
+
"Z": function() { return /* binding */ _toConsumableArray; }
|
|
3703
|
+
});
|
|
3704
|
+
|
|
3705
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
3706
|
+
var arrayLikeToArray = __webpack_require__(907);
|
|
3707
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
3708
|
+
|
|
3709
|
+
function _arrayWithoutHoles(arr) {
|
|
3710
|
+
if (Array.isArray(arr)) return (0,arrayLikeToArray/* default */.Z)(arr);
|
|
3711
|
+
}
|
|
3712
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
3713
|
+
function _iterableToArray(iter) {
|
|
3714
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3715
|
+
}
|
|
3716
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3717
|
+
var unsupportedIterableToArray = __webpack_require__(181);
|
|
3718
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
3719
|
+
function _nonIterableSpread() {
|
|
3720
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3721
|
+
}
|
|
3722
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
function _toConsumableArray(arr) {
|
|
3728
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || (0,unsupportedIterableToArray/* default */.Z)(arr) || _nonIterableSpread();
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
/***/ }),
|
|
3732
|
+
|
|
3733
|
+
/***/ 181:
|
|
3734
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3735
|
+
|
|
3736
|
+
"use strict";
|
|
3737
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3738
|
+
/* harmony export */ "Z": function() { return /* binding */ _unsupportedIterableToArray; }
|
|
3739
|
+
/* harmony export */ });
|
|
3740
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(907);
|
|
3741
|
+
|
|
3742
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
3743
|
+
if (!o) return;
|
|
3744
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(o, minLen);
|
|
3745
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3746
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3747
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
3748
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(o, minLen);
|
|
3749
|
+
}
|
|
3085
3750
|
|
|
3086
3751
|
/***/ })
|
|
3087
3752
|
|
|
@@ -3180,15 +3845,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3180
3845
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
3181
3846
|
var es_function_name = __webpack_require__(8309);
|
|
3182
3847
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
3183
|
-
var toConsumableArray = __webpack_require__(
|
|
3848
|
+
var toConsumableArray = __webpack_require__(2982);
|
|
3184
3849
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
3185
|
-
var slicedToArray = __webpack_require__(
|
|
3850
|
+
var slicedToArray = __webpack_require__(885);
|
|
3186
3851
|
// EXTERNAL MODULE: external "vue"
|
|
3187
|
-
var external_vue_ = __webpack_require__(
|
|
3852
|
+
var external_vue_ = __webpack_require__(391);
|
|
3188
3853
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
3189
3854
|
var es_number_constructor = __webpack_require__(9653);
|
|
3190
3855
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
3191
3856
|
var es_array_filter = __webpack_require__(7327);
|
|
3857
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
3858
|
+
var es_object_to_string = __webpack_require__(1539);
|
|
3192
3859
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
3193
3860
|
var es_array_concat = __webpack_require__(2222);
|
|
3194
3861
|
// EXTERNAL MODULE: ./packages/utils/index.ts + 4 modules
|
|
@@ -3202,24 +3869,24 @@ var utils = __webpack_require__(4105);
|
|
|
3202
3869
|
* @Description: pull refresh utils
|
|
3203
3870
|
* @FilePath: /yui-vue/packages/pullrefresh/src/utils.ts
|
|
3204
3871
|
*/
|
|
3872
|
+
|
|
3205
3873
|
var getAngle = function getAngle(x1, y1, x2, y2) {
|
|
3206
3874
|
var x = Math.abs(x1 - x2);
|
|
3207
3875
|
var y = Math.abs(y1 - y2);
|
|
3208
3876
|
var z = Math.sqrt(x * x + y * y);
|
|
3209
3877
|
return 90 - Math.round(Math.asin(y / z) / Math.PI * 180);
|
|
3210
3878
|
};
|
|
3879
|
+
|
|
3211
3880
|
/**
|
|
3212
3881
|
* description: 判断是否内滚动
|
|
3213
3882
|
* @param: e Event
|
|
3214
3883
|
* @return {boolean}
|
|
3215
3884
|
*/
|
|
3216
|
-
|
|
3217
3885
|
var hasInnerScroll = function hasInnerScroll(e) {
|
|
3218
3886
|
var currentTarget = e.currentTarget;
|
|
3219
3887
|
var target = e.target;
|
|
3220
3888
|
var bool = false;
|
|
3221
3889
|
if (currentTarget === target) return bool;
|
|
3222
|
-
|
|
3223
3890
|
var _hasInnerScroll = function _hasInnerScroll(t) {
|
|
3224
3891
|
if (t.offsetHeight !== t.scrollHeight && t.scrollTop !== 0) {
|
|
3225
3892
|
bool = true;
|
|
@@ -3227,7 +3894,6 @@ var hasInnerScroll = function hasInnerScroll(e) {
|
|
|
3227
3894
|
_hasInnerScroll(t.parentElement);
|
|
3228
3895
|
}
|
|
3229
3896
|
};
|
|
3230
|
-
|
|
3231
3897
|
target && _hasInnerScroll(target);
|
|
3232
3898
|
return bool;
|
|
3233
3899
|
};
|
|
@@ -3250,17 +3916,14 @@ var hasInnerScroll = function hasInnerScroll(e) {
|
|
|
3250
3916
|
|
|
3251
3917
|
|
|
3252
3918
|
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
bem = _createNamespace2[1];
|
|
3258
|
-
|
|
3919
|
+
var _createNamespace = (0,utils/* createNamespace */["do"])('pull-refresh'),
|
|
3920
|
+
_createNamespace2 = (0,slicedToArray/* default */.Z)(_createNamespace, 2),
|
|
3921
|
+
pullrefresh_name = _createNamespace2[0],
|
|
3922
|
+
bem = _createNamespace2[1];
|
|
3259
3923
|
var locale = (0,utils/* createLocale */.$2)('pull-refresh');
|
|
3260
3924
|
var ANGLE = 30;
|
|
3261
3925
|
var ANIMATION_TIME = 0.5;
|
|
3262
3926
|
var RefreshStatus;
|
|
3263
|
-
|
|
3264
3927
|
(function (RefreshStatus) {
|
|
3265
3928
|
RefreshStatus["DEFUALT"] = "normal";
|
|
3266
3929
|
RefreshStatus["PULLING"] = "pulling";
|
|
@@ -3269,11 +3932,9 @@ var RefreshStatus;
|
|
|
3269
3932
|
RefreshStatus["SUCCESS"] = "success";
|
|
3270
3933
|
RefreshStatus["FAILED"] = "failed";
|
|
3271
3934
|
})(RefreshStatus || (RefreshStatus = {}));
|
|
3272
|
-
|
|
3273
3935
|
var getScale = function getScale(num) {
|
|
3274
3936
|
return num < 60 ? 1 : 1 - (num - 60) / 600;
|
|
3275
3937
|
};
|
|
3276
|
-
|
|
3277
3938
|
/* harmony default export */ var pullrefresh = ((0,external_vue_.defineComponent)({
|
|
3278
3939
|
name: pullrefresh_name,
|
|
3279
3940
|
props: {
|
|
@@ -3308,8 +3969,8 @@ var getScale = function getScale(num) {
|
|
|
3308
3969
|
},
|
|
3309
3970
|
setup: function setup(props, _ref) {
|
|
3310
3971
|
var slots = _ref.slots,
|
|
3311
|
-
|
|
3312
|
-
|
|
3972
|
+
emit = _ref.emit,
|
|
3973
|
+
expose = _ref.expose;
|
|
3313
3974
|
var instance = (0,external_vue_.getCurrentInstance)();
|
|
3314
3975
|
var _startPosX = 0;
|
|
3315
3976
|
var _startPosY = 0;
|
|
@@ -3320,16 +3981,12 @@ var getScale = function getScale(num) {
|
|
|
3320
3981
|
var refreshStatus = (0,external_vue_.ref)(RefreshStatus.DEFUALT);
|
|
3321
3982
|
var children = (0,external_vue_.computed)(function () {
|
|
3322
3983
|
var _instance$proxy;
|
|
3323
|
-
|
|
3324
3984
|
var $el = instance === null || instance === void 0 ? void 0 : (_instance$proxy = instance.proxy) === null || _instance$proxy === void 0 ? void 0 : _instance$proxy.$el;
|
|
3325
|
-
|
|
3326
3985
|
var $children = (0,toConsumableArray/* default */.Z)($el.childNodes);
|
|
3327
|
-
|
|
3328
3986
|
return $children === null || $children === void 0 ? void 0 : $children.filter(function (node) {
|
|
3329
3987
|
return node.nodeType !== 3 || node.nodeValue !== '';
|
|
3330
3988
|
});
|
|
3331
3989
|
});
|
|
3332
|
-
|
|
3333
3990
|
var callback = function callback() {
|
|
3334
3991
|
var status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
|
|
3335
3992
|
refreshStatus.value = status;
|
|
@@ -3340,47 +3997,39 @@ var getScale = function getScale(num) {
|
|
|
3340
3997
|
refreshStatus.value = RefreshStatus.DEFUALT;
|
|
3341
3998
|
}, 1000);
|
|
3342
3999
|
};
|
|
3343
|
-
|
|
3344
4000
|
var refresh = function refresh() {
|
|
3345
4001
|
translateY.value = props.statusHeight;
|
|
3346
4002
|
transitionTime.value = ANIMATION_TIME;
|
|
3347
4003
|
refreshStatus.value = RefreshStatus.LOADING;
|
|
3348
4004
|
emit('load', callback);
|
|
3349
4005
|
};
|
|
3350
|
-
|
|
3351
4006
|
var touchStart = function touchStart(e) {
|
|
3352
4007
|
_startPosX = e instanceof TouchEvent ? e.touches[0].pageX : e.pageX;
|
|
3353
4008
|
_startPosY = e instanceof TouchEvent ? e.touches[0].pageY : e.pageY;
|
|
3354
|
-
|
|
3355
4009
|
if (children.value.length !== 2 || children.value[1].nodeType === 3) {
|
|
3356
4010
|
$scroll = instance === null || instance === void 0 ? void 0 : instance.vnode.el;
|
|
3357
4011
|
} else {
|
|
3358
4012
|
$scroll = children.value[1];
|
|
3359
4013
|
}
|
|
3360
|
-
|
|
3361
4014
|
if (!props.disabled && !hasInnerScroll(e) && $scroll.scrollTop === 0 && refreshStatus.value === RefreshStatus.DEFUALT) {
|
|
3362
4015
|
refreshStatus.value = RefreshStatus.PULLING;
|
|
3363
4016
|
translateY.value = 0;
|
|
3364
4017
|
transitionTime.value = 0;
|
|
3365
4018
|
}
|
|
3366
4019
|
};
|
|
3367
|
-
|
|
3368
4020
|
var touchMove = function touchMove(e) {
|
|
3369
4021
|
var x = e instanceof TouchEvent ? e.touches[0].pageX : e.pageX;
|
|
3370
4022
|
var y = e instanceof TouchEvent ? e.touches[0].pageY : e.pageY;
|
|
3371
4023
|
var angle = getAngle(_startPosX, _startPosY, x, y);
|
|
3372
4024
|
_transitionHeight = y - _startPosY;
|
|
3373
|
-
|
|
3374
4025
|
if ((refreshStatus.value === RefreshStatus.PULLING || refreshStatus.value === RefreshStatus.LOOSING) && _transitionHeight > 0 && angle < ANGLE) {
|
|
3375
4026
|
e.preventDefault();
|
|
3376
4027
|
translateY.value = _transitionHeight * getScale(_transitionHeight);
|
|
3377
|
-
|
|
3378
4028
|
if (_transitionHeight > props.statusHeight && refreshStatus.value === RefreshStatus.PULLING) {
|
|
3379
4029
|
refreshStatus.value = RefreshStatus.LOOSING;
|
|
3380
4030
|
}
|
|
3381
4031
|
}
|
|
3382
4032
|
};
|
|
3383
|
-
|
|
3384
4033
|
var touchEnd = function touchEnd(e) {
|
|
3385
4034
|
if (refreshStatus.value === RefreshStatus.LOOSING) {
|
|
3386
4035
|
translateY.value = props.statusHeight;
|
|
@@ -3392,7 +4041,6 @@ var getScale = function getScale(num) {
|
|
|
3392
4041
|
refreshStatus.value = RefreshStatus.DEFUALT;
|
|
3393
4042
|
}
|
|
3394
4043
|
};
|
|
3395
|
-
|
|
3396
4044
|
(0,external_vue_.onMounted)(function () {
|
|
3397
4045
|
var $el = instance === null || instance === void 0 ? void 0 : instance.vnode.el;
|
|
3398
4046
|
$el === null || $el === void 0 ? void 0 : $el.addEventListener('touchstart', touchStart, {
|
|
@@ -3427,21 +4075,17 @@ var getScale = function getScale(num) {
|
|
|
3427
4075
|
$el === null || $el === void 0 ? void 0 : $el.removeEventListener('mouseup', touchEnd);
|
|
3428
4076
|
$el === null || $el === void 0 ? void 0 : $el.removeEventListener('mouseout', touchEnd);
|
|
3429
4077
|
});
|
|
3430
|
-
|
|
3431
4078
|
var _renderStatus = function _renderStatus() {
|
|
3432
4079
|
var _slots$refreshStatus$;
|
|
3433
|
-
|
|
3434
4080
|
if (refreshStatus.value === RefreshStatus.DEFUALT) return null;
|
|
3435
4081
|
if (slots[refreshStatus.value]) return (_slots$refreshStatus$ = slots[refreshStatus.value]) === null || _slots$refreshStatus$ === void 0 ? void 0 : _slots$refreshStatus$.call(slots);
|
|
3436
4082
|
return (0,external_vue_.createVNode)("p", null, [props["".concat(refreshStatus.value, "Text")]]);
|
|
3437
4083
|
};
|
|
3438
|
-
|
|
3439
4084
|
expose({
|
|
3440
4085
|
refresh: refresh
|
|
3441
4086
|
});
|
|
3442
4087
|
return function () {
|
|
3443
4088
|
var _slots$default;
|
|
3444
|
-
|
|
3445
4089
|
var statusHeight = props.statusHeight;
|
|
3446
4090
|
var height = translateY.value > statusHeight ? statusHeight : translateY.value;
|
|
3447
4091
|
var transition = "all ".concat(transitionTime.value, "s ease 0s");
|
|
@@ -3469,12 +4113,10 @@ var getScale = function getScale(num) {
|
|
|
3469
4113
|
|
|
3470
4114
|
|
|
3471
4115
|
|
|
3472
|
-
|
|
3473
4116
|
pullrefresh.install = function (Vue) {
|
|
3474
4117
|
var name = pullrefresh.name;
|
|
3475
4118
|
Vue.component(name, pullrefresh);
|
|
3476
4119
|
};
|
|
3477
|
-
|
|
3478
4120
|
/* harmony default export */ var packages_pullrefresh = (pullrefresh);
|
|
3479
4121
|
}();
|
|
3480
4122
|
/******/ return __webpack_exports__;
|