@hyjiacan/vue-slideout 3.0.1 → 3.0.2
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/API.md +19 -16
- package/API.zh-CN.md +14 -11
- package/README.md +8 -8
- package/dist/slideout.common.js +806 -1907
- package/dist/slideout.css +1 -1
- package/dist/slideout.umd.js +806 -1907
- package/dist/slideout.umd.min.js +1 -1
- package/package.json +8 -6
- package/src/assets/langs.json +11 -1
- package/src/components/computed.js +24 -11
- package/src/components/index.js +8 -8
- package/src/components/methods.js +33 -26
- package/src/views/Main.vue +3 -0
- package/src/views/demos/NestedDemo.vue +85 -0
- package/types/slideout.d.ts +96 -0
package/dist/slideout.umd.js
CHANGED
|
@@ -96,61 +96,37 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/ "
|
|
99
|
+
/***/ "00ee":
|
|
100
100
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
var $ = __webpack_require__("23e7");
|
|
107
|
-
var global = __webpack_require__("da84");
|
|
108
|
-
var call = __webpack_require__("c65b");
|
|
109
|
-
var uncurryThis = __webpack_require__("e330");
|
|
110
|
-
var isCallable = __webpack_require__("1626");
|
|
111
|
-
var isObject = __webpack_require__("861d");
|
|
104
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
105
|
+
var test = {};
|
|
112
106
|
|
|
113
|
-
|
|
114
|
-
var execCalled = false;
|
|
115
|
-
var re = /[ac]/;
|
|
116
|
-
re.exec = function () {
|
|
117
|
-
execCalled = true;
|
|
118
|
-
return /./.exec.apply(this, arguments);
|
|
119
|
-
};
|
|
120
|
-
return re.test('abc') === true && execCalled;
|
|
121
|
-
}();
|
|
107
|
+
test[TO_STRING_TAG] = 'z';
|
|
122
108
|
|
|
123
|
-
|
|
124
|
-
var un$Test = uncurryThis(/./.test);
|
|
125
|
-
|
|
126
|
-
// `RegExp.prototype.test` method
|
|
127
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
128
|
-
$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
129
|
-
test: function (str) {
|
|
130
|
-
var exec = this.exec;
|
|
131
|
-
if (!isCallable(exec)) return un$Test(this, str);
|
|
132
|
-
var result = call(exec, this, str);
|
|
133
|
-
if (result !== null && !isObject(result)) {
|
|
134
|
-
throw new Error('RegExp exec method returned something other than an Object or null');
|
|
135
|
-
}
|
|
136
|
-
return !!result;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
109
|
+
module.exports = String(test) === '[object z]';
|
|
139
110
|
|
|
140
111
|
|
|
141
112
|
/***/ }),
|
|
142
113
|
|
|
143
|
-
/***/ "
|
|
114
|
+
/***/ "04f8":
|
|
144
115
|
/***/ (function(module, exports, __webpack_require__) {
|
|
145
116
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
var
|
|
149
|
-
var test = {};
|
|
150
|
-
|
|
151
|
-
test[TO_STRING_TAG] = 'z';
|
|
117
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
118
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
119
|
+
var fails = __webpack_require__("d039");
|
|
152
120
|
|
|
153
|
-
|
|
121
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
122
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
123
|
+
var symbol = Symbol();
|
|
124
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
125
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
126
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
127
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
128
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
129
|
+
});
|
|
154
130
|
|
|
155
131
|
|
|
156
132
|
/***/ }),
|
|
@@ -196,87 +172,6 @@ module.exports = function (obj) {
|
|
|
196
172
|
};
|
|
197
173
|
|
|
198
174
|
|
|
199
|
-
/***/ }),
|
|
200
|
-
|
|
201
|
-
/***/ "0b42":
|
|
202
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
203
|
-
|
|
204
|
-
var global = __webpack_require__("da84");
|
|
205
|
-
var isArray = __webpack_require__("e8b5");
|
|
206
|
-
var isConstructor = __webpack_require__("68ee");
|
|
207
|
-
var isObject = __webpack_require__("861d");
|
|
208
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
209
|
-
|
|
210
|
-
var SPECIES = wellKnownSymbol('species');
|
|
211
|
-
var Array = global.Array;
|
|
212
|
-
|
|
213
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
214
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
215
|
-
module.exports = function (originalArray) {
|
|
216
|
-
var C;
|
|
217
|
-
if (isArray(originalArray)) {
|
|
218
|
-
C = originalArray.constructor;
|
|
219
|
-
// cross-realm fallback
|
|
220
|
-
if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;
|
|
221
|
-
else if (isObject(C)) {
|
|
222
|
-
C = C[SPECIES];
|
|
223
|
-
if (C === null) C = undefined;
|
|
224
|
-
}
|
|
225
|
-
} return C === undefined ? Array : C;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
/***/ }),
|
|
230
|
-
|
|
231
|
-
/***/ "0cb2":
|
|
232
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
233
|
-
|
|
234
|
-
var uncurryThis = __webpack_require__("e330");
|
|
235
|
-
var toObject = __webpack_require__("7b0b");
|
|
236
|
-
|
|
237
|
-
var floor = Math.floor;
|
|
238
|
-
var charAt = uncurryThis(''.charAt);
|
|
239
|
-
var replace = uncurryThis(''.replace);
|
|
240
|
-
var stringSlice = uncurryThis(''.slice);
|
|
241
|
-
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
242
|
-
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
243
|
-
|
|
244
|
-
// `GetSubstitution` abstract operation
|
|
245
|
-
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
246
|
-
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
247
|
-
var tailPos = position + matched.length;
|
|
248
|
-
var m = captures.length;
|
|
249
|
-
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
250
|
-
if (namedCaptures !== undefined) {
|
|
251
|
-
namedCaptures = toObject(namedCaptures);
|
|
252
|
-
symbols = SUBSTITUTION_SYMBOLS;
|
|
253
|
-
}
|
|
254
|
-
return replace(replacement, symbols, function (match, ch) {
|
|
255
|
-
var capture;
|
|
256
|
-
switch (charAt(ch, 0)) {
|
|
257
|
-
case '$': return '$';
|
|
258
|
-
case '&': return matched;
|
|
259
|
-
case '`': return stringSlice(str, 0, position);
|
|
260
|
-
case "'": return stringSlice(str, tailPos);
|
|
261
|
-
case '<':
|
|
262
|
-
capture = namedCaptures[stringSlice(ch, 1, -1)];
|
|
263
|
-
break;
|
|
264
|
-
default: // \d\d?
|
|
265
|
-
var n = +ch;
|
|
266
|
-
if (n === 0) return match;
|
|
267
|
-
if (n > m) {
|
|
268
|
-
var f = floor(n / 10);
|
|
269
|
-
if (f === 0) return match;
|
|
270
|
-
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
271
|
-
return match;
|
|
272
|
-
}
|
|
273
|
-
capture = captures[n - 1];
|
|
274
|
-
}
|
|
275
|
-
return capture === undefined ? '' : capture;
|
|
276
|
-
});
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
|
|
280
175
|
/***/ }),
|
|
281
176
|
|
|
282
177
|
/***/ "0cfb":
|
|
@@ -286,7 +181,7 @@ var DESCRIPTORS = __webpack_require__("83ab");
|
|
|
286
181
|
var fails = __webpack_require__("d039");
|
|
287
182
|
var createElement = __webpack_require__("cc12");
|
|
288
183
|
|
|
289
|
-
//
|
|
184
|
+
// Thanks to IE8 for its funny defineProperty
|
|
290
185
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
291
186
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
292
187
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
@@ -297,16 +192,35 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
297
192
|
|
|
298
193
|
/***/ }),
|
|
299
194
|
|
|
300
|
-
/***/ "
|
|
195
|
+
/***/ "0d26":
|
|
301
196
|
/***/ (function(module, exports, __webpack_require__) {
|
|
302
197
|
|
|
303
|
-
var
|
|
198
|
+
var uncurryThis = __webpack_require__("e330");
|
|
199
|
+
|
|
200
|
+
var $Error = Error;
|
|
201
|
+
var replace = uncurryThis(''.replace);
|
|
202
|
+
|
|
203
|
+
var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
|
|
204
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
205
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
206
|
+
|
|
207
|
+
module.exports = function (stack, dropEntries) {
|
|
208
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
209
|
+
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
210
|
+
} return stack;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
/***/ }),
|
|
215
|
+
|
|
216
|
+
/***/ "0d51":
|
|
217
|
+
/***/ (function(module, exports) {
|
|
304
218
|
|
|
305
|
-
var String =
|
|
219
|
+
var $String = String;
|
|
306
220
|
|
|
307
221
|
module.exports = function (argument) {
|
|
308
222
|
try {
|
|
309
|
-
return String(argument);
|
|
223
|
+
return $String(argument);
|
|
310
224
|
} catch (error) {
|
|
311
225
|
return 'Object';
|
|
312
226
|
}
|
|
@@ -315,58 +229,122 @@ module.exports = function (argument) {
|
|
|
315
229
|
|
|
316
230
|
/***/ }),
|
|
317
231
|
|
|
318
|
-
/***/ "
|
|
232
|
+
/***/ "13d2":
|
|
319
233
|
/***/ (function(module, exports, __webpack_require__) {
|
|
320
234
|
|
|
321
235
|
var fails = __webpack_require__("d039");
|
|
322
|
-
var
|
|
236
|
+
var isCallable = __webpack_require__("1626");
|
|
237
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
238
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
239
|
+
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE;
|
|
240
|
+
var inspectSource = __webpack_require__("8925");
|
|
241
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
323
242
|
|
|
324
|
-
|
|
325
|
-
var
|
|
243
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
244
|
+
var getInternalState = InternalStateModule.get;
|
|
245
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
246
|
+
var defineProperty = Object.defineProperty;
|
|
326
247
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
return re.exec('b').groups.a !== 'b' ||
|
|
330
|
-
'b'.replace(re, '$<a>c') !== 'bc';
|
|
248
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
249
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
331
250
|
});
|
|
332
251
|
|
|
252
|
+
var TEMPLATE = String(String).split('String');
|
|
253
|
+
|
|
254
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
255
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
256
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
257
|
+
}
|
|
258
|
+
if (options && options.getter) name = 'get ' + name;
|
|
259
|
+
if (options && options.setter) name = 'set ' + name;
|
|
260
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
261
|
+
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
|
262
|
+
else value.name = name;
|
|
263
|
+
}
|
|
264
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
265
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
266
|
+
}
|
|
267
|
+
try {
|
|
268
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
269
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
270
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
271
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
272
|
+
} catch (error) { /* empty */ }
|
|
273
|
+
var state = enforceInternalState(value);
|
|
274
|
+
if (!hasOwn(state, 'source')) {
|
|
275
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
276
|
+
} return value;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
280
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
281
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
282
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
283
|
+
}, 'toString');
|
|
284
|
+
|
|
333
285
|
|
|
334
286
|
/***/ }),
|
|
335
287
|
|
|
336
|
-
/***/ "
|
|
288
|
+
/***/ "14d9":
|
|
337
289
|
/***/ (function(module, exports, __webpack_require__) {
|
|
338
290
|
|
|
339
|
-
|
|
340
|
-
var call = __webpack_require__("c65b");
|
|
341
|
-
var anObject = __webpack_require__("825a");
|
|
342
|
-
var isCallable = __webpack_require__("1626");
|
|
343
|
-
var classof = __webpack_require__("c6b6");
|
|
344
|
-
var regexpExec = __webpack_require__("9263");
|
|
291
|
+
"use strict";
|
|
345
292
|
|
|
346
|
-
var
|
|
293
|
+
var $ = __webpack_require__("23e7");
|
|
294
|
+
var toObject = __webpack_require__("7b0b");
|
|
295
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
296
|
+
var setArrayLength = __webpack_require__("3a34");
|
|
297
|
+
var doesNotExceedSafeInteger = __webpack_require__("3511");
|
|
298
|
+
var fails = __webpack_require__("d039");
|
|
347
299
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
300
|
+
var INCORRECT_TO_LENGTH = fails(function () {
|
|
301
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
// V8 and Safari <= 15.4, FF < 23 throws InternalError
|
|
305
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
306
|
+
var SILENT_ON_NON_WRITABLE_LENGTH = !function () {
|
|
307
|
+
try {
|
|
308
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
309
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
310
|
+
} catch (error) {
|
|
311
|
+
return error instanceof TypeError;
|
|
356
312
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
313
|
+
}();
|
|
314
|
+
|
|
315
|
+
// `Array.prototype.push` method
|
|
316
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
317
|
+
$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {
|
|
318
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
319
|
+
push: function push(item) {
|
|
320
|
+
var O = toObject(this);
|
|
321
|
+
var len = lengthOfArrayLike(O);
|
|
322
|
+
var argCount = arguments.length;
|
|
323
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
324
|
+
for (var i = 0; i < argCount; i++) {
|
|
325
|
+
O[len] = arguments[i];
|
|
326
|
+
len++;
|
|
327
|
+
}
|
|
328
|
+
setArrayLength(O, len);
|
|
329
|
+
return len;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
360
332
|
|
|
361
333
|
|
|
362
334
|
/***/ }),
|
|
363
335
|
|
|
364
336
|
/***/ "1626":
|
|
365
|
-
/***/ (function(module, exports) {
|
|
337
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
338
|
+
|
|
339
|
+
var $documentAll = __webpack_require__("8ea1");
|
|
340
|
+
|
|
341
|
+
var documentAll = $documentAll.all;
|
|
366
342
|
|
|
367
343
|
// `IsCallable` abstract operation
|
|
368
344
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
369
|
-
module.exports = function (argument) {
|
|
345
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
|
|
346
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
347
|
+
} : function (argument) {
|
|
370
348
|
return typeof argument == 'function';
|
|
371
349
|
};
|
|
372
350
|
|
|
@@ -383,64 +361,29 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
383
361
|
|
|
384
362
|
// `HasOwnProperty` abstract operation
|
|
385
363
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
364
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
386
365
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
387
366
|
return hasOwnProperty(toObject(it), key);
|
|
388
367
|
};
|
|
389
368
|
|
|
390
369
|
|
|
391
|
-
/***/ }),
|
|
392
|
-
|
|
393
|
-
/***/ "1be4":
|
|
394
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
395
|
-
|
|
396
|
-
var getBuiltIn = __webpack_require__("d066");
|
|
397
|
-
|
|
398
|
-
module.exports = getBuiltIn('document', 'documentElement');
|
|
399
|
-
|
|
400
|
-
|
|
401
370
|
/***/ }),
|
|
402
371
|
|
|
403
372
|
/***/ "1d80":
|
|
404
373
|
/***/ (function(module, exports, __webpack_require__) {
|
|
405
374
|
|
|
406
|
-
var
|
|
375
|
+
var isNullOrUndefined = __webpack_require__("7234");
|
|
407
376
|
|
|
408
|
-
var TypeError =
|
|
377
|
+
var $TypeError = TypeError;
|
|
409
378
|
|
|
410
379
|
// `RequireObjectCoercible` abstract operation
|
|
411
380
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
412
381
|
module.exports = function (it) {
|
|
413
|
-
if (it
|
|
382
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
414
383
|
return it;
|
|
415
384
|
};
|
|
416
385
|
|
|
417
386
|
|
|
418
|
-
/***/ }),
|
|
419
|
-
|
|
420
|
-
/***/ "1dde":
|
|
421
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
422
|
-
|
|
423
|
-
var fails = __webpack_require__("d039");
|
|
424
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
425
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
426
|
-
|
|
427
|
-
var SPECIES = wellKnownSymbol('species');
|
|
428
|
-
|
|
429
|
-
module.exports = function (METHOD_NAME) {
|
|
430
|
-
// We can't use this feature detection in V8 since it causes
|
|
431
|
-
// deoptimization and serious performance degradation
|
|
432
|
-
// https://github.com/zloirock/core-js/issues/677
|
|
433
|
-
return V8_VERSION >= 51 || !fails(function () {
|
|
434
|
-
var array = [];
|
|
435
|
-
var constructor = array.constructor = {};
|
|
436
|
-
constructor[SPECIES] = function () {
|
|
437
|
-
return { foo: 1 };
|
|
438
|
-
};
|
|
439
|
-
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
440
|
-
});
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
|
|
444
387
|
/***/ }),
|
|
445
388
|
|
|
446
389
|
/***/ "23cb":
|
|
@@ -468,25 +411,25 @@ module.exports = function (index, length) {
|
|
|
468
411
|
var global = __webpack_require__("da84");
|
|
469
412
|
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
470
413
|
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
471
|
-
var
|
|
472
|
-
var
|
|
414
|
+
var defineBuiltIn = __webpack_require__("cb2d");
|
|
415
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
473
416
|
var copyConstructorProperties = __webpack_require__("e893");
|
|
474
417
|
var isForced = __webpack_require__("94ca");
|
|
475
418
|
|
|
476
419
|
/*
|
|
477
|
-
options.target
|
|
478
|
-
options.global
|
|
479
|
-
options.stat
|
|
480
|
-
options.proto
|
|
481
|
-
options.real
|
|
482
|
-
options.forced
|
|
483
|
-
options.bind
|
|
484
|
-
options.wrap
|
|
485
|
-
options.unsafe
|
|
486
|
-
options.sham
|
|
487
|
-
options.enumerable
|
|
488
|
-
options.
|
|
489
|
-
options.name
|
|
420
|
+
options.target - name of the target object
|
|
421
|
+
options.global - target is the global object
|
|
422
|
+
options.stat - export as static methods of target
|
|
423
|
+
options.proto - export as prototype methods of target
|
|
424
|
+
options.real - real prototype method for the `pure` version
|
|
425
|
+
options.forced - export even if the native feature is available
|
|
426
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
427
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
428
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
429
|
+
options.sham - add a flag to not completely full polyfills
|
|
430
|
+
options.enumerable - export as enumerable property
|
|
431
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
432
|
+
options.name - the .name of the function if it does not match the key
|
|
490
433
|
*/
|
|
491
434
|
module.exports = function (options, source) {
|
|
492
435
|
var TARGET = options.target;
|
|
@@ -496,13 +439,13 @@ module.exports = function (options, source) {
|
|
|
496
439
|
if (GLOBAL) {
|
|
497
440
|
target = global;
|
|
498
441
|
} else if (STATIC) {
|
|
499
|
-
target = global[TARGET] ||
|
|
442
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
500
443
|
} else {
|
|
501
444
|
target = (global[TARGET] || {}).prototype;
|
|
502
445
|
}
|
|
503
446
|
if (target) for (key in source) {
|
|
504
447
|
sourceProperty = source[key];
|
|
505
|
-
if (options.
|
|
448
|
+
if (options.dontCallGetSet) {
|
|
506
449
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
507
450
|
targetProperty = descriptor && descriptor.value;
|
|
508
451
|
} else targetProperty = target[key];
|
|
@@ -516,8 +459,7 @@ module.exports = function (options, source) {
|
|
|
516
459
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
517
460
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
518
461
|
}
|
|
519
|
-
|
|
520
|
-
redefine(target, key, sourceProperty, options);
|
|
462
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
521
463
|
}
|
|
522
464
|
};
|
|
523
465
|
|
|
@@ -542,54 +484,17 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
542
484
|
|
|
543
485
|
/***/ }),
|
|
544
486
|
|
|
545
|
-
/***/ "
|
|
487
|
+
/***/ "2ba4":
|
|
546
488
|
/***/ (function(module, exports, __webpack_require__) {
|
|
547
489
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
var uncurryThis = __webpack_require__("e330");
|
|
551
|
-
var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
|
|
552
|
-
var redefine = __webpack_require__("6eeb");
|
|
553
|
-
var anObject = __webpack_require__("825a");
|
|
554
|
-
var isPrototypeOf = __webpack_require__("3a9b");
|
|
555
|
-
var $toString = __webpack_require__("577e");
|
|
556
|
-
var fails = __webpack_require__("d039");
|
|
557
|
-
var regExpFlags = __webpack_require__("ad6d");
|
|
558
|
-
|
|
559
|
-
var TO_STRING = 'toString';
|
|
560
|
-
var RegExpPrototype = RegExp.prototype;
|
|
561
|
-
var n$ToString = RegExpPrototype[TO_STRING];
|
|
562
|
-
var getFlags = uncurryThis(regExpFlags);
|
|
563
|
-
|
|
564
|
-
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
565
|
-
// FF44- RegExp#toString has a wrong name
|
|
566
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
567
|
-
|
|
568
|
-
// `RegExp.prototype.toString` method
|
|
569
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
570
|
-
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
571
|
-
redefine(RegExp.prototype, TO_STRING, function toString() {
|
|
572
|
-
var R = anObject(this);
|
|
573
|
-
var p = $toString(R.source);
|
|
574
|
-
var rf = R.flags;
|
|
575
|
-
var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
|
|
576
|
-
return '/' + p + '/' + f;
|
|
577
|
-
}, { unsafe: true });
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
/***/ }),
|
|
582
|
-
|
|
583
|
-
/***/ "2ba4":
|
|
584
|
-
/***/ (function(module, exports) {
|
|
490
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
585
491
|
|
|
586
492
|
var FunctionPrototype = Function.prototype;
|
|
587
493
|
var apply = FunctionPrototype.apply;
|
|
588
|
-
var bind = FunctionPrototype.bind;
|
|
589
494
|
var call = FunctionPrototype.call;
|
|
590
495
|
|
|
591
496
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
592
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
497
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
593
498
|
return call.apply(apply, arguments);
|
|
594
499
|
});
|
|
595
500
|
|
|
@@ -640,27 +545,50 @@ module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
|
|
640
545
|
|
|
641
546
|
/***/ }),
|
|
642
547
|
|
|
643
|
-
/***/ "
|
|
548
|
+
/***/ "3511":
|
|
549
|
+
/***/ (function(module, exports) {
|
|
550
|
+
|
|
551
|
+
var $TypeError = TypeError;
|
|
552
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
553
|
+
|
|
554
|
+
module.exports = function (it) {
|
|
555
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
556
|
+
return it;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/***/ }),
|
|
561
|
+
|
|
562
|
+
/***/ "3a34":
|
|
644
563
|
/***/ (function(module, exports, __webpack_require__) {
|
|
645
564
|
|
|
565
|
+
"use strict";
|
|
566
|
+
|
|
646
567
|
var DESCRIPTORS = __webpack_require__("83ab");
|
|
647
|
-
var
|
|
648
|
-
var anObject = __webpack_require__("825a");
|
|
649
|
-
var toIndexedObject = __webpack_require__("fc6a");
|
|
650
|
-
var objectKeys = __webpack_require__("df75");
|
|
568
|
+
var isArray = __webpack_require__("e8b5");
|
|
651
569
|
|
|
652
|
-
|
|
653
|
-
//
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
570
|
+
var $TypeError = TypeError;
|
|
571
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
572
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
573
|
+
|
|
574
|
+
// Safari < 13 does not throw an error in this case
|
|
575
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
576
|
+
// makes no sense without proper strict mode support
|
|
577
|
+
if (this !== undefined) return true;
|
|
578
|
+
try {
|
|
579
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
580
|
+
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
581
|
+
} catch (error) {
|
|
582
|
+
return error instanceof TypeError;
|
|
583
|
+
}
|
|
584
|
+
}();
|
|
585
|
+
|
|
586
|
+
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
587
|
+
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
588
|
+
throw $TypeError('Cannot set read only .length');
|
|
589
|
+
} return O.length = length;
|
|
590
|
+
} : function (O, length) {
|
|
591
|
+
return O.length = length;
|
|
664
592
|
};
|
|
665
593
|
|
|
666
594
|
|
|
@@ -679,28 +607,30 @@ module.exports = uncurryThis({}.isPrototypeOf);
|
|
|
679
607
|
/***/ "3bbe":
|
|
680
608
|
/***/ (function(module, exports, __webpack_require__) {
|
|
681
609
|
|
|
682
|
-
var global = __webpack_require__("da84");
|
|
683
610
|
var isCallable = __webpack_require__("1626");
|
|
684
611
|
|
|
685
|
-
var String =
|
|
686
|
-
var TypeError =
|
|
612
|
+
var $String = String;
|
|
613
|
+
var $TypeError = TypeError;
|
|
687
614
|
|
|
688
615
|
module.exports = function (argument) {
|
|
689
616
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
690
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
617
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
691
618
|
};
|
|
692
619
|
|
|
693
620
|
|
|
694
621
|
/***/ }),
|
|
695
622
|
|
|
696
|
-
/***/ "
|
|
623
|
+
/***/ "40d5":
|
|
697
624
|
/***/ (function(module, exports, __webpack_require__) {
|
|
698
625
|
|
|
699
|
-
var
|
|
626
|
+
var fails = __webpack_require__("d039");
|
|
700
627
|
|
|
701
|
-
|
|
702
|
-
//
|
|
703
|
-
|
|
628
|
+
module.exports = !fails(function () {
|
|
629
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
630
|
+
var test = (function () { /* empty */ }).bind();
|
|
631
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
632
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
633
|
+
});
|
|
704
634
|
|
|
705
635
|
|
|
706
636
|
/***/ }),
|
|
@@ -708,22 +638,21 @@ module.exports = uncurryThis(1.0.valueOf);
|
|
|
708
638
|
/***/ "44ad":
|
|
709
639
|
/***/ (function(module, exports, __webpack_require__) {
|
|
710
640
|
|
|
711
|
-
var global = __webpack_require__("da84");
|
|
712
641
|
var uncurryThis = __webpack_require__("e330");
|
|
713
642
|
var fails = __webpack_require__("d039");
|
|
714
643
|
var classof = __webpack_require__("c6b6");
|
|
715
644
|
|
|
716
|
-
var Object =
|
|
645
|
+
var $Object = Object;
|
|
717
646
|
var split = uncurryThis(''.split);
|
|
718
647
|
|
|
719
648
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
720
649
|
module.exports = fails(function () {
|
|
721
650
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
722
651
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
723
|
-
return
|
|
652
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
724
653
|
}) ? function (it) {
|
|
725
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
726
|
-
} : Object;
|
|
654
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
655
|
+
} : $Object;
|
|
727
656
|
|
|
728
657
|
|
|
729
658
|
/***/ }),
|
|
@@ -731,12 +660,11 @@ module.exports = fails(function () {
|
|
|
731
660
|
/***/ "485a":
|
|
732
661
|
/***/ (function(module, exports, __webpack_require__) {
|
|
733
662
|
|
|
734
|
-
var global = __webpack_require__("da84");
|
|
735
663
|
var call = __webpack_require__("c65b");
|
|
736
664
|
var isCallable = __webpack_require__("1626");
|
|
737
665
|
var isObject = __webpack_require__("861d");
|
|
738
666
|
|
|
739
|
-
var TypeError =
|
|
667
|
+
var $TypeError = TypeError;
|
|
740
668
|
|
|
741
669
|
// `OrdinaryToPrimitive` abstract operation
|
|
742
670
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -745,30 +673,10 @@ module.exports = function (input, pref) {
|
|
|
745
673
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
746
674
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
747
675
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
748
|
-
throw TypeError("Can't convert object to primitive value");
|
|
676
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
749
677
|
};
|
|
750
678
|
|
|
751
679
|
|
|
752
|
-
/***/ }),
|
|
753
|
-
|
|
754
|
-
/***/ "4930":
|
|
755
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
756
|
-
|
|
757
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
758
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
759
|
-
var fails = __webpack_require__("d039");
|
|
760
|
-
|
|
761
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
762
|
-
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
763
|
-
var symbol = Symbol();
|
|
764
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
765
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
766
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
767
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
768
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
769
|
-
});
|
|
770
|
-
|
|
771
|
-
|
|
772
680
|
/***/ }),
|
|
773
681
|
|
|
774
682
|
/***/ "4d64":
|
|
@@ -826,163 +734,21 @@ module.exports = function (argument) {
|
|
|
826
734
|
|
|
827
735
|
/***/ }),
|
|
828
736
|
|
|
829
|
-
/***/ "
|
|
737
|
+
/***/ "5692":
|
|
830
738
|
/***/ (function(module, exports, __webpack_require__) {
|
|
831
739
|
|
|
832
|
-
|
|
740
|
+
var IS_PURE = __webpack_require__("c430");
|
|
741
|
+
var store = __webpack_require__("c6cd");
|
|
833
742
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
var toString = __webpack_require__("577e");
|
|
844
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
845
|
-
var advanceStringIndex = __webpack_require__("8aa5");
|
|
846
|
-
var getMethod = __webpack_require__("dc4a");
|
|
847
|
-
var getSubstitution = __webpack_require__("0cb2");
|
|
848
|
-
var regExpExec = __webpack_require__("14c3");
|
|
849
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
850
|
-
|
|
851
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
852
|
-
var max = Math.max;
|
|
853
|
-
var min = Math.min;
|
|
854
|
-
var concat = uncurryThis([].concat);
|
|
855
|
-
var push = uncurryThis([].push);
|
|
856
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
857
|
-
var stringSlice = uncurryThis(''.slice);
|
|
858
|
-
|
|
859
|
-
var maybeToString = function (it) {
|
|
860
|
-
return it === undefined ? it : String(it);
|
|
861
|
-
};
|
|
862
|
-
|
|
863
|
-
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
864
|
-
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
865
|
-
var REPLACE_KEEPS_$0 = (function () {
|
|
866
|
-
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
867
|
-
return 'a'.replace(/./, '$0') === '$0';
|
|
868
|
-
})();
|
|
869
|
-
|
|
870
|
-
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
871
|
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
872
|
-
if (/./[REPLACE]) {
|
|
873
|
-
return /./[REPLACE]('a', '$0') === '';
|
|
874
|
-
}
|
|
875
|
-
return false;
|
|
876
|
-
})();
|
|
877
|
-
|
|
878
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
879
|
-
var re = /./;
|
|
880
|
-
re.exec = function () {
|
|
881
|
-
var result = [];
|
|
882
|
-
result.groups = { a: '7' };
|
|
883
|
-
return result;
|
|
884
|
-
};
|
|
885
|
-
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
886
|
-
return ''.replace(re, '$<a>') !== '7';
|
|
887
|
-
});
|
|
888
|
-
|
|
889
|
-
// @@replace logic
|
|
890
|
-
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
891
|
-
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
892
|
-
|
|
893
|
-
return [
|
|
894
|
-
// `String.prototype.replace` method
|
|
895
|
-
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
896
|
-
function replace(searchValue, replaceValue) {
|
|
897
|
-
var O = requireObjectCoercible(this);
|
|
898
|
-
var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
|
|
899
|
-
return replacer
|
|
900
|
-
? call(replacer, searchValue, O, replaceValue)
|
|
901
|
-
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
902
|
-
},
|
|
903
|
-
// `RegExp.prototype[@@replace]` method
|
|
904
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
905
|
-
function (string, replaceValue) {
|
|
906
|
-
var rx = anObject(this);
|
|
907
|
-
var S = toString(string);
|
|
908
|
-
|
|
909
|
-
if (
|
|
910
|
-
typeof replaceValue == 'string' &&
|
|
911
|
-
stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
|
912
|
-
stringIndexOf(replaceValue, '$<') === -1
|
|
913
|
-
) {
|
|
914
|
-
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
915
|
-
if (res.done) return res.value;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
var functionalReplace = isCallable(replaceValue);
|
|
919
|
-
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
920
|
-
|
|
921
|
-
var global = rx.global;
|
|
922
|
-
if (global) {
|
|
923
|
-
var fullUnicode = rx.unicode;
|
|
924
|
-
rx.lastIndex = 0;
|
|
925
|
-
}
|
|
926
|
-
var results = [];
|
|
927
|
-
while (true) {
|
|
928
|
-
var result = regExpExec(rx, S);
|
|
929
|
-
if (result === null) break;
|
|
930
|
-
|
|
931
|
-
push(results, result);
|
|
932
|
-
if (!global) break;
|
|
933
|
-
|
|
934
|
-
var matchStr = toString(result[0]);
|
|
935
|
-
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
var accumulatedResult = '';
|
|
939
|
-
var nextSourcePosition = 0;
|
|
940
|
-
for (var i = 0; i < results.length; i++) {
|
|
941
|
-
result = results[i];
|
|
942
|
-
|
|
943
|
-
var matched = toString(result[0]);
|
|
944
|
-
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
945
|
-
var captures = [];
|
|
946
|
-
// NOTE: This is equivalent to
|
|
947
|
-
// captures = result.slice(1).map(maybeToString)
|
|
948
|
-
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
949
|
-
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
950
|
-
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
951
|
-
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
|
952
|
-
var namedCaptures = result.groups;
|
|
953
|
-
if (functionalReplace) {
|
|
954
|
-
var replacerArgs = concat([matched], captures, position, S);
|
|
955
|
-
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
956
|
-
var replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
957
|
-
} else {
|
|
958
|
-
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
959
|
-
}
|
|
960
|
-
if (position >= nextSourcePosition) {
|
|
961
|
-
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
962
|
-
nextSourcePosition = position + matched.length;
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
966
|
-
}
|
|
967
|
-
];
|
|
968
|
-
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
/***/ }),
|
|
972
|
-
|
|
973
|
-
/***/ "5692":
|
|
974
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
975
|
-
|
|
976
|
-
var IS_PURE = __webpack_require__("c430");
|
|
977
|
-
var store = __webpack_require__("c6cd");
|
|
978
|
-
|
|
979
|
-
(module.exports = function (key, value) {
|
|
980
|
-
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
981
|
-
})('versions', []).push({
|
|
982
|
-
version: '3.20.1',
|
|
983
|
-
mode: IS_PURE ? 'pure' : 'global',
|
|
984
|
-
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
985
|
-
});
|
|
743
|
+
(module.exports = function (key, value) {
|
|
744
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
745
|
+
})('versions', []).push({
|
|
746
|
+
version: '3.26.1',
|
|
747
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
748
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
749
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
|
|
750
|
+
source: 'https://github.com/zloirock/core-js'
|
|
751
|
+
});
|
|
986
752
|
|
|
987
753
|
|
|
988
754
|
/***/ }),
|
|
@@ -1011,79 +777,29 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
1011
777
|
/***/ "577e":
|
|
1012
778
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1013
779
|
|
|
1014
|
-
var global = __webpack_require__("da84");
|
|
1015
780
|
var classof = __webpack_require__("f5df");
|
|
1016
781
|
|
|
1017
|
-
var String =
|
|
782
|
+
var $String = String;
|
|
1018
783
|
|
|
1019
784
|
module.exports = function (argument) {
|
|
1020
785
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1021
|
-
return String(argument);
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
/***/ }),
|
|
1026
|
-
|
|
1027
|
-
/***/ "5899":
|
|
1028
|
-
/***/ (function(module, exports) {
|
|
1029
|
-
|
|
1030
|
-
// a string of all valid unicode whitespaces
|
|
1031
|
-
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1032
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
/***/ }),
|
|
1036
|
-
|
|
1037
|
-
/***/ "58a8":
|
|
1038
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1039
|
-
|
|
1040
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1041
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1042
|
-
var toString = __webpack_require__("577e");
|
|
1043
|
-
var whitespaces = __webpack_require__("5899");
|
|
1044
|
-
|
|
1045
|
-
var replace = uncurryThis(''.replace);
|
|
1046
|
-
var whitespace = '[' + whitespaces + ']';
|
|
1047
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
1048
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
1049
|
-
|
|
1050
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1051
|
-
var createMethod = function (TYPE) {
|
|
1052
|
-
return function ($this) {
|
|
1053
|
-
var string = toString(requireObjectCoercible($this));
|
|
1054
|
-
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
1055
|
-
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
1056
|
-
return string;
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
|
|
1060
|
-
module.exports = {
|
|
1061
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
1062
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
1063
|
-
start: createMethod(1),
|
|
1064
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
1065
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
1066
|
-
end: createMethod(2),
|
|
1067
|
-
// `String.prototype.trim` method
|
|
1068
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
1069
|
-
trim: createMethod(3)
|
|
786
|
+
return $String(argument);
|
|
1070
787
|
};
|
|
1071
788
|
|
|
1072
789
|
|
|
1073
790
|
/***/ }),
|
|
1074
791
|
|
|
1075
792
|
/***/ "5926":
|
|
1076
|
-
/***/ (function(module, exports) {
|
|
793
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1077
794
|
|
|
1078
|
-
var
|
|
1079
|
-
var floor = Math.floor;
|
|
795
|
+
var trunc = __webpack_require__("b42e");
|
|
1080
796
|
|
|
1081
797
|
// `ToIntegerOrInfinity` abstract operation
|
|
1082
798
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
1083
799
|
module.exports = function (argument) {
|
|
1084
800
|
var number = +argument;
|
|
1085
|
-
// eslint-disable-next-line no-self-compare --
|
|
1086
|
-
return number !== number || number === 0 ? 0 : (number
|
|
801
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
802
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1087
803
|
};
|
|
1088
804
|
|
|
1089
805
|
|
|
@@ -1092,16 +808,15 @@ module.exports = function (argument) {
|
|
|
1092
808
|
/***/ "59ed":
|
|
1093
809
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1094
810
|
|
|
1095
|
-
var global = __webpack_require__("da84");
|
|
1096
811
|
var isCallable = __webpack_require__("1626");
|
|
1097
812
|
var tryToString = __webpack_require__("0d51");
|
|
1098
813
|
|
|
1099
|
-
var TypeError =
|
|
814
|
+
var $TypeError = TypeError;
|
|
1100
815
|
|
|
1101
816
|
// `Assert: IsCallable(argument) is true`
|
|
1102
817
|
module.exports = function (argument) {
|
|
1103
818
|
if (isCallable(argument)) return argument;
|
|
1104
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
819
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
1105
820
|
};
|
|
1106
821
|
|
|
1107
822
|
|
|
@@ -1146,128 +861,30 @@ module.exports = {
|
|
|
1146
861
|
|
|
1147
862
|
/***/ }),
|
|
1148
863
|
|
|
1149
|
-
/***/ "
|
|
1150
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1151
|
-
|
|
1152
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1153
|
-
var toIntegerOrInfinity = __webpack_require__("5926");
|
|
1154
|
-
var toString = __webpack_require__("577e");
|
|
1155
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1156
|
-
|
|
1157
|
-
var charAt = uncurryThis(''.charAt);
|
|
1158
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
1159
|
-
var stringSlice = uncurryThis(''.slice);
|
|
1160
|
-
|
|
1161
|
-
var createMethod = function (CONVERT_TO_STRING) {
|
|
1162
|
-
return function ($this, pos) {
|
|
1163
|
-
var S = toString(requireObjectCoercible($this));
|
|
1164
|
-
var position = toIntegerOrInfinity(pos);
|
|
1165
|
-
var size = S.length;
|
|
1166
|
-
var first, second;
|
|
1167
|
-
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
1168
|
-
first = charCodeAt(S, position);
|
|
1169
|
-
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
1170
|
-
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
1171
|
-
? CONVERT_TO_STRING
|
|
1172
|
-
? charAt(S, position)
|
|
1173
|
-
: first
|
|
1174
|
-
: CONVERT_TO_STRING
|
|
1175
|
-
? stringSlice(S, position, position + 2)
|
|
1176
|
-
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
1177
|
-
};
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
|
-
module.exports = {
|
|
1181
|
-
// `String.prototype.codePointAt` method
|
|
1182
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
1183
|
-
codeAt: createMethod(false),
|
|
1184
|
-
// `String.prototype.at` method
|
|
1185
|
-
// https://github.com/mathiasbynens/String.prototype.at
|
|
1186
|
-
charAt: createMethod(true)
|
|
1187
|
-
};
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
/***/ }),
|
|
1191
|
-
|
|
1192
|
-
/***/ "65f0":
|
|
864
|
+
/***/ "6374":
|
|
1193
865
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1194
866
|
|
|
1195
|
-
var
|
|
1196
|
-
|
|
1197
|
-
// `ArraySpeciesCreate` abstract operation
|
|
1198
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1199
|
-
module.exports = function (originalArray, length) {
|
|
1200
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1201
|
-
};
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
/***/ }),
|
|
1205
|
-
|
|
1206
|
-
/***/ "68ee":
|
|
1207
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1208
|
-
|
|
1209
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1210
|
-
var fails = __webpack_require__("d039");
|
|
1211
|
-
var isCallable = __webpack_require__("1626");
|
|
1212
|
-
var classof = __webpack_require__("f5df");
|
|
1213
|
-
var getBuiltIn = __webpack_require__("d066");
|
|
1214
|
-
var inspectSource = __webpack_require__("8925");
|
|
1215
|
-
|
|
1216
|
-
var noop = function () { /* empty */ };
|
|
1217
|
-
var empty = [];
|
|
1218
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
1219
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1220
|
-
var exec = uncurryThis(constructorRegExp.exec);
|
|
1221
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
867
|
+
var global = __webpack_require__("da84");
|
|
1222
868
|
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
try {
|
|
1226
|
-
construct(noop, empty, argument);
|
|
1227
|
-
return true;
|
|
1228
|
-
} catch (error) {
|
|
1229
|
-
return false;
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
869
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
870
|
+
var defineProperty = Object.defineProperty;
|
|
1232
871
|
|
|
1233
|
-
|
|
1234
|
-
if (!isCallable(argument)) return false;
|
|
1235
|
-
switch (classof(argument)) {
|
|
1236
|
-
case 'AsyncFunction':
|
|
1237
|
-
case 'GeneratorFunction':
|
|
1238
|
-
case 'AsyncGeneratorFunction': return false;
|
|
1239
|
-
}
|
|
872
|
+
module.exports = function (key, value) {
|
|
1240
873
|
try {
|
|
1241
|
-
|
|
1242
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1243
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
1244
|
-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
874
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
1245
875
|
} catch (error) {
|
|
1246
|
-
|
|
1247
|
-
}
|
|
876
|
+
global[key] = value;
|
|
877
|
+
} return value;
|
|
1248
878
|
};
|
|
1249
879
|
|
|
1250
|
-
isConstructorLegacy.sham = true;
|
|
1251
|
-
|
|
1252
|
-
// `IsConstructor` abstract operation
|
|
1253
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1254
|
-
module.exports = !construct || fails(function () {
|
|
1255
|
-
var called;
|
|
1256
|
-
return isConstructorModern(isConstructorModern.call)
|
|
1257
|
-
|| !isConstructorModern(Object)
|
|
1258
|
-
|| !isConstructorModern(function () { called = true; })
|
|
1259
|
-
|| called;
|
|
1260
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
1261
|
-
|
|
1262
880
|
|
|
1263
881
|
/***/ }),
|
|
1264
882
|
|
|
1265
883
|
/***/ "69f3":
|
|
1266
884
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1267
885
|
|
|
1268
|
-
var NATIVE_WEAK_MAP = __webpack_require__("
|
|
886
|
+
var NATIVE_WEAK_MAP = __webpack_require__("cdce");
|
|
1269
887
|
var global = __webpack_require__("da84");
|
|
1270
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1271
888
|
var isObject = __webpack_require__("861d");
|
|
1272
889
|
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1273
890
|
var hasOwn = __webpack_require__("1a2d");
|
|
@@ -1295,26 +912,28 @@ var getterFor = function (TYPE) {
|
|
|
1295
912
|
|
|
1296
913
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1297
914
|
var store = shared.state || (shared.state = new WeakMap());
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
915
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
916
|
+
store.get = store.get;
|
|
917
|
+
store.has = store.has;
|
|
918
|
+
store.set = store.set;
|
|
919
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
1301
920
|
set = function (it, metadata) {
|
|
1302
|
-
if (
|
|
921
|
+
if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1303
922
|
metadata.facade = it;
|
|
1304
|
-
|
|
923
|
+
store.set(it, metadata);
|
|
1305
924
|
return metadata;
|
|
1306
925
|
};
|
|
1307
926
|
get = function (it) {
|
|
1308
|
-
return
|
|
927
|
+
return store.get(it) || {};
|
|
1309
928
|
};
|
|
1310
929
|
has = function (it) {
|
|
1311
|
-
return
|
|
930
|
+
return store.has(it);
|
|
1312
931
|
};
|
|
1313
932
|
} else {
|
|
1314
933
|
var STATE = sharedKey('state');
|
|
1315
934
|
hiddenKeys[STATE] = true;
|
|
1316
935
|
set = function (it, metadata) {
|
|
1317
|
-
if (hasOwn(it, STATE)) throw
|
|
936
|
+
if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1318
937
|
metadata.facade = it;
|
|
1319
938
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
1320
939
|
return metadata;
|
|
@@ -1347,66 +966,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
1347
966
|
// runtime helper for setting properties on components
|
|
1348
967
|
// in a tree-shakable way
|
|
1349
968
|
exports.default = (sfc, props) => {
|
|
969
|
+
const target = sfc.__vccOpts || sfc;
|
|
1350
970
|
for (const [key, val] of props) {
|
|
1351
|
-
|
|
971
|
+
target[key] = val;
|
|
1352
972
|
}
|
|
1353
|
-
return
|
|
973
|
+
return target;
|
|
1354
974
|
};
|
|
1355
975
|
|
|
1356
976
|
|
|
1357
|
-
/***/ }),
|
|
1358
|
-
|
|
1359
|
-
/***/ "6eeb":
|
|
1360
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1361
|
-
|
|
1362
|
-
var global = __webpack_require__("da84");
|
|
1363
|
-
var isCallable = __webpack_require__("1626");
|
|
1364
|
-
var hasOwn = __webpack_require__("1a2d");
|
|
1365
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1366
|
-
var setGlobal = __webpack_require__("ce4e");
|
|
1367
|
-
var inspectSource = __webpack_require__("8925");
|
|
1368
|
-
var InternalStateModule = __webpack_require__("69f3");
|
|
1369
|
-
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE;
|
|
1370
|
-
|
|
1371
|
-
var getInternalState = InternalStateModule.get;
|
|
1372
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
1373
|
-
var TEMPLATE = String(String).split('String');
|
|
1374
|
-
|
|
1375
|
-
(module.exports = function (O, key, value, options) {
|
|
1376
|
-
var unsafe = options ? !!options.unsafe : false;
|
|
1377
|
-
var simple = options ? !!options.enumerable : false;
|
|
1378
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
1379
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
1380
|
-
var state;
|
|
1381
|
-
if (isCallable(value)) {
|
|
1382
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1383
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1384
|
-
}
|
|
1385
|
-
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1386
|
-
createNonEnumerableProperty(value, 'name', name);
|
|
1387
|
-
}
|
|
1388
|
-
state = enforceInternalState(value);
|
|
1389
|
-
if (!state.source) {
|
|
1390
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
if (O === global) {
|
|
1394
|
-
if (simple) O[key] = value;
|
|
1395
|
-
else setGlobal(key, value);
|
|
1396
|
-
return;
|
|
1397
|
-
} else if (!unsafe) {
|
|
1398
|
-
delete O[key];
|
|
1399
|
-
} else if (!noTargetGet && O[key]) {
|
|
1400
|
-
simple = true;
|
|
1401
|
-
}
|
|
1402
|
-
if (simple) O[key] = value;
|
|
1403
|
-
else createNonEnumerableProperty(O, key, value);
|
|
1404
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1405
|
-
})(Function.prototype, 'toString', function toString() {
|
|
1406
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
1407
|
-
});
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
977
|
/***/ }),
|
|
1411
978
|
|
|
1412
979
|
/***/ "7156":
|
|
@@ -1432,6 +999,18 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
1432
999
|
};
|
|
1433
1000
|
|
|
1434
1001
|
|
|
1002
|
+
/***/ }),
|
|
1003
|
+
|
|
1004
|
+
/***/ "7234":
|
|
1005
|
+
/***/ (function(module, exports) {
|
|
1006
|
+
|
|
1007
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
1008
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
1009
|
+
module.exports = function (it) {
|
|
1010
|
+
return it === null || it === undefined;
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
|
|
1435
1014
|
/***/ }),
|
|
1436
1015
|
|
|
1437
1016
|
/***/ "7418":
|
|
@@ -1463,136 +1042,31 @@ module.exports = [
|
|
|
1463
1042
|
/***/ "7b0b":
|
|
1464
1043
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1465
1044
|
|
|
1466
|
-
var global = __webpack_require__("da84");
|
|
1467
1045
|
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1468
1046
|
|
|
1469
|
-
var Object =
|
|
1047
|
+
var $Object = Object;
|
|
1470
1048
|
|
|
1471
1049
|
// `ToObject` abstract operation
|
|
1472
1050
|
// https://tc39.es/ecma262/#sec-toobject
|
|
1473
1051
|
module.exports = function (argument) {
|
|
1474
|
-
return Object(requireObjectCoercible(argument));
|
|
1475
|
-
};
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
/***/ }),
|
|
1479
|
-
|
|
1480
|
-
/***/ "7c73":
|
|
1481
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1482
|
-
|
|
1483
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
1484
|
-
var anObject = __webpack_require__("825a");
|
|
1485
|
-
var defineProperties = __webpack_require__("37e8");
|
|
1486
|
-
var enumBugKeys = __webpack_require__("7839");
|
|
1487
|
-
var hiddenKeys = __webpack_require__("d012");
|
|
1488
|
-
var html = __webpack_require__("1be4");
|
|
1489
|
-
var documentCreateElement = __webpack_require__("cc12");
|
|
1490
|
-
var sharedKey = __webpack_require__("f772");
|
|
1491
|
-
|
|
1492
|
-
var GT = '>';
|
|
1493
|
-
var LT = '<';
|
|
1494
|
-
var PROTOTYPE = 'prototype';
|
|
1495
|
-
var SCRIPT = 'script';
|
|
1496
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1497
|
-
|
|
1498
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
1499
|
-
|
|
1500
|
-
var scriptTag = function (content) {
|
|
1501
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
1052
|
+
return $Object(requireObjectCoercible(argument));
|
|
1502
1053
|
};
|
|
1503
1054
|
|
|
1504
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
1505
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
1506
|
-
activeXDocument.write(scriptTag(''));
|
|
1507
|
-
activeXDocument.close();
|
|
1508
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
1509
|
-
activeXDocument = null; // avoid memory leak
|
|
1510
|
-
return temp;
|
|
1511
|
-
};
|
|
1512
|
-
|
|
1513
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1514
|
-
var NullProtoObjectViaIFrame = function () {
|
|
1515
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
1516
|
-
var iframe = documentCreateElement('iframe');
|
|
1517
|
-
var JS = 'java' + SCRIPT + ':';
|
|
1518
|
-
var iframeDocument;
|
|
1519
|
-
iframe.style.display = 'none';
|
|
1520
|
-
html.appendChild(iframe);
|
|
1521
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
1522
|
-
iframe.src = String(JS);
|
|
1523
|
-
iframeDocument = iframe.contentWindow.document;
|
|
1524
|
-
iframeDocument.open();
|
|
1525
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
1526
|
-
iframeDocument.close();
|
|
1527
|
-
return iframeDocument.F;
|
|
1528
|
-
};
|
|
1529
|
-
|
|
1530
|
-
// Check for document.domain and active x support
|
|
1531
|
-
// No need to use active x approach when document.domain is not set
|
|
1532
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
1533
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
1534
|
-
// avoid IE GC bug
|
|
1535
|
-
var activeXDocument;
|
|
1536
|
-
var NullProtoObject = function () {
|
|
1537
|
-
try {
|
|
1538
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
1539
|
-
} catch (error) { /* ignore */ }
|
|
1540
|
-
NullProtoObject = typeof document != 'undefined'
|
|
1541
|
-
? document.domain && activeXDocument
|
|
1542
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
1543
|
-
: NullProtoObjectViaIFrame()
|
|
1544
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
1545
|
-
var length = enumBugKeys.length;
|
|
1546
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
1547
|
-
return NullProtoObject();
|
|
1548
|
-
};
|
|
1549
|
-
|
|
1550
|
-
hiddenKeys[IE_PROTO] = true;
|
|
1551
|
-
|
|
1552
|
-
// `Object.create` method
|
|
1553
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
1554
|
-
module.exports = Object.create || function create(O, Properties) {
|
|
1555
|
-
var result;
|
|
1556
|
-
if (O !== null) {
|
|
1557
|
-
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
1558
|
-
result = new EmptyConstructor();
|
|
1559
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
1560
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1561
|
-
result[IE_PROTO] = O;
|
|
1562
|
-
} else result = NullProtoObject();
|
|
1563
|
-
return Properties === undefined ? result : defineProperties(result, Properties);
|
|
1564
|
-
};
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
/***/ }),
|
|
1568
|
-
|
|
1569
|
-
/***/ "7f9a":
|
|
1570
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1571
|
-
|
|
1572
|
-
var global = __webpack_require__("da84");
|
|
1573
|
-
var isCallable = __webpack_require__("1626");
|
|
1574
|
-
var inspectSource = __webpack_require__("8925");
|
|
1575
|
-
|
|
1576
|
-
var WeakMap = global.WeakMap;
|
|
1577
|
-
|
|
1578
|
-
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
1579
|
-
|
|
1580
1055
|
|
|
1581
1056
|
/***/ }),
|
|
1582
1057
|
|
|
1583
1058
|
/***/ "825a":
|
|
1584
1059
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1585
1060
|
|
|
1586
|
-
var global = __webpack_require__("da84");
|
|
1587
1061
|
var isObject = __webpack_require__("861d");
|
|
1588
1062
|
|
|
1589
|
-
var String =
|
|
1590
|
-
var TypeError =
|
|
1063
|
+
var $String = String;
|
|
1064
|
+
var $TypeError = TypeError;
|
|
1591
1065
|
|
|
1592
1066
|
// `Assert: Type(argument) is Object`
|
|
1593
1067
|
module.exports = function (argument) {
|
|
1594
1068
|
if (isObject(argument)) return argument;
|
|
1595
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
1069
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
1596
1070
|
};
|
|
1597
1071
|
|
|
1598
1072
|
|
|
@@ -1610,143 +1084,23 @@ module.exports = !fails(function () {
|
|
|
1610
1084
|
});
|
|
1611
1085
|
|
|
1612
1086
|
|
|
1613
|
-
/***/ }),
|
|
1614
|
-
|
|
1615
|
-
/***/ "8418":
|
|
1616
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1617
|
-
|
|
1618
|
-
"use strict";
|
|
1619
|
-
|
|
1620
|
-
var toPropertyKey = __webpack_require__("a04b");
|
|
1621
|
-
var definePropertyModule = __webpack_require__("9bf2");
|
|
1622
|
-
var createPropertyDescriptor = __webpack_require__("5c6c");
|
|
1623
|
-
|
|
1624
|
-
module.exports = function (object, key, value) {
|
|
1625
|
-
var propertyKey = toPropertyKey(key);
|
|
1626
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1627
|
-
else object[propertyKey] = value;
|
|
1628
|
-
};
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
/***/ }),
|
|
1632
|
-
|
|
1633
|
-
/***/ "857a":
|
|
1634
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1635
|
-
|
|
1636
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1637
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1638
|
-
var toString = __webpack_require__("577e");
|
|
1639
|
-
|
|
1640
|
-
var quot = /"/g;
|
|
1641
|
-
var replace = uncurryThis(''.replace);
|
|
1642
|
-
|
|
1643
|
-
// `CreateHTML` abstract operation
|
|
1644
|
-
// https://tc39.es/ecma262/#sec-createhtml
|
|
1645
|
-
module.exports = function (string, tag, attribute, value) {
|
|
1646
|
-
var S = toString(requireObjectCoercible(string));
|
|
1647
|
-
var p1 = '<' + tag;
|
|
1648
|
-
if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"';
|
|
1649
|
-
return p1 + '>' + S + '</' + tag + '>';
|
|
1650
|
-
};
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
1087
|
/***/ }),
|
|
1654
1088
|
|
|
1655
1089
|
/***/ "861d":
|
|
1656
1090
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
1091
|
|
|
1658
1092
|
var isCallable = __webpack_require__("1626");
|
|
1093
|
+
var $documentAll = __webpack_require__("8ea1");
|
|
1659
1094
|
|
|
1660
|
-
|
|
1095
|
+
var documentAll = $documentAll.all;
|
|
1096
|
+
|
|
1097
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (it) {
|
|
1098
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
|
|
1099
|
+
} : function (it) {
|
|
1661
1100
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
1662
1101
|
};
|
|
1663
1102
|
|
|
1664
1103
|
|
|
1665
|
-
/***/ }),
|
|
1666
|
-
|
|
1667
|
-
/***/ "8875":
|
|
1668
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1669
|
-
|
|
1670
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
|
|
1671
|
-
// MIT license
|
|
1672
|
-
// source: https://github.com/amiller-gh/currentScript-polyfill
|
|
1673
|
-
|
|
1674
|
-
// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
|
|
1675
|
-
|
|
1676
|
-
(function (root, factory) {
|
|
1677
|
-
if (true) {
|
|
1678
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
1679
|
-
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
1680
|
-
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
1681
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1682
|
-
} else {}
|
|
1683
|
-
}(typeof self !== 'undefined' ? self : this, function () {
|
|
1684
|
-
function getCurrentScript () {
|
|
1685
|
-
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
|
|
1686
|
-
// for chrome
|
|
1687
|
-
if (!descriptor && 'currentScript' in document && document.currentScript) {
|
|
1688
|
-
return document.currentScript
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
// for other browsers with native support for currentScript
|
|
1692
|
-
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
|
|
1693
|
-
return document.currentScript
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
// IE 8-10 support script readyState
|
|
1697
|
-
// IE 11+ & Firefox support stack trace
|
|
1698
|
-
try {
|
|
1699
|
-
throw new Error();
|
|
1700
|
-
}
|
|
1701
|
-
catch (err) {
|
|
1702
|
-
// Find the second match for the "at" string to get file src url from stack.
|
|
1703
|
-
var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
|
|
1704
|
-
ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
|
|
1705
|
-
stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
|
|
1706
|
-
scriptLocation = (stackDetails && stackDetails[1]) || false,
|
|
1707
|
-
line = (stackDetails && stackDetails[2]) || false,
|
|
1708
|
-
currentLocation = document.location.href.replace(document.location.hash, ''),
|
|
1709
|
-
pageSource,
|
|
1710
|
-
inlineScriptSourceRegExp,
|
|
1711
|
-
inlineScriptSource,
|
|
1712
|
-
scripts = document.getElementsByTagName('script'); // Live NodeList collection
|
|
1713
|
-
|
|
1714
|
-
if (scriptLocation === currentLocation) {
|
|
1715
|
-
pageSource = document.documentElement.outerHTML;
|
|
1716
|
-
inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
|
|
1717
|
-
inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
for (var i = 0; i < scripts.length; i++) {
|
|
1721
|
-
// If ready state is interactive, return the script tag
|
|
1722
|
-
if (scripts[i].readyState === 'interactive') {
|
|
1723
|
-
return scripts[i];
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
// If src matches, return the script tag
|
|
1727
|
-
if (scripts[i].src === scriptLocation) {
|
|
1728
|
-
return scripts[i];
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
// If inline source matches, return the script tag
|
|
1732
|
-
if (
|
|
1733
|
-
scriptLocation === currentLocation &&
|
|
1734
|
-
scripts[i].innerHTML &&
|
|
1735
|
-
scripts[i].innerHTML.trim() === inlineScriptSource
|
|
1736
|
-
) {
|
|
1737
|
-
return scripts[i];
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
// If no match, return null
|
|
1742
|
-
return null;
|
|
1743
|
-
}
|
|
1744
|
-
};
|
|
1745
|
-
|
|
1746
|
-
return getCurrentScript
|
|
1747
|
-
}));
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
1104
|
/***/ }),
|
|
1751
1105
|
|
|
1752
1106
|
/***/ "8925":
|
|
@@ -1770,26 +1124,26 @@ module.exports = store.inspectSource;
|
|
|
1770
1124
|
|
|
1771
1125
|
/***/ }),
|
|
1772
1126
|
|
|
1773
|
-
/***/ "
|
|
1774
|
-
/***/ (function(module, exports
|
|
1127
|
+
/***/ "8bbf":
|
|
1128
|
+
/***/ (function(module, exports) {
|
|
1775
1129
|
|
|
1776
|
-
|
|
1130
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
1777
1131
|
|
|
1778
|
-
|
|
1132
|
+
/***/ }),
|
|
1779
1133
|
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
module.exports = function (S, index, unicode) {
|
|
1783
|
-
return index + (unicode ? charAt(S, index).length : 1);
|
|
1784
|
-
};
|
|
1134
|
+
/***/ "8ea1":
|
|
1135
|
+
/***/ (function(module, exports) {
|
|
1785
1136
|
|
|
1137
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
1786
1138
|
|
|
1787
|
-
|
|
1139
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
1140
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
1788
1141
|
|
|
1789
|
-
|
|
1790
|
-
|
|
1142
|
+
module.exports = {
|
|
1143
|
+
all: documentAll,
|
|
1144
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
1145
|
+
};
|
|
1791
1146
|
|
|
1792
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
1793
1147
|
|
|
1794
1148
|
/***/ }),
|
|
1795
1149
|
|
|
@@ -1824,131 +1178,6 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
1824
1178
|
};
|
|
1825
1179
|
|
|
1826
1180
|
|
|
1827
|
-
/***/ }),
|
|
1828
|
-
|
|
1829
|
-
/***/ "9263":
|
|
1830
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1831
|
-
|
|
1832
|
-
"use strict";
|
|
1833
|
-
|
|
1834
|
-
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1835
|
-
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1836
|
-
var call = __webpack_require__("c65b");
|
|
1837
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1838
|
-
var toString = __webpack_require__("577e");
|
|
1839
|
-
var regexpFlags = __webpack_require__("ad6d");
|
|
1840
|
-
var stickyHelpers = __webpack_require__("9f7f");
|
|
1841
|
-
var shared = __webpack_require__("5692");
|
|
1842
|
-
var create = __webpack_require__("7c73");
|
|
1843
|
-
var getInternalState = __webpack_require__("69f3").get;
|
|
1844
|
-
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
1845
|
-
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
1846
|
-
|
|
1847
|
-
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1848
|
-
var nativeExec = RegExp.prototype.exec;
|
|
1849
|
-
var patchedExec = nativeExec;
|
|
1850
|
-
var charAt = uncurryThis(''.charAt);
|
|
1851
|
-
var indexOf = uncurryThis(''.indexOf);
|
|
1852
|
-
var replace = uncurryThis(''.replace);
|
|
1853
|
-
var stringSlice = uncurryThis(''.slice);
|
|
1854
|
-
|
|
1855
|
-
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1856
|
-
var re1 = /a/;
|
|
1857
|
-
var re2 = /b*/g;
|
|
1858
|
-
call(nativeExec, re1, 'a');
|
|
1859
|
-
call(nativeExec, re2, 'a');
|
|
1860
|
-
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1861
|
-
})();
|
|
1862
|
-
|
|
1863
|
-
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
1864
|
-
|
|
1865
|
-
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
1866
|
-
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
1867
|
-
|
|
1868
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
1869
|
-
|
|
1870
|
-
if (PATCH) {
|
|
1871
|
-
patchedExec = function exec(string) {
|
|
1872
|
-
var re = this;
|
|
1873
|
-
var state = getInternalState(re);
|
|
1874
|
-
var str = toString(string);
|
|
1875
|
-
var raw = state.raw;
|
|
1876
|
-
var result, reCopy, lastIndex, match, i, object, group;
|
|
1877
|
-
|
|
1878
|
-
if (raw) {
|
|
1879
|
-
raw.lastIndex = re.lastIndex;
|
|
1880
|
-
result = call(patchedExec, raw, str);
|
|
1881
|
-
re.lastIndex = raw.lastIndex;
|
|
1882
|
-
return result;
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
var groups = state.groups;
|
|
1886
|
-
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1887
|
-
var flags = call(regexpFlags, re);
|
|
1888
|
-
var source = re.source;
|
|
1889
|
-
var charsAdded = 0;
|
|
1890
|
-
var strCopy = str;
|
|
1891
|
-
|
|
1892
|
-
if (sticky) {
|
|
1893
|
-
flags = replace(flags, 'y', '');
|
|
1894
|
-
if (indexOf(flags, 'g') === -1) {
|
|
1895
|
-
flags += 'g';
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
strCopy = stringSlice(str, re.lastIndex);
|
|
1899
|
-
// Support anchored sticky behavior.
|
|
1900
|
-
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
|
|
1901
|
-
source = '(?: ' + source + ')';
|
|
1902
|
-
strCopy = ' ' + strCopy;
|
|
1903
|
-
charsAdded++;
|
|
1904
|
-
}
|
|
1905
|
-
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
|
1906
|
-
// simulate the 'y' flag.
|
|
1907
|
-
reCopy = new RegExp('^(?:' + source + ')', flags);
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
if (NPCG_INCLUDED) {
|
|
1911
|
-
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
|
1912
|
-
}
|
|
1913
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1914
|
-
|
|
1915
|
-
match = call(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1916
|
-
|
|
1917
|
-
if (sticky) {
|
|
1918
|
-
if (match) {
|
|
1919
|
-
match.input = stringSlice(match.input, charsAdded);
|
|
1920
|
-
match[0] = stringSlice(match[0], charsAdded);
|
|
1921
|
-
match.index = re.lastIndex;
|
|
1922
|
-
re.lastIndex += match[0].length;
|
|
1923
|
-
} else re.lastIndex = 0;
|
|
1924
|
-
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
1925
|
-
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
|
1926
|
-
}
|
|
1927
|
-
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1928
|
-
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1929
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
1930
|
-
call(nativeReplace, match[0], reCopy, function () {
|
|
1931
|
-
for (i = 1; i < arguments.length - 2; i++) {
|
|
1932
|
-
if (arguments[i] === undefined) match[i] = undefined;
|
|
1933
|
-
}
|
|
1934
|
-
});
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
if (match && groups) {
|
|
1938
|
-
match.groups = object = create(null);
|
|
1939
|
-
for (i = 0; i < groups.length; i++) {
|
|
1940
|
-
group = groups[i];
|
|
1941
|
-
object[group[0]] = match[group[1]];
|
|
1942
|
-
}
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
return match;
|
|
1946
|
-
};
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
module.exports = patchedExec;
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
1181
|
/***/ }),
|
|
1953
1182
|
|
|
1954
1183
|
/***/ "94ca":
|
|
@@ -1978,144 +1207,56 @@ var POLYFILL = isForced.POLYFILL = 'P';
|
|
|
1978
1207
|
module.exports = isForced;
|
|
1979
1208
|
|
|
1980
1209
|
|
|
1981
|
-
/***/ }),
|
|
1982
|
-
|
|
1983
|
-
/***/ "99af":
|
|
1984
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1985
|
-
|
|
1986
|
-
"use strict";
|
|
1987
|
-
|
|
1988
|
-
var $ = __webpack_require__("23e7");
|
|
1989
|
-
var global = __webpack_require__("da84");
|
|
1990
|
-
var fails = __webpack_require__("d039");
|
|
1991
|
-
var isArray = __webpack_require__("e8b5");
|
|
1992
|
-
var isObject = __webpack_require__("861d");
|
|
1993
|
-
var toObject = __webpack_require__("7b0b");
|
|
1994
|
-
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
1995
|
-
var createProperty = __webpack_require__("8418");
|
|
1996
|
-
var arraySpeciesCreate = __webpack_require__("65f0");
|
|
1997
|
-
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
1998
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
1999
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
2000
|
-
|
|
2001
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
2002
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2003
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2004
|
-
var TypeError = global.TypeError;
|
|
2005
|
-
|
|
2006
|
-
// We can't use this feature detection in V8 since it causes
|
|
2007
|
-
// deoptimization and serious performance degradation
|
|
2008
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
2009
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
2010
|
-
var array = [];
|
|
2011
|
-
array[IS_CONCAT_SPREADABLE] = false;
|
|
2012
|
-
return array.concat()[0] !== array;
|
|
2013
|
-
});
|
|
2014
|
-
|
|
2015
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
2016
|
-
|
|
2017
|
-
var isConcatSpreadable = function (O) {
|
|
2018
|
-
if (!isObject(O)) return false;
|
|
2019
|
-
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
2020
|
-
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
2021
|
-
};
|
|
2022
|
-
|
|
2023
|
-
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
2024
|
-
|
|
2025
|
-
// `Array.prototype.concat` method
|
|
2026
|
-
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2027
|
-
// with adding support of @@isConcatSpreadable and @@species
|
|
2028
|
-
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
2029
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2030
|
-
concat: function concat(arg) {
|
|
2031
|
-
var O = toObject(this);
|
|
2032
|
-
var A = arraySpeciesCreate(O, 0);
|
|
2033
|
-
var n = 0;
|
|
2034
|
-
var i, k, length, len, E;
|
|
2035
|
-
for (i = -1, length = arguments.length; i < length; i++) {
|
|
2036
|
-
E = i === -1 ? O : arguments[i];
|
|
2037
|
-
if (isConcatSpreadable(E)) {
|
|
2038
|
-
len = lengthOfArrayLike(E);
|
|
2039
|
-
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2040
|
-
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
2041
|
-
} else {
|
|
2042
|
-
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2043
|
-
createProperty(A, n++, E);
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
A.length = n;
|
|
2047
|
-
return A;
|
|
2048
|
-
}
|
|
2049
|
-
});
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
1210
|
/***/ }),
|
|
2053
1211
|
|
|
2054
1212
|
/***/ "9bf2":
|
|
2055
1213
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2056
1214
|
|
|
2057
|
-
var global = __webpack_require__("da84");
|
|
2058
1215
|
var DESCRIPTORS = __webpack_require__("83ab");
|
|
2059
1216
|
var IE8_DOM_DEFINE = __webpack_require__("0cfb");
|
|
1217
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9");
|
|
2060
1218
|
var anObject = __webpack_require__("825a");
|
|
2061
1219
|
var toPropertyKey = __webpack_require__("a04b");
|
|
2062
1220
|
|
|
2063
|
-
var TypeError =
|
|
1221
|
+
var $TypeError = TypeError;
|
|
2064
1222
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2065
1223
|
var $defineProperty = Object.defineProperty;
|
|
1224
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1225
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1226
|
+
var ENUMERABLE = 'enumerable';
|
|
1227
|
+
var CONFIGURABLE = 'configurable';
|
|
1228
|
+
var WRITABLE = 'writable';
|
|
2066
1229
|
|
|
2067
1230
|
// `Object.defineProperty` method
|
|
2068
1231
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2069
|
-
exports.f = DESCRIPTORS ?
|
|
1232
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
1233
|
+
anObject(O);
|
|
1234
|
+
P = toPropertyKey(P);
|
|
1235
|
+
anObject(Attributes);
|
|
1236
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
1237
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
1238
|
+
if (current && current[WRITABLE]) {
|
|
1239
|
+
O[P] = Attributes.value;
|
|
1240
|
+
Attributes = {
|
|
1241
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
1242
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
1243
|
+
writable: false
|
|
1244
|
+
};
|
|
1245
|
+
}
|
|
1246
|
+
} return $defineProperty(O, P, Attributes);
|
|
1247
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
2070
1248
|
anObject(O);
|
|
2071
1249
|
P = toPropertyKey(P);
|
|
2072
1250
|
anObject(Attributes);
|
|
2073
1251
|
if (IE8_DOM_DEFINE) try {
|
|
2074
1252
|
return $defineProperty(O, P, Attributes);
|
|
2075
1253
|
} catch (error) { /* empty */ }
|
|
2076
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
1254
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
2077
1255
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2078
1256
|
return O;
|
|
2079
1257
|
};
|
|
2080
1258
|
|
|
2081
1259
|
|
|
2082
|
-
/***/ }),
|
|
2083
|
-
|
|
2084
|
-
/***/ "9f7f":
|
|
2085
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2086
|
-
|
|
2087
|
-
var fails = __webpack_require__("d039");
|
|
2088
|
-
var global = __webpack_require__("da84");
|
|
2089
|
-
|
|
2090
|
-
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2091
|
-
var $RegExp = global.RegExp;
|
|
2092
|
-
|
|
2093
|
-
var UNSUPPORTED_Y = fails(function () {
|
|
2094
|
-
var re = $RegExp('a', 'y');
|
|
2095
|
-
re.lastIndex = 2;
|
|
2096
|
-
return re.exec('abcd') != null;
|
|
2097
|
-
});
|
|
2098
|
-
|
|
2099
|
-
// UC Browser bug
|
|
2100
|
-
// https://github.com/zloirock/core-js/issues/1008
|
|
2101
|
-
var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
|
|
2102
|
-
return !$RegExp('a', 'y').sticky;
|
|
2103
|
-
});
|
|
2104
|
-
|
|
2105
|
-
var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
2106
|
-
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
2107
|
-
var re = $RegExp('^r', 'gy');
|
|
2108
|
-
re.lastIndex = 2;
|
|
2109
|
-
return re.exec('str') != null;
|
|
2110
|
-
});
|
|
2111
|
-
|
|
2112
|
-
module.exports = {
|
|
2113
|
-
BROKEN_CARET: BROKEN_CARET,
|
|
2114
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
2115
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y
|
|
2116
|
-
};
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
1260
|
/***/ }),
|
|
2120
1261
|
|
|
2121
1262
|
/***/ "a04b":
|
|
@@ -2141,205 +1282,71 @@ module.exports = function (argument) {
|
|
|
2141
1282
|
|
|
2142
1283
|
/***/ }),
|
|
2143
1284
|
|
|
2144
|
-
/***/ "
|
|
1285
|
+
/***/ "ab36":
|
|
2145
1286
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2146
1287
|
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
var DESCRIPTORS = __webpack_require__("83ab");
|
|
2150
|
-
var global = __webpack_require__("da84");
|
|
2151
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2152
|
-
var isForced = __webpack_require__("94ca");
|
|
2153
|
-
var redefine = __webpack_require__("6eeb");
|
|
2154
|
-
var hasOwn = __webpack_require__("1a2d");
|
|
2155
|
-
var inheritIfRequired = __webpack_require__("7156");
|
|
2156
|
-
var isPrototypeOf = __webpack_require__("3a9b");
|
|
2157
|
-
var isSymbol = __webpack_require__("d9b5");
|
|
2158
|
-
var toPrimitive = __webpack_require__("c04e");
|
|
2159
|
-
var fails = __webpack_require__("d039");
|
|
2160
|
-
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
2161
|
-
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
2162
|
-
var defineProperty = __webpack_require__("9bf2").f;
|
|
2163
|
-
var thisNumberValue = __webpack_require__("408a");
|
|
2164
|
-
var trim = __webpack_require__("58a8").trim;
|
|
2165
|
-
|
|
2166
|
-
var NUMBER = 'Number';
|
|
2167
|
-
var NativeNumber = global[NUMBER];
|
|
2168
|
-
var NumberPrototype = NativeNumber.prototype;
|
|
2169
|
-
var TypeError = global.TypeError;
|
|
2170
|
-
var arraySlice = uncurryThis(''.slice);
|
|
2171
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
2172
|
-
|
|
2173
|
-
// `ToNumeric` abstract operation
|
|
2174
|
-
// https://tc39.es/ecma262/#sec-tonumeric
|
|
2175
|
-
var toNumeric = function (value) {
|
|
2176
|
-
var primValue = toPrimitive(value, 'number');
|
|
2177
|
-
return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
|
|
2178
|
-
};
|
|
2179
|
-
|
|
2180
|
-
// `ToNumber` abstract operation
|
|
2181
|
-
// https://tc39.es/ecma262/#sec-tonumber
|
|
2182
|
-
var toNumber = function (argument) {
|
|
2183
|
-
var it = toPrimitive(argument, 'number');
|
|
2184
|
-
var first, third, radix, maxCode, digits, length, index, code;
|
|
2185
|
-
if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');
|
|
2186
|
-
if (typeof it == 'string' && it.length > 2) {
|
|
2187
|
-
it = trim(it);
|
|
2188
|
-
first = charCodeAt(it, 0);
|
|
2189
|
-
if (first === 43 || first === 45) {
|
|
2190
|
-
third = charCodeAt(it, 2);
|
|
2191
|
-
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
2192
|
-
} else if (first === 48) {
|
|
2193
|
-
switch (charCodeAt(it, 1)) {
|
|
2194
|
-
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
|
|
2195
|
-
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
2196
|
-
default: return +it;
|
|
2197
|
-
}
|
|
2198
|
-
digits = arraySlice(it, 2);
|
|
2199
|
-
length = digits.length;
|
|
2200
|
-
for (index = 0; index < length; index++) {
|
|
2201
|
-
code = charCodeAt(digits, index);
|
|
2202
|
-
// parseInt parses a string to a first unavailable symbol
|
|
2203
|
-
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
2204
|
-
if (code < 48 || code > maxCode) return NaN;
|
|
2205
|
-
} return parseInt(digits, radix);
|
|
2206
|
-
}
|
|
2207
|
-
} return +it;
|
|
2208
|
-
};
|
|
1288
|
+
var isObject = __webpack_require__("861d");
|
|
1289
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
2209
1290
|
|
|
2210
|
-
// `
|
|
2211
|
-
// https://tc39.es/
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
var dummy = this;
|
|
2216
|
-
// check on 1..constructor(foo) case
|
|
2217
|
-
return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })
|
|
2218
|
-
? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
|
|
2219
|
-
};
|
|
2220
|
-
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
|
|
2221
|
-
// ES3:
|
|
2222
|
-
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2223
|
-
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
2224
|
-
'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
|
|
2225
|
-
// ESNext
|
|
2226
|
-
'fromString,range'
|
|
2227
|
-
).split(','), j = 0, key; keys.length > j; j++) {
|
|
2228
|
-
if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {
|
|
2229
|
-
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
|
|
2230
|
-
}
|
|
1291
|
+
// `InstallErrorCause` abstract operation
|
|
1292
|
+
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
1293
|
+
module.exports = function (O, options) {
|
|
1294
|
+
if (isObject(options) && 'cause' in options) {
|
|
1295
|
+
createNonEnumerableProperty(O, 'cause', options.cause);
|
|
2231
1296
|
}
|
|
2232
|
-
NumberWrapper.prototype = NumberPrototype;
|
|
2233
|
-
NumberPrototype.constructor = NumberWrapper;
|
|
2234
|
-
redefine(global, NUMBER, NumberWrapper);
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
/***/ }),
|
|
2239
|
-
|
|
2240
|
-
/***/ "ac1f":
|
|
2241
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2242
|
-
|
|
2243
|
-
"use strict";
|
|
2244
|
-
|
|
2245
|
-
var $ = __webpack_require__("23e7");
|
|
2246
|
-
var exec = __webpack_require__("9263");
|
|
2247
|
-
|
|
2248
|
-
// `RegExp.prototype.exec` method
|
|
2249
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
2250
|
-
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
2251
|
-
exec: exec
|
|
2252
|
-
});
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
/***/ }),
|
|
2256
|
-
|
|
2257
|
-
/***/ "ad6d":
|
|
2258
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2259
|
-
|
|
2260
|
-
"use strict";
|
|
2261
|
-
|
|
2262
|
-
var anObject = __webpack_require__("825a");
|
|
2263
|
-
|
|
2264
|
-
// `RegExp.prototype.flags` getter implementation
|
|
2265
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2266
|
-
module.exports = function () {
|
|
2267
|
-
var that = anObject(this);
|
|
2268
|
-
var result = '';
|
|
2269
|
-
if (that.global) result += 'g';
|
|
2270
|
-
if (that.ignoreCase) result += 'i';
|
|
2271
|
-
if (that.multiline) result += 'm';
|
|
2272
|
-
if (that.dotAll) result += 's';
|
|
2273
|
-
if (that.unicode) result += 'u';
|
|
2274
|
-
if (that.sticky) result += 'y';
|
|
2275
|
-
return result;
|
|
2276
1297
|
};
|
|
2277
1298
|
|
|
2278
1299
|
|
|
2279
1300
|
/***/ }),
|
|
2280
1301
|
|
|
2281
|
-
/***/ "
|
|
1302
|
+
/***/ "aeb0":
|
|
2282
1303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2283
1304
|
|
|
2284
|
-
var
|
|
1305
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
2285
1306
|
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
return test !== test.toLowerCase() || test.split('"').length > 3;
|
|
1307
|
+
module.exports = function (Target, Source, key) {
|
|
1308
|
+
key in Target || defineProperty(Target, key, {
|
|
1309
|
+
configurable: true,
|
|
1310
|
+
get: function () { return Source[key]; },
|
|
1311
|
+
set: function (it) { Source[key] = it; }
|
|
2292
1312
|
});
|
|
2293
1313
|
};
|
|
2294
1314
|
|
|
2295
1315
|
|
|
2296
1316
|
/***/ }),
|
|
2297
1317
|
|
|
2298
|
-
/***/ "
|
|
1318
|
+
/***/ "aed9":
|
|
2299
1319
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2300
1320
|
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
|
2304
|
-
var classof = __webpack_require__("f5df");
|
|
1321
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1322
|
+
var fails = __webpack_require__("d039");
|
|
2305
1323
|
|
|
2306
|
-
//
|
|
2307
|
-
// https://
|
|
2308
|
-
module.exports =
|
|
2309
|
-
|
|
2310
|
-
}
|
|
1324
|
+
// V8 ~ Chrome 36-
|
|
1325
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1326
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
1327
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1328
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1329
|
+
value: 42,
|
|
1330
|
+
writable: false
|
|
1331
|
+
}).prototype != 42;
|
|
1332
|
+
});
|
|
2311
1333
|
|
|
2312
1334
|
|
|
2313
1335
|
/***/ }),
|
|
2314
1336
|
|
|
2315
|
-
/***/ "
|
|
2316
|
-
/***/ (function(module, exports
|
|
1337
|
+
/***/ "b42e":
|
|
1338
|
+
/***/ (function(module, exports) {
|
|
2317
1339
|
|
|
2318
|
-
var
|
|
2319
|
-
var
|
|
2320
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2321
|
-
var defineProperty = __webpack_require__("9bf2").f;
|
|
1340
|
+
var ceil = Math.ceil;
|
|
1341
|
+
var floor = Math.floor;
|
|
2322
1342
|
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
var
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
// https://tc39.es/ecma262/#sec-function-instances-name
|
|
2331
|
-
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
2332
|
-
defineProperty(FunctionPrototype, NAME, {
|
|
2333
|
-
configurable: true,
|
|
2334
|
-
get: function () {
|
|
2335
|
-
try {
|
|
2336
|
-
return regExpExec(nameRE, functionToString(this))[1];
|
|
2337
|
-
} catch (error) {
|
|
2338
|
-
return '';
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
|
-
});
|
|
2342
|
-
}
|
|
1343
|
+
// `Math.trunc` method
|
|
1344
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
1345
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
1346
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
1347
|
+
var n = +x;
|
|
1348
|
+
return (n > 0 ? floor : ceil)(n);
|
|
1349
|
+
};
|
|
2343
1350
|
|
|
2344
1351
|
|
|
2345
1352
|
/***/ }),
|
|
@@ -2351,7 +1358,7 @@ var global = __webpack_require__("da84");
|
|
|
2351
1358
|
var shared = __webpack_require__("5692");
|
|
2352
1359
|
var hasOwn = __webpack_require__("1a2d");
|
|
2353
1360
|
var uid = __webpack_require__("90e3");
|
|
2354
|
-
var NATIVE_SYMBOL = __webpack_require__("
|
|
1361
|
+
var NATIVE_SYMBOL = __webpack_require__("04f8");
|
|
2355
1362
|
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
2356
1363
|
|
|
2357
1364
|
var WellKnownSymbolsStore = shared('wks');
|
|
@@ -2373,12 +1380,28 @@ module.exports = function (name) {
|
|
|
2373
1380
|
};
|
|
2374
1381
|
|
|
2375
1382
|
|
|
1383
|
+
/***/ }),
|
|
1384
|
+
|
|
1385
|
+
/***/ "b980":
|
|
1386
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1387
|
+
|
|
1388
|
+
var fails = __webpack_require__("d039");
|
|
1389
|
+
var createPropertyDescriptor = __webpack_require__("5c6c");
|
|
1390
|
+
|
|
1391
|
+
module.exports = !fails(function () {
|
|
1392
|
+
var error = Error('a');
|
|
1393
|
+
if (!('stack' in error)) return true;
|
|
1394
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1395
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
1396
|
+
return error.stack !== 7;
|
|
1397
|
+
});
|
|
1398
|
+
|
|
1399
|
+
|
|
2376
1400
|
/***/ }),
|
|
2377
1401
|
|
|
2378
1402
|
/***/ "c04e":
|
|
2379
1403
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2380
1404
|
|
|
2381
|
-
var global = __webpack_require__("da84");
|
|
2382
1405
|
var call = __webpack_require__("c65b");
|
|
2383
1406
|
var isObject = __webpack_require__("861d");
|
|
2384
1407
|
var isSymbol = __webpack_require__("d9b5");
|
|
@@ -2386,7 +1409,7 @@ var getMethod = __webpack_require__("dc4a");
|
|
|
2386
1409
|
var ordinaryToPrimitive = __webpack_require__("485a");
|
|
2387
1410
|
var wellKnownSymbol = __webpack_require__("b622");
|
|
2388
1411
|
|
|
2389
|
-
var TypeError =
|
|
1412
|
+
var $TypeError = TypeError;
|
|
2390
1413
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
2391
1414
|
|
|
2392
1415
|
// `ToPrimitive` abstract operation
|
|
@@ -2399,7 +1422,7 @@ module.exports = function (input, pref) {
|
|
|
2399
1422
|
if (pref === undefined) pref = 'default';
|
|
2400
1423
|
result = call(exoticToPrim, input, pref);
|
|
2401
1424
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
2402
|
-
throw TypeError("Can't convert object to primitive value");
|
|
1425
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
2403
1426
|
}
|
|
2404
1427
|
if (pref === undefined) pref = 'number';
|
|
2405
1428
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -2417,11 +1440,13 @@ module.exports = false;
|
|
|
2417
1440
|
/***/ }),
|
|
2418
1441
|
|
|
2419
1442
|
/***/ "c65b":
|
|
2420
|
-
/***/ (function(module, exports) {
|
|
1443
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1444
|
+
|
|
1445
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
2421
1446
|
|
|
2422
1447
|
var call = Function.prototype.call;
|
|
2423
1448
|
|
|
2424
|
-
module.exports =
|
|
1449
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
2425
1450
|
return call.apply(call, arguments);
|
|
2426
1451
|
};
|
|
2427
1452
|
|
|
@@ -2447,34 +1472,14 @@ module.exports = function (it) {
|
|
|
2447
1472
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2448
1473
|
|
|
2449
1474
|
var global = __webpack_require__("da84");
|
|
2450
|
-
var
|
|
1475
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
2451
1476
|
|
|
2452
1477
|
var SHARED = '__core-js_shared__';
|
|
2453
|
-
var store = global[SHARED] ||
|
|
1478
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2454
1479
|
|
|
2455
1480
|
module.exports = store;
|
|
2456
1481
|
|
|
2457
1482
|
|
|
2458
|
-
/***/ }),
|
|
2459
|
-
|
|
2460
|
-
/***/ "c7cd":
|
|
2461
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2462
|
-
|
|
2463
|
-
"use strict";
|
|
2464
|
-
|
|
2465
|
-
var $ = __webpack_require__("23e7");
|
|
2466
|
-
var createHTML = __webpack_require__("857a");
|
|
2467
|
-
var forcedStringHTMLMethod = __webpack_require__("af03");
|
|
2468
|
-
|
|
2469
|
-
// `String.prototype.fixed` method
|
|
2470
|
-
// https://tc39.es/ecma262/#sec-string.prototype.fixed
|
|
2471
|
-
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
|
|
2472
|
-
fixed: function fixed() {
|
|
2473
|
-
return createHTML(this, 'tt', '', '');
|
|
2474
|
-
}
|
|
2475
|
-
});
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
1483
|
/***/ }),
|
|
2479
1484
|
|
|
2480
1485
|
/***/ "c8ba":
|
|
@@ -2529,6 +1534,40 @@ module.exports = function (object, names) {
|
|
|
2529
1534
|
};
|
|
2530
1535
|
|
|
2531
1536
|
|
|
1537
|
+
/***/ }),
|
|
1538
|
+
|
|
1539
|
+
/***/ "cb2d":
|
|
1540
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1541
|
+
|
|
1542
|
+
var isCallable = __webpack_require__("1626");
|
|
1543
|
+
var definePropertyModule = __webpack_require__("9bf2");
|
|
1544
|
+
var makeBuiltIn = __webpack_require__("13d2");
|
|
1545
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
1546
|
+
|
|
1547
|
+
module.exports = function (O, key, value, options) {
|
|
1548
|
+
if (!options) options = {};
|
|
1549
|
+
var simple = options.enumerable;
|
|
1550
|
+
var name = options.name !== undefined ? options.name : key;
|
|
1551
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
1552
|
+
if (options.global) {
|
|
1553
|
+
if (simple) O[key] = value;
|
|
1554
|
+
else defineGlobalProperty(key, value);
|
|
1555
|
+
} else {
|
|
1556
|
+
try {
|
|
1557
|
+
if (!options.unsafe) delete O[key];
|
|
1558
|
+
else if (O[key]) simple = true;
|
|
1559
|
+
} catch (error) { /* empty */ }
|
|
1560
|
+
if (simple) O[key] = value;
|
|
1561
|
+
else definePropertyModule.f(O, key, {
|
|
1562
|
+
value: value,
|
|
1563
|
+
enumerable: false,
|
|
1564
|
+
configurable: !options.nonConfigurable,
|
|
1565
|
+
writable: !options.nonWritable
|
|
1566
|
+
});
|
|
1567
|
+
} return O;
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
|
|
2532
1571
|
/***/ }),
|
|
2533
1572
|
|
|
2534
1573
|
/***/ "cc12":
|
|
@@ -2548,21 +1587,15 @@ module.exports = function (it) {
|
|
|
2548
1587
|
|
|
2549
1588
|
/***/ }),
|
|
2550
1589
|
|
|
2551
|
-
/***/ "
|
|
1590
|
+
/***/ "cdce":
|
|
2552
1591
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2553
1592
|
|
|
2554
1593
|
var global = __webpack_require__("da84");
|
|
1594
|
+
var isCallable = __webpack_require__("1626");
|
|
2555
1595
|
|
|
2556
|
-
|
|
2557
|
-
var defineProperty = Object.defineProperty;
|
|
1596
|
+
var WeakMap = global.WeakMap;
|
|
2558
1597
|
|
|
2559
|
-
module.exports =
|
|
2560
|
-
try {
|
|
2561
|
-
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
2562
|
-
} catch (error) {
|
|
2563
|
-
global[key] = value;
|
|
2564
|
-
} return value;
|
|
2565
|
-
};
|
|
1598
|
+
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
2566
1599
|
|
|
2567
1600
|
|
|
2568
1601
|
/***/ }),
|
|
@@ -2662,121 +1695,85 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
2662
1695
|
|
|
2663
1696
|
/***/ }),
|
|
2664
1697
|
|
|
2665
|
-
/***/ "
|
|
1698
|
+
/***/ "d9b5":
|
|
2666
1699
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2667
1700
|
|
|
2668
|
-
var
|
|
2669
|
-
var
|
|
2670
|
-
var
|
|
1701
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
1702
|
+
var isCallable = __webpack_require__("1626");
|
|
1703
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1704
|
+
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
2671
1705
|
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
}
|
|
1706
|
+
var $Object = Object;
|
|
1707
|
+
|
|
1708
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
1709
|
+
return typeof it == 'symbol';
|
|
1710
|
+
} : function (it) {
|
|
1711
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
1712
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
1713
|
+
};
|
|
2677
1714
|
|
|
2678
1715
|
|
|
2679
1716
|
/***/ }),
|
|
2680
1717
|
|
|
2681
|
-
/***/ "
|
|
1718
|
+
/***/ "d9e2":
|
|
2682
1719
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2683
1720
|
|
|
2684
|
-
|
|
1721
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1722
|
+
var $ = __webpack_require__("23e7");
|
|
1723
|
+
var global = __webpack_require__("da84");
|
|
1724
|
+
var apply = __webpack_require__("2ba4");
|
|
1725
|
+
var wrapErrorConstructorWithCause = __webpack_require__("e5cb");
|
|
2685
1726
|
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2689
|
-
var redefine = __webpack_require__("6eeb");
|
|
2690
|
-
var regexpExec = __webpack_require__("9263");
|
|
2691
|
-
var fails = __webpack_require__("d039");
|
|
2692
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
2693
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1727
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1728
|
+
var WebAssembly = global[WEB_ASSEMBLY];
|
|
2694
1729
|
|
|
2695
|
-
var
|
|
2696
|
-
var RegExpPrototype = RegExp.prototype;
|
|
1730
|
+
var FORCED = Error('e', { cause: 7 }).cause !== 7;
|
|
2697
1731
|
|
|
2698
|
-
|
|
2699
|
-
var
|
|
1732
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1733
|
+
var O = {};
|
|
1734
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
|
|
1735
|
+
$({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
1736
|
+
};
|
|
2700
1737
|
|
|
2701
|
-
|
|
2702
|
-
|
|
1738
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1739
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2703
1740
|
var O = {};
|
|
2704
|
-
O[
|
|
2705
|
-
|
|
2706
|
-
});
|
|
2707
|
-
|
|
2708
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
2709
|
-
// Symbol-named RegExp methods call .exec
|
|
2710
|
-
var execCalled = false;
|
|
2711
|
-
var re = /a/;
|
|
2712
|
-
|
|
2713
|
-
if (KEY === 'split') {
|
|
2714
|
-
// We can't use real regex here since it causes deoptimization
|
|
2715
|
-
// and serious performance degradation in V8
|
|
2716
|
-
// https://github.com/zloirock/core-js/issues/306
|
|
2717
|
-
re = {};
|
|
2718
|
-
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
2719
|
-
// a new one. We need to return the patched regex when creating the new one.
|
|
2720
|
-
re.constructor = {};
|
|
2721
|
-
re.constructor[SPECIES] = function () { return re; };
|
|
2722
|
-
re.flags = '';
|
|
2723
|
-
re[SYMBOL] = /./[SYMBOL];
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
|
-
re.exec = function () { execCalled = true; return null; };
|
|
2727
|
-
|
|
2728
|
-
re[SYMBOL]('');
|
|
2729
|
-
return !execCalled;
|
|
2730
|
-
});
|
|
2731
|
-
|
|
2732
|
-
if (
|
|
2733
|
-
!DELEGATES_TO_SYMBOL ||
|
|
2734
|
-
!DELEGATES_TO_EXEC ||
|
|
2735
|
-
FORCED
|
|
2736
|
-
) {
|
|
2737
|
-
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
|
|
2738
|
-
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2739
|
-
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
|
2740
|
-
var $exec = regexp.exec;
|
|
2741
|
-
if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
|
|
2742
|
-
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2743
|
-
// The native String method already delegates to @@method (this
|
|
2744
|
-
// polyfilled function), leasing to infinite recursion.
|
|
2745
|
-
// We avoid it by directly calling the native @@method method.
|
|
2746
|
-
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
|
2747
|
-
}
|
|
2748
|
-
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
|
2749
|
-
}
|
|
2750
|
-
return { done: false };
|
|
2751
|
-
});
|
|
2752
|
-
|
|
2753
|
-
redefine(String.prototype, KEY, methods[0]);
|
|
2754
|
-
redefine(RegExpPrototype, SYMBOL, methods[1]);
|
|
1741
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
|
|
1742
|
+
$({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
2755
1743
|
}
|
|
2756
|
-
|
|
2757
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
2758
1744
|
};
|
|
2759
1745
|
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
1746
|
+
// https://github.com/tc39/proposal-error-cause
|
|
1747
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
1748
|
+
return function Error(message) { return apply(init, this, arguments); };
|
|
1749
|
+
});
|
|
1750
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
1751
|
+
return function EvalError(message) { return apply(init, this, arguments); };
|
|
1752
|
+
});
|
|
1753
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
1754
|
+
return function RangeError(message) { return apply(init, this, arguments); };
|
|
1755
|
+
});
|
|
1756
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
1757
|
+
return function ReferenceError(message) { return apply(init, this, arguments); };
|
|
1758
|
+
});
|
|
1759
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
1760
|
+
return function SyntaxError(message) { return apply(init, this, arguments); };
|
|
1761
|
+
});
|
|
1762
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
1763
|
+
return function TypeError(message) { return apply(init, this, arguments); };
|
|
1764
|
+
});
|
|
1765
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
1766
|
+
return function URIError(message) { return apply(init, this, arguments); };
|
|
1767
|
+
});
|
|
1768
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
1769
|
+
return function CompileError(message) { return apply(init, this, arguments); };
|
|
1770
|
+
});
|
|
1771
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
1772
|
+
return function LinkError(message) { return apply(init, this, arguments); };
|
|
1773
|
+
});
|
|
1774
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
1775
|
+
return function RuntimeError(message) { return apply(init, this, arguments); };
|
|
1776
|
+
});
|
|
2780
1777
|
|
|
2781
1778
|
|
|
2782
1779
|
/***/ }),
|
|
@@ -2806,48 +1803,118 @@ module.exports =
|
|
|
2806
1803
|
/***/ "dc4a":
|
|
2807
1804
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2808
1805
|
|
|
2809
|
-
var aCallable = __webpack_require__("59ed");
|
|
1806
|
+
var aCallable = __webpack_require__("59ed");
|
|
1807
|
+
var isNullOrUndefined = __webpack_require__("7234");
|
|
1808
|
+
|
|
1809
|
+
// `GetMethod` abstract operation
|
|
1810
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
1811
|
+
module.exports = function (V, P) {
|
|
1812
|
+
var func = V[P];
|
|
1813
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
/***/ }),
|
|
1818
|
+
|
|
1819
|
+
/***/ "e330":
|
|
1820
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1821
|
+
|
|
1822
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
1823
|
+
|
|
1824
|
+
var FunctionPrototype = Function.prototype;
|
|
1825
|
+
var call = FunctionPrototype.call;
|
|
1826
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
1827
|
+
|
|
1828
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
1829
|
+
return function () {
|
|
1830
|
+
return call.apply(fn, arguments);
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
/***/ }),
|
|
1836
|
+
|
|
1837
|
+
/***/ "e391":
|
|
1838
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1839
|
+
|
|
1840
|
+
var toString = __webpack_require__("577e");
|
|
1841
|
+
|
|
1842
|
+
module.exports = function (argument, $default) {
|
|
1843
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
/***/ }),
|
|
1848
|
+
|
|
1849
|
+
/***/ "e5cb":
|
|
1850
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1851
|
+
|
|
1852
|
+
"use strict";
|
|
1853
|
+
|
|
1854
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
1855
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
1856
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1857
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1858
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
1859
|
+
var copyConstructorProperties = __webpack_require__("e893");
|
|
1860
|
+
var proxyAccessor = __webpack_require__("aeb0");
|
|
1861
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
1862
|
+
var normalizeStringArgument = __webpack_require__("e391");
|
|
1863
|
+
var installErrorCause = __webpack_require__("ab36");
|
|
1864
|
+
var clearErrorStack = __webpack_require__("0d26");
|
|
1865
|
+
var ERROR_STACK_INSTALLABLE = __webpack_require__("b980");
|
|
1866
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1867
|
+
var IS_PURE = __webpack_require__("c430");
|
|
1868
|
+
|
|
1869
|
+
module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1870
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
1871
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
1872
|
+
var path = FULL_NAME.split('.');
|
|
1873
|
+
var ERROR_NAME = path[path.length - 1];
|
|
1874
|
+
var OriginalError = getBuiltIn.apply(null, path);
|
|
2810
1875
|
|
|
2811
|
-
|
|
2812
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
2813
|
-
module.exports = function (V, P) {
|
|
2814
|
-
var func = V[P];
|
|
2815
|
-
return func == null ? undefined : aCallable(func);
|
|
2816
|
-
};
|
|
1876
|
+
if (!OriginalError) return;
|
|
2817
1877
|
|
|
1878
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2818
1879
|
|
|
2819
|
-
|
|
1880
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1881
|
+
if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2820
1882
|
|
|
2821
|
-
|
|
2822
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1883
|
+
if (!FORCED) return OriginalError;
|
|
2823
1884
|
|
|
2824
|
-
var
|
|
2825
|
-
var enumBugKeys = __webpack_require__("7839");
|
|
1885
|
+
var BaseError = getBuiltIn('Error');
|
|
2826
1886
|
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
1887
|
+
var WrappedError = wrapper(function (a, b) {
|
|
1888
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1889
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1890
|
+
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
1891
|
+
if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2));
|
|
1892
|
+
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
1893
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
1894
|
+
return result;
|
|
1895
|
+
});
|
|
2833
1896
|
|
|
1897
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
2834
1898
|
|
|
2835
|
-
|
|
1899
|
+
if (ERROR_NAME !== 'Error') {
|
|
1900
|
+
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
1901
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
1902
|
+
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
1903
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1904
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1905
|
+
}
|
|
2836
1906
|
|
|
2837
|
-
|
|
2838
|
-
/***/ (function(module, exports) {
|
|
1907
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
2839
1908
|
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
1909
|
+
if (!IS_PURE) try {
|
|
1910
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1911
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1912
|
+
createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1913
|
+
}
|
|
1914
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
1915
|
+
} catch (error) { /* empty */ }
|
|
2844
1916
|
|
|
2845
|
-
|
|
2846
|
-
return fn && callBind(call, fn);
|
|
2847
|
-
} : function (fn) {
|
|
2848
|
-
return fn && function () {
|
|
2849
|
-
return call.apply(fn, arguments);
|
|
2850
|
-
};
|
|
1917
|
+
return WrappedError;
|
|
2851
1918
|
};
|
|
2852
1919
|
|
|
2853
1920
|
|
|
@@ -2894,14 +1961,13 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
2894
1961
|
/***/ "f5df":
|
|
2895
1962
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2896
1963
|
|
|
2897
|
-
var global = __webpack_require__("da84");
|
|
2898
1964
|
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
|
2899
1965
|
var isCallable = __webpack_require__("1626");
|
|
2900
1966
|
var classofRaw = __webpack_require__("c6b6");
|
|
2901
1967
|
var wellKnownSymbol = __webpack_require__("b622");
|
|
2902
1968
|
|
|
2903
1969
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2904
|
-
var Object =
|
|
1970
|
+
var $Object = Object;
|
|
2905
1971
|
|
|
2906
1972
|
// ES3 wrong here
|
|
2907
1973
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2918,7 +1984,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
2918
1984
|
var O, tag, result;
|
|
2919
1985
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2920
1986
|
// @@toStringTag case
|
|
2921
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1987
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2922
1988
|
// builtinTag case
|
|
2923
1989
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2924
1990
|
// ES3 arguments fallback
|
|
@@ -2955,15 +2021,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2955
2021
|
|
|
2956
2022
|
if (typeof window !== 'undefined') {
|
|
2957
2023
|
var currentScript = window.document.currentScript
|
|
2958
|
-
if (
|
|
2959
|
-
var getCurrentScript = __webpack_require__("8875")
|
|
2960
|
-
currentScript = getCurrentScript()
|
|
2961
|
-
|
|
2962
|
-
// for backward compatibility, because previously we directly included the polyfill
|
|
2963
|
-
if (!('currentScript' in document)) {
|
|
2964
|
-
Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2024
|
+
if (false) { var getCurrentScript; }
|
|
2967
2025
|
|
|
2968
2026
|
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
2969
2027
|
if (src) {
|
|
@@ -2974,168 +2032,138 @@ if (typeof window !== 'undefined') {
|
|
|
2974
2032
|
// Indicate to webpack that this file can be concatenated
|
|
2975
2033
|
/* harmony default export */ var setPublicPath = (null);
|
|
2976
2034
|
|
|
2977
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
2978
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
2979
|
-
|
|
2980
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
2981
|
-
var es_string_replace = __webpack_require__("5319");
|
|
2982
|
-
|
|
2983
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
2984
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
2985
|
-
|
|
2986
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
2987
|
-
var es_number_constructor = __webpack_require__("a9e3");
|
|
2988
|
-
|
|
2989
2035
|
// EXTERNAL MODULE: ./src/styles/index.less
|
|
2990
2036
|
var styles = __webpack_require__("a4b1");
|
|
2991
2037
|
|
|
2992
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
2993
|
-
function _defineProperty(obj, key, value) {
|
|
2994
|
-
if (key in obj) {
|
|
2995
|
-
Object.defineProperty(obj, key, {
|
|
2996
|
-
value: value,
|
|
2997
|
-
enumerable: true,
|
|
2998
|
-
configurable: true,
|
|
2999
|
-
writable: true
|
|
3000
|
-
});
|
|
3001
|
-
} else {
|
|
3002
|
-
obj[key] = value;
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
return obj;
|
|
3006
|
-
}
|
|
3007
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
3008
|
-
var es_object_to_string = __webpack_require__("d3b7");
|
|
3009
|
-
|
|
3010
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
3011
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
3012
|
-
|
|
3013
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
3014
|
-
var es_string_fixed = __webpack_require__("c7cd");
|
|
3015
|
-
|
|
3016
2038
|
// CONCATENATED MODULE: ./src/components/computed.js
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
2039
|
/* harmony default export */ var computed = ({
|
|
3022
2040
|
computed: {
|
|
3023
2041
|
// The side to dock on.
|
|
3024
2042
|
// The default value is right.
|
|
3025
|
-
dockOn
|
|
2043
|
+
dockOn() {
|
|
3026
2044
|
return this.dock || 'right';
|
|
3027
2045
|
},
|
|
3028
2046
|
// If to show the header bar or not.
|
|
3029
2047
|
// This depends on the title property and the header slot.
|
|
3030
|
-
showHeader
|
|
2048
|
+
showHeader() {
|
|
3031
2049
|
return this.title || this.$slots.header;
|
|
3032
2050
|
},
|
|
3033
2051
|
// If to show the footer bar or not.
|
|
3034
2052
|
// This depends on the footer slot.
|
|
3035
|
-
showFooter
|
|
2053
|
+
showFooter() {
|
|
3036
2054
|
return this.$slots.footer;
|
|
3037
2055
|
},
|
|
3038
|
-
containerStyle
|
|
3039
|
-
|
|
2056
|
+
containerStyle() {
|
|
2057
|
+
const style = {
|
|
3040
2058
|
'z-index': this.zIndex,
|
|
3041
2059
|
display: this.showContainer ? 'block' : 'none'
|
|
3042
2060
|
};
|
|
3043
|
-
|
|
2061
|
+
const customStyle = this.$attrs.style;
|
|
2062
|
+
if (customStyle) {
|
|
2063
|
+
if (typeof customStyle === 'string') {
|
|
2064
|
+
customStyle.split(';').forEach(item => {
|
|
2065
|
+
const [key, value] = item.split(':');
|
|
2066
|
+
style[key] = value;
|
|
2067
|
+
});
|
|
2068
|
+
} else {
|
|
2069
|
+
for (const key in customStyle) {
|
|
2070
|
+
style[key] = customStyle[key];
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
3044
2074
|
if (this.mousedown) {
|
|
3045
2075
|
style.userSelect = 'none';
|
|
3046
2076
|
}
|
|
3047
|
-
|
|
3048
2077
|
return style;
|
|
3049
2078
|
},
|
|
3050
|
-
maskStyle
|
|
2079
|
+
maskStyle() {
|
|
3051
2080
|
return this.maskColor ? {
|
|
3052
2081
|
'background-color': this.maskColor
|
|
3053
2082
|
} : {};
|
|
3054
2083
|
},
|
|
3055
2084
|
// If to use the fixed size or not:
|
|
3056
2085
|
// true if the value of size is an Array
|
|
3057
|
-
isSizeFixed
|
|
2086
|
+
isSizeFixed() {
|
|
3058
2087
|
return Array.isArray(this.size);
|
|
3059
2088
|
},
|
|
3060
2089
|
// Should I fit the size automatically ?
|
|
3061
2090
|
// If the value of size is 0 or [0, 0],
|
|
3062
2091
|
// then make it auto.
|
|
3063
|
-
isAutoSize
|
|
2092
|
+
isAutoSize() {
|
|
3064
2093
|
if (this.isSizeFixed) {
|
|
3065
|
-
return !this.size.every(
|
|
3066
|
-
return i.toString() !== '0';
|
|
3067
|
-
});
|
|
2094
|
+
return !this.size.every(i => i.toString() !== '0');
|
|
3068
2095
|
}
|
|
3069
|
-
|
|
3070
2096
|
return this.size.toString() === '0';
|
|
3071
2097
|
},
|
|
3072
|
-
|
|
3073
2098
|
/**
|
|
3074
2099
|
* Get the value of size with unit px or "%"
|
|
3075
2100
|
* @return {Array|String}
|
|
3076
2101
|
*/
|
|
3077
|
-
sizeWithUnit
|
|
2102
|
+
sizeWithUnit() {
|
|
3078
2103
|
if (!this.isSizeFixed) {
|
|
3079
2104
|
return this._fixSizeUnit(this.size);
|
|
3080
2105
|
}
|
|
3081
|
-
|
|
3082
2106
|
return [this._fixSizeUnit(this.size[0]), this._fixSizeUnit(this.size[this.size.length === 1 ? 0 : 1])];
|
|
3083
2107
|
},
|
|
3084
2108
|
// The styles of panel
|
|
3085
|
-
panelStyle
|
|
3086
|
-
|
|
2109
|
+
panelStyle() {
|
|
2110
|
+
const style = {};
|
|
3087
2111
|
|
|
2112
|
+
// Styles for fixed
|
|
3088
2113
|
if (this.isSizeFixed) {
|
|
3089
2114
|
// Set size
|
|
3090
2115
|
style.width = this.sizeWithUnit[0];
|
|
3091
|
-
style.height = this.sizeWithUnit[1];
|
|
2116
|
+
style.height = this.sizeWithUnit[1];
|
|
2117
|
+
// The offset of slideout content,
|
|
3092
2118
|
// the value is 0 while fill-parent.
|
|
3093
|
-
|
|
3094
|
-
var offset = this.isFilled ? 0 : this.offset;
|
|
3095
|
-
|
|
2119
|
+
const offset = this.isFilled ? 0 : this.offset;
|
|
3096
2120
|
switch (this.dockOn) {
|
|
3097
2121
|
case 'right':
|
|
3098
2122
|
case 'left':
|
|
3099
2123
|
style.top = offset;
|
|
3100
|
-
style.maxHeight =
|
|
2124
|
+
style.maxHeight = `calc(100% - ${offset})`;
|
|
3101
2125
|
break;
|
|
3102
|
-
|
|
3103
2126
|
case 'bottom':
|
|
3104
2127
|
case 'top':
|
|
3105
2128
|
style.left = offset;
|
|
3106
|
-
style.maxWidth =
|
|
2129
|
+
style.maxWidth = `calc(100% - ${offset})`;
|
|
3107
2130
|
break;
|
|
3108
2131
|
}
|
|
3109
|
-
|
|
3110
2132
|
return style;
|
|
3111
|
-
}
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
var size = this.isFilled ? '100%' : this.resizeValue > 0 ? "".concat(this.resizeValue, "px") : this.sizeWithUnit;
|
|
3115
|
-
|
|
2133
|
+
}
|
|
2134
|
+
// Set 100% while fill-parent
|
|
2135
|
+
const size = this.isFilled ? '100%' : this.resizeValue > 0 ? `${this.resizeValue}px` : this.sizeWithUnit;
|
|
3116
2136
|
switch (this.dockOn) {
|
|
3117
2137
|
case 'right':
|
|
3118
2138
|
case 'left':
|
|
3119
2139
|
style.width = size;
|
|
3120
2140
|
break;
|
|
3121
|
-
|
|
3122
2141
|
case 'bottom':
|
|
3123
2142
|
case 'top':
|
|
3124
2143
|
style.height = size;
|
|
3125
2144
|
break;
|
|
3126
2145
|
}
|
|
3127
|
-
|
|
3128
2146
|
return style;
|
|
3129
2147
|
},
|
|
3130
|
-
containerClasses
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
2148
|
+
containerClasses() {
|
|
2149
|
+
return {
|
|
2150
|
+
'slideout': true,
|
|
2151
|
+
[this.customClass || '']: true,
|
|
2152
|
+
[`slideout-dock--${this.dockOn}`]: true,
|
|
2153
|
+
'slideout-is--visible': this.activeVisibleClass,
|
|
2154
|
+
// Disable the animations while mouse button pressed,
|
|
2155
|
+
// to make the operation smoothly.
|
|
2156
|
+
'slideout-animation--enabled': !this.mousedown && !this.disableAnimation,
|
|
2157
|
+
'slideout-header--visible': this.showHeader,
|
|
2158
|
+
'slideout-footer--visible': this.$slots.footer,
|
|
2159
|
+
'slideout-is--resizable': this.resizable,
|
|
2160
|
+
'slideout-is--fixed': this.isFixed,
|
|
2161
|
+
'slideout-is--filled': this.isFilled,
|
|
2162
|
+
'slideout-is--autosize': this.isAutoSize
|
|
2163
|
+
};
|
|
3136
2164
|
},
|
|
3137
2165
|
// If to use fixed position.
|
|
3138
|
-
isFixed
|
|
2166
|
+
isFixed() {
|
|
3139
2167
|
// False if target specified,
|
|
3140
2168
|
// except the parent element is document.body.
|
|
3141
2169
|
return this.fixed || this.parentElement === document.body || !this.target;
|
|
@@ -3144,7 +2172,7 @@ var es_string_fixed = __webpack_require__("c7cd");
|
|
|
3144
2172
|
});
|
|
3145
2173
|
// CONCATENATED MODULE: ./src/components/data.js
|
|
3146
2174
|
/* harmony default export */ var data = ({
|
|
3147
|
-
data
|
|
2175
|
+
data() {
|
|
3148
2176
|
return {
|
|
3149
2177
|
isVisible: false,
|
|
3150
2178
|
isFilled: false,
|
|
@@ -3171,134 +2199,111 @@ var es_string_fixed = __webpack_require__("c7cd");
|
|
|
3171
2199
|
};
|
|
3172
2200
|
}
|
|
3173
2201
|
});
|
|
3174
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
3175
|
-
var
|
|
3176
|
-
|
|
3177
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
3178
|
-
var es_regexp_test = __webpack_require__("00b4");
|
|
2202
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
2203
|
+
var es_error_cause = __webpack_require__("d9e2");
|
|
3179
2204
|
|
|
3180
2205
|
// CONCATENATED MODULE: ./src/components/methods.js
|
|
3181
2206
|
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
2207
|
/* harmony default export */ var methods = ({
|
|
3187
2208
|
methods: {
|
|
3188
|
-
makeBeforeEventArgs
|
|
3189
|
-
|
|
3190
|
-
|
|
2209
|
+
makeBeforeEventArgs(resumeCallback, cancelCallback) {
|
|
2210
|
+
const vm = this;
|
|
2211
|
+
let canceled = false;
|
|
3191
2212
|
return {
|
|
3192
2213
|
// If to pause the open/close operation.
|
|
3193
2214
|
pause: false,
|
|
3194
|
-
|
|
3195
2215
|
// setter
|
|
3196
2216
|
// Resume the paused operation.
|
|
3197
2217
|
set resume(value) {
|
|
3198
2218
|
// Cancel the operation if the value is falsy.
|
|
3199
2219
|
if (!value) {
|
|
3200
2220
|
return;
|
|
3201
|
-
}
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
vm.$nextTick(function () {
|
|
2221
|
+
}
|
|
2222
|
+
// Continue the operation.
|
|
2223
|
+
vm.$nextTick(() => {
|
|
3205
2224
|
resumeCallback();
|
|
3206
2225
|
});
|
|
3207
2226
|
},
|
|
3208
|
-
|
|
3209
2227
|
get resume() {
|
|
3210
2228
|
return undefined;
|
|
3211
2229
|
},
|
|
3212
|
-
|
|
3213
2230
|
set cancel(value) {
|
|
3214
2231
|
canceled = value;
|
|
3215
|
-
|
|
3216
2232
|
if (!value) {
|
|
3217
2233
|
return;
|
|
3218
2234
|
}
|
|
3219
|
-
|
|
3220
|
-
vm.$nextTick(function () {
|
|
2235
|
+
vm.$nextTick(() => {
|
|
3221
2236
|
cancelCallback();
|
|
3222
2237
|
});
|
|
3223
2238
|
},
|
|
3224
|
-
|
|
3225
2239
|
get cancel() {
|
|
3226
2240
|
return canceled;
|
|
3227
2241
|
}
|
|
3228
|
-
|
|
3229
2242
|
};
|
|
3230
2243
|
},
|
|
3231
|
-
tryOpen
|
|
3232
|
-
var _this = this;
|
|
3233
|
-
|
|
2244
|
+
tryOpen() {
|
|
3234
2245
|
// Do nothing if slideout is visible.
|
|
3235
2246
|
if (this.isVisible) {
|
|
3236
2247
|
return;
|
|
3237
|
-
}
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
}, function () {
|
|
2248
|
+
}
|
|
2249
|
+
// The arguments of event "opening".
|
|
2250
|
+
const args = this.makeBeforeEventArgs(() => {
|
|
2251
|
+
this.setVisibleValue(true);
|
|
2252
|
+
}, () => {
|
|
3243
2253
|
// Reset the value of visible to "false" while operation canceled.
|
|
3244
|
-
|
|
3245
|
-
});
|
|
2254
|
+
this._updateVisibleValue(false);
|
|
2255
|
+
});
|
|
3246
2256
|
|
|
3247
|
-
|
|
2257
|
+
// Trigger the "opening" event with "args".
|
|
2258
|
+
this.$emit('opening', args);
|
|
3248
2259
|
|
|
2260
|
+
// If the open operation is paused or canceled, just return.
|
|
3249
2261
|
if (args.pause || args.cancel) {
|
|
3250
2262
|
return;
|
|
3251
|
-
}
|
|
3252
|
-
|
|
2263
|
+
}
|
|
3253
2264
|
|
|
2265
|
+
// Show slideout.
|
|
3254
2266
|
this.setVisibleValue(true);
|
|
3255
2267
|
},
|
|
3256
|
-
tryClose
|
|
3257
|
-
var _this2 = this;
|
|
3258
|
-
|
|
2268
|
+
tryClose() {
|
|
3259
2269
|
// Do nothing if slideout is invisible.
|
|
3260
2270
|
if (!this.isVisible) {
|
|
3261
2271
|
return;
|
|
3262
|
-
}
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
}, function () {
|
|
2272
|
+
}
|
|
2273
|
+
// The arguments of event "opening".
|
|
2274
|
+
const args = this.makeBeforeEventArgs(() => {
|
|
2275
|
+
this.setVisibleValue(false);
|
|
2276
|
+
}, () => {
|
|
3268
2277
|
// Reset the value of visible to "true" while operation canceled.
|
|
3269
|
-
|
|
3270
|
-
});
|
|
2278
|
+
this._updateVisibleValue(true);
|
|
2279
|
+
});
|
|
3271
2280
|
|
|
3272
|
-
|
|
2281
|
+
// Trigger the "closing" event with "args".
|
|
2282
|
+
this.$emit('closing', args);
|
|
3273
2283
|
|
|
2284
|
+
// If the open operation is paused or canceled, just return.
|
|
3274
2285
|
if (args.pause || args.cancel) {
|
|
3275
2286
|
return;
|
|
3276
2287
|
}
|
|
3277
|
-
|
|
3278
2288
|
this.setVisibleValue(false);
|
|
3279
2289
|
},
|
|
3280
|
-
|
|
3281
2290
|
/**
|
|
3282
2291
|
* Update the value of isVisible.
|
|
3283
2292
|
* @param {Boolean} visible The visible state
|
|
3284
2293
|
*/
|
|
3285
|
-
setVisibleValue
|
|
3286
|
-
var _this3 = this;
|
|
3287
|
-
|
|
2294
|
+
setVisibleValue(visible) {
|
|
3288
2295
|
// Reset the size while slideout is brought into visible.
|
|
3289
2296
|
if (visible) {
|
|
3290
2297
|
this.resizeValue = 0;
|
|
3291
2298
|
}
|
|
3292
|
-
|
|
3293
2299
|
if (visible) {
|
|
3294
2300
|
this.showContainer = true;
|
|
3295
2301
|
this.isVisible = true;
|
|
3296
|
-
this.$nextTick(
|
|
2302
|
+
this.$nextTick(() => {
|
|
3297
2303
|
// Delay the animation.
|
|
3298
|
-
setTimeout(
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
_this3.emitOpenedEvent();
|
|
2304
|
+
setTimeout(() => {
|
|
2305
|
+
this.activeVisibleClass = true;
|
|
2306
|
+
this.emitOpenedEvent();
|
|
3302
2307
|
}, 10);
|
|
3303
2308
|
});
|
|
3304
2309
|
} else {
|
|
@@ -3306,60 +2311,49 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3306
2311
|
// Update the value of "fill-parent" for "v-model:fill-parent" to exit fill-parent after slideout closed.
|
|
3307
2312
|
this.$emit('update:fill-parent', false);
|
|
3308
2313
|
}
|
|
3309
|
-
|
|
3310
2314
|
this.activeVisibleClass = false;
|
|
3311
|
-
this.$nextTick(
|
|
3312
|
-
|
|
2315
|
+
this.$nextTick(() => {
|
|
2316
|
+
this.emitClosedEvent();
|
|
3313
2317
|
});
|
|
3314
2318
|
}
|
|
3315
2319
|
},
|
|
3316
|
-
emitOpenedEvent
|
|
3317
|
-
var _this4 = this;
|
|
3318
|
-
|
|
2320
|
+
emitOpenedEvent() {
|
|
3319
2321
|
if (this.disableAnimation) {
|
|
3320
2322
|
// The animation is disabled.
|
|
3321
2323
|
this._doOpen();
|
|
3322
|
-
|
|
3323
2324
|
return;
|
|
3324
|
-
}
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
_this4._doOpen();
|
|
2325
|
+
}
|
|
2326
|
+
// Applying the animation.
|
|
2327
|
+
setTimeout(() => {
|
|
2328
|
+
this._doOpen();
|
|
3329
2329
|
}, this.animationDuration);
|
|
3330
2330
|
},
|
|
3331
|
-
emitClosedEvent
|
|
3332
|
-
var _this5 = this;
|
|
3333
|
-
|
|
2331
|
+
emitClosedEvent() {
|
|
3334
2332
|
if (this.disableAnimation) {
|
|
3335
2333
|
// The animation is disabled.
|
|
3336
2334
|
this._doClose();
|
|
3337
|
-
|
|
3338
2335
|
return;
|
|
3339
|
-
}
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
_this5._doClose();
|
|
2336
|
+
}
|
|
2337
|
+
// Applying the animation.
|
|
2338
|
+
setTimeout(() => {
|
|
2339
|
+
this._doClose();
|
|
3344
2340
|
}, this.animationDuration);
|
|
3345
2341
|
},
|
|
3346
|
-
_doOpen
|
|
2342
|
+
_doOpen() {
|
|
3347
2343
|
this.$emit('opened', this.$refs.panel);
|
|
3348
|
-
|
|
3349
2344
|
if (this.visible !== this.isVisible) {
|
|
3350
2345
|
this._updateVisibleValue(true);
|
|
3351
2346
|
}
|
|
3352
2347
|
},
|
|
3353
|
-
_doClose
|
|
2348
|
+
_doClose() {
|
|
3354
2349
|
this.showContainer = false;
|
|
3355
2350
|
this.isVisible = false;
|
|
3356
2351
|
this.$emit('closed');
|
|
3357
|
-
|
|
3358
2352
|
if (this.visible !== this.isVisible) {
|
|
3359
2353
|
this._updateVisibleValue(false);
|
|
3360
2354
|
}
|
|
3361
2355
|
},
|
|
3362
|
-
toggleFillState
|
|
2356
|
+
toggleFillState(fillparent) {
|
|
3363
2357
|
if (typeof fillparent !== 'boolean') {
|
|
3364
2358
|
this.isFilled = !this.isFilled;
|
|
3365
2359
|
} else if (this.isFilled === fillparent) {
|
|
@@ -3367,70 +2361,61 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3367
2361
|
} else {
|
|
3368
2362
|
this.isFilled = fillparent;
|
|
3369
2363
|
}
|
|
3370
|
-
|
|
3371
2364
|
if (this.isFilled !== this.fillParent) {
|
|
3372
2365
|
this.$emit('update:fill-parent', this.isFilled);
|
|
3373
2366
|
}
|
|
3374
2367
|
},
|
|
3375
|
-
|
|
3376
2368
|
/**
|
|
3377
2369
|
* Get the actual parent element of Slideout
|
|
3378
2370
|
*/
|
|
3379
|
-
updateParentElement
|
|
2371
|
+
updateParentElement() {
|
|
3380
2372
|
if (!this.target) {
|
|
3381
|
-
this.parentElement = this.$
|
|
2373
|
+
this.parentElement = this.$parent.$el.parentElement;
|
|
3382
2374
|
return;
|
|
3383
2375
|
}
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
2376
|
+
let target = this.target;
|
|
2377
|
+
// handle selector
|
|
3387
2378
|
if (typeof target === 'string') {
|
|
3388
2379
|
target = document.querySelector(target);
|
|
3389
|
-
|
|
3390
2380
|
if (!target) {
|
|
3391
|
-
throw new Error(
|
|
2381
|
+
throw new Error(`[vue-slideout] Cannot find the node to append: ${this.target}`);
|
|
3392
2382
|
}
|
|
3393
2383
|
}
|
|
3394
|
-
|
|
3395
2384
|
this.parentElement = target;
|
|
3396
2385
|
},
|
|
3397
|
-
|
|
3398
2386
|
/**
|
|
3399
2387
|
* The handler for mask click.
|
|
3400
2388
|
*/
|
|
3401
|
-
onMaskClick
|
|
2389
|
+
onMaskClick() {
|
|
3402
2390
|
if (this.closeOnMaskClick) {
|
|
3403
2391
|
this.tryClose();
|
|
3404
2392
|
}
|
|
3405
2393
|
},
|
|
3406
|
-
|
|
3407
2394
|
/**
|
|
3408
2395
|
* @return {{width: Number, height: Number}}
|
|
3409
2396
|
*/
|
|
3410
|
-
getParentSize
|
|
3411
|
-
|
|
2397
|
+
getParentSize() {
|
|
2398
|
+
const rect = this.parentElement.getClientRects()[0];
|
|
3412
2399
|
return {
|
|
3413
2400
|
width: rect.width,
|
|
3414
2401
|
height: rect.height
|
|
3415
2402
|
};
|
|
3416
2403
|
},
|
|
3417
|
-
|
|
3418
2404
|
/**
|
|
3419
2405
|
* @return {{width: Number, height: Number}}
|
|
3420
2406
|
*/
|
|
3421
|
-
getMyownSize
|
|
3422
|
-
|
|
2407
|
+
getMyownSize() {
|
|
2408
|
+
const rect = this.$refs.panel.getClientRects()[0];
|
|
3423
2409
|
return {
|
|
3424
2410
|
width: rect.width,
|
|
3425
2411
|
height: rect.height
|
|
3426
2412
|
};
|
|
3427
2413
|
},
|
|
3428
|
-
mouseDownHandler
|
|
2414
|
+
mouseDownHandler(e) {
|
|
3429
2415
|
if (this.isFilled) {
|
|
3430
2416
|
// Resize is disabled while fillparent.
|
|
3431
2417
|
return;
|
|
3432
2418
|
}
|
|
3433
|
-
|
|
3434
2419
|
this.mousedown = true;
|
|
3435
2420
|
this.mouseDownPosition = {
|
|
3436
2421
|
x: e.pageX,
|
|
@@ -3438,132 +2423,112 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3438
2423
|
};
|
|
3439
2424
|
this.originSize = this.getMyownSize();
|
|
3440
2425
|
},
|
|
3441
|
-
mouseMoveHandler
|
|
3442
|
-
var _this6 = this;
|
|
3443
|
-
|
|
2426
|
+
mouseMoveHandler(e) {
|
|
3444
2427
|
if (this.isFilled) {
|
|
3445
2428
|
// Resize is disabled while fillparent.
|
|
3446
2429
|
return;
|
|
3447
|
-
}
|
|
3448
|
-
|
|
3449
|
-
|
|
2430
|
+
}
|
|
2431
|
+
// Resize is disabled while the mouse button is not pressed.
|
|
3450
2432
|
if (!this.mousedown) {
|
|
3451
2433
|
return;
|
|
3452
2434
|
}
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
var winSize = {
|
|
2435
|
+
e.preventDefault();
|
|
2436
|
+
// The offset of mouse movement.
|
|
2437
|
+
const x = e.pageX - this.mouseDownPosition.x;
|
|
2438
|
+
const y = e.pageY - this.mouseDownPosition.y;
|
|
2439
|
+
const parentSize = this.getParentSize();
|
|
2440
|
+
const winSize = {
|
|
3460
2441
|
width: window.innerWidth,
|
|
3461
2442
|
height: window.innerHeight
|
|
3462
2443
|
};
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
2444
|
+
const size = this.originSize;
|
|
2445
|
+
let newSize = 0;
|
|
3466
2446
|
switch (this.dock) {
|
|
3467
2447
|
case 'top':
|
|
3468
2448
|
newSize = size.height + y;
|
|
3469
|
-
|
|
3470
2449
|
if (newSize > parentSize.height) {
|
|
3471
2450
|
newSize = parentSize.height;
|
|
3472
2451
|
}
|
|
3473
|
-
|
|
3474
2452
|
if (newSize > winSize.height) {
|
|
3475
2453
|
newSize = winSize.height;
|
|
3476
2454
|
}
|
|
3477
|
-
|
|
3478
2455
|
break;
|
|
3479
|
-
|
|
3480
2456
|
case 'right':
|
|
3481
2457
|
newSize = size.width - x;
|
|
3482
|
-
|
|
3483
2458
|
if (newSize > parentSize.width) {
|
|
3484
2459
|
newSize = parentSize.width;
|
|
3485
2460
|
}
|
|
3486
|
-
|
|
3487
2461
|
if (newSize > winSize.width) {
|
|
3488
2462
|
newSize = winSize.width;
|
|
3489
2463
|
}
|
|
3490
|
-
|
|
3491
2464
|
break;
|
|
3492
|
-
|
|
3493
2465
|
case 'bottom':
|
|
3494
2466
|
newSize = size.height - y;
|
|
3495
|
-
|
|
3496
2467
|
if (newSize > parentSize.height) {
|
|
3497
2468
|
newSize = parentSize.height;
|
|
3498
2469
|
}
|
|
3499
|
-
|
|
3500
2470
|
if (newSize > winSize.height) {
|
|
3501
2471
|
newSize = winSize.height;
|
|
3502
2472
|
}
|
|
3503
|
-
|
|
3504
2473
|
break;
|
|
3505
|
-
|
|
3506
2474
|
case 'left':
|
|
3507
2475
|
newSize = size.width + x;
|
|
3508
|
-
|
|
3509
2476
|
if (newSize > parentSize.width) {
|
|
3510
2477
|
newSize = parentSize.width;
|
|
3511
2478
|
}
|
|
3512
|
-
|
|
3513
2479
|
if (newSize > winSize.width) {
|
|
3514
2480
|
newSize = winSize.width;
|
|
3515
2481
|
}
|
|
3516
|
-
|
|
3517
2482
|
break;
|
|
3518
2483
|
}
|
|
3519
|
-
|
|
3520
2484
|
if (this.maxSize > 0 && this.maxSize < newSize) {
|
|
3521
2485
|
newSize = this.maxSize;
|
|
3522
2486
|
}
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
_this6.resizeValue = newSize < _this6.minSize ? _this6.minSize : newSize;
|
|
2487
|
+
requestAnimationFrame(() => {
|
|
2488
|
+
this.resizeValue = newSize < this.minSize ? this.minSize : newSize;
|
|
3526
2489
|
});
|
|
3527
|
-
this.$nextTick(
|
|
3528
|
-
|
|
3529
|
-
size:
|
|
2490
|
+
this.$nextTick(() => {
|
|
2491
|
+
this.$emit('resize', {
|
|
2492
|
+
size: this.resizeValue
|
|
3530
2493
|
});
|
|
3531
2494
|
});
|
|
3532
2495
|
},
|
|
3533
|
-
mouseUpHandler
|
|
2496
|
+
mouseUpHandler() {
|
|
3534
2497
|
this.mousedown = false;
|
|
3535
2498
|
},
|
|
3536
|
-
|
|
3537
2499
|
/**
|
|
3538
2500
|
* Close slideout after Esc pressed.
|
|
3539
2501
|
* @param {KeyboardEvent} e
|
|
3540
2502
|
*/
|
|
3541
|
-
onKeydown
|
|
2503
|
+
onKeydown(e) {
|
|
3542
2504
|
if (this.ignoreEsc) {
|
|
3543
2505
|
return;
|
|
3544
2506
|
}
|
|
3545
|
-
|
|
3546
2507
|
if (!this.isVisible) {
|
|
3547
2508
|
return;
|
|
3548
|
-
}
|
|
3549
|
-
|
|
3550
|
-
|
|
2509
|
+
}
|
|
2510
|
+
// 27: Escape key
|
|
3551
2511
|
if (e.code !== 'Escape' && e.keyCode !== 27 && e.which !== 27) {
|
|
3552
2512
|
return;
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
|
|
2513
|
+
}
|
|
2514
|
+
// Ignore input controls.
|
|
3556
2515
|
if (['INPUT', 'TEXTAREA'].indexOf(e.target.tagName) !== -1 || e.target.contentEditable === 'true') {
|
|
3557
2516
|
return;
|
|
3558
2517
|
}
|
|
3559
|
-
|
|
3560
2518
|
this.tryClose();
|
|
3561
2519
|
return false;
|
|
3562
2520
|
},
|
|
3563
|
-
_fixSizeUnit
|
|
3564
|
-
|
|
2521
|
+
_fixSizeUnit(val) {
|
|
2522
|
+
if (val.toString() === '0') {
|
|
2523
|
+
return 'auto';
|
|
2524
|
+
}
|
|
2525
|
+
// Use unit PX as default
|
|
2526
|
+
if (/^[0-9.]+$/.test(val)) {
|
|
2527
|
+
return val + 'px';
|
|
2528
|
+
}
|
|
2529
|
+
return val;
|
|
3565
2530
|
},
|
|
3566
|
-
_updateVisibleValue
|
|
2531
|
+
_updateVisibleValue(value) {
|
|
3567
2532
|
this.$emit('update:modelValue', value);
|
|
3568
2533
|
}
|
|
3569
2534
|
}
|
|
@@ -3571,39 +2536,35 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3571
2536
|
// CONCATENATED MODULE: ./src/components/watch.js
|
|
3572
2537
|
/* harmony default export */ var watch = ({
|
|
3573
2538
|
watch: {
|
|
3574
|
-
modelValue
|
|
2539
|
+
modelValue(visible) {
|
|
3575
2540
|
if (visible === this.isVisible) {
|
|
3576
2541
|
return;
|
|
3577
2542
|
}
|
|
3578
|
-
|
|
3579
2543
|
if (visible) {
|
|
3580
2544
|
this.tryOpen();
|
|
3581
2545
|
} else {
|
|
3582
2546
|
this.tryClose();
|
|
3583
2547
|
}
|
|
3584
2548
|
},
|
|
3585
|
-
fillParent
|
|
2549
|
+
fillParent(value) {
|
|
3586
2550
|
if (value === this.isFilled) {
|
|
3587
2551
|
return;
|
|
3588
2552
|
}
|
|
3589
|
-
|
|
3590
2553
|
this.toggleFillState(value);
|
|
3591
2554
|
},
|
|
3592
|
-
isVisible
|
|
3593
|
-
var _this = this;
|
|
3594
|
-
|
|
2555
|
+
isVisible(v) {
|
|
3595
2556
|
if (v) {
|
|
3596
|
-
this.$nextTick(
|
|
3597
|
-
|
|
2557
|
+
this.$nextTick(() => {
|
|
2558
|
+
this.$refs.container.focus();
|
|
3598
2559
|
});
|
|
3599
|
-
}
|
|
3600
|
-
|
|
2560
|
+
}
|
|
3601
2561
|
|
|
2562
|
+
// Do not lock the scroll while slideout is not fixed.
|
|
3602
2563
|
if (!this.isFixed) {
|
|
3603
2564
|
return;
|
|
3604
|
-
}
|
|
3605
|
-
|
|
2565
|
+
}
|
|
3606
2566
|
|
|
2567
|
+
// Toggle the scroll class.
|
|
3607
2568
|
if (v) {
|
|
3608
2569
|
document.body.classList.add('slideout-helper--scroll-locker');
|
|
3609
2570
|
} else {
|
|
@@ -3612,24 +2573,25 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3612
2573
|
}
|
|
3613
2574
|
}
|
|
3614
2575
|
});
|
|
2576
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
2577
|
+
var es_array_push = __webpack_require__("14d9");
|
|
2578
|
+
|
|
3615
2579
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
3616
2580
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
3617
2581
|
|
|
3618
2582
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconArrow.vue?vue&type=template&id=18a021e1
|
|
3619
2583
|
|
|
3620
|
-
|
|
2584
|
+
const _hoisted_1 = {
|
|
3621
2585
|
viewBox: "0 0 1024 1024",
|
|
3622
2586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3623
2587
|
width: "16",
|
|
3624
2588
|
height: "16"
|
|
3625
2589
|
};
|
|
3626
|
-
|
|
3627
|
-
var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2590
|
+
const _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3628
2591
|
d: "M493.45411 71.89033 197.751365 361.596502c-9.624195 9.380648-9.624195 24.707728 0 34.138518 9.576099 9.381671 25.222451 9.381671 34.848693 0l253.612115-248.494561 0 786.690176c0 13.3214 11.047614 24.142863 24.642237 24.142863 13.597693 0 24.645306-10.821463 24.645306-24.142863L535.499715 147.240459l253.632581 248.494561c9.603729 9.381671 25.248034 9.381671 34.847669 0 4.836145-4.76349 7.194866-10.939143 7.194866-17.116843 0-6.1777-2.405793-12.355399-7.194866-17.116843L528.255731 71.797209c-9.602705-9.383718-25.244964-9.383718-34.849716 0L493.45411 71.89033z"
|
|
3629
2592
|
}, null, -1);
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
function IconArrowvue_type_template_id_18a021e1_render(_ctx, _cache) {
|
|
2593
|
+
const _hoisted_3 = [_hoisted_2];
|
|
2594
|
+
function render(_ctx, _cache) {
|
|
3633
2595
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", _hoisted_1, _hoisted_3);
|
|
3634
2596
|
}
|
|
3635
2597
|
// CONCATENATED MODULE: ./src/components/icon/IconArrow.vue?vue&type=template&id=18a021e1
|
|
@@ -3643,21 +2605,21 @@ var exportHelper_default = /*#__PURE__*/__webpack_require__.n(exportHelper);
|
|
|
3643
2605
|
const script = {}
|
|
3644
2606
|
|
|
3645
2607
|
|
|
3646
|
-
|
|
2608
|
+
const __exports__ = /*#__PURE__*/exportHelper_default()(script, [['render',render]])
|
|
2609
|
+
|
|
2610
|
+
/* harmony default export */ var IconArrow = (__exports__);
|
|
3647
2611
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconCross.vue?vue&type=template&id=12d997a6
|
|
3648
2612
|
|
|
3649
|
-
|
|
2613
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_1 = {
|
|
3650
2614
|
viewBox: "0 0 1024 1024",
|
|
3651
2615
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3652
2616
|
width: "16",
|
|
3653
2617
|
height: "16"
|
|
3654
2618
|
};
|
|
3655
|
-
|
|
3656
|
-
var IconCrossvue_type_template_id_12d997a6_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2619
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3657
2620
|
d: "M184.64768 836.34176c3.9936 3.9936 9.23648 5.98016 14.47936 5.98016 5.24288 0 10.48576-2.00704 14.49984-6.00064l292.70016-293.04832 292.70016 293.04832c3.9936 4.01408 9.23648 6.00064 14.49984 6.00064 5.24288 0 10.48576-2.00704 14.47936-5.98016 8.00768-7.9872 8.00768-20.95104 0.02048-28.95872L535.61344 514.64192 828.0064 221.92128c7.9872-8.00768 7.9872-20.97152-0.02048-28.95872-8.02816-8.00768-20.97152-8.00768-28.95872 0.02048L506.30656 486.03136 213.6064 192.98304c-8.00768-8.00768-20.97152-8.00768-28.95872-0.02048-8.00768 7.9872-8.00768 20.95104-0.02048 28.95872l292.37248 292.72064L184.6272 807.38304C176.64 815.37024 176.64 828.35456 184.64768 836.34176z"
|
|
3658
2621
|
}, null, -1);
|
|
3659
|
-
|
|
3660
|
-
var IconCrossvue_type_template_id_12d997a6_hoisted_3 = [IconCrossvue_type_template_id_12d997a6_hoisted_2];
|
|
2622
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_3 = [IconCrossvue_type_template_id_12d997a6_hoisted_2];
|
|
3661
2623
|
function IconCrossvue_type_template_id_12d997a6_render(_ctx, _cache) {
|
|
3662
2624
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconCrossvue_type_template_id_12d997a6_hoisted_1, IconCrossvue_type_template_id_12d997a6_hoisted_3);
|
|
3663
2625
|
}
|
|
@@ -3668,22 +2630,22 @@ function IconCrossvue_type_template_id_12d997a6_render(_ctx, _cache) {
|
|
|
3668
2630
|
const IconCross_script = {}
|
|
3669
2631
|
|
|
3670
2632
|
|
|
3671
|
-
|
|
2633
|
+
const IconCross_exports_ = /*#__PURE__*/exportHelper_default()(IconCross_script, [['render',IconCrossvue_type_template_id_12d997a6_render]])
|
|
2634
|
+
|
|
2635
|
+
/* harmony default export */ var IconCross = (IconCross_exports_);
|
|
3672
2636
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconFill.vue?vue&type=template&id=094ee891
|
|
3673
2637
|
|
|
3674
|
-
|
|
2638
|
+
const IconFillvue_type_template_id_094ee891_hoisted_1 = {
|
|
3675
2639
|
version: "1.1",
|
|
3676
2640
|
viewBox: "0 0 1024 1024",
|
|
3677
2641
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3678
2642
|
width: "16",
|
|
3679
2643
|
height: "16"
|
|
3680
2644
|
};
|
|
3681
|
-
|
|
3682
|
-
var IconFillvue_type_template_id_094ee891_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2645
|
+
const IconFillvue_type_template_id_094ee891_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3683
2646
|
d: "M258.285714 197.028571l50.171429-50.171428a9.154286 9.154286 0 0 0-5.371429-15.542857L120 109.714286c-5.828571-0.685714-10.857143 4.228571-10.171429 10.171428L131.428571 302.971429c0.914286 7.542857 10.171429 10.742857 15.542858 5.371428l49.942857-49.942857L349.714286 411.085714c3.542857 3.542857 9.371429 3.542857 12.914285 0l48.457143-48.342857c3.542857-3.542857 3.542857-9.371429 0-12.914286L258.285714 197.028571z m403.085715 214.057143c3.542857 3.542857 9.371429 3.542857 12.914285 0l152.8-152.685714 49.942857 49.942857a9.154286 9.154286 0 0 0 15.542858-5.371428L914.171429 120c0.685714-5.828571-4.228571-10.857143-10.171429-10.171429L720.914286 131.428571c-7.542857 0.914286-10.742857 10.171429-5.371429 15.542858l50.171429 50.171428L612.914286 349.714286a9.177143 9.177143 0 0 0 0 12.914285l48.457143 48.457143zM892.571429 721.028571c-0.914286-7.542857-10.171429-10.742857-15.542858-5.371428l-49.942857 49.942857L674.285714 612.914286a9.177143 9.177143 0 0 0-12.914285 0l-48.457143 48.342857a9.177143 9.177143 0 0 0 0 12.914286L765.714286 826.971429l-50.171429 50.171428a9.154286 9.154286 0 0 0 5.371429 15.542857L904 914.285714c5.828571 0.685714 10.857143-4.228571 10.171429-10.171428L892.571429 721.028571z m-529.942858-108.114285a9.177143 9.177143 0 0 0-12.914285 0L196.914286 765.6l-49.942857-49.942857a9.154286 9.154286 0 0 0-15.542858 5.371428L109.828571 904c-0.685714 5.828571 4.228571 10.857143 10.171429 10.171429L303.085714 892.571429c7.542857-0.914286 10.742857-10.171429 5.371429-15.542858L258.285714 826.971429 411.085714 674.285714c3.542857-3.542857 3.542857-9.371429 0-12.914285l-48.457143-48.457143z"
|
|
3684
2647
|
}, null, -1);
|
|
3685
|
-
|
|
3686
|
-
var IconFillvue_type_template_id_094ee891_hoisted_3 = [IconFillvue_type_template_id_094ee891_hoisted_2];
|
|
2648
|
+
const IconFillvue_type_template_id_094ee891_hoisted_3 = [IconFillvue_type_template_id_094ee891_hoisted_2];
|
|
3687
2649
|
function IconFillvue_type_template_id_094ee891_render(_ctx, _cache) {
|
|
3688
2650
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconFillvue_type_template_id_094ee891_hoisted_1, IconFillvue_type_template_id_094ee891_hoisted_3);
|
|
3689
2651
|
}
|
|
@@ -3694,21 +2656,21 @@ function IconFillvue_type_template_id_094ee891_render(_ctx, _cache) {
|
|
|
3694
2656
|
const IconFill_script = {}
|
|
3695
2657
|
|
|
3696
2658
|
|
|
3697
|
-
|
|
2659
|
+
const IconFill_exports_ = /*#__PURE__*/exportHelper_default()(IconFill_script, [['render',IconFillvue_type_template_id_094ee891_render]])
|
|
2660
|
+
|
|
2661
|
+
/* harmony default export */ var IconFill = (IconFill_exports_);
|
|
3698
2662
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconExitFill.vue?vue&type=template&id=570cb530
|
|
3699
2663
|
|
|
3700
|
-
|
|
2664
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_1 = {
|
|
3701
2665
|
viewBox: "0 0 1024 1024",
|
|
3702
2666
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3703
2667
|
width: "16",
|
|
3704
2668
|
height: "16"
|
|
3705
2669
|
};
|
|
3706
|
-
|
|
3707
|
-
var IconExitFillvue_type_template_id_570cb530_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2670
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3708
2671
|
d: "M391 240.9c-0.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3c-3.1-3.1-8.2-3.1-11.3 0l-42.4 42.3c-3.1 3.1-3.1 8.2 0 11.3L280 333.6l-43.9 43.9c-4.7 4.7-1.9 12.8 4.7 13.6L401 410c5.1 0.6 9.5-3.7 8.9-8.9L391 240.9zM401.1 614.1L240.8 633c-6.6 0.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824c-3.1 3.1-3.1 8.2 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7c4.7 4.7 12.8 1.9 13.6-4.7l18.9-160.1c0.6-5.1-3.7-9.4-8.8-8.8zM622.9 409.9L783.2 391c6.6-0.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3c-3.1-3.1-8.2-3.1-11.3 0L690.3 279.9l-43.7-43.7c-4.7-4.7-12.8-1.9-13.6 4.7L614.1 401c-0.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9c4.7-4.7 1.9-12.8-4.7-13.6L623 614c-5.1-0.6-9.5 3.7-8.9 8.9L633 783.1c0.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"
|
|
3709
2672
|
}, null, -1);
|
|
3710
|
-
|
|
3711
|
-
var IconExitFillvue_type_template_id_570cb530_hoisted_3 = [IconExitFillvue_type_template_id_570cb530_hoisted_2];
|
|
2673
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_3 = [IconExitFillvue_type_template_id_570cb530_hoisted_2];
|
|
3712
2674
|
function IconExitFillvue_type_template_id_570cb530_render(_ctx, _cache) {
|
|
3713
2675
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconExitFillvue_type_template_id_570cb530_hoisted_1, IconExitFillvue_type_template_id_570cb530_hoisted_3);
|
|
3714
2676
|
}
|
|
@@ -3719,43 +2681,43 @@ function IconExitFillvue_type_template_id_570cb530_render(_ctx, _cache) {
|
|
|
3719
2681
|
const IconExitFill_script = {}
|
|
3720
2682
|
|
|
3721
2683
|
|
|
3722
|
-
|
|
2684
|
+
const IconExitFill_exports_ = /*#__PURE__*/exportHelper_default()(IconExitFill_script, [['render',IconExitFillvue_type_template_id_570cb530_render]])
|
|
2685
|
+
|
|
2686
|
+
/* harmony default export */ var IconExitFill = (IconExitFill_exports_);
|
|
3723
2687
|
// CONCATENATED MODULE: ./src/components/renderer.js
|
|
3724
2688
|
|
|
3725
2689
|
|
|
3726
2690
|
|
|
3727
2691
|
|
|
3728
2692
|
|
|
2693
|
+
|
|
3729
2694
|
/* harmony default export */ var renderer = ({
|
|
3730
2695
|
methods: {
|
|
3731
|
-
renderDefaultButtons
|
|
3732
|
-
|
|
3733
|
-
|
|
2696
|
+
renderDefaultButtons() {
|
|
2697
|
+
const buttons = [];
|
|
3734
2698
|
if (this.showFillButton) {
|
|
3735
2699
|
buttons.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
3736
2700
|
class: 'slideout-btn--fill',
|
|
3737
2701
|
onClick: this.toggleFillState
|
|
3738
2702
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconFill), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconExitFill)]));
|
|
3739
2703
|
}
|
|
3740
|
-
|
|
3741
2704
|
if (this.showClose) {
|
|
3742
2705
|
buttons.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
3743
2706
|
class: 'slideout-btn--close',
|
|
3744
2707
|
onClick: this.tryClose
|
|
3745
2708
|
}, this.arrowButton ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconArrow) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconCross)));
|
|
3746
2709
|
}
|
|
3747
|
-
|
|
3748
2710
|
return this.span({
|
|
3749
2711
|
class: 'slideout-header--buttons-default'
|
|
3750
2712
|
}, buttons);
|
|
3751
2713
|
},
|
|
3752
|
-
renderResizeHandle
|
|
2714
|
+
renderResizeHandle() {
|
|
3753
2715
|
return this.div({
|
|
3754
2716
|
class: 'slideout-resize--handle',
|
|
3755
2717
|
onMousedown: this.mouseDownHandler
|
|
3756
2718
|
});
|
|
3757
2719
|
},
|
|
3758
|
-
renderHeader
|
|
2720
|
+
renderHeader() {
|
|
3759
2721
|
return this.div({
|
|
3760
2722
|
class: 'slideout-header'
|
|
3761
2723
|
}, this.$slots.header ? this.$slots.header() : [this.div({
|
|
@@ -3767,47 +2729,42 @@ const IconExitFill_script = {}
|
|
|
3767
2729
|
class: 'slideout-header--buttons-custom'
|
|
3768
2730
|
}, this.$slots.buttons ? this.$slots.buttons() : []), this.renderDefaultButtons()])]);
|
|
3769
2731
|
},
|
|
3770
|
-
renderContent
|
|
2732
|
+
renderContent() {
|
|
3771
2733
|
return this.div({
|
|
3772
2734
|
class: 'slideout-content'
|
|
3773
2735
|
}, this.$slots.default());
|
|
3774
2736
|
},
|
|
3775
|
-
renderFooter
|
|
2737
|
+
renderFooter() {
|
|
3776
2738
|
return this.div({
|
|
3777
2739
|
class: 'slideout-footer'
|
|
3778
2740
|
}, this.$slots.footer ? this.$slots.footer() : []);
|
|
3779
2741
|
},
|
|
3780
|
-
renderLayout
|
|
3781
|
-
|
|
3782
|
-
|
|
2742
|
+
renderLayout() {
|
|
2743
|
+
const children = [];
|
|
3783
2744
|
if (this.resizable && !this.isFilled && !this.isSizeFixed) {
|
|
3784
2745
|
children.push(this.renderResizeHandle());
|
|
3785
2746
|
}
|
|
3786
|
-
|
|
3787
2747
|
if (this.showHeader) {
|
|
3788
2748
|
children.push(this.renderHeader());
|
|
3789
2749
|
}
|
|
3790
|
-
|
|
3791
2750
|
children.push(this.renderContent());
|
|
3792
|
-
|
|
3793
2751
|
if (this.showFooter) {
|
|
3794
2752
|
children.push(this.renderFooter());
|
|
3795
2753
|
}
|
|
3796
|
-
|
|
3797
2754
|
return this.div({
|
|
3798
2755
|
class: 'slideout-panel',
|
|
3799
2756
|
style: this.panelStyle,
|
|
3800
2757
|
ref: 'panel'
|
|
3801
2758
|
}, children);
|
|
3802
2759
|
},
|
|
3803
|
-
renderMask
|
|
2760
|
+
renderMask() {
|
|
3804
2761
|
return this.div({
|
|
3805
2762
|
class: 'slideout-mask',
|
|
3806
2763
|
style: this.maskStyle,
|
|
3807
2764
|
onClick: this.onMaskClick
|
|
3808
2765
|
});
|
|
3809
2766
|
},
|
|
3810
|
-
renderContainer
|
|
2767
|
+
renderContainer(children) {
|
|
3811
2768
|
return this.div({
|
|
3812
2769
|
class: this.containerClasses,
|
|
3813
2770
|
style: this.containerStyle,
|
|
@@ -3816,33 +2773,28 @@ const IconExitFill_script = {}
|
|
|
3816
2773
|
onKeydown: this.onKeydown
|
|
3817
2774
|
}, children);
|
|
3818
2775
|
},
|
|
3819
|
-
div
|
|
2776
|
+
div(props, children) {
|
|
3820
2777
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', props, children);
|
|
3821
2778
|
},
|
|
3822
|
-
span
|
|
2779
|
+
span(props, children) {
|
|
3823
2780
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', props, children);
|
|
3824
2781
|
}
|
|
3825
2782
|
},
|
|
3826
|
-
render
|
|
2783
|
+
render() {
|
|
3827
2784
|
if (this.renderWhenVisible && !this.modelValue) {
|
|
3828
2785
|
return null;
|
|
3829
2786
|
}
|
|
3830
|
-
|
|
3831
|
-
var children = [];
|
|
3832
|
-
|
|
2787
|
+
const children = [];
|
|
3833
2788
|
if (this.showMask) {
|
|
3834
2789
|
children.push(this.renderMask());
|
|
3835
2790
|
}
|
|
3836
|
-
|
|
3837
2791
|
children.push(this.renderLayout());
|
|
3838
|
-
|
|
3839
|
-
|
|
2792
|
+
const container = this.renderContainer(children);
|
|
3840
2793
|
if (this.target) {
|
|
3841
2794
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Teleport"], {
|
|
3842
2795
|
to: this.target
|
|
3843
2796
|
}, container);
|
|
3844
2797
|
}
|
|
3845
|
-
|
|
3846
2798
|
return container;
|
|
3847
2799
|
}
|
|
3848
2800
|
});
|
|
@@ -3853,7 +2805,6 @@ const IconExitFill_script = {}
|
|
|
3853
2805
|
|
|
3854
2806
|
|
|
3855
2807
|
|
|
3856
|
-
|
|
3857
2808
|
/* harmony default export */ var slideout = ({
|
|
3858
2809
|
name: 'Slideout',
|
|
3859
2810
|
inheritAttrs: false,
|
|
@@ -3872,7 +2823,6 @@ const IconExitFill_script = {}
|
|
|
3872
2823
|
type: [String, Number, Array],
|
|
3873
2824
|
default: 400
|
|
3874
2825
|
},
|
|
3875
|
-
|
|
3876
2826
|
/**
|
|
3877
2827
|
* If to allow resize operation.
|
|
3878
2828
|
*/
|
|
@@ -3880,7 +2830,6 @@ const IconExitFill_script = {}
|
|
|
3880
2830
|
type: Boolean,
|
|
3881
2831
|
default: false
|
|
3882
2832
|
},
|
|
3883
|
-
|
|
3884
2833
|
/**
|
|
3885
2834
|
* The minimize value for resizing.
|
|
3886
2835
|
* This does not limit the value of size.
|
|
@@ -3889,7 +2838,6 @@ const IconExitFill_script = {}
|
|
|
3889
2838
|
type: Number,
|
|
3890
2839
|
default: 100
|
|
3891
2840
|
},
|
|
3892
|
-
|
|
3893
2841
|
/**
|
|
3894
2842
|
* The minimize value for resizing.
|
|
3895
2843
|
* 0 means there is no limit.
|
|
@@ -3903,7 +2851,6 @@ const IconExitFill_script = {}
|
|
|
3903
2851
|
type: Number,
|
|
3904
2852
|
default: 1997
|
|
3905
2853
|
},
|
|
3906
|
-
|
|
3907
2854
|
/**
|
|
3908
2855
|
* Is slideout visible.
|
|
3909
2856
|
* Do not specify this directly, use v-model instead.
|
|
@@ -3912,21 +2859,18 @@ const IconExitFill_script = {}
|
|
|
3912
2859
|
type: Boolean,
|
|
3913
2860
|
default: false
|
|
3914
2861
|
},
|
|
3915
|
-
|
|
3916
2862
|
/**
|
|
3917
2863
|
* The title text
|
|
3918
2864
|
*/
|
|
3919
2865
|
title: {
|
|
3920
2866
|
type: String
|
|
3921
2867
|
},
|
|
3922
|
-
|
|
3923
2868
|
/**
|
|
3924
2869
|
* Custom class for slideout.
|
|
3925
2870
|
*/
|
|
3926
2871
|
customClass: {
|
|
3927
2872
|
type: String
|
|
3928
2873
|
},
|
|
3929
|
-
|
|
3930
2874
|
/**
|
|
3931
2875
|
* If to show the mask layer.
|
|
3932
2876
|
*/
|
|
@@ -3934,7 +2878,6 @@ const IconExitFill_script = {}
|
|
|
3934
2878
|
type: Boolean,
|
|
3935
2879
|
default: true
|
|
3936
2880
|
},
|
|
3937
|
-
|
|
3938
2881
|
/**
|
|
3939
2882
|
* The background color of mask layer.
|
|
3940
2883
|
*/
|
|
@@ -3942,7 +2885,6 @@ const IconExitFill_script = {}
|
|
|
3942
2885
|
type: String,
|
|
3943
2886
|
default: null
|
|
3944
2887
|
},
|
|
3945
|
-
|
|
3946
2888
|
/**
|
|
3947
2889
|
* If to close slideout while mask is clicked.
|
|
3948
2890
|
*/
|
|
@@ -3950,7 +2892,6 @@ const IconExitFill_script = {}
|
|
|
3950
2892
|
type: Boolean,
|
|
3951
2893
|
default: true
|
|
3952
2894
|
},
|
|
3953
|
-
|
|
3954
2895
|
/**
|
|
3955
2896
|
* Whether to ignore Esc.
|
|
3956
2897
|
*/
|
|
@@ -3958,18 +2899,14 @@ const IconExitFill_script = {}
|
|
|
3958
2899
|
type: Boolean,
|
|
3959
2900
|
default: false
|
|
3960
2901
|
},
|
|
3961
|
-
|
|
3962
2902
|
/**
|
|
3963
2903
|
* The dock side, the default value is "right".
|
|
3964
2904
|
*/
|
|
3965
2905
|
dock: {
|
|
3966
2906
|
type: String,
|
|
3967
2907
|
default: 'right',
|
|
3968
|
-
validator:
|
|
3969
|
-
return ['top', 'right', 'bottom', 'left'].indexOf(value) >= 0;
|
|
3970
|
-
}
|
|
2908
|
+
validator: value => ['top', 'right', 'bottom', 'left'].indexOf(value) >= 0
|
|
3971
2909
|
},
|
|
3972
|
-
|
|
3973
2910
|
/**
|
|
3974
2911
|
* Specify the parent element to append slideout to.
|
|
3975
2912
|
*/
|
|
@@ -3985,7 +2922,6 @@ const IconExitFill_script = {}
|
|
|
3985
2922
|
type: Boolean,
|
|
3986
2923
|
default: false
|
|
3987
2924
|
},
|
|
3988
|
-
|
|
3989
2925
|
/**
|
|
3990
2926
|
* Whether to show the close button.
|
|
3991
2927
|
*/
|
|
@@ -3993,7 +2929,6 @@ const IconExitFill_script = {}
|
|
|
3993
2929
|
type: Boolean,
|
|
3994
2930
|
default: true
|
|
3995
2931
|
},
|
|
3996
|
-
|
|
3997
2932
|
/**
|
|
3998
2933
|
* Whether to show the fill-parent button.
|
|
3999
2934
|
*/
|
|
@@ -4001,7 +2936,6 @@ const IconExitFill_script = {}
|
|
|
4001
2936
|
type: Boolean,
|
|
4002
2937
|
default: false
|
|
4003
2938
|
},
|
|
4004
|
-
|
|
4005
2939
|
/**
|
|
4006
2940
|
* Display slideout as fixed (The scroll will be locked)
|
|
4007
2941
|
*/
|
|
@@ -4009,7 +2943,6 @@ const IconExitFill_script = {}
|
|
|
4009
2943
|
type: Boolean,
|
|
4010
2944
|
default: false
|
|
4011
2945
|
},
|
|
4012
|
-
|
|
4013
2946
|
/**
|
|
4014
2947
|
* The offset to dock side. ("px" or "%)
|
|
4015
2948
|
*/
|
|
@@ -4017,7 +2950,6 @@ const IconExitFill_script = {}
|
|
|
4017
2950
|
type: String,
|
|
4018
2951
|
default: '0'
|
|
4019
2952
|
},
|
|
4020
|
-
|
|
4021
2953
|
/**
|
|
4022
2954
|
* Whether to show the close button as arrow.
|
|
4023
2955
|
*/
|
|
@@ -4025,7 +2957,6 @@ const IconExitFill_script = {}
|
|
|
4025
2957
|
type: Boolean,
|
|
4026
2958
|
default: true
|
|
4027
2959
|
},
|
|
4028
|
-
|
|
4029
2960
|
/**
|
|
4030
2961
|
* Render content while "visible" is "true".
|
|
4031
2962
|
*/
|
|
@@ -4034,75 +2965,60 @@ const IconExitFill_script = {}
|
|
|
4034
2965
|
default: false
|
|
4035
2966
|
}
|
|
4036
2967
|
},
|
|
4037
|
-
mounted
|
|
2968
|
+
mounted() {
|
|
4038
2969
|
this.isFilled = this.fillParent;
|
|
4039
2970
|
this.updateParentElement();
|
|
4040
|
-
|
|
4041
2971
|
if (this.resizable) {
|
|
4042
2972
|
// Bind the mouse events for resizing.
|
|
4043
2973
|
document.addEventListener('mousemove', this.mouseMoveHandler);
|
|
4044
2974
|
document.addEventListener('mouseup', this.mouseUpHandler);
|
|
4045
2975
|
}
|
|
4046
|
-
|
|
4047
2976
|
this.headerButtons = this.$slots.btn ? this.$refs.buttons : null;
|
|
4048
2977
|
},
|
|
4049
|
-
beforeUnmount
|
|
2978
|
+
beforeUnmount() {
|
|
4050
2979
|
this.showContainer = false;
|
|
4051
|
-
|
|
4052
2980
|
if (this.resizable) {
|
|
4053
2981
|
// Remove the mouse events for resizing.
|
|
4054
2982
|
document.removeEventListener('mousemove', this.mouseUpHandler);
|
|
4055
2983
|
document.removeEventListener('mouseup', this.mouseMoveHandler);
|
|
4056
2984
|
}
|
|
4057
|
-
|
|
4058
2985
|
if (this.isVisible) {
|
|
4059
2986
|
this.tryClose();
|
|
4060
|
-
}
|
|
4061
|
-
|
|
4062
|
-
|
|
2987
|
+
}
|
|
2988
|
+
// Cancel the scroll lock.
|
|
4063
2989
|
document.body.classList.remove('slideout-helper--scroll-locker');
|
|
4064
2990
|
}
|
|
4065
2991
|
});
|
|
4066
2992
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
4067
2993
|
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
2994
|
function setDefaultProps(customize) {
|
|
4073
|
-
for (
|
|
2995
|
+
for (let prop in customize) {
|
|
4074
2996
|
if (!customize.hasOwnProperty(prop)) {
|
|
4075
2997
|
continue;
|
|
4076
|
-
}
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
prop = prop.replace(/-[a-z]/g, function (match) {
|
|
2998
|
+
}
|
|
2999
|
+
// Parse property name like "abc_xyz" into "abcXyz".
|
|
3000
|
+
prop = prop.replace(/_[a-z]/g, match => {
|
|
4080
3001
|
return match[1].toUpperCase();
|
|
4081
3002
|
});
|
|
4082
|
-
|
|
4083
3003
|
if (!slideout.props.hasOwnProperty(prop)) {
|
|
4084
3004
|
continue;
|
|
4085
3005
|
}
|
|
4086
|
-
|
|
4087
3006
|
slideout.props[prop]['default'] = customize[prop];
|
|
4088
3007
|
}
|
|
4089
3008
|
}
|
|
3009
|
+
|
|
4090
3010
|
/**
|
|
4091
3011
|
*
|
|
4092
3012
|
* @param app
|
|
4093
3013
|
* @param {Object} defaults The defaults value
|
|
4094
3014
|
*/
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
install: function install(app, defaults) {
|
|
4099
|
-
if (defaults) {
|
|
4100
|
-
setDefaultProps(defaults);
|
|
4101
|
-
}
|
|
4102
|
-
|
|
4103
|
-
app.component(slideout.name, slideout);
|
|
3015
|
+
slideout.install = function (app, defaults) {
|
|
3016
|
+
if (defaults) {
|
|
3017
|
+
setDefaultProps(defaults);
|
|
4104
3018
|
}
|
|
4105
|
-
|
|
3019
|
+
app.component(slideout.name, slideout);
|
|
3020
|
+
};
|
|
3021
|
+
/* harmony default export */ var components = (slideout);
|
|
4106
3022
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
4107
3023
|
|
|
4108
3024
|
|
|
@@ -4124,30 +3040,13 @@ module.exports = function (it) {
|
|
|
4124
3040
|
};
|
|
4125
3041
|
|
|
4126
3042
|
|
|
4127
|
-
/***/ }),
|
|
4128
|
-
|
|
4129
|
-
/***/ "fce3":
|
|
4130
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4131
|
-
|
|
4132
|
-
var fails = __webpack_require__("d039");
|
|
4133
|
-
var global = __webpack_require__("da84");
|
|
4134
|
-
|
|
4135
|
-
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
4136
|
-
var $RegExp = global.RegExp;
|
|
4137
|
-
|
|
4138
|
-
module.exports = fails(function () {
|
|
4139
|
-
var re = $RegExp('.', 's');
|
|
4140
|
-
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
4141
|
-
});
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
3043
|
/***/ }),
|
|
4145
3044
|
|
|
4146
3045
|
/***/ "fdbf":
|
|
4147
3046
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4148
3047
|
|
|
4149
3048
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
4150
|
-
var NATIVE_SYMBOL = __webpack_require__("
|
|
3049
|
+
var NATIVE_SYMBOL = __webpack_require__("04f8");
|
|
4151
3050
|
|
|
4152
3051
|
module.exports = NATIVE_SYMBOL
|
|
4153
3052
|
&& !Symbol.sham
|