@meijie/vue-fireworks 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1808 +0,0 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory();
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else if(typeof exports === 'object')
7
- exports["vueFireworks"] = factory();
8
- else
9
- root["vueFireworks"] = factory();
10
- })((typeof self !== 'undefined' ? self : this), function() {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
14
- /******/
15
- /******/ // The require function
16
- /******/ function __webpack_require__(moduleId) {
17
- /******/
18
- /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId]) {
20
- /******/ return installedModules[moduleId].exports;
21
- /******/ }
22
- /******/ // Create a new module (and put it into the cache)
23
- /******/ var module = installedModules[moduleId] = {
24
- /******/ i: moduleId,
25
- /******/ l: false,
26
- /******/ exports: {}
27
- /******/ };
28
- /******/
29
- /******/ // Execute the module function
30
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
- /******/
32
- /******/ // Flag the module as loaded
33
- /******/ module.l = true;
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /******/
40
- /******/ // expose the modules object (__webpack_modules__)
41
- /******/ __webpack_require__.m = modules;
42
- /******/
43
- /******/ // expose the module cache
44
- /******/ __webpack_require__.c = installedModules;
45
- /******/
46
- /******/ // define getter function for harmony exports
47
- /******/ __webpack_require__.d = function(exports, name, getter) {
48
- /******/ if(!__webpack_require__.o(exports, name)) {
49
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
- /******/ }
51
- /******/ };
52
- /******/
53
- /******/ // define __esModule on exports
54
- /******/ __webpack_require__.r = function(exports) {
55
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
- /******/ }
58
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
- /******/ };
60
- /******/
61
- /******/ // create a fake namespace object
62
- /******/ // mode & 1: value is a module id, require it
63
- /******/ // mode & 2: merge all properties of value into the ns
64
- /******/ // mode & 4: return value when already ns object
65
- /******/ // mode & 8|1: behave like require
66
- /******/ __webpack_require__.t = function(value, mode) {
67
- /******/ if(mode & 1) value = __webpack_require__(value);
68
- /******/ if(mode & 8) return value;
69
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
- /******/ var ns = Object.create(null);
71
- /******/ __webpack_require__.r(ns);
72
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
- /******/ return ns;
75
- /******/ };
76
- /******/
77
- /******/ // getDefaultExport function for compatibility with non-harmony modules
78
- /******/ __webpack_require__.n = function(module) {
79
- /******/ var getter = module && module.__esModule ?
80
- /******/ function getDefault() { return module['default']; } :
81
- /******/ function getModuleExports() { return module; };
82
- /******/ __webpack_require__.d(getter, 'a', getter);
83
- /******/ return getter;
84
- /******/ };
85
- /******/
86
- /******/ // Object.prototype.hasOwnProperty.call
87
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
- /******/
89
- /******/ // __webpack_public_path__
90
- /******/ __webpack_require__.p = "";
91
- /******/
92
- /******/
93
- /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = "fb15");
95
- /******/ })
96
- /************************************************************************/
97
- /******/ ({
98
-
99
- /***/ "0366":
100
- /***/ (function(module, exports, __webpack_require__) {
101
-
102
- var aFunction = __webpack_require__("1c0b");
103
-
104
- // optional / simple context binding
105
- module.exports = function (fn, that, length) {
106
- aFunction(fn);
107
- if (that === undefined) return fn;
108
- switch (length) {
109
- case 0: return function () {
110
- return fn.call(that);
111
- };
112
- case 1: return function (a) {
113
- return fn.call(that, a);
114
- };
115
- case 2: return function (a, b) {
116
- return fn.call(that, a, b);
117
- };
118
- case 3: return function (a, b, c) {
119
- return fn.call(that, a, b, c);
120
- };
121
- }
122
- return function (/* ...args */) {
123
- return fn.apply(that, arguments);
124
- };
125
- };
126
-
127
-
128
- /***/ }),
129
-
130
- /***/ "06cf":
131
- /***/ (function(module, exports, __webpack_require__) {
132
-
133
- var DESCRIPTORS = __webpack_require__("83ab");
134
- var propertyIsEnumerableModule = __webpack_require__("d1e7");
135
- var createPropertyDescriptor = __webpack_require__("5c6c");
136
- var toIndexedObject = __webpack_require__("fc6a");
137
- var toPrimitive = __webpack_require__("c04e");
138
- var has = __webpack_require__("5135");
139
- var IE8_DOM_DEFINE = __webpack_require__("0cfb");
140
-
141
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
142
-
143
- // `Object.getOwnPropertyDescriptor` method
144
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
145
- exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
146
- O = toIndexedObject(O);
147
- P = toPrimitive(P, true);
148
- if (IE8_DOM_DEFINE) try {
149
- return nativeGetOwnPropertyDescriptor(O, P);
150
- } catch (error) { /* empty */ }
151
- if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
152
- };
153
-
154
-
155
- /***/ }),
156
-
157
- /***/ "0cfb":
158
- /***/ (function(module, exports, __webpack_require__) {
159
-
160
- var DESCRIPTORS = __webpack_require__("83ab");
161
- var fails = __webpack_require__("d039");
162
- var createElement = __webpack_require__("cc12");
163
-
164
- // Thank's IE8 for his funny defineProperty
165
- module.exports = !DESCRIPTORS && !fails(function () {
166
- return Object.defineProperty(createElement('div'), 'a', {
167
- get: function () { return 7; }
168
- }).a != 7;
169
- });
170
-
171
-
172
- /***/ }),
173
-
174
- /***/ "1c0b":
175
- /***/ (function(module, exports) {
176
-
177
- module.exports = function (it) {
178
- if (typeof it != 'function') {
179
- throw TypeError(String(it) + ' is not a function');
180
- } return it;
181
- };
182
-
183
-
184
- /***/ }),
185
-
186
- /***/ "1d80":
187
- /***/ (function(module, exports) {
188
-
189
- // `RequireObjectCoercible` abstract operation
190
- // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
191
- module.exports = function (it) {
192
- if (it == undefined) throw TypeError("Can't call method on " + it);
193
- return it;
194
- };
195
-
196
-
197
- /***/ }),
198
-
199
- /***/ "1dde":
200
- /***/ (function(module, exports, __webpack_require__) {
201
-
202
- var fails = __webpack_require__("d039");
203
- var wellKnownSymbol = __webpack_require__("b622");
204
- var V8_VERSION = __webpack_require__("2d00");
205
-
206
- var SPECIES = wellKnownSymbol('species');
207
-
208
- module.exports = function (METHOD_NAME) {
209
- // We can't use this feature detection in V8 since it causes
210
- // deoptimization and serious performance degradation
211
- // https://github.com/zloirock/core-js/issues/677
212
- return V8_VERSION >= 51 || !fails(function () {
213
- var array = [];
214
- var constructor = array.constructor = {};
215
- constructor[SPECIES] = function () {
216
- return { foo: 1 };
217
- };
218
- return array[METHOD_NAME](Boolean).foo !== 1;
219
- });
220
- };
221
-
222
-
223
- /***/ }),
224
-
225
- /***/ "23cb":
226
- /***/ (function(module, exports, __webpack_require__) {
227
-
228
- var toInteger = __webpack_require__("a691");
229
-
230
- var max = Math.max;
231
- var min = Math.min;
232
-
233
- // Helper for a popular repeating case of the spec:
234
- // Let integer be ? ToInteger(index).
235
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
236
- module.exports = function (index, length) {
237
- var integer = toInteger(index);
238
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
239
- };
240
-
241
-
242
- /***/ }),
243
-
244
- /***/ "23e7":
245
- /***/ (function(module, exports, __webpack_require__) {
246
-
247
- var global = __webpack_require__("da84");
248
- var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
249
- var createNonEnumerableProperty = __webpack_require__("9112");
250
- var redefine = __webpack_require__("6eeb");
251
- var setGlobal = __webpack_require__("ce4e");
252
- var copyConstructorProperties = __webpack_require__("e893");
253
- var isForced = __webpack_require__("94ca");
254
-
255
- /*
256
- options.target - name of the target object
257
- options.global - target is the global object
258
- options.stat - export as static methods of target
259
- options.proto - export as prototype methods of target
260
- options.real - real prototype method for the `pure` version
261
- options.forced - export even if the native feature is available
262
- options.bind - bind methods to the target, required for the `pure` version
263
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
264
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
265
- options.sham - add a flag to not completely full polyfills
266
- options.enumerable - export as enumerable property
267
- options.noTargetGet - prevent calling a getter on target
268
- */
269
- module.exports = function (options, source) {
270
- var TARGET = options.target;
271
- var GLOBAL = options.global;
272
- var STATIC = options.stat;
273
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
274
- if (GLOBAL) {
275
- target = global;
276
- } else if (STATIC) {
277
- target = global[TARGET] || setGlobal(TARGET, {});
278
- } else {
279
- target = (global[TARGET] || {}).prototype;
280
- }
281
- if (target) for (key in source) {
282
- sourceProperty = source[key];
283
- if (options.noTargetGet) {
284
- descriptor = getOwnPropertyDescriptor(target, key);
285
- targetProperty = descriptor && descriptor.value;
286
- } else targetProperty = target[key];
287
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
288
- // contained in target
289
- if (!FORCED && targetProperty !== undefined) {
290
- if (typeof sourceProperty === typeof targetProperty) continue;
291
- copyConstructorProperties(sourceProperty, targetProperty);
292
- }
293
- // add a flag to not completely full polyfills
294
- if (options.sham || (targetProperty && targetProperty.sham)) {
295
- createNonEnumerableProperty(sourceProperty, 'sham', true);
296
- }
297
- // extend global
298
- redefine(target, key, sourceProperty, options);
299
- }
300
- };
301
-
302
-
303
- /***/ }),
304
-
305
- /***/ "241c":
306
- /***/ (function(module, exports, __webpack_require__) {
307
-
308
- var internalObjectKeys = __webpack_require__("ca84");
309
- var enumBugKeys = __webpack_require__("7839");
310
-
311
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
312
-
313
- // `Object.getOwnPropertyNames` method
314
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
315
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
316
- return internalObjectKeys(O, hiddenKeys);
317
- };
318
-
319
-
320
- /***/ }),
321
-
322
- /***/ "2d00":
323
- /***/ (function(module, exports, __webpack_require__) {
324
-
325
- var global = __webpack_require__("da84");
326
- var userAgent = __webpack_require__("342f");
327
-
328
- var process = global.process;
329
- var versions = process && process.versions;
330
- var v8 = versions && versions.v8;
331
- var match, version;
332
-
333
- if (v8) {
334
- match = v8.split('.');
335
- version = match[0] + match[1];
336
- } else if (userAgent) {
337
- match = userAgent.match(/Edge\/(\d+)/);
338
- if (!match || match[1] >= 74) {
339
- match = userAgent.match(/Chrome\/(\d+)/);
340
- if (match) version = match[1];
341
- }
342
- }
343
-
344
- module.exports = version && +version;
345
-
346
-
347
- /***/ }),
348
-
349
- /***/ "342f":
350
- /***/ (function(module, exports, __webpack_require__) {
351
-
352
- var getBuiltIn = __webpack_require__("d066");
353
-
354
- module.exports = getBuiltIn('navigator', 'userAgent') || '';
355
-
356
-
357
- /***/ }),
358
-
359
- /***/ "428f":
360
- /***/ (function(module, exports, __webpack_require__) {
361
-
362
- var global = __webpack_require__("da84");
363
-
364
- module.exports = global;
365
-
366
-
367
- /***/ }),
368
-
369
- /***/ "44ad":
370
- /***/ (function(module, exports, __webpack_require__) {
371
-
372
- var fails = __webpack_require__("d039");
373
- var classof = __webpack_require__("c6b6");
374
-
375
- var split = ''.split;
376
-
377
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
378
- module.exports = fails(function () {
379
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
380
- // eslint-disable-next-line no-prototype-builtins
381
- return !Object('z').propertyIsEnumerable(0);
382
- }) ? function (it) {
383
- return classof(it) == 'String' ? split.call(it, '') : Object(it);
384
- } : Object;
385
-
386
-
387
- /***/ }),
388
-
389
- /***/ "4930":
390
- /***/ (function(module, exports, __webpack_require__) {
391
-
392
- var fails = __webpack_require__("d039");
393
-
394
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
395
- // Chrome 38 Symbol has incorrect toString conversion
396
- // eslint-disable-next-line no-undef
397
- return !String(Symbol());
398
- });
399
-
400
-
401
- /***/ }),
402
-
403
- /***/ "4d64":
404
- /***/ (function(module, exports, __webpack_require__) {
405
-
406
- var toIndexedObject = __webpack_require__("fc6a");
407
- var toLength = __webpack_require__("50c4");
408
- var toAbsoluteIndex = __webpack_require__("23cb");
409
-
410
- // `Array.prototype.{ indexOf, includes }` methods implementation
411
- var createMethod = function (IS_INCLUDES) {
412
- return function ($this, el, fromIndex) {
413
- var O = toIndexedObject($this);
414
- var length = toLength(O.length);
415
- var index = toAbsoluteIndex(fromIndex, length);
416
- var value;
417
- // Array#includes uses SameValueZero equality algorithm
418
- // eslint-disable-next-line no-self-compare
419
- if (IS_INCLUDES && el != el) while (length > index) {
420
- value = O[index++];
421
- // eslint-disable-next-line no-self-compare
422
- if (value != value) return true;
423
- // Array#indexOf ignores holes, Array#includes - not
424
- } else for (;length > index; index++) {
425
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
426
- } return !IS_INCLUDES && -1;
427
- };
428
- };
429
-
430
- module.exports = {
431
- // `Array.prototype.includes` method
432
- // https://tc39.github.io/ecma262/#sec-array.prototype.includes
433
- includes: createMethod(true),
434
- // `Array.prototype.indexOf` method
435
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
436
- indexOf: createMethod(false)
437
- };
438
-
439
-
440
- /***/ }),
441
-
442
- /***/ "50c4":
443
- /***/ (function(module, exports, __webpack_require__) {
444
-
445
- var toInteger = __webpack_require__("a691");
446
-
447
- var min = Math.min;
448
-
449
- // `ToLength` abstract operation
450
- // https://tc39.github.io/ecma262/#sec-tolength
451
- module.exports = function (argument) {
452
- return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
453
- };
454
-
455
-
456
- /***/ }),
457
-
458
- /***/ "5135":
459
- /***/ (function(module, exports) {
460
-
461
- var hasOwnProperty = {}.hasOwnProperty;
462
-
463
- module.exports = function (it, key) {
464
- return hasOwnProperty.call(it, key);
465
- };
466
-
467
-
468
- /***/ }),
469
-
470
- /***/ "5692":
471
- /***/ (function(module, exports, __webpack_require__) {
472
-
473
- var IS_PURE = __webpack_require__("c430");
474
- var store = __webpack_require__("c6cd");
475
-
476
- (module.exports = function (key, value) {
477
- return store[key] || (store[key] = value !== undefined ? value : {});
478
- })('versions', []).push({
479
- version: '3.6.5',
480
- mode: IS_PURE ? 'pure' : 'global',
481
- copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
482
- });
483
-
484
-
485
- /***/ }),
486
-
487
- /***/ "56ef":
488
- /***/ (function(module, exports, __webpack_require__) {
489
-
490
- var getBuiltIn = __webpack_require__("d066");
491
- var getOwnPropertyNamesModule = __webpack_require__("241c");
492
- var getOwnPropertySymbolsModule = __webpack_require__("7418");
493
- var anObject = __webpack_require__("825a");
494
-
495
- // all object keys, includes non-enumerable and symbols
496
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
497
- var keys = getOwnPropertyNamesModule.f(anObject(it));
498
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
499
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
500
- };
501
-
502
-
503
- /***/ }),
504
-
505
- /***/ "5c6c":
506
- /***/ (function(module, exports) {
507
-
508
- module.exports = function (bitmap, value) {
509
- return {
510
- enumerable: !(bitmap & 1),
511
- configurable: !(bitmap & 2),
512
- writable: !(bitmap & 4),
513
- value: value
514
- };
515
- };
516
-
517
-
518
- /***/ }),
519
-
520
- /***/ "65f0":
521
- /***/ (function(module, exports, __webpack_require__) {
522
-
523
- var isObject = __webpack_require__("861d");
524
- var isArray = __webpack_require__("e8b5");
525
- var wellKnownSymbol = __webpack_require__("b622");
526
-
527
- var SPECIES = wellKnownSymbol('species');
528
-
529
- // `ArraySpeciesCreate` abstract operation
530
- // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
531
- module.exports = function (originalArray, length) {
532
- var C;
533
- if (isArray(originalArray)) {
534
- C = originalArray.constructor;
535
- // cross-realm fallback
536
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
537
- else if (isObject(C)) {
538
- C = C[SPECIES];
539
- if (C === null) C = undefined;
540
- }
541
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
542
- };
543
-
544
-
545
- /***/ }),
546
-
547
- /***/ "69f3":
548
- /***/ (function(module, exports, __webpack_require__) {
549
-
550
- var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
551
- var global = __webpack_require__("da84");
552
- var isObject = __webpack_require__("861d");
553
- var createNonEnumerableProperty = __webpack_require__("9112");
554
- var objectHas = __webpack_require__("5135");
555
- var sharedKey = __webpack_require__("f772");
556
- var hiddenKeys = __webpack_require__("d012");
557
-
558
- var WeakMap = global.WeakMap;
559
- var set, get, has;
560
-
561
- var enforce = function (it) {
562
- return has(it) ? get(it) : set(it, {});
563
- };
564
-
565
- var getterFor = function (TYPE) {
566
- return function (it) {
567
- var state;
568
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
569
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
570
- } return state;
571
- };
572
- };
573
-
574
- if (NATIVE_WEAK_MAP) {
575
- var store = new WeakMap();
576
- var wmget = store.get;
577
- var wmhas = store.has;
578
- var wmset = store.set;
579
- set = function (it, metadata) {
580
- wmset.call(store, it, metadata);
581
- return metadata;
582
- };
583
- get = function (it) {
584
- return wmget.call(store, it) || {};
585
- };
586
- has = function (it) {
587
- return wmhas.call(store, it);
588
- };
589
- } else {
590
- var STATE = sharedKey('state');
591
- hiddenKeys[STATE] = true;
592
- set = function (it, metadata) {
593
- createNonEnumerableProperty(it, STATE, metadata);
594
- return metadata;
595
- };
596
- get = function (it) {
597
- return objectHas(it, STATE) ? it[STATE] : {};
598
- };
599
- has = function (it) {
600
- return objectHas(it, STATE);
601
- };
602
- }
603
-
604
- module.exports = {
605
- set: set,
606
- get: get,
607
- has: has,
608
- enforce: enforce,
609
- getterFor: getterFor
610
- };
611
-
612
-
613
- /***/ }),
614
-
615
- /***/ "6eeb":
616
- /***/ (function(module, exports, __webpack_require__) {
617
-
618
- var global = __webpack_require__("da84");
619
- var createNonEnumerableProperty = __webpack_require__("9112");
620
- var has = __webpack_require__("5135");
621
- var setGlobal = __webpack_require__("ce4e");
622
- var inspectSource = __webpack_require__("8925");
623
- var InternalStateModule = __webpack_require__("69f3");
624
-
625
- var getInternalState = InternalStateModule.get;
626
- var enforceInternalState = InternalStateModule.enforce;
627
- var TEMPLATE = String(String).split('String');
628
-
629
- (module.exports = function (O, key, value, options) {
630
- var unsafe = options ? !!options.unsafe : false;
631
- var simple = options ? !!options.enumerable : false;
632
- var noTargetGet = options ? !!options.noTargetGet : false;
633
- if (typeof value == 'function') {
634
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
635
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
636
- }
637
- if (O === global) {
638
- if (simple) O[key] = value;
639
- else setGlobal(key, value);
640
- return;
641
- } else if (!unsafe) {
642
- delete O[key];
643
- } else if (!noTargetGet && O[key]) {
644
- simple = true;
645
- }
646
- if (simple) O[key] = value;
647
- else createNonEnumerableProperty(O, key, value);
648
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
649
- })(Function.prototype, 'toString', function toString() {
650
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
651
- });
652
-
653
-
654
- /***/ }),
655
-
656
- /***/ "7418":
657
- /***/ (function(module, exports) {
658
-
659
- exports.f = Object.getOwnPropertySymbols;
660
-
661
-
662
- /***/ }),
663
-
664
- /***/ "7839":
665
- /***/ (function(module, exports) {
666
-
667
- // IE8- don't enum bug keys
668
- module.exports = [
669
- 'constructor',
670
- 'hasOwnProperty',
671
- 'isPrototypeOf',
672
- 'propertyIsEnumerable',
673
- 'toLocaleString',
674
- 'toString',
675
- 'valueOf'
676
- ];
677
-
678
-
679
- /***/ }),
680
-
681
- /***/ "7b0b":
682
- /***/ (function(module, exports, __webpack_require__) {
683
-
684
- var requireObjectCoercible = __webpack_require__("1d80");
685
-
686
- // `ToObject` abstract operation
687
- // https://tc39.github.io/ecma262/#sec-toobject
688
- module.exports = function (argument) {
689
- return Object(requireObjectCoercible(argument));
690
- };
691
-
692
-
693
- /***/ }),
694
-
695
- /***/ "7f9a":
696
- /***/ (function(module, exports, __webpack_require__) {
697
-
698
- var global = __webpack_require__("da84");
699
- var inspectSource = __webpack_require__("8925");
700
-
701
- var WeakMap = global.WeakMap;
702
-
703
- module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
704
-
705
-
706
- /***/ }),
707
-
708
- /***/ "825a":
709
- /***/ (function(module, exports, __webpack_require__) {
710
-
711
- var isObject = __webpack_require__("861d");
712
-
713
- module.exports = function (it) {
714
- if (!isObject(it)) {
715
- throw TypeError(String(it) + ' is not an object');
716
- } return it;
717
- };
718
-
719
-
720
- /***/ }),
721
-
722
- /***/ "83ab":
723
- /***/ (function(module, exports, __webpack_require__) {
724
-
725
- var fails = __webpack_require__("d039");
726
-
727
- // Thank's IE8 for his funny defineProperty
728
- module.exports = !fails(function () {
729
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
730
- });
731
-
732
-
733
- /***/ }),
734
-
735
- /***/ "861d":
736
- /***/ (function(module, exports) {
737
-
738
- module.exports = function (it) {
739
- return typeof it === 'object' ? it !== null : typeof it === 'function';
740
- };
741
-
742
-
743
- /***/ }),
744
-
745
- /***/ "8875":
746
- /***/ (function(module, exports, __webpack_require__) {
747
-
748
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
749
- // MIT license
750
- // source: https://github.com/amiller-gh/currentScript-polyfill
751
-
752
- // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
753
-
754
- (function (root, factory) {
755
- if (true) {
756
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
757
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
758
- (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
759
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
760
- } else {}
761
- }(typeof self !== 'undefined' ? self : this, function () {
762
- function getCurrentScript () {
763
- var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
764
- // for chrome
765
- if (!descriptor && 'currentScript' in document && document.currentScript) {
766
- return document.currentScript
767
- }
768
-
769
- // for other browsers with native support for currentScript
770
- if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
771
- return document.currentScript
772
- }
773
-
774
- // IE 8-10 support script readyState
775
- // IE 11+ & Firefox support stack trace
776
- try {
777
- throw new Error();
778
- }
779
- catch (err) {
780
- // Find the second match for the "at" string to get file src url from stack.
781
- var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
782
- ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
783
- stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
784
- scriptLocation = (stackDetails && stackDetails[1]) || false,
785
- line = (stackDetails && stackDetails[2]) || false,
786
- currentLocation = document.location.href.replace(document.location.hash, ''),
787
- pageSource,
788
- inlineScriptSourceRegExp,
789
- inlineScriptSource,
790
- scripts = document.getElementsByTagName('script'); // Live NodeList collection
791
-
792
- if (scriptLocation === currentLocation) {
793
- pageSource = document.documentElement.outerHTML;
794
- inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
795
- inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
796
- }
797
-
798
- for (var i = 0; i < scripts.length; i++) {
799
- // If ready state is interactive, return the script tag
800
- if (scripts[i].readyState === 'interactive') {
801
- return scripts[i];
802
- }
803
-
804
- // If src matches, return the script tag
805
- if (scripts[i].src === scriptLocation) {
806
- return scripts[i];
807
- }
808
-
809
- // If inline source matches, return the script tag
810
- if (
811
- scriptLocation === currentLocation &&
812
- scripts[i].innerHTML &&
813
- scripts[i].innerHTML.trim() === inlineScriptSource
814
- ) {
815
- return scripts[i];
816
- }
817
- }
818
-
819
- // If no match, return null
820
- return null;
821
- }
822
- };
823
-
824
- return getCurrentScript
825
- }));
826
-
827
-
828
- /***/ }),
829
-
830
- /***/ "8925":
831
- /***/ (function(module, exports, __webpack_require__) {
832
-
833
- var store = __webpack_require__("c6cd");
834
-
835
- var functionToString = Function.toString;
836
-
837
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
838
- if (typeof store.inspectSource != 'function') {
839
- store.inspectSource = function (it) {
840
- return functionToString.call(it);
841
- };
842
- }
843
-
844
- module.exports = store.inspectSource;
845
-
846
-
847
- /***/ }),
848
-
849
- /***/ "90e3":
850
- /***/ (function(module, exports) {
851
-
852
- var id = 0;
853
- var postfix = Math.random();
854
-
855
- module.exports = function (key) {
856
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
857
- };
858
-
859
-
860
- /***/ }),
861
-
862
- /***/ "9112":
863
- /***/ (function(module, exports, __webpack_require__) {
864
-
865
- var DESCRIPTORS = __webpack_require__("83ab");
866
- var definePropertyModule = __webpack_require__("9bf2");
867
- var createPropertyDescriptor = __webpack_require__("5c6c");
868
-
869
- module.exports = DESCRIPTORS ? function (object, key, value) {
870
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
871
- } : function (object, key, value) {
872
- object[key] = value;
873
- return object;
874
- };
875
-
876
-
877
- /***/ }),
878
-
879
- /***/ "94ca":
880
- /***/ (function(module, exports, __webpack_require__) {
881
-
882
- var fails = __webpack_require__("d039");
883
-
884
- var replacement = /#|\.prototype\./;
885
-
886
- var isForced = function (feature, detection) {
887
- var value = data[normalize(feature)];
888
- return value == POLYFILL ? true
889
- : value == NATIVE ? false
890
- : typeof detection == 'function' ? fails(detection)
891
- : !!detection;
892
- };
893
-
894
- var normalize = isForced.normalize = function (string) {
895
- return String(string).replace(replacement, '.').toLowerCase();
896
- };
897
-
898
- var data = isForced.data = {};
899
- var NATIVE = isForced.NATIVE = 'N';
900
- var POLYFILL = isForced.POLYFILL = 'P';
901
-
902
- module.exports = isForced;
903
-
904
-
905
- /***/ }),
906
-
907
- /***/ "9bf2":
908
- /***/ (function(module, exports, __webpack_require__) {
909
-
910
- var DESCRIPTORS = __webpack_require__("83ab");
911
- var IE8_DOM_DEFINE = __webpack_require__("0cfb");
912
- var anObject = __webpack_require__("825a");
913
- var toPrimitive = __webpack_require__("c04e");
914
-
915
- var nativeDefineProperty = Object.defineProperty;
916
-
917
- // `Object.defineProperty` method
918
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
919
- exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
920
- anObject(O);
921
- P = toPrimitive(P, true);
922
- anObject(Attributes);
923
- if (IE8_DOM_DEFINE) try {
924
- return nativeDefineProperty(O, P, Attributes);
925
- } catch (error) { /* empty */ }
926
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
927
- if ('value' in Attributes) O[P] = Attributes.value;
928
- return O;
929
- };
930
-
931
-
932
- /***/ }),
933
-
934
- /***/ "a691":
935
- /***/ (function(module, exports) {
936
-
937
- var ceil = Math.ceil;
938
- var floor = Math.floor;
939
-
940
- // `ToInteger` abstract operation
941
- // https://tc39.github.io/ecma262/#sec-tointeger
942
- module.exports = function (argument) {
943
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
944
- };
945
-
946
-
947
- /***/ }),
948
-
949
- /***/ "ae40":
950
- /***/ (function(module, exports, __webpack_require__) {
951
-
952
- var DESCRIPTORS = __webpack_require__("83ab");
953
- var fails = __webpack_require__("d039");
954
- var has = __webpack_require__("5135");
955
-
956
- var defineProperty = Object.defineProperty;
957
- var cache = {};
958
-
959
- var thrower = function (it) { throw it; };
960
-
961
- module.exports = function (METHOD_NAME, options) {
962
- if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
963
- if (!options) options = {};
964
- var method = [][METHOD_NAME];
965
- var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
966
- var argument0 = has(options, 0) ? options[0] : thrower;
967
- var argument1 = has(options, 1) ? options[1] : undefined;
968
-
969
- return cache[METHOD_NAME] = !!method && !fails(function () {
970
- if (ACCESSORS && !DESCRIPTORS) return true;
971
- var O = { length: -1 };
972
-
973
- if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
974
- else O[1] = 1;
975
-
976
- method.call(O, argument0, argument1);
977
- });
978
- };
979
-
980
-
981
- /***/ }),
982
-
983
- /***/ "b622":
984
- /***/ (function(module, exports, __webpack_require__) {
985
-
986
- var global = __webpack_require__("da84");
987
- var shared = __webpack_require__("5692");
988
- var has = __webpack_require__("5135");
989
- var uid = __webpack_require__("90e3");
990
- var NATIVE_SYMBOL = __webpack_require__("4930");
991
- var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
992
-
993
- var WellKnownSymbolsStore = shared('wks');
994
- var Symbol = global.Symbol;
995
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
996
-
997
- module.exports = function (name) {
998
- if (!has(WellKnownSymbolsStore, name)) {
999
- if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
1000
- else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
1001
- } return WellKnownSymbolsStore[name];
1002
- };
1003
-
1004
-
1005
- /***/ }),
1006
-
1007
- /***/ "b727":
1008
- /***/ (function(module, exports, __webpack_require__) {
1009
-
1010
- var bind = __webpack_require__("0366");
1011
- var IndexedObject = __webpack_require__("44ad");
1012
- var toObject = __webpack_require__("7b0b");
1013
- var toLength = __webpack_require__("50c4");
1014
- var arraySpeciesCreate = __webpack_require__("65f0");
1015
-
1016
- var push = [].push;
1017
-
1018
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
1019
- var createMethod = function (TYPE) {
1020
- var IS_MAP = TYPE == 1;
1021
- var IS_FILTER = TYPE == 2;
1022
- var IS_SOME = TYPE == 3;
1023
- var IS_EVERY = TYPE == 4;
1024
- var IS_FIND_INDEX = TYPE == 6;
1025
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1026
- return function ($this, callbackfn, that, specificCreate) {
1027
- var O = toObject($this);
1028
- var self = IndexedObject(O);
1029
- var boundFunction = bind(callbackfn, that, 3);
1030
- var length = toLength(self.length);
1031
- var index = 0;
1032
- var create = specificCreate || arraySpeciesCreate;
1033
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
1034
- var value, result;
1035
- for (;length > index; index++) if (NO_HOLES || index in self) {
1036
- value = self[index];
1037
- result = boundFunction(value, index, O);
1038
- if (TYPE) {
1039
- if (IS_MAP) target[index] = result; // map
1040
- else if (result) switch (TYPE) {
1041
- case 3: return true; // some
1042
- case 5: return value; // find
1043
- case 6: return index; // findIndex
1044
- case 2: push.call(target, value); // filter
1045
- } else if (IS_EVERY) return false; // every
1046
- }
1047
- }
1048
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1049
- };
1050
- };
1051
-
1052
- module.exports = {
1053
- // `Array.prototype.forEach` method
1054
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
1055
- forEach: createMethod(0),
1056
- // `Array.prototype.map` method
1057
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
1058
- map: createMethod(1),
1059
- // `Array.prototype.filter` method
1060
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
1061
- filter: createMethod(2),
1062
- // `Array.prototype.some` method
1063
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
1064
- some: createMethod(3),
1065
- // `Array.prototype.every` method
1066
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
1067
- every: createMethod(4),
1068
- // `Array.prototype.find` method
1069
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
1070
- find: createMethod(5),
1071
- // `Array.prototype.findIndex` method
1072
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
1073
- findIndex: createMethod(6)
1074
- };
1075
-
1076
-
1077
- /***/ }),
1078
-
1079
- /***/ "c04e":
1080
- /***/ (function(module, exports, __webpack_require__) {
1081
-
1082
- var isObject = __webpack_require__("861d");
1083
-
1084
- // `ToPrimitive` abstract operation
1085
- // https://tc39.github.io/ecma262/#sec-toprimitive
1086
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
1087
- // and the second argument - flag - preferred type is a string
1088
- module.exports = function (input, PREFERRED_STRING) {
1089
- if (!isObject(input)) return input;
1090
- var fn, val;
1091
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
1092
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
1093
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
1094
- throw TypeError("Can't convert object to primitive value");
1095
- };
1096
-
1097
-
1098
- /***/ }),
1099
-
1100
- /***/ "c430":
1101
- /***/ (function(module, exports) {
1102
-
1103
- module.exports = false;
1104
-
1105
-
1106
- /***/ }),
1107
-
1108
- /***/ "c6b6":
1109
- /***/ (function(module, exports) {
1110
-
1111
- var toString = {}.toString;
1112
-
1113
- module.exports = function (it) {
1114
- return toString.call(it).slice(8, -1);
1115
- };
1116
-
1117
-
1118
- /***/ }),
1119
-
1120
- /***/ "c6cd":
1121
- /***/ (function(module, exports, __webpack_require__) {
1122
-
1123
- var global = __webpack_require__("da84");
1124
- var setGlobal = __webpack_require__("ce4e");
1125
-
1126
- var SHARED = '__core-js_shared__';
1127
- var store = global[SHARED] || setGlobal(SHARED, {});
1128
-
1129
- module.exports = store;
1130
-
1131
-
1132
- /***/ }),
1133
-
1134
- /***/ "c8ba":
1135
- /***/ (function(module, exports) {
1136
-
1137
- var g;
1138
-
1139
- // This works in non-strict mode
1140
- g = (function() {
1141
- return this;
1142
- })();
1143
-
1144
- try {
1145
- // This works if eval is allowed (see CSP)
1146
- g = g || new Function("return this")();
1147
- } catch (e) {
1148
- // This works if the window reference is available
1149
- if (typeof window === "object") g = window;
1150
- }
1151
-
1152
- // g can still be undefined, but nothing to do about it...
1153
- // We return undefined, instead of nothing here, so it's
1154
- // easier to handle this case. if(!global) { ...}
1155
-
1156
- module.exports = g;
1157
-
1158
-
1159
- /***/ }),
1160
-
1161
- /***/ "ca84":
1162
- /***/ (function(module, exports, __webpack_require__) {
1163
-
1164
- var has = __webpack_require__("5135");
1165
- var toIndexedObject = __webpack_require__("fc6a");
1166
- var indexOf = __webpack_require__("4d64").indexOf;
1167
- var hiddenKeys = __webpack_require__("d012");
1168
-
1169
- module.exports = function (object, names) {
1170
- var O = toIndexedObject(object);
1171
- var i = 0;
1172
- var result = [];
1173
- var key;
1174
- for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
1175
- // Don't enum bug & hidden keys
1176
- while (names.length > i) if (has(O, key = names[i++])) {
1177
- ~indexOf(result, key) || result.push(key);
1178
- }
1179
- return result;
1180
- };
1181
-
1182
-
1183
- /***/ }),
1184
-
1185
- /***/ "cc12":
1186
- /***/ (function(module, exports, __webpack_require__) {
1187
-
1188
- var global = __webpack_require__("da84");
1189
- var isObject = __webpack_require__("861d");
1190
-
1191
- var document = global.document;
1192
- // typeof document.createElement is 'object' in old IE
1193
- var EXISTS = isObject(document) && isObject(document.createElement);
1194
-
1195
- module.exports = function (it) {
1196
- return EXISTS ? document.createElement(it) : {};
1197
- };
1198
-
1199
-
1200
- /***/ }),
1201
-
1202
- /***/ "ce4e":
1203
- /***/ (function(module, exports, __webpack_require__) {
1204
-
1205
- var global = __webpack_require__("da84");
1206
- var createNonEnumerableProperty = __webpack_require__("9112");
1207
-
1208
- module.exports = function (key, value) {
1209
- try {
1210
- createNonEnumerableProperty(global, key, value);
1211
- } catch (error) {
1212
- global[key] = value;
1213
- } return value;
1214
- };
1215
-
1216
-
1217
- /***/ }),
1218
-
1219
- /***/ "d012":
1220
- /***/ (function(module, exports) {
1221
-
1222
- module.exports = {};
1223
-
1224
-
1225
- /***/ }),
1226
-
1227
- /***/ "d039":
1228
- /***/ (function(module, exports) {
1229
-
1230
- module.exports = function (exec) {
1231
- try {
1232
- return !!exec();
1233
- } catch (error) {
1234
- return true;
1235
- }
1236
- };
1237
-
1238
-
1239
- /***/ }),
1240
-
1241
- /***/ "d066":
1242
- /***/ (function(module, exports, __webpack_require__) {
1243
-
1244
- var path = __webpack_require__("428f");
1245
- var global = __webpack_require__("da84");
1246
-
1247
- var aFunction = function (variable) {
1248
- return typeof variable == 'function' ? variable : undefined;
1249
- };
1250
-
1251
- module.exports = function (namespace, method) {
1252
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
1253
- : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
1254
- };
1255
-
1256
-
1257
- /***/ }),
1258
-
1259
- /***/ "d1e7":
1260
- /***/ (function(module, exports, __webpack_require__) {
1261
-
1262
- "use strict";
1263
-
1264
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
1265
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1266
-
1267
- // Nashorn ~ JDK8 bug
1268
- var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
1269
-
1270
- // `Object.prototype.propertyIsEnumerable` method implementation
1271
- // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
1272
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1273
- var descriptor = getOwnPropertyDescriptor(this, V);
1274
- return !!descriptor && descriptor.enumerable;
1275
- } : nativePropertyIsEnumerable;
1276
-
1277
-
1278
- /***/ }),
1279
-
1280
- /***/ "d81d":
1281
- /***/ (function(module, exports, __webpack_require__) {
1282
-
1283
- "use strict";
1284
-
1285
- var $ = __webpack_require__("23e7");
1286
- var $map = __webpack_require__("b727").map;
1287
- var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
1288
- var arrayMethodUsesToLength = __webpack_require__("ae40");
1289
-
1290
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
1291
- // FF49- issue
1292
- var USES_TO_LENGTH = arrayMethodUsesToLength('map');
1293
-
1294
- // `Array.prototype.map` method
1295
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
1296
- // with adding support of @@species
1297
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
1298
- map: function map(callbackfn /* , thisArg */) {
1299
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1300
- }
1301
- });
1302
-
1303
-
1304
- /***/ }),
1305
-
1306
- /***/ "da84":
1307
- /***/ (function(module, exports, __webpack_require__) {
1308
-
1309
- /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
1310
- return it && it.Math == Math && it;
1311
- };
1312
-
1313
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1314
- module.exports =
1315
- // eslint-disable-next-line no-undef
1316
- check(typeof globalThis == 'object' && globalThis) ||
1317
- check(typeof window == 'object' && window) ||
1318
- check(typeof self == 'object' && self) ||
1319
- check(typeof global == 'object' && global) ||
1320
- // eslint-disable-next-line no-new-func
1321
- Function('return this')();
1322
-
1323
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
1324
-
1325
- /***/ }),
1326
-
1327
- /***/ "e447":
1328
- /***/ (function(module, exports, __webpack_require__) {
1329
-
1330
- // extracted by mini-css-extract-plugin
1331
-
1332
- /***/ }),
1333
-
1334
- /***/ "e893":
1335
- /***/ (function(module, exports, __webpack_require__) {
1336
-
1337
- var has = __webpack_require__("5135");
1338
- var ownKeys = __webpack_require__("56ef");
1339
- var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
1340
- var definePropertyModule = __webpack_require__("9bf2");
1341
-
1342
- module.exports = function (target, source) {
1343
- var keys = ownKeys(source);
1344
- var defineProperty = definePropertyModule.f;
1345
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1346
- for (var i = 0; i < keys.length; i++) {
1347
- var key = keys[i];
1348
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1349
- }
1350
- };
1351
-
1352
-
1353
- /***/ }),
1354
-
1355
- /***/ "e8b5":
1356
- /***/ (function(module, exports, __webpack_require__) {
1357
-
1358
- var classof = __webpack_require__("c6b6");
1359
-
1360
- // `IsArray` abstract operation
1361
- // https://tc39.github.io/ecma262/#sec-isarray
1362
- module.exports = Array.isArray || function isArray(arg) {
1363
- return classof(arg) == 'Array';
1364
- };
1365
-
1366
-
1367
- /***/ }),
1368
-
1369
- /***/ "f029":
1370
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1371
-
1372
- "use strict";
1373
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueFireworks_vue_vue_type_style_index_0_id_fa55262c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e447");
1374
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueFireworks_vue_vue_type_style_index_0_id_fa55262c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueFireworks_vue_vue_type_style_index_0_id_fa55262c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
1375
- /* unused harmony reexport * */
1376
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueFireworks_vue_vue_type_style_index_0_id_fa55262c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
1377
-
1378
- /***/ }),
1379
-
1380
- /***/ "f772":
1381
- /***/ (function(module, exports, __webpack_require__) {
1382
-
1383
- var shared = __webpack_require__("5692");
1384
- var uid = __webpack_require__("90e3");
1385
-
1386
- var keys = shared('keys');
1387
-
1388
- module.exports = function (key) {
1389
- return keys[key] || (keys[key] = uid(key));
1390
- };
1391
-
1392
-
1393
- /***/ }),
1394
-
1395
- /***/ "fb15":
1396
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1397
-
1398
- "use strict";
1399
- // ESM COMPAT FLAG
1400
- __webpack_require__.r(__webpack_exports__);
1401
-
1402
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
1403
- // This file is imported into lib/wc client bundles.
1404
-
1405
- if (typeof window !== 'undefined') {
1406
- var currentScript = window.document.currentScript
1407
- if (true) {
1408
- var getCurrentScript = __webpack_require__("8875")
1409
- currentScript = getCurrentScript()
1410
-
1411
- // for backward compatibility, because previously we directly included the polyfill
1412
- if (!('currentScript' in document)) {
1413
- Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
1414
- }
1415
- }
1416
-
1417
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
1418
- if (src) {
1419
- __webpack_require__.p = src[1] // eslint-disable-line
1420
- }
1421
- }
1422
-
1423
- // Indicate to webpack that this file can be concatenated
1424
- /* harmony default export */ var setPublicPath = (null);
1425
-
1426
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2477d261-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/VueFireworks.vue?vue&type=template&id=fa55262c&scoped=true&
1427
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],staticClass:"fireworks-container"},[_c('canvas',{ref:"fireworksCanvas",staticClass:"margin-lr-auto"})])}
1428
- var staticRenderFns = []
1429
-
1430
-
1431
- // CONCATENATED MODULE: ./src/components/VueFireworks.vue?vue&type=template&id=fa55262c&scoped=true&
1432
-
1433
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
1434
- var es_array_map = __webpack_require__("d81d");
1435
-
1436
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/VueFireworks.vue?vue&type=script&lang=js&
1437
-
1438
- //
1439
- //
1440
- //
1441
- //
1442
- //
1443
- //
1444
- //
1445
- //
1446
- //
1447
- //
1448
- //
1449
- //
1450
- //
1451
- /* harmony default export */ var VueFireworksvue_type_script_lang_js_ = ({
1452
- name: 'Fireworks',
1453
- props: {
1454
- show: {
1455
- // 礼花组件状态,需要.sync修饰符
1456
- type: Boolean,
1457
- default: false
1458
- }
1459
- },
1460
- data: function data() {
1461
- return {
1462
- canvasDom: null,
1463
- // canvas dom对象
1464
- canvasCtx: null,
1465
- // 2d 渲染上下文
1466
- canvasDomWidth: this.getdocumentWidth(),
1467
- canvasDomHeight: this.getdocumentHeight(),
1468
- drawStartHeight: 150,
1469
- // 动画移动起始高度
1470
- fireworksNumber: 60,
1471
- // 渲染的礼花数
1472
- fireworksEndNumber: 0,
1473
- // 已移出屏幕礼花数
1474
- fireworksColor: ['#FF8201', '#2DA6E0', '#FF262B'],
1475
- // 礼花颜色
1476
- fireworksData: [],
1477
- // 保存渲染中每片礼花数据
1478
- positionStartRange: 20 // 礼花起始随机范围
1479
-
1480
- };
1481
- },
1482
- mounted: function mounted() {
1483
- this.initFireworks();
1484
- },
1485
- watch: {
1486
- show: function show(val) {
1487
- var _this = this;
1488
-
1489
- if (val === true && this.canvasCtx) {
1490
- this.setFireworksData();
1491
- this.$nextTick(function () {
1492
- _this.drawFireworks();
1493
- });
1494
- }
1495
- }
1496
- },
1497
- methods: {
1498
- initFireworks: function initFireworks() {
1499
- // 初始化canvas
1500
- this.canvasDom = this.$refs.fireworksCanvas;
1501
-
1502
- if (this.canvasDom.getContext) {
1503
- // 设置canvas全屏
1504
- this.canvasDom.width = this.canvasDomWidth;
1505
- this.canvasDom.height = this.canvasDomHeight; // 获得2d 渲染上下文对象
1506
-
1507
- this.canvasCtx = this.canvasDom.getContext('2d');
1508
- } else {
1509
- // 关闭组件
1510
- this.restFireworks();
1511
- }
1512
- },
1513
- setFireworksData: function setFireworksData() {
1514
- // 生成礼花数据
1515
- for (var i = 0; i < this.fireworksNumber; i++) {
1516
- this.fireworksData.push({
1517
- color: this.randomColor(),
1518
- // 礼花颜色
1519
- speedX: this.randomSpeed('x'),
1520
- speedY: this.randomSpeed('y'),
1521
- positionX: this.randomPositionStart(),
1522
- positionY: this.randomPositionStart(),
1523
- speedCurveY: this.randomNumber(3),
1524
- // y轴速度曲线
1525
- accelerate: this.randomNumber(4) // 加速度
1526
-
1527
- });
1528
- }
1529
- },
1530
- drawFireworks: function drawFireworks() {
1531
- var _this2 = this;
1532
-
1533
- // 绘制礼花函数
1534
- var ctx = this.canvasCtx; // 清除画布
1535
-
1536
- ctx.clearRect(0, 0, this.canvasDomWidth, this.canvasDomHeight); // 保存画布
1537
-
1538
- ctx.save(); // 设置动画起始点
1539
-
1540
- ctx.translate(this.canvasDomWidth / 2, this.drawStartHeight); // 遍历生成礼花
1541
-
1542
- this.fireworksData = this.fireworksData.map(function (item) {
1543
- var color = item.color,
1544
- speedX = item.speedX,
1545
- speedY = item.speedY,
1546
- positionX = item.positionX,
1547
- positionY = item.positionY,
1548
- speedCurveY = item.speedCurveY,
1549
- isMoveEnd = item.isMoveEnd,
1550
- accelerate = item.accelerate;
1551
-
1552
- if (isMoveEnd) {
1553
- // 已经标记移出渲染区域不做处理
1554
- return item;
1555
- } else if (Math.abs(positionX) > Math.abs(_this2.canvasDomWidth / 2) || positionY > _this2.canvasDomHeight - _this2.drawStartHeight) {
1556
- // 超出屏幕item不渲染,标记
1557
- _this2.fireworksEndNumber += 1; // 记录超出屏幕的数量
1558
-
1559
- item.isMoveEnd = true; // 标记
1560
-
1561
- return item;
1562
- }
1563
-
1564
- ctx.fillStyle = color; // 设置颜色
1565
-
1566
- ctx.fillRect(positionX, positionY, 4, 8); // 设置大小位置
1567
- // 计算下一帧移动路径
1568
-
1569
- item.accelerate = accelerate > 0 ? accelerate - 0.05 : 0; // 礼花初始爆炸速度快,然后逐渐减慢
1570
-
1571
- item.speedCurveY = speedCurveY + 0.15; // 模拟向上弹起然后下坠
1572
- // 横向移动距离速度逐渐衰减
1573
-
1574
- if (speedX > 2.5) {
1575
- item.speedX -= 0.01;
1576
- } else if (speedX < -2.5) {
1577
- item.speedX += 0.01;
1578
- }
1579
-
1580
- item.positionX = positionX += speedX + (accelerate * speedX > 0 ? 1 : -1); // y轴有一个初始爆炸加速度,一个自由落体加速度
1581
-
1582
- if (speedY + speedCurveY < 0) accelerate = accelerate * -1; // 初始爆炸加速度
1583
-
1584
- item.positionY = positionY += speedY + speedCurveY + accelerate;
1585
- return item;
1586
- }); // 还原上一次画布
1587
-
1588
- ctx.restore();
1589
-
1590
- if (this.fireworksEndNumber < this.fireworksNumber) {
1591
- // 逐帧渲染
1592
- if (window.requestAnimationFrame) {
1593
- requestAnimationFrame(this.drawFireworks);
1594
- } else {
1595
- setTimeout(function () {
1596
- _this2.drawFireworks();
1597
- }, 16);
1598
- }
1599
- } else {
1600
- // 所有礼花移出屏幕后停止绘制
1601
- ctx.clearRect(0, 0, this.canvasDomWidth, this.canvasDomHeight); // 移除礼花组件
1602
-
1603
- this.restFireworks();
1604
- }
1605
- },
1606
- restFireworks: function restFireworks() {
1607
- // 还原组件
1608
- this.fireworksEndNumber = 0;
1609
- this.fireworksData = [];
1610
- this.$emit('update:show', false);
1611
- },
1612
- getdocumentWidth: function getdocumentWidth() {
1613
- return document.documentElement.clientWidth || document.body.clientWidth;
1614
- },
1615
- getdocumentHeight: function getdocumentHeight() {
1616
- var height = document.documentElement.clientHeight || document.body.clientHeight;
1617
- return parseInt(height * 0.6);
1618
- },
1619
- randomNumber: function randomNumber() {
1620
- var num = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 2;
1621
- return Math.floor(Math.random() * num);
1622
- },
1623
- randomColor: function randomColor() {
1624
- // 随机选取颜色
1625
- var num = this.randomNumber(this.fireworksColor.length);
1626
- return this.fireworksColor[num];
1627
- },
1628
- randomPositionStart: function randomPositionStart() {
1629
- // 小范围随机起始位置
1630
- var plusMinus = this.randomNumber() === 0 ? 1 : -1; // 随机正反方向
1631
-
1632
- return Math.floor(this.positionStartRange * Math.random() * plusMinus);
1633
- },
1634
- randomSpeed: function randomSpeed(type) {
1635
- // 随机移动速度
1636
- var threshold = type === 'x' ? 4 : 6;
1637
- var plusMinus = type === 'y' ? -1 : this.randomNumber() === 0 ? -1 : 1; // 随机正反方向
1638
-
1639
- return plusMinus * Math.floor(Math.random() * threshold + 1);
1640
- }
1641
- }
1642
- });
1643
- // CONCATENATED MODULE: ./src/components/VueFireworks.vue?vue&type=script&lang=js&
1644
- /* harmony default export */ var components_VueFireworksvue_type_script_lang_js_ = (VueFireworksvue_type_script_lang_js_);
1645
- // EXTERNAL MODULE: ./src/components/VueFireworks.vue?vue&type=style&index=0&id=fa55262c&lang=scss&scoped=true&
1646
- var VueFireworksvue_type_style_index_0_id_fa55262c_lang_scss_scoped_true_ = __webpack_require__("f029");
1647
-
1648
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1649
- /* globals __VUE_SSR_CONTEXT__ */
1650
-
1651
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
1652
- // This module is a runtime utility for cleaner component module output and will
1653
- // be included in the final webpack user bundle.
1654
-
1655
- function normalizeComponent (
1656
- scriptExports,
1657
- render,
1658
- staticRenderFns,
1659
- functionalTemplate,
1660
- injectStyles,
1661
- scopeId,
1662
- moduleIdentifier, /* server only */
1663
- shadowMode /* vue-cli only */
1664
- ) {
1665
- // Vue.extend constructor export interop
1666
- var options = typeof scriptExports === 'function'
1667
- ? scriptExports.options
1668
- : scriptExports
1669
-
1670
- // render functions
1671
- if (render) {
1672
- options.render = render
1673
- options.staticRenderFns = staticRenderFns
1674
- options._compiled = true
1675
- }
1676
-
1677
- // functional template
1678
- if (functionalTemplate) {
1679
- options.functional = true
1680
- }
1681
-
1682
- // scopedId
1683
- if (scopeId) {
1684
- options._scopeId = 'data-v-' + scopeId
1685
- }
1686
-
1687
- var hook
1688
- if (moduleIdentifier) { // server build
1689
- hook = function (context) {
1690
- // 2.3 injection
1691
- context =
1692
- context || // cached call
1693
- (this.$vnode && this.$vnode.ssrContext) || // stateful
1694
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
1695
- // 2.2 with runInNewContext: true
1696
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1697
- context = __VUE_SSR_CONTEXT__
1698
- }
1699
- // inject component styles
1700
- if (injectStyles) {
1701
- injectStyles.call(this, context)
1702
- }
1703
- // register component module identifier for async chunk inferrence
1704
- if (context && context._registeredComponents) {
1705
- context._registeredComponents.add(moduleIdentifier)
1706
- }
1707
- }
1708
- // used by ssr in case component is cached and beforeCreate
1709
- // never gets called
1710
- options._ssrRegister = hook
1711
- } else if (injectStyles) {
1712
- hook = shadowMode
1713
- ? function () {
1714
- injectStyles.call(
1715
- this,
1716
- (options.functional ? this.parent : this).$root.$options.shadowRoot
1717
- )
1718
- }
1719
- : injectStyles
1720
- }
1721
-
1722
- if (hook) {
1723
- if (options.functional) {
1724
- // for template-only hot-reload because in that case the render fn doesn't
1725
- // go through the normalizer
1726
- options._injectStyles = hook
1727
- // register for functional component in vue file
1728
- var originalRender = options.render
1729
- options.render = function renderWithStyleInjection (h, context) {
1730
- hook.call(context)
1731
- return originalRender(h, context)
1732
- }
1733
- } else {
1734
- // inject component registration as beforeCreate hook
1735
- var existing = options.beforeCreate
1736
- options.beforeCreate = existing
1737
- ? [].concat(existing, hook)
1738
- : [hook]
1739
- }
1740
- }
1741
-
1742
- return {
1743
- exports: scriptExports,
1744
- options: options
1745
- }
1746
- }
1747
-
1748
- // CONCATENATED MODULE: ./src/components/VueFireworks.vue
1749
-
1750
-
1751
-
1752
-
1753
-
1754
-
1755
- /* normalize component */
1756
-
1757
- var component = normalizeComponent(
1758
- components_VueFireworksvue_type_script_lang_js_,
1759
- render,
1760
- staticRenderFns,
1761
- false,
1762
- null,
1763
- "fa55262c",
1764
- null
1765
-
1766
- )
1767
-
1768
- /* harmony default export */ var VueFireworks = (component.exports);
1769
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1770
-
1771
-
1772
- /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (VueFireworks);
1773
-
1774
-
1775
-
1776
- /***/ }),
1777
-
1778
- /***/ "fc6a":
1779
- /***/ (function(module, exports, __webpack_require__) {
1780
-
1781
- // toObject with fallback for non-array-like ES3 strings
1782
- var IndexedObject = __webpack_require__("44ad");
1783
- var requireObjectCoercible = __webpack_require__("1d80");
1784
-
1785
- module.exports = function (it) {
1786
- return IndexedObject(requireObjectCoercible(it));
1787
- };
1788
-
1789
-
1790
- /***/ }),
1791
-
1792
- /***/ "fdbf":
1793
- /***/ (function(module, exports, __webpack_require__) {
1794
-
1795
- var NATIVE_SYMBOL = __webpack_require__("4930");
1796
-
1797
- module.exports = NATIVE_SYMBOL
1798
- // eslint-disable-next-line no-undef
1799
- && !Symbol.sham
1800
- // eslint-disable-next-line no-undef
1801
- && typeof Symbol.iterator == 'symbol';
1802
-
1803
-
1804
- /***/ })
1805
-
1806
- /******/ })["default"];
1807
- });
1808
- //# sourceMappingURL=vueFireworks.umd.js.map