@cclr/utils 1.0.6 → 1.0.9

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/lib/index.js CHANGED
@@ -1,1376 +1,2 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory();
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else if(typeof exports === 'object')
7
- exports["Utils"] = factory();
8
- else
9
- root["Utils"] = factory();
10
- })(self, () => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ var __webpack_modules__ = ({
13
-
14
- /***/ 593:
15
- /***/ (function(module, exports, __webpack_require__) {
16
-
17
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
18
- if (true) {
19
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(854)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
20
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
21
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
22
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
23
- } else { var mod; }
24
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _src) {
25
- "use strict";
26
-
27
- Object.defineProperty(_exports, "__esModule", {
28
- value: true
29
- });
30
- Object.keys(_src).forEach(function (key) {
31
- if (key === "default" || key === "__esModule") return;
32
- if (key in _exports && _exports[key] === _src[key]) return;
33
- Object.defineProperty(_exports, key, {
34
- enumerable: true,
35
- get: function get() {
36
- return _src[key];
37
- }
38
- });
39
- });
40
- });
41
-
42
- /***/ }),
43
-
44
- /***/ 744:
45
- /***/ (function(module, exports, __webpack_require__) {
46
-
47
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
48
- if (true) {
49
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(306), __webpack_require__(693)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
50
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
51
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
52
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
53
- } else { var mod; }
54
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _typeof2, _valType) {
55
- "use strict";
56
-
57
- var _interopRequireDefault = __webpack_require__(151);
58
- Object.defineProperty(_exports, "__esModule", {
59
- value: true
60
- });
61
- _exports.getParamType = getParamType;
62
- _exports.isArray = isArray;
63
- _exports.isBoolean = isBoolean;
64
- _exports.isFunction = isFunction;
65
- _exports.isPlainObject = isPlainObject;
66
- _exports.isString = isString;
67
- _exports.isType = isType;
68
- _typeof2 = _interopRequireDefault(_typeof2);
69
- /**
70
- * 获取参数类型
71
- * @param p 参数
72
- * @returns
73
- */
74
- function getParamType(p) {
75
- return _valType.VAL_TYPE[(0, _typeof2["default"])(p)] || _valType.VAL_TYPE[Object.prototype.toString.call(p)] || (p ? "object" : "null");
76
- }
77
- function isType(params, type) {
78
- return getParamType(params) === type;
79
- }
80
- function isString(s) {
81
- return getParamType(s) === "string";
82
- }
83
- function isBoolean(b) {
84
- return getParamType(b) === "boolean";
85
- }
86
- function isFunction(b) {
87
- return getParamType(b) === "function";
88
- }
89
- function isPlainObject(b) {
90
- return getParamType(b) === "object";
91
- }
92
- function isArray(a) {
93
- return Array.isArray(a);
94
- }
95
- });
96
-
97
- /***/ }),
98
-
99
- /***/ 780:
100
- /***/ (function(module, exports, __webpack_require__) {
101
-
102
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
103
- if (true) {
104
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(456), __webpack_require__(553), __webpack_require__(853), __webpack_require__(826), __webpack_require__(554), __webpack_require__(577)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
105
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
106
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
107
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
108
- } else { var mod; }
109
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _inherits2, _possibleConstructorReturn2, _getPrototypeOf2, _slicedToArray2, _classCallCheck2, _createClass2) {
110
- "use strict";
111
-
112
- var _interopRequireDefault = __webpack_require__(151);
113
- Object.defineProperty(_exports, "__esModule", {
114
- value: true
115
- });
116
- _exports.EventFree = _exports.EventBase = _exports.Event = void 0;
117
- _inherits2 = _interopRequireDefault(_inherits2);
118
- _possibleConstructorReturn2 = _interopRequireDefault(_possibleConstructorReturn2);
119
- _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf2);
120
- _slicedToArray2 = _interopRequireDefault(_slicedToArray2);
121
- _classCallCheck2 = _interopRequireDefault(_classCallCheck2);
122
- _createClass2 = _interopRequireDefault(_createClass2);
123
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
124
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
125
- var EventBase = /*#__PURE__*/function () {
126
- function EventBase() {
127
- var _this = this;
128
- var eventMap = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
129
- (0, _classCallCheck2["default"])(this, EventBase);
130
- this.handlers = {};
131
- Object.entries(eventMap).forEach(function (_ref) {
132
- var _ref2 = (0, _slicedToArray2["default"])(_ref, 2),
133
- key = _ref2[0],
134
- handle = _ref2[1];
135
- _this.handlers[key] = [handle];
136
- });
137
- }
138
- (0, _createClass2["default"])(EventBase, [{
139
- key: "on",
140
- value: function on(eventName, handler) {
141
- var _a;
142
- var _b;
143
- (_a = (_b = this.handlers)[eventName]) !== null && _a !== void 0 ? _a : _b[eventName] = [];
144
- this.handlers[eventName].push(handler);
145
- }
146
- }, {
147
- key: "off",
148
- value: function off(eventName, handler) {
149
- var eventHandlers = this.handlers[eventName];
150
- if (eventHandlers) {
151
- var index = eventHandlers.indexOf(handler);
152
- if (index !== -1) {
153
- eventHandlers.splice(index, 1);
154
- }
155
- }
156
- }
157
- }, {
158
- key: "emit",
159
- value: function emit(eventName) {
160
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
161
- args[_key - 1] = arguments[_key];
162
- }
163
- var eventHandlers = this.handlers[eventName];
164
- if (eventHandlers) {
165
- eventHandlers.forEach(function (handler) {
166
- handler.apply(void 0, args);
167
- });
168
- }
169
- }
170
- }]);
171
- return EventBase;
172
- }();
173
- _exports.EventBase = EventBase;
174
- var Event = /*#__PURE__*/function (_EventBase) {
175
- (0, _inherits2["default"])(Event, _EventBase);
176
- var _super = _createSuper(Event);
177
- function Event() {
178
- (0, _classCallCheck2["default"])(this, Event);
179
- return _super.apply(this, arguments);
180
- }
181
- return (0, _createClass2["default"])(Event);
182
- }(EventBase);
183
- _exports.Event = Event;
184
- var EventFree = /*#__PURE__*/function (_EventBase2) {
185
- (0, _inherits2["default"])(EventFree, _EventBase2);
186
- var _super2 = _createSuper(EventFree);
187
- function EventFree() {
188
- (0, _classCallCheck2["default"])(this, EventFree);
189
- return _super2.apply(this, arguments);
190
- }
191
- return (0, _createClass2["default"])(EventFree);
192
- }(EventBase);
193
- _exports.EventFree = EventFree;
194
- });
195
-
196
- /***/ }),
197
-
198
- /***/ 996:
199
- /***/ (function(module, exports, __webpack_require__) {
200
-
201
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
202
- if (true) {
203
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(826), __webpack_require__(693), __webpack_require__(744)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
204
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
205
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
206
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
207
- } else { var mod; }
208
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _slicedToArray2, _valType, _averType) {
209
- "use strict";
210
-
211
- var _interopRequireDefault = __webpack_require__(151);
212
- Object.defineProperty(_exports, "__esModule", {
213
- value: true
214
- });
215
- _exports.formatObj = formatObj;
216
- _slicedToArray2 = _interopRequireDefault(_slicedToArray2);
217
- function formatObj(o, maps) {
218
- var resetRes = {};
219
- maps.forEach(function (_ref) {
220
- var _ref2 = (0, _slicedToArray2["default"])(_ref, 3),
221
- key = _ref2[0],
222
- type = _ref2[1],
223
- defaultValue = _ref2[2];
224
- if (!(0, _averType.isType)(o[key], type)) {
225
- if ((0, _averType.isFunction)(defaultValue) && type !== "function") {
226
- defaultValue = defaultValue();
227
- }
228
- resetRes[key] = defaultValue || _valType.defaultValueMap[type];
229
- }
230
- });
231
- return Object.assign(Object.assign({}, o), resetRes);
232
- }
233
- });
234
-
235
- /***/ }),
236
-
237
- /***/ 854:
238
- /***/ (function(module, exports, __webpack_require__) {
239
-
240
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(306);
241
- (function (global, factory) {
242
- if (true) {
243
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(780), __webpack_require__(744), __webpack_require__(996), __webpack_require__(465), __webpack_require__(15)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
244
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
245
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
246
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
247
- } else { var mod; }
248
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _event, _averType, _format, _tool, _obj) {
249
- "use strict";
250
-
251
- Object.defineProperty(_exports, "__esModule", {
252
- value: true
253
- });
254
- var _exportNames = {
255
- obj: true
256
- };
257
- _exports.obj = void 0;
258
- Object.keys(_event).forEach(function (key) {
259
- if (key === "default" || key === "__esModule") return;
260
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
261
- if (key in _exports && _exports[key] === _event[key]) return;
262
- Object.defineProperty(_exports, key, {
263
- enumerable: true,
264
- get: function get() {
265
- return _event[key];
266
- }
267
- });
268
- });
269
- Object.keys(_averType).forEach(function (key) {
270
- if (key === "default" || key === "__esModule") return;
271
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
272
- if (key in _exports && _exports[key] === _averType[key]) return;
273
- Object.defineProperty(_exports, key, {
274
- enumerable: true,
275
- get: function get() {
276
- return _averType[key];
277
- }
278
- });
279
- });
280
- Object.keys(_format).forEach(function (key) {
281
- if (key === "default" || key === "__esModule") return;
282
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
283
- if (key in _exports && _exports[key] === _format[key]) return;
284
- Object.defineProperty(_exports, key, {
285
- enumerable: true,
286
- get: function get() {
287
- return _format[key];
288
- }
289
- });
290
- });
291
- Object.keys(_tool).forEach(function (key) {
292
- if (key === "default" || key === "__esModule") return;
293
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
294
- if (key in _exports && _exports[key] === _tool[key]) return;
295
- Object.defineProperty(_exports, key, {
296
- enumerable: true,
297
- get: function get() {
298
- return _tool[key];
299
- }
300
- });
301
- });
302
- _obj = _interopRequireWildcard(_obj);
303
- _exports.obj = _obj;
304
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
305
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
306
- });
307
-
308
- /***/ }),
309
-
310
- /***/ 15:
311
- /***/ (function(module, exports) {
312
-
313
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
314
- if (true) {
315
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
316
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
317
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
318
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
319
- } else { var mod; }
320
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports) {
321
- "use strict";
322
-
323
- Object.defineProperty(_exports, "__esModule", {
324
- value: true
325
- });
326
- _exports.objPick = void 0;
327
- /**
328
- * 对象挑选
329
- * @param obj
330
- * @param keys
331
- * @returns
332
- */
333
- var objPick = function objPick(obj, keys) {
334
- return keys.reduce(function (pre, key) {
335
- var val = obj[key];
336
- if (val) {
337
- pre[key] = val;
338
- }
339
- return pre;
340
- }, {});
341
- };
342
- _exports.objPick = objPick;
343
- });
344
-
345
- /***/ }),
346
-
347
- /***/ 465:
348
- /***/ (function(module, exports, __webpack_require__) {
349
-
350
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
351
- if (true) {
352
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(404)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
353
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
354
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
355
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
356
- } else { var mod; }
357
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _index) {
358
- "use strict";
359
-
360
- var _interopRequireDefault = __webpack_require__(151);
361
- Object.defineProperty(_exports, "__esModule", {
362
- value: true
363
- });
364
- _exports.sleep = _exports.promiseTimeout = void 0;
365
- _index = _interopRequireDefault(_index);
366
- var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
367
- function adopt(value) {
368
- return value instanceof P ? value : new P(function (resolve) {
369
- resolve(value);
370
- });
371
- }
372
- return new (P || (P = Promise))(function (resolve, reject) {
373
- function fulfilled(value) {
374
- try {
375
- step(generator.next(value));
376
- } catch (e) {
377
- reject(e);
378
- }
379
- }
380
- function rejected(value) {
381
- try {
382
- step(generator["throw"](value));
383
- } catch (e) {
384
- reject(e);
385
- }
386
- }
387
- function step(result) {
388
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
389
- }
390
- step((generator = generator.apply(thisArg, _arguments || [])).next());
391
- });
392
- };
393
- /**
394
- * 延迟的promise
395
- * @param fun
396
- * @param delay
397
- * @returns
398
- */
399
- var promiseTimeout = function promiseTimeout(fun) {
400
- var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3000;
401
- return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_index["default"].mark(function _callee() {
402
- return _index["default"].wrap(function _callee$(_context) {
403
- while (1) switch (_context.prev = _context.next) {
404
- case 0:
405
- _context.next = 2;
406
- return sleep(delay);
407
- case 2:
408
- return _context.abrupt("return", fun());
409
- case 3:
410
- case "end":
411
- return _context.stop();
412
- }
413
- }, _callee);
414
- }));
415
- };
416
- /**
417
- * 休息一会
418
- * @param delay 时长,ms
419
- * @returns
420
- */
421
- _exports.promiseTimeout = promiseTimeout;
422
- var sleep = function sleep() {
423
- var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 3000;
424
- return new Promise(function (res) {
425
- setTimeout(function () {
426
- res();
427
- }, delay);
428
- });
429
- };
430
- _exports.sleep = sleep;
431
- });
432
-
433
- /***/ }),
434
-
435
- /***/ 693:
436
- /***/ (function(module, exports) {
437
-
438
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
439
- if (true) {
440
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
441
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
442
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
443
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
444
- } else { var mod; }
445
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports) {
446
- "use strict";
447
-
448
- Object.defineProperty(_exports, "__esModule", {
449
- value: true
450
- });
451
- _exports.defaultValueMap = _exports.VAL_TYPE = void 0;
452
- var VAL_TYPE = {
453
- "boolean": "boolean",
454
- undefined: "undefined",
455
- number: "undefined",
456
- string: "string",
457
- "null": "null",
458
- "[object Object]": "object",
459
- "[object Function]": "function",
460
- "[object RegExp]": "regexp",
461
- "[object Array]": "array",
462
- "[object Date]": "date",
463
- "[object Error]": "error",
464
- "[object Blob]": "blob",
465
- "[object File]": "file",
466
- "[object ArrayBuffer]": "arrayBuffer"
467
- };
468
- _exports.VAL_TYPE = VAL_TYPE;
469
- var defaultValueMap = {
470
- "boolean": false,
471
- undefined: undefined,
472
- number: 0,
473
- string: "",
474
- "null": null,
475
- object: {},
476
- "function": function _function() {},
477
- regexp: /^.*$/,
478
- array: [],
479
- arrayBuffer: new ArrayBuffer(4)
480
- };
481
- // 只有需要使用时才创建
482
- _exports.defaultValueMap = defaultValueMap;
483
- var dateObj;
484
- var errorObj;
485
- var blobObj;
486
- var fileObj;
487
- Object.defineProperty(defaultValueMap, "date", {
488
- get: function get() {
489
- if (!dateObj) {
490
- dateObj = new Date();
491
- }
492
- return dateObj;
493
- }
494
- });
495
- Object.defineProperty(defaultValueMap, "error", {
496
- get: function get() {
497
- if (!errorObj) {
498
- errorObj = new Error();
499
- }
500
- return errorObj;
501
- }
502
- });
503
- Object.defineProperty(defaultValueMap, "blob", {
504
- get: function get() {
505
- if (!blobObj) {
506
- blobObj = new Blob([]);
507
- }
508
- return blobObj;
509
- }
510
- });
511
- Object.defineProperty(defaultValueMap, "file", {
512
- get: function get() {
513
- if (!fileObj) {
514
- fileObj = new File([], "file");
515
- }
516
- return fileObj;
517
- }
518
- });
519
- });
520
-
521
- /***/ }),
522
-
523
- /***/ 891:
524
- /***/ (function(module, exports) {
525
-
526
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
527
- if (true) {
528
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
529
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
530
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
531
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
532
- } else { var mod; }
533
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
534
- "use strict";
535
-
536
- function _arrayLikeToArray(arr, len) {
537
- if (len == null || len > arr.length) len = arr.length;
538
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
539
- return arr2;
540
- }
541
- module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
542
- });
543
-
544
- /***/ }),
545
-
546
- /***/ 42:
547
- /***/ (function(module, exports) {
548
-
549
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
550
- if (true) {
551
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
552
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
553
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
554
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
555
- } else { var mod; }
556
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
557
- "use strict";
558
-
559
- function _arrayWithHoles(arr) {
560
- if (Array.isArray(arr)) return arr;
561
- }
562
- module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
563
- });
564
-
565
- /***/ }),
566
-
567
- /***/ 43:
568
- /***/ (function(module, exports) {
569
-
570
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
571
- if (true) {
572
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
573
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
574
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
575
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
576
- } else { var mod; }
577
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
578
- "use strict";
579
-
580
- function _assertThisInitialized(self) {
581
- if (self === void 0) {
582
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
583
- }
584
- return self;
585
- }
586
- module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
587
- });
588
-
589
- /***/ }),
590
-
591
- /***/ 554:
592
- /***/ (function(module, exports) {
593
-
594
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
595
- if (true) {
596
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
597
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
598
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
599
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
600
- } else { var mod; }
601
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
602
- "use strict";
603
-
604
- function _classCallCheck(instance, Constructor) {
605
- if (!(instance instanceof Constructor)) {
606
- throw new TypeError("Cannot call a class as a function");
607
- }
608
- }
609
- module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
610
- });
611
-
612
- /***/ }),
613
-
614
- /***/ 577:
615
- /***/ (function(module, exports, __webpack_require__) {
616
-
617
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
618
- if (true) {
619
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
620
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
621
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
622
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
623
- } else { var mod; }
624
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
625
- "use strict";
626
-
627
- var toPropertyKey = __webpack_require__(517);
628
- function _defineProperties(target, props) {
629
- for (var i = 0; i < props.length; i++) {
630
- var descriptor = props[i];
631
- descriptor.enumerable = descriptor.enumerable || false;
632
- descriptor.configurable = true;
633
- if ("value" in descriptor) descriptor.writable = true;
634
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
635
- }
636
- }
637
- function _createClass(Constructor, protoProps, staticProps) {
638
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
639
- if (staticProps) _defineProperties(Constructor, staticProps);
640
- Object.defineProperty(Constructor, "prototype", {
641
- writable: false
642
- });
643
- return Constructor;
644
- }
645
- module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
646
- });
647
-
648
- /***/ }),
649
-
650
- /***/ 853:
651
- /***/ (function(module, exports) {
652
-
653
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
654
- if (true) {
655
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
656
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
657
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
658
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
659
- } else { var mod; }
660
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
661
- "use strict";
662
-
663
- function _getPrototypeOf(o) {
664
- module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
665
- return o.__proto__ || Object.getPrototypeOf(o);
666
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
667
- return _getPrototypeOf(o);
668
- }
669
- module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
670
- });
671
-
672
- /***/ }),
673
-
674
- /***/ 456:
675
- /***/ (function(module, exports, __webpack_require__) {
676
-
677
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
678
- if (true) {
679
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
680
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
681
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
682
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
683
- } else { var mod; }
684
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
685
- "use strict";
686
-
687
- var setPrototypeOf = __webpack_require__(917);
688
- function _inherits(subClass, superClass) {
689
- if (typeof superClass !== "function" && superClass !== null) {
690
- throw new TypeError("Super expression must either be null or a function");
691
- }
692
- subClass.prototype = Object.create(superClass && superClass.prototype, {
693
- constructor: {
694
- value: subClass,
695
- writable: true,
696
- configurable: true
697
- }
698
- });
699
- Object.defineProperty(subClass, "prototype", {
700
- writable: false
701
- });
702
- if (superClass) setPrototypeOf(subClass, superClass);
703
- }
704
- module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
705
- });
706
-
707
- /***/ }),
708
-
709
- /***/ 151:
710
- /***/ (function(module, exports) {
711
-
712
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
713
- if (true) {
714
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
715
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
716
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
717
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
718
- } else { var mod; }
719
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
720
- "use strict";
721
-
722
- function _interopRequireDefault(obj) {
723
- return obj && obj.__esModule ? obj : {
724
- "default": obj
725
- };
726
- }
727
- module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
728
- });
729
-
730
- /***/ }),
731
-
732
- /***/ 734:
733
- /***/ (function(module, exports) {
734
-
735
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
736
- if (true) {
737
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
738
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
739
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
740
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
741
- } else { var mod; }
742
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
743
- "use strict";
744
-
745
- function _iterableToArrayLimit(arr, i) {
746
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
747
- if (null != _i) {
748
- var _s,
749
- _e,
750
- _x,
751
- _r,
752
- _arr = [],
753
- _n = !0,
754
- _d = !1;
755
- try {
756
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
757
- if (Object(_i) !== _i) return;
758
- _n = !1;
759
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
760
- } catch (err) {
761
- _d = !0, _e = err;
762
- } finally {
763
- try {
764
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
765
- } finally {
766
- if (_d) throw _e;
767
- }
768
- }
769
- return _arr;
770
- }
771
- }
772
- module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
773
- });
774
-
775
- /***/ }),
776
-
777
- /***/ 261:
778
- /***/ (function(module, exports) {
779
-
780
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
781
- if (true) {
782
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
783
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
784
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
785
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
786
- } else { var mod; }
787
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
788
- "use strict";
789
-
790
- function _nonIterableRest() {
791
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
792
- }
793
- module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
794
- });
795
-
796
- /***/ }),
797
-
798
- /***/ 553:
799
- /***/ (function(module, exports, __webpack_require__) {
800
-
801
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
802
- if (true) {
803
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
804
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
805
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
806
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
807
- } else { var mod; }
808
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
809
- "use strict";
810
-
811
- var _typeof = (__webpack_require__(306)["default"]);
812
- var assertThisInitialized = __webpack_require__(43);
813
- function _possibleConstructorReturn(self, call) {
814
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
815
- return call;
816
- } else if (call !== void 0) {
817
- throw new TypeError("Derived constructors may only return object or undefined");
818
- }
819
- return assertThisInitialized(self);
820
- }
821
- module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
822
- });
823
-
824
- /***/ }),
825
-
826
- /***/ 416:
827
- /***/ (function(module, exports, __webpack_require__) {
828
-
829
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
830
- if (true) {
831
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
832
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
833
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
834
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
835
- } else { var mod; }
836
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
837
- "use strict";
838
-
839
- var _typeof = (__webpack_require__(306)["default"]);
840
- function _regeneratorRuntime() {
841
- "use strict";
842
-
843
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
844
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
845
- return exports;
846
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
847
- var exports = {},
848
- Op = Object.prototype,
849
- hasOwn = Op.hasOwnProperty,
850
- defineProperty = Object.defineProperty || function (obj, key, desc) {
851
- obj[key] = desc.value;
852
- },
853
- $Symbol = "function" == typeof Symbol ? Symbol : {},
854
- iteratorSymbol = $Symbol.iterator || "@@iterator",
855
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
856
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
857
- function define(obj, key, value) {
858
- return Object.defineProperty(obj, key, {
859
- value: value,
860
- enumerable: !0,
861
- configurable: !0,
862
- writable: !0
863
- }), obj[key];
864
- }
865
- try {
866
- define({}, "");
867
- } catch (err) {
868
- define = function define(obj, key, value) {
869
- return obj[key] = value;
870
- };
871
- }
872
- function wrap(innerFn, outerFn, self, tryLocsList) {
873
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
874
- generator = Object.create(protoGenerator.prototype),
875
- context = new Context(tryLocsList || []);
876
- return defineProperty(generator, "_invoke", {
877
- value: makeInvokeMethod(innerFn, self, context)
878
- }), generator;
879
- }
880
- function tryCatch(fn, obj, arg) {
881
- try {
882
- return {
883
- type: "normal",
884
- arg: fn.call(obj, arg)
885
- };
886
- } catch (err) {
887
- return {
888
- type: "throw",
889
- arg: err
890
- };
891
- }
892
- }
893
- exports.wrap = wrap;
894
- var ContinueSentinel = {};
895
- function Generator() {}
896
- function GeneratorFunction() {}
897
- function GeneratorFunctionPrototype() {}
898
- var IteratorPrototype = {};
899
- define(IteratorPrototype, iteratorSymbol, function () {
900
- return this;
901
- });
902
- var getProto = Object.getPrototypeOf,
903
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
904
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
905
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
906
- function defineIteratorMethods(prototype) {
907
- ["next", "throw", "return"].forEach(function (method) {
908
- define(prototype, method, function (arg) {
909
- return this._invoke(method, arg);
910
- });
911
- });
912
- }
913
- function AsyncIterator(generator, PromiseImpl) {
914
- function invoke(method, arg, resolve, reject) {
915
- var record = tryCatch(generator[method], generator, arg);
916
- if ("throw" !== record.type) {
917
- var result = record.arg,
918
- value = result.value;
919
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
920
- invoke("next", value, resolve, reject);
921
- }, function (err) {
922
- invoke("throw", err, resolve, reject);
923
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
924
- result.value = unwrapped, resolve(result);
925
- }, function (error) {
926
- return invoke("throw", error, resolve, reject);
927
- });
928
- }
929
- reject(record.arg);
930
- }
931
- var previousPromise;
932
- defineProperty(this, "_invoke", {
933
- value: function value(method, arg) {
934
- function callInvokeWithMethodAndArg() {
935
- return new PromiseImpl(function (resolve, reject) {
936
- invoke(method, arg, resolve, reject);
937
- });
938
- }
939
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
940
- }
941
- });
942
- }
943
- function makeInvokeMethod(innerFn, self, context) {
944
- var state = "suspendedStart";
945
- return function (method, arg) {
946
- if ("executing" === state) throw new Error("Generator is already running");
947
- if ("completed" === state) {
948
- if ("throw" === method) throw arg;
949
- return doneResult();
950
- }
951
- for (context.method = method, context.arg = arg;;) {
952
- var delegate = context.delegate;
953
- if (delegate) {
954
- var delegateResult = maybeInvokeDelegate(delegate, context);
955
- if (delegateResult) {
956
- if (delegateResult === ContinueSentinel) continue;
957
- return delegateResult;
958
- }
959
- }
960
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
961
- if ("suspendedStart" === state) throw state = "completed", context.arg;
962
- context.dispatchException(context.arg);
963
- } else "return" === context.method && context.abrupt("return", context.arg);
964
- state = "executing";
965
- var record = tryCatch(innerFn, self, context);
966
- if ("normal" === record.type) {
967
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
968
- return {
969
- value: record.arg,
970
- done: context.done
971
- };
972
- }
973
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
974
- }
975
- };
976
- }
977
- function maybeInvokeDelegate(delegate, context) {
978
- var methodName = context.method,
979
- method = delegate.iterator[methodName];
980
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
981
- var record = tryCatch(method, delegate.iterator, context.arg);
982
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
983
- var info = record.arg;
984
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
985
- }
986
- function pushTryEntry(locs) {
987
- var entry = {
988
- tryLoc: locs[0]
989
- };
990
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
991
- }
992
- function resetTryEntry(entry) {
993
- var record = entry.completion || {};
994
- record.type = "normal", delete record.arg, entry.completion = record;
995
- }
996
- function Context(tryLocsList) {
997
- this.tryEntries = [{
998
- tryLoc: "root"
999
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
1000
- }
1001
- function values(iterable) {
1002
- if (iterable) {
1003
- var iteratorMethod = iterable[iteratorSymbol];
1004
- if (iteratorMethod) return iteratorMethod.call(iterable);
1005
- if ("function" == typeof iterable.next) return iterable;
1006
- if (!isNaN(iterable.length)) {
1007
- var i = -1,
1008
- next = function next() {
1009
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
1010
- return next.value = undefined, next.done = !0, next;
1011
- };
1012
- return next.next = next;
1013
- }
1014
- }
1015
- return {
1016
- next: doneResult
1017
- };
1018
- }
1019
- function doneResult() {
1020
- return {
1021
- value: undefined,
1022
- done: !0
1023
- };
1024
- }
1025
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
1026
- value: GeneratorFunctionPrototype,
1027
- configurable: !0
1028
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
1029
- value: GeneratorFunction,
1030
- configurable: !0
1031
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
1032
- var ctor = "function" == typeof genFun && genFun.constructor;
1033
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
1034
- }, exports.mark = function (genFun) {
1035
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
1036
- }, exports.awrap = function (arg) {
1037
- return {
1038
- __await: arg
1039
- };
1040
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
1041
- return this;
1042
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
1043
- void 0 === PromiseImpl && (PromiseImpl = Promise);
1044
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
1045
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
1046
- return result.done ? result.value : iter.next();
1047
- });
1048
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
1049
- return this;
1050
- }), define(Gp, "toString", function () {
1051
- return "[object Generator]";
1052
- }), exports.keys = function (val) {
1053
- var object = Object(val),
1054
- keys = [];
1055
- for (var key in object) keys.push(key);
1056
- return keys.reverse(), function next() {
1057
- for (; keys.length;) {
1058
- var key = keys.pop();
1059
- if (key in object) return next.value = key, next.done = !1, next;
1060
- }
1061
- return next.done = !0, next;
1062
- };
1063
- }, exports.values = values, Context.prototype = {
1064
- constructor: Context,
1065
- reset: function reset(skipTempReset) {
1066
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
1067
- },
1068
- stop: function stop() {
1069
- this.done = !0;
1070
- var rootRecord = this.tryEntries[0].completion;
1071
- if ("throw" === rootRecord.type) throw rootRecord.arg;
1072
- return this.rval;
1073
- },
1074
- dispatchException: function dispatchException(exception) {
1075
- if (this.done) throw exception;
1076
- var context = this;
1077
- function handle(loc, caught) {
1078
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
1079
- }
1080
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1081
- var entry = this.tryEntries[i],
1082
- record = entry.completion;
1083
- if ("root" === entry.tryLoc) return handle("end");
1084
- if (entry.tryLoc <= this.prev) {
1085
- var hasCatch = hasOwn.call(entry, "catchLoc"),
1086
- hasFinally = hasOwn.call(entry, "finallyLoc");
1087
- if (hasCatch && hasFinally) {
1088
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
1089
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
1090
- } else if (hasCatch) {
1091
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
1092
- } else {
1093
- if (!hasFinally) throw new Error("try statement without catch or finally");
1094
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
1095
- }
1096
- }
1097
- }
1098
- },
1099
- abrupt: function abrupt(type, arg) {
1100
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1101
- var entry = this.tryEntries[i];
1102
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
1103
- var finallyEntry = entry;
1104
- break;
1105
- }
1106
- }
1107
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
1108
- var record = finallyEntry ? finallyEntry.completion : {};
1109
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
1110
- },
1111
- complete: function complete(record, afterLoc) {
1112
- if ("throw" === record.type) throw record.arg;
1113
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
1114
- },
1115
- finish: function finish(finallyLoc) {
1116
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1117
- var entry = this.tryEntries[i];
1118
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
1119
- }
1120
- },
1121
- "catch": function _catch(tryLoc) {
1122
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1123
- var entry = this.tryEntries[i];
1124
- if (entry.tryLoc === tryLoc) {
1125
- var record = entry.completion;
1126
- if ("throw" === record.type) {
1127
- var thrown = record.arg;
1128
- resetTryEntry(entry);
1129
- }
1130
- return thrown;
1131
- }
1132
- }
1133
- throw new Error("illegal catch attempt");
1134
- },
1135
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
1136
- return this.delegate = {
1137
- iterator: values(iterable),
1138
- resultName: resultName,
1139
- nextLoc: nextLoc
1140
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
1141
- }
1142
- }, exports;
1143
- }
1144
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
1145
- });
1146
-
1147
- /***/ }),
1148
-
1149
- /***/ 917:
1150
- /***/ (function(module, exports) {
1151
-
1152
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1153
- if (true) {
1154
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1155
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1156
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1157
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1158
- } else { var mod; }
1159
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1160
- "use strict";
1161
-
1162
- function _setPrototypeOf(o, p) {
1163
- module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
1164
- o.__proto__ = p;
1165
- return o;
1166
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1167
- return _setPrototypeOf(o, p);
1168
- }
1169
- module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1170
- });
1171
-
1172
- /***/ }),
1173
-
1174
- /***/ 826:
1175
- /***/ (function(module, exports, __webpack_require__) {
1176
-
1177
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1178
- if (true) {
1179
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1180
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1181
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1182
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1183
- } else { var mod; }
1184
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1185
- "use strict";
1186
-
1187
- var arrayWithHoles = __webpack_require__(42);
1188
- var iterableToArrayLimit = __webpack_require__(734);
1189
- var unsupportedIterableToArray = __webpack_require__(390);
1190
- var nonIterableRest = __webpack_require__(261);
1191
- function _slicedToArray(arr, i) {
1192
- return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
1193
- }
1194
- module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1195
- });
1196
-
1197
- /***/ }),
1198
-
1199
- /***/ 837:
1200
- /***/ (function(module, exports, __webpack_require__) {
1201
-
1202
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1203
- if (true) {
1204
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1205
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1206
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1207
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1208
- } else { var mod; }
1209
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1210
- "use strict";
1211
-
1212
- var _typeof = (__webpack_require__(306)["default"]);
1213
- function _toPrimitive(input, hint) {
1214
- if (_typeof(input) !== "object" || input === null) return input;
1215
- var prim = input[Symbol.toPrimitive];
1216
- if (prim !== undefined) {
1217
- var res = prim.call(input, hint || "default");
1218
- if (_typeof(res) !== "object") return res;
1219
- throw new TypeError("@@toPrimitive must return a primitive value.");
1220
- }
1221
- return (hint === "string" ? String : Number)(input);
1222
- }
1223
- module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
1224
- });
1225
-
1226
- /***/ }),
1227
-
1228
- /***/ 517:
1229
- /***/ (function(module, exports, __webpack_require__) {
1230
-
1231
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1232
- if (true) {
1233
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1234
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1235
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1236
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1237
- } else { var mod; }
1238
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1239
- "use strict";
1240
-
1241
- var _typeof = (__webpack_require__(306)["default"]);
1242
- var toPrimitive = __webpack_require__(837);
1243
- function _toPropertyKey(arg) {
1244
- var key = toPrimitive(arg, "string");
1245
- return _typeof(key) === "symbol" ? key : String(key);
1246
- }
1247
- module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
1248
- });
1249
-
1250
- /***/ }),
1251
-
1252
- /***/ 306:
1253
- /***/ (function(module, exports) {
1254
-
1255
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1256
- if (true) {
1257
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1258
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1259
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1260
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1261
- } else { var mod; }
1262
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1263
- "use strict";
1264
-
1265
- function _typeof(obj) {
1266
- "@babel/helpers - typeof";
1267
-
1268
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1269
- return typeof obj;
1270
- } : function (obj) {
1271
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1272
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
1273
- }
1274
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
1275
- });
1276
-
1277
- /***/ }),
1278
-
1279
- /***/ 390:
1280
- /***/ (function(module, exports, __webpack_require__) {
1281
-
1282
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1283
- if (true) {
1284
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1285
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1286
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1287
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1288
- } else { var mod; }
1289
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
1290
- "use strict";
1291
-
1292
- var arrayLikeToArray = __webpack_require__(891);
1293
- function _unsupportedIterableToArray(o, minLen) {
1294
- if (!o) return;
1295
- if (typeof o === "string") return arrayLikeToArray(o, minLen);
1296
- var n = Object.prototype.toString.call(o).slice(8, -1);
1297
- if (n === "Object" && o.constructor) n = o.constructor.name;
1298
- if (n === "Map" || n === "Set") return Array.from(o);
1299
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
1300
- }
1301
- module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1302
- });
1303
-
1304
- /***/ }),
1305
-
1306
- /***/ 404:
1307
- /***/ (function(module, exports, __webpack_require__) {
1308
-
1309
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
1310
- if (true) {
1311
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(306)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1312
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
1313
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
1314
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1315
- } else { var mod; }
1316
- })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_typeof2) {
1317
- "use strict";
1318
-
1319
- var _interopRequireDefault = __webpack_require__(151);
1320
- _typeof2 = _interopRequireDefault(_typeof2);
1321
- // TODO(Babel 8): Remove this file.
1322
-
1323
- var runtime = __webpack_require__(416)();
1324
- module.exports = runtime;
1325
-
1326
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
1327
- try {
1328
- regeneratorRuntime = runtime;
1329
- } catch (accidentalStrictMode) {
1330
- if ((typeof globalThis === "undefined" ? "undefined" : (0, _typeof2["default"])(globalThis)) === "object") {
1331
- globalThis.regeneratorRuntime = runtime;
1332
- } else {
1333
- Function("r", "regeneratorRuntime = r")(runtime);
1334
- }
1335
- }
1336
- });
1337
-
1338
- /***/ })
1339
-
1340
- /******/ });
1341
- /************************************************************************/
1342
- /******/ // The module cache
1343
- /******/ var __webpack_module_cache__ = {};
1344
- /******/
1345
- /******/ // The require function
1346
- /******/ function __webpack_require__(moduleId) {
1347
- /******/ // Check if module is in cache
1348
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
1349
- /******/ if (cachedModule !== undefined) {
1350
- /******/ return cachedModule.exports;
1351
- /******/ }
1352
- /******/ // Create a new module (and put it into the cache)
1353
- /******/ var module = __webpack_module_cache__[moduleId] = {
1354
- /******/ // no module.id needed
1355
- /******/ // no module.loaded needed
1356
- /******/ exports: {}
1357
- /******/ };
1358
- /******/
1359
- /******/ // Execute the module function
1360
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
1361
- /******/
1362
- /******/ // Return the exports of the module
1363
- /******/ return module.exports;
1364
- /******/ }
1365
- /******/
1366
- /************************************************************************/
1367
- /******/
1368
- /******/ // startup
1369
- /******/ // Load entry module and return exports
1370
- /******/ // This entry module is referenced by other modules so it can't be inlined
1371
- /******/ var __webpack_exports__ = __webpack_require__(593);
1372
- /******/
1373
- /******/ return __webpack_exports__;
1374
- /******/ })()
1375
- ;
1376
- });
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Utils=t():e.Utils=t()}(self,(()=>{return e={593:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(854)],void 0===(i="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})?r.apply(t,o):r)||(e.exports=i)},744:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(306),n(693)],void 0===(i="function"==typeof(r=function(e,t,r){"use strict";var o=n(151);function i(e){return r.VAL_TYPE[(0,t.default)(e)]||r.VAL_TYPE[Object.prototype.toString.call(e)]||(e?"object":"null")}function u(e,t){return i(e)===t}function f(e){return"string"===i(e)}function a(e){return"boolean"===i(e)}function l(e){return"function"===i(e)}function s(e){return"object"===i(e)}function c(e){return Array.isArray(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.getParamType=i,e.isArray=c,e.isBoolean=a,e.isFunction=l,e.isPlainObject=s,e.isString=f,e.isType=u,t=o(t)})?r.apply(t,o):r)||(e.exports=i)},780:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(456),n(553),n(853),n(826),n(554),n(577)],r=function(e,t,r,o,i,u,f){"use strict";var a=n(151);function l(e){var t=s();return function(){var n,i=(0,o.default)(e);if(t){var u=(0,o.default)(this).constructor;n=Reflect.construct(i,arguments,u)}else n=i.apply(this,arguments);return(0,r.default)(this,n)}}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.EventFree=e.EventBase=e.Event=void 0,t=a(t),r=a(r),o=a(o),i=a(i),u=a(u),f=a(f);var c=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(this,e),this.handlers={},Object.entries(n).forEach((function(e){var n=(0,i.default)(e,2),r=n[0],o=n[1];t.handlers[r]=[o]}))}return(0,f.default)(e,[{key:"on",value:function(e,t){var n,r;null!==(n=(r=this.handlers)[e])&&void 0!==n||(r[e]=[]),this.handlers[e].push(t)}},{key:"off",value:function(e,t){var n=this.handlers[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this.handlers[e];o&&o.forEach((function(e){e.apply(void 0,n)}))}}]),e}();e.EventBase=c;var p=function(e){(0,t.default)(r,e);var n=l(r);function r(){return(0,u.default)(this,r),n.apply(this,arguments)}return(0,f.default)(r)}(c);e.Event=p;var d=function(e){(0,t.default)(r,e);var n=l(r);function r(){return(0,u.default)(this,r),n.apply(this,arguments)}return(0,f.default)(r)}(c);e.EventFree=d},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},996:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(826),n(693),n(744)],void 0===(i="function"==typeof(r=function(e,t,r,o){"use strict";var i=n(151);function u(e,n){var i={};return n.forEach((function(n){var u=(0,t.default)(n,3),f=u[0],a=u[1],l=u[2];(0,o.isType)(e[f],a)||((0,o.isFunction)(l)&&"function"!==a&&(l=l()),i[f]=l||r.defaultValueMap[a])})),Object.assign(Object.assign({},e),i)}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObj=u,t=i(t)})?r.apply(t,o):r)||(e.exports=i)},854:function(e,t,n){var r,o,i,u=n(306);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(780),n(744),n(996),n(465),n(15)],void 0===(i="function"==typeof(r=function(e,t,n,r,o,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var f={obj:!0};function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var f=o?Object.getOwnPropertyDescriptor(e,i):null;f&&(f.get||f.set)?Object.defineProperty(r,i,f):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}e.obj=void 0,Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(f,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))})),Object.keys(n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(f,t)||t in e&&e[t]===n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))})),Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(f,t)||t in e&&e[t]===r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})),Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(f,t)||t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))})),i=l(i),e.obj=i})?r.apply(t,o):r)||(e.exports=i)},15:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[t],void 0===(o="function"==typeof(n=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.objPick=void 0;var t=function(e,t){return t.reduce((function(t,n){var r=e[n];return r&&(t[n]=r),t}),{})};e.objPick=t})?n.apply(t,r):n)||(e.exports=o)},465:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(404)],r=function(e,t){"use strict";var r=n(151);Object.defineProperty(e,"__esModule",{value:!0}),e.sleep=e.promiseTimeout=void 0,t=r(t);var o=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function f(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?n(e.value):o(e.value).then(u,f)}a((r=r.apply(e,t||[])).next())}))},i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;return o(void 0,void 0,void 0,t.default.mark((function r(){return t.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u(n);case 2:return t.abrupt("return",e());case 3:case"end":return t.stop()}}),r)})))};e.promiseTimeout=i;var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return new Promise((function(t){setTimeout((function(){t()}),e)}))};e.sleep=u},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},693:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[t],void 0===(o="function"==typeof(n=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultValueMap=e.VAL_TYPE=void 0;var t={boolean:"boolean",undefined:"undefined",number:"undefined",string:"string",null:"null","[object Object]":"object","[object Function]":"function","[object RegExp]":"regexp","[object Array]":"array","[object Date]":"date","[object Error]":"error","[object Blob]":"blob","[object File]":"file","[object ArrayBuffer]":"arrayBuffer"};e.VAL_TYPE=t;var n,r,o,i,u={boolean:!1,undefined:void 0,number:0,string:"",null:null,object:{},function:function(){},regexp:/^.*$/,array:[],arrayBuffer:new ArrayBuffer(4)};e.defaultValueMap=u,Object.defineProperty(u,"date",{get:function(){return n||(n=new Date),n}}),Object.defineProperty(u,"error",{get:function(){return r||(r=new Error),r}}),Object.defineProperty(u,"blob",{get:function(){return o||(o=new Blob([])),o}}),Object.defineProperty(u,"file",{get:function(){return i||(i=new File([],"file")),i}})})?n.apply(t,r):n)||(e.exports=o)},891:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},42:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e){if(Array.isArray(e))return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},43:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},554:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},577:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(517);function r(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,t(o.key),o)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},853:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},456:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(917);function r(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&t(e,n)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},151:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},734:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,f=[],a=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(f.push(r.value),f.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{if(!a&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return f}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},261:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},553:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(306).default,r=n(43);function o(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},416:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],r=function(){"use strict";var t=n(306).default;function r(){e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var n={},o=Object.prototype,i=o.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},f="function"==typeof Symbol?Symbol:{},a=f.iterator||"@@iterator",l=f.asyncIterator||"@@asyncIterator",s=f.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),f=new M(r||[]);return u(i,"_invoke",{value:O(e,n,f)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var y={};function h(){}function v(){}function b(){}var g={};c(g,a,(function(){return this}));var x=Object.getPrototypeOf,m=x&&x(x(L([])));m&&m!==o&&i.call(m,a)&&(g=m);var _=b.prototype=h.prototype=Object.create(g);function j(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,n){function r(o,u,f,a){var l=d(e[o],e,u);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==t(c)&&i.call(c,"__await")?n.resolve(c.__await).then((function(e){r("next",e,f,a)}),(function(e){r("throw",e,f,a)})):n.resolve(c).then((function(e){s.value=e,f(s)}),(function(e){return r("throw",e,f,a)}))}a(l.arg)}var o;u(this,"_invoke",{value:function(e,t){function i(){return new n((function(n,o){r(e,t,n,o)}))}return o=o?o.then(i,i):i()}})}function O(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var f=T(u,n);if(f){if(f===y)continue;return f}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var a=d(e,t,n);if("normal"===a.type){if(r=n.done?"completed":"suspendedYield",a.arg===y)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r="completed",n.method="throw",n.arg=a.arg)}}}function T(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function L(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:k}}function k(){return{value:void 0,done:!0}}return v.prototype=b,u(_,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:v,configurable:!0}),v.displayName=c(b,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},n.awrap=function(e){return{__await:e}},j(w.prototype),c(w.prototype,l,(function(){return this})),n.AsyncIterator=w,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var u=new w(p(e,t,r,o),i);return n.isGeneratorFunction(t)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},j(_),c(_,s,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=L,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return u.type="throw",u.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],u=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var f=i.call(o,"catchLoc"),a=i.call(o,"finallyLoc");if(f&&a){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(f){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=e,u.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(u)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),y}},n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},917:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},826:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(42),r=n(734),o=n(390),i=n(261);function u(e,n){return t(e)||r(e,n)||o(e,n)||i()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},837:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(306).default;function r(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},517:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(306).default,r=n(837);function o(e){var n=r(e,"string");return"symbol"===t(n)?n:String(n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},306:function(e,t){var n,r,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(n=function(){"use strict";function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})?n.apply(t,r):n)||(e.exports=o)},390:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=n(891);function r(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})?r.apply(t,o):r)||(e.exports=i)},404:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[n(306)],void 0===(i="function"==typeof(r=function(t){"use strict";var r=n(151);t=r(t);var o=n(416)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":(0,t.default)(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}})?r.apply(t,o):r)||(e.exports=i)}},t={},function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(593);var e,t}));