vue-jsx 0.2.8 → 3.3.0-beta.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.
Files changed (58) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +91 -92
  3. package/dist/api.d.ts +7 -0
  4. package/dist/api.js +2 -0
  5. package/dist/astro.d.ts +11 -0
  6. package/dist/astro.js +11 -0
  7. package/dist/bun.d.ts +6 -0
  8. package/dist/bun.js +5 -0
  9. package/dist/core-D6A0aY-g.js +11 -0
  10. package/dist/esbuild.d.ts +7 -0
  11. package/dist/esbuild.js +5 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +2 -0
  14. package/dist/nuxt.d.ts +8 -0
  15. package/dist/nuxt.js +17 -0
  16. package/dist/options-DHzozgGn.d.ts +25 -0
  17. package/dist/raw.d.ts +7 -0
  18. package/dist/raw.js +64 -0
  19. package/dist/rolldown.d.ts +7 -0
  20. package/dist/rolldown.js +6 -0
  21. package/dist/rollup.d.ts +7 -0
  22. package/dist/rollup.js +5 -0
  23. package/dist/rsbuild.d.ts +9 -0
  24. package/dist/rsbuild.js +12 -0
  25. package/dist/rspack.d.ts +6 -0
  26. package/dist/rspack.js +5 -0
  27. package/dist/unplugin.d.ts +9 -0
  28. package/dist/unplugin.js +9 -0
  29. package/dist/vapor.d.ts +3 -0
  30. package/dist/vapor.js +3 -0
  31. package/dist/vite.d.ts +7 -0
  32. package/dist/vite.js +5 -0
  33. package/dist/volar.d.ts +7 -0
  34. package/dist/volar.js +770 -0
  35. package/dist/webpack.d.ts +7 -0
  36. package/dist/webpack.js +5 -0
  37. package/jsx-runtime/index.d.ts +10 -0
  38. package/jsx-runtime/index.js +11 -0
  39. package/package.json +107 -25
  40. package/.browserslistrc +0 -3
  41. package/.eslintrc.js +0 -17
  42. package/babel.config.js +0 -5
  43. package/dist/demo.html +0 -8
  44. package/dist/vue-jsx.common.js +0 -1645
  45. package/dist/vue-jsx.common.js.map +0 -1
  46. package/dist/vue-jsx.umd.js +0 -1655
  47. package/dist/vue-jsx.umd.js.map +0 -1
  48. package/dist/vue-jsx.umd.min.js +0 -2
  49. package/dist/vue-jsx.umd.min.js.map +0 -1
  50. package/postcss.config.js +0 -5
  51. package/public/favicon.ico +0 -0
  52. package/public/index.html +0 -17
  53. package/src/App.vue +0 -122
  54. package/src/assets/logo.png +0 -0
  55. package/src/components/HelloWorld.vue +0 -58
  56. package/src/index.js +0 -210
  57. package/src/main.js +0 -8
  58. package/vue.config.js +0 -11
@@ -1,1645 +0,0 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
18
- /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = "fb15");
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ "01f9":
91
- /***/ (function(module, exports, __webpack_require__) {
92
-
93
- "use strict";
94
-
95
- var LIBRARY = __webpack_require__("2d00");
96
- var $export = __webpack_require__("5ca1");
97
- var redefine = __webpack_require__("2aba");
98
- var hide = __webpack_require__("32e9");
99
- var Iterators = __webpack_require__("84f2");
100
- var $iterCreate = __webpack_require__("41a0");
101
- var setToStringTag = __webpack_require__("7f20");
102
- var getPrototypeOf = __webpack_require__("38fd");
103
- var ITERATOR = __webpack_require__("2b4c")('iterator');
104
- var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
105
- var FF_ITERATOR = '@@iterator';
106
- var KEYS = 'keys';
107
- var VALUES = 'values';
108
-
109
- var returnThis = function () { return this; };
110
-
111
- module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
112
- $iterCreate(Constructor, NAME, next);
113
- var getMethod = function (kind) {
114
- if (!BUGGY && kind in proto) return proto[kind];
115
- switch (kind) {
116
- case KEYS: return function keys() { return new Constructor(this, kind); };
117
- case VALUES: return function values() { return new Constructor(this, kind); };
118
- } return function entries() { return new Constructor(this, kind); };
119
- };
120
- var TAG = NAME + ' Iterator';
121
- var DEF_VALUES = DEFAULT == VALUES;
122
- var VALUES_BUG = false;
123
- var proto = Base.prototype;
124
- var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
125
- var $default = $native || getMethod(DEFAULT);
126
- var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
127
- var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
128
- var methods, key, IteratorPrototype;
129
- // Fix native
130
- if ($anyNative) {
131
- IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
132
- if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
133
- // Set @@toStringTag to native iterators
134
- setToStringTag(IteratorPrototype, TAG, true);
135
- // fix for some old engines
136
- if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
137
- }
138
- }
139
- // fix Array#{values, @@iterator}.name in V8 / FF
140
- if (DEF_VALUES && $native && $native.name !== VALUES) {
141
- VALUES_BUG = true;
142
- $default = function values() { return $native.call(this); };
143
- }
144
- // Define iterator
145
- if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
146
- hide(proto, ITERATOR, $default);
147
- }
148
- // Plug for library
149
- Iterators[NAME] = $default;
150
- Iterators[TAG] = returnThis;
151
- if (DEFAULT) {
152
- methods = {
153
- values: DEF_VALUES ? $default : getMethod(VALUES),
154
- keys: IS_SET ? $default : getMethod(KEYS),
155
- entries: $entries
156
- };
157
- if (FORCED) for (key in methods) {
158
- if (!(key in proto)) redefine(proto, key, methods[key]);
159
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
160
- }
161
- return methods;
162
- };
163
-
164
-
165
- /***/ }),
166
-
167
- /***/ "0bfb":
168
- /***/ (function(module, exports, __webpack_require__) {
169
-
170
- "use strict";
171
-
172
- // 21.2.5.3 get RegExp.prototype.flags
173
- var anObject = __webpack_require__("cb7c");
174
- module.exports = function () {
175
- var that = anObject(this);
176
- var result = '';
177
- if (that.global) result += 'g';
178
- if (that.ignoreCase) result += 'i';
179
- if (that.multiline) result += 'm';
180
- if (that.unicode) result += 'u';
181
- if (that.sticky) result += 'y';
182
- return result;
183
- };
184
-
185
-
186
- /***/ }),
187
-
188
- /***/ "0d58":
189
- /***/ (function(module, exports, __webpack_require__) {
190
-
191
- // 19.1.2.14 / 15.2.3.14 Object.keys(O)
192
- var $keys = __webpack_require__("ce10");
193
- var enumBugKeys = __webpack_require__("e11e");
194
-
195
- module.exports = Object.keys || function keys(O) {
196
- return $keys(O, enumBugKeys);
197
- };
198
-
199
-
200
- /***/ }),
201
-
202
- /***/ "1495":
203
- /***/ (function(module, exports, __webpack_require__) {
204
-
205
- var dP = __webpack_require__("86cc");
206
- var anObject = __webpack_require__("cb7c");
207
- var getKeys = __webpack_require__("0d58");
208
-
209
- module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) {
210
- anObject(O);
211
- var keys = getKeys(Properties);
212
- var length = keys.length;
213
- var i = 0;
214
- var P;
215
- while (length > i) dP.f(O, P = keys[i++], Properties[P]);
216
- return O;
217
- };
218
-
219
-
220
- /***/ }),
221
-
222
- /***/ "214f":
223
- /***/ (function(module, exports, __webpack_require__) {
224
-
225
- "use strict";
226
-
227
- var hide = __webpack_require__("32e9");
228
- var redefine = __webpack_require__("2aba");
229
- var fails = __webpack_require__("79e5");
230
- var defined = __webpack_require__("be13");
231
- var wks = __webpack_require__("2b4c");
232
-
233
- module.exports = function (KEY, length, exec) {
234
- var SYMBOL = wks(KEY);
235
- var fns = exec(defined, SYMBOL, ''[KEY]);
236
- var strfn = fns[0];
237
- var rxfn = fns[1];
238
- if (fails(function () {
239
- var O = {};
240
- O[SYMBOL] = function () { return 7; };
241
- return ''[KEY](O) != 7;
242
- })) {
243
- redefine(String.prototype, KEY, strfn);
244
- hide(RegExp.prototype, SYMBOL, length == 2
245
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
246
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
247
- ? function (string, arg) { return rxfn.call(string, this, arg); }
248
- // 21.2.5.6 RegExp.prototype[@@match](string)
249
- // 21.2.5.9 RegExp.prototype[@@search](string)
250
- : function (string) { return rxfn.call(string, this); }
251
- );
252
- }
253
- };
254
-
255
-
256
- /***/ }),
257
-
258
- /***/ "230e":
259
- /***/ (function(module, exports, __webpack_require__) {
260
-
261
- var isObject = __webpack_require__("d3f4");
262
- var document = __webpack_require__("7726").document;
263
- // typeof document.createElement is 'object' in old IE
264
- var is = isObject(document) && isObject(document.createElement);
265
- module.exports = function (it) {
266
- return is ? document.createElement(it) : {};
267
- };
268
-
269
-
270
- /***/ }),
271
-
272
- /***/ "28a5":
273
- /***/ (function(module, exports, __webpack_require__) {
274
-
275
- // @@split logic
276
- __webpack_require__("214f")('split', 2, function (defined, SPLIT, $split) {
277
- 'use strict';
278
- var isRegExp = __webpack_require__("aae3");
279
- var _split = $split;
280
- var $push = [].push;
281
- var $SPLIT = 'split';
282
- var LENGTH = 'length';
283
- var LAST_INDEX = 'lastIndex';
284
- if (
285
- 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
286
- 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
287
- 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
288
- '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
289
- '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
290
- ''[$SPLIT](/.?/)[LENGTH]
291
- ) {
292
- var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group
293
- // based on es5-shim implementation, need to rework it
294
- $split = function (separator, limit) {
295
- var string = String(this);
296
- if (separator === undefined && limit === 0) return [];
297
- // If `separator` is not a regex, use native split
298
- if (!isRegExp(separator)) return _split.call(string, separator, limit);
299
- var output = [];
300
- var flags = (separator.ignoreCase ? 'i' : '') +
301
- (separator.multiline ? 'm' : '') +
302
- (separator.unicode ? 'u' : '') +
303
- (separator.sticky ? 'y' : '');
304
- var lastLastIndex = 0;
305
- var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;
306
- // Make `global` and avoid `lastIndex` issues by working with a copy
307
- var separatorCopy = new RegExp(separator.source, flags + 'g');
308
- var separator2, match, lastIndex, lastLength, i;
309
- // Doesn't need flags gy, but they don't hurt
310
- if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
311
- while (match = separatorCopy.exec(string)) {
312
- // `separatorCopy.lastIndex` is not reliable cross-browser
313
- lastIndex = match.index + match[0][LENGTH];
314
- if (lastIndex > lastLastIndex) {
315
- output.push(string.slice(lastLastIndex, match.index));
316
- // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG
317
- // eslint-disable-next-line no-loop-func
318
- if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {
319
- for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;
320
- });
321
- if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
322
- lastLength = match[0][LENGTH];
323
- lastLastIndex = lastIndex;
324
- if (output[LENGTH] >= splitLimit) break;
325
- }
326
- if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
327
- }
328
- if (lastLastIndex === string[LENGTH]) {
329
- if (lastLength || !separatorCopy.test('')) output.push('');
330
- } else output.push(string.slice(lastLastIndex));
331
- return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
332
- };
333
- // Chakra, V8
334
- } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
335
- $split = function (separator, limit) {
336
- return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);
337
- };
338
- }
339
- // 21.1.3.17 String.prototype.split(separator, limit)
340
- return [function split(separator, limit) {
341
- var O = defined(this);
342
- var fn = separator == undefined ? undefined : separator[SPLIT];
343
- return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);
344
- }, $split];
345
- });
346
-
347
-
348
- /***/ }),
349
-
350
- /***/ "2aba":
351
- /***/ (function(module, exports, __webpack_require__) {
352
-
353
- var global = __webpack_require__("7726");
354
- var hide = __webpack_require__("32e9");
355
- var has = __webpack_require__("69a8");
356
- var SRC = __webpack_require__("ca5a")('src');
357
- var TO_STRING = 'toString';
358
- var $toString = Function[TO_STRING];
359
- var TPL = ('' + $toString).split(TO_STRING);
360
-
361
- __webpack_require__("8378").inspectSource = function (it) {
362
- return $toString.call(it);
363
- };
364
-
365
- (module.exports = function (O, key, val, safe) {
366
- var isFunction = typeof val == 'function';
367
- if (isFunction) has(val, 'name') || hide(val, 'name', key);
368
- if (O[key] === val) return;
369
- if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
370
- if (O === global) {
371
- O[key] = val;
372
- } else if (!safe) {
373
- delete O[key];
374
- hide(O, key, val);
375
- } else if (O[key]) {
376
- O[key] = val;
377
- } else {
378
- hide(O, key, val);
379
- }
380
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
381
- })(Function.prototype, TO_STRING, function toString() {
382
- return typeof this == 'function' && this[SRC] || $toString.call(this);
383
- });
384
-
385
-
386
- /***/ }),
387
-
388
- /***/ "2aeb":
389
- /***/ (function(module, exports, __webpack_require__) {
390
-
391
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
392
- var anObject = __webpack_require__("cb7c");
393
- var dPs = __webpack_require__("1495");
394
- var enumBugKeys = __webpack_require__("e11e");
395
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
396
- var Empty = function () { /* empty */ };
397
- var PROTOTYPE = 'prototype';
398
-
399
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
400
- var createDict = function () {
401
- // Thrash, waste and sodomy: IE GC bug
402
- var iframe = __webpack_require__("230e")('iframe');
403
- var i = enumBugKeys.length;
404
- var lt = '<';
405
- var gt = '>';
406
- var iframeDocument;
407
- iframe.style.display = 'none';
408
- __webpack_require__("fab2").appendChild(iframe);
409
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
410
- // createDict = iframe.contentWindow.Object;
411
- // html.removeChild(iframe);
412
- iframeDocument = iframe.contentWindow.document;
413
- iframeDocument.open();
414
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
415
- iframeDocument.close();
416
- createDict = iframeDocument.F;
417
- while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
418
- return createDict();
419
- };
420
-
421
- module.exports = Object.create || function create(O, Properties) {
422
- var result;
423
- if (O !== null) {
424
- Empty[PROTOTYPE] = anObject(O);
425
- result = new Empty();
426
- Empty[PROTOTYPE] = null;
427
- // add "__proto__" for Object.getPrototypeOf polyfill
428
- result[IE_PROTO] = O;
429
- } else result = createDict();
430
- return Properties === undefined ? result : dPs(result, Properties);
431
- };
432
-
433
-
434
- /***/ }),
435
-
436
- /***/ "2b4c":
437
- /***/ (function(module, exports, __webpack_require__) {
438
-
439
- var store = __webpack_require__("5537")('wks');
440
- var uid = __webpack_require__("ca5a");
441
- var Symbol = __webpack_require__("7726").Symbol;
442
- var USE_SYMBOL = typeof Symbol == 'function';
443
-
444
- var $exports = module.exports = function (name) {
445
- return store[name] || (store[name] =
446
- USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
447
- };
448
-
449
- $exports.store = store;
450
-
451
-
452
- /***/ }),
453
-
454
- /***/ "2d00":
455
- /***/ (function(module, exports) {
456
-
457
- module.exports = false;
458
-
459
-
460
- /***/ }),
461
-
462
- /***/ "2d95":
463
- /***/ (function(module, exports) {
464
-
465
- var toString = {}.toString;
466
-
467
- module.exports = function (it) {
468
- return toString.call(it).slice(8, -1);
469
- };
470
-
471
-
472
- /***/ }),
473
-
474
- /***/ "2fdb":
475
- /***/ (function(module, exports, __webpack_require__) {
476
-
477
- "use strict";
478
- // 21.1.3.7 String.prototype.includes(searchString, position = 0)
479
-
480
- var $export = __webpack_require__("5ca1");
481
- var context = __webpack_require__("d2c8");
482
- var INCLUDES = 'includes';
483
-
484
- $export($export.P + $export.F * __webpack_require__("5147")(INCLUDES), 'String', {
485
- includes: function includes(searchString /* , position = 0 */) {
486
- return !!~context(this, searchString, INCLUDES)
487
- .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
488
- }
489
- });
490
-
491
-
492
- /***/ }),
493
-
494
- /***/ "32e9":
495
- /***/ (function(module, exports, __webpack_require__) {
496
-
497
- var dP = __webpack_require__("86cc");
498
- var createDesc = __webpack_require__("4630");
499
- module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
500
- return dP.f(object, key, createDesc(1, value));
501
- } : function (object, key, value) {
502
- object[key] = value;
503
- return object;
504
- };
505
-
506
-
507
- /***/ }),
508
-
509
- /***/ "3846":
510
- /***/ (function(module, exports, __webpack_require__) {
511
-
512
- // 21.2.5.3 get RegExp.prototype.flags()
513
- if (__webpack_require__("9e1e") && /./g.flags != 'g') __webpack_require__("86cc").f(RegExp.prototype, 'flags', {
514
- configurable: true,
515
- get: __webpack_require__("0bfb")
516
- });
517
-
518
-
519
- /***/ }),
520
-
521
- /***/ "38fd":
522
- /***/ (function(module, exports, __webpack_require__) {
523
-
524
- // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
525
- var has = __webpack_require__("69a8");
526
- var toObject = __webpack_require__("4bf8");
527
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
528
- var ObjectProto = Object.prototype;
529
-
530
- module.exports = Object.getPrototypeOf || function (O) {
531
- O = toObject(O);
532
- if (has(O, IE_PROTO)) return O[IE_PROTO];
533
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
534
- return O.constructor.prototype;
535
- } return O instanceof Object ? ObjectProto : null;
536
- };
537
-
538
-
539
- /***/ }),
540
-
541
- /***/ "41a0":
542
- /***/ (function(module, exports, __webpack_require__) {
543
-
544
- "use strict";
545
-
546
- var create = __webpack_require__("2aeb");
547
- var descriptor = __webpack_require__("4630");
548
- var setToStringTag = __webpack_require__("7f20");
549
- var IteratorPrototype = {};
550
-
551
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
552
- __webpack_require__("32e9")(IteratorPrototype, __webpack_require__("2b4c")('iterator'), function () { return this; });
553
-
554
- module.exports = function (Constructor, NAME, next) {
555
- Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
556
- setToStringTag(Constructor, NAME + ' Iterator');
557
- };
558
-
559
-
560
- /***/ }),
561
-
562
- /***/ "456d":
563
- /***/ (function(module, exports, __webpack_require__) {
564
-
565
- // 19.1.2.14 Object.keys(O)
566
- var toObject = __webpack_require__("4bf8");
567
- var $keys = __webpack_require__("0d58");
568
-
569
- __webpack_require__("5eda")('keys', function () {
570
- return function keys(it) {
571
- return $keys(toObject(it));
572
- };
573
- });
574
-
575
-
576
- /***/ }),
577
-
578
- /***/ "4588":
579
- /***/ (function(module, exports) {
580
-
581
- // 7.1.4 ToInteger
582
- var ceil = Math.ceil;
583
- var floor = Math.floor;
584
- module.exports = function (it) {
585
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
586
- };
587
-
588
-
589
- /***/ }),
590
-
591
- /***/ "4630":
592
- /***/ (function(module, exports) {
593
-
594
- module.exports = function (bitmap, value) {
595
- return {
596
- enumerable: !(bitmap & 1),
597
- configurable: !(bitmap & 2),
598
- writable: !(bitmap & 4),
599
- value: value
600
- };
601
- };
602
-
603
-
604
- /***/ }),
605
-
606
- /***/ "4bf8":
607
- /***/ (function(module, exports, __webpack_require__) {
608
-
609
- // 7.1.13 ToObject(argument)
610
- var defined = __webpack_require__("be13");
611
- module.exports = function (it) {
612
- return Object(defined(it));
613
- };
614
-
615
-
616
- /***/ }),
617
-
618
- /***/ "5147":
619
- /***/ (function(module, exports, __webpack_require__) {
620
-
621
- var MATCH = __webpack_require__("2b4c")('match');
622
- module.exports = function (KEY) {
623
- var re = /./;
624
- try {
625
- '/./'[KEY](re);
626
- } catch (e) {
627
- try {
628
- re[MATCH] = false;
629
- return !'/./'[KEY](re);
630
- } catch (f) { /* empty */ }
631
- } return true;
632
- };
633
-
634
-
635
- /***/ }),
636
-
637
- /***/ "5537":
638
- /***/ (function(module, exports, __webpack_require__) {
639
-
640
- var core = __webpack_require__("8378");
641
- var global = __webpack_require__("7726");
642
- var SHARED = '__core-js_shared__';
643
- var store = global[SHARED] || (global[SHARED] = {});
644
-
645
- (module.exports = function (key, value) {
646
- return store[key] || (store[key] = value !== undefined ? value : {});
647
- })('versions', []).push({
648
- version: core.version,
649
- mode: __webpack_require__("2d00") ? 'pure' : 'global',
650
- copyright: '© 2018 Denis Pushkarev (zloirock.ru)'
651
- });
652
-
653
-
654
- /***/ }),
655
-
656
- /***/ "5ca1":
657
- /***/ (function(module, exports, __webpack_require__) {
658
-
659
- var global = __webpack_require__("7726");
660
- var core = __webpack_require__("8378");
661
- var hide = __webpack_require__("32e9");
662
- var redefine = __webpack_require__("2aba");
663
- var ctx = __webpack_require__("9b43");
664
- var PROTOTYPE = 'prototype';
665
-
666
- var $export = function (type, name, source) {
667
- var IS_FORCED = type & $export.F;
668
- var IS_GLOBAL = type & $export.G;
669
- var IS_STATIC = type & $export.S;
670
- var IS_PROTO = type & $export.P;
671
- var IS_BIND = type & $export.B;
672
- var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
673
- var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
674
- var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
675
- var key, own, out, exp;
676
- if (IS_GLOBAL) source = name;
677
- for (key in source) {
678
- // contains in native
679
- own = !IS_FORCED && target && target[key] !== undefined;
680
- // export native or passed
681
- out = (own ? target : source)[key];
682
- // bind timers to global for call from export context
683
- exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
684
- // extend global
685
- if (target) redefine(target, key, out, type & $export.U);
686
- // export
687
- if (exports[key] != out) hide(exports, key, exp);
688
- if (IS_PROTO && expProto[key] != out) expProto[key] = out;
689
- }
690
- };
691
- global.core = core;
692
- // type bitmap
693
- $export.F = 1; // forced
694
- $export.G = 2; // global
695
- $export.S = 4; // static
696
- $export.P = 8; // proto
697
- $export.B = 16; // bind
698
- $export.W = 32; // wrap
699
- $export.U = 64; // safe
700
- $export.R = 128; // real proto method for `library`
701
- module.exports = $export;
702
-
703
-
704
- /***/ }),
705
-
706
- /***/ "5eda":
707
- /***/ (function(module, exports, __webpack_require__) {
708
-
709
- // most Object methods by ES6 should accept primitives
710
- var $export = __webpack_require__("5ca1");
711
- var core = __webpack_require__("8378");
712
- var fails = __webpack_require__("79e5");
713
- module.exports = function (KEY, exec) {
714
- var fn = (core.Object || {})[KEY] || Object[KEY];
715
- var exp = {};
716
- exp[KEY] = exec(fn);
717
- $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
718
- };
719
-
720
-
721
- /***/ }),
722
-
723
- /***/ "613b":
724
- /***/ (function(module, exports, __webpack_require__) {
725
-
726
- var shared = __webpack_require__("5537")('keys');
727
- var uid = __webpack_require__("ca5a");
728
- module.exports = function (key) {
729
- return shared[key] || (shared[key] = uid(key));
730
- };
731
-
732
-
733
- /***/ }),
734
-
735
- /***/ "626a":
736
- /***/ (function(module, exports, __webpack_require__) {
737
-
738
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
739
- var cof = __webpack_require__("2d95");
740
- // eslint-disable-next-line no-prototype-builtins
741
- module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
742
- return cof(it) == 'String' ? it.split('') : Object(it);
743
- };
744
-
745
-
746
- /***/ }),
747
-
748
- /***/ "6762":
749
- /***/ (function(module, exports, __webpack_require__) {
750
-
751
- "use strict";
752
-
753
- // https://github.com/tc39/Array.prototype.includes
754
- var $export = __webpack_require__("5ca1");
755
- var $includes = __webpack_require__("c366")(true);
756
-
757
- $export($export.P, 'Array', {
758
- includes: function includes(el /* , fromIndex = 0 */) {
759
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
760
- }
761
- });
762
-
763
- __webpack_require__("9c6c")('includes');
764
-
765
-
766
- /***/ }),
767
-
768
- /***/ "6821":
769
- /***/ (function(module, exports, __webpack_require__) {
770
-
771
- // to indexed object, toObject with fallback for non-array-like ES3 strings
772
- var IObject = __webpack_require__("626a");
773
- var defined = __webpack_require__("be13");
774
- module.exports = function (it) {
775
- return IObject(defined(it));
776
- };
777
-
778
-
779
- /***/ }),
780
-
781
- /***/ "69a8":
782
- /***/ (function(module, exports) {
783
-
784
- var hasOwnProperty = {}.hasOwnProperty;
785
- module.exports = function (it, key) {
786
- return hasOwnProperty.call(it, key);
787
- };
788
-
789
-
790
- /***/ }),
791
-
792
- /***/ "6a99":
793
- /***/ (function(module, exports, __webpack_require__) {
794
-
795
- // 7.1.1 ToPrimitive(input [, PreferredType])
796
- var isObject = __webpack_require__("d3f4");
797
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
798
- // and the second argument - flag - preferred type is a string
799
- module.exports = function (it, S) {
800
- if (!isObject(it)) return it;
801
- var fn, val;
802
- if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
803
- if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
804
- if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
805
- throw TypeError("Can't convert object to primitive value");
806
- };
807
-
808
-
809
- /***/ }),
810
-
811
- /***/ "6b54":
812
- /***/ (function(module, exports, __webpack_require__) {
813
-
814
- "use strict";
815
-
816
- __webpack_require__("3846");
817
- var anObject = __webpack_require__("cb7c");
818
- var $flags = __webpack_require__("0bfb");
819
- var DESCRIPTORS = __webpack_require__("9e1e");
820
- var TO_STRING = 'toString';
821
- var $toString = /./[TO_STRING];
822
-
823
- var define = function (fn) {
824
- __webpack_require__("2aba")(RegExp.prototype, TO_STRING, fn, true);
825
- };
826
-
827
- // 21.2.5.14 RegExp.prototype.toString()
828
- if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
829
- define(function toString() {
830
- var R = anObject(this);
831
- return '/'.concat(R.source, '/',
832
- 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
833
- });
834
- // FF44- RegExp#toString has a wrong name
835
- } else if ($toString.name != TO_STRING) {
836
- define(function toString() {
837
- return $toString.call(this);
838
- });
839
- }
840
-
841
-
842
- /***/ }),
843
-
844
- /***/ "7726":
845
- /***/ (function(module, exports) {
846
-
847
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
848
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
849
- ? window : typeof self != 'undefined' && self.Math == Math ? self
850
- // eslint-disable-next-line no-new-func
851
- : Function('return this')();
852
- if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
853
-
854
-
855
- /***/ }),
856
-
857
- /***/ "77f1":
858
- /***/ (function(module, exports, __webpack_require__) {
859
-
860
- var toInteger = __webpack_require__("4588");
861
- var max = Math.max;
862
- var min = Math.min;
863
- module.exports = function (index, length) {
864
- index = toInteger(index);
865
- return index < 0 ? max(index + length, 0) : min(index, length);
866
- };
867
-
868
-
869
- /***/ }),
870
-
871
- /***/ "79e5":
872
- /***/ (function(module, exports) {
873
-
874
- module.exports = function (exec) {
875
- try {
876
- return !!exec();
877
- } catch (e) {
878
- return true;
879
- }
880
- };
881
-
882
-
883
- /***/ }),
884
-
885
- /***/ "7f20":
886
- /***/ (function(module, exports, __webpack_require__) {
887
-
888
- var def = __webpack_require__("86cc").f;
889
- var has = __webpack_require__("69a8");
890
- var TAG = __webpack_require__("2b4c")('toStringTag');
891
-
892
- module.exports = function (it, tag, stat) {
893
- if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
894
- };
895
-
896
-
897
- /***/ }),
898
-
899
- /***/ "8378":
900
- /***/ (function(module, exports) {
901
-
902
- var core = module.exports = { version: '2.5.7' };
903
- if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
904
-
905
-
906
- /***/ }),
907
-
908
- /***/ "84f2":
909
- /***/ (function(module, exports) {
910
-
911
- module.exports = {};
912
-
913
-
914
- /***/ }),
915
-
916
- /***/ "86cc":
917
- /***/ (function(module, exports, __webpack_require__) {
918
-
919
- var anObject = __webpack_require__("cb7c");
920
- var IE8_DOM_DEFINE = __webpack_require__("c69a");
921
- var toPrimitive = __webpack_require__("6a99");
922
- var dP = Object.defineProperty;
923
-
924
- exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
925
- anObject(O);
926
- P = toPrimitive(P, true);
927
- anObject(Attributes);
928
- if (IE8_DOM_DEFINE) try {
929
- return dP(O, P, Attributes);
930
- } catch (e) { /* empty */ }
931
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
932
- if ('value' in Attributes) O[P] = Attributes.value;
933
- return O;
934
- };
935
-
936
-
937
- /***/ }),
938
-
939
- /***/ "9b43":
940
- /***/ (function(module, exports, __webpack_require__) {
941
-
942
- // optional / simple context binding
943
- var aFunction = __webpack_require__("d8e8");
944
- module.exports = function (fn, that, length) {
945
- aFunction(fn);
946
- if (that === undefined) return fn;
947
- switch (length) {
948
- case 1: return function (a) {
949
- return fn.call(that, a);
950
- };
951
- case 2: return function (a, b) {
952
- return fn.call(that, a, b);
953
- };
954
- case 3: return function (a, b, c) {
955
- return fn.call(that, a, b, c);
956
- };
957
- }
958
- return function (/* ...args */) {
959
- return fn.apply(that, arguments);
960
- };
961
- };
962
-
963
-
964
- /***/ }),
965
-
966
- /***/ "9c6c":
967
- /***/ (function(module, exports, __webpack_require__) {
968
-
969
- // 22.1.3.31 Array.prototype[@@unscopables]
970
- var UNSCOPABLES = __webpack_require__("2b4c")('unscopables');
971
- var ArrayProto = Array.prototype;
972
- if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("32e9")(ArrayProto, UNSCOPABLES, {});
973
- module.exports = function (key) {
974
- ArrayProto[UNSCOPABLES][key] = true;
975
- };
976
-
977
-
978
- /***/ }),
979
-
980
- /***/ "9def":
981
- /***/ (function(module, exports, __webpack_require__) {
982
-
983
- // 7.1.15 ToLength
984
- var toInteger = __webpack_require__("4588");
985
- var min = Math.min;
986
- module.exports = function (it) {
987
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
988
- };
989
-
990
-
991
- /***/ }),
992
-
993
- /***/ "9e1e":
994
- /***/ (function(module, exports, __webpack_require__) {
995
-
996
- // Thank's IE8 for his funny defineProperty
997
- module.exports = !__webpack_require__("79e5")(function () {
998
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
999
- });
1000
-
1001
-
1002
- /***/ }),
1003
-
1004
- /***/ "aae3":
1005
- /***/ (function(module, exports, __webpack_require__) {
1006
-
1007
- // 7.2.8 IsRegExp(argument)
1008
- var isObject = __webpack_require__("d3f4");
1009
- var cof = __webpack_require__("2d95");
1010
- var MATCH = __webpack_require__("2b4c")('match');
1011
- module.exports = function (it) {
1012
- var isRegExp;
1013
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
1014
- };
1015
-
1016
-
1017
- /***/ }),
1018
-
1019
- /***/ "ac6a":
1020
- /***/ (function(module, exports, __webpack_require__) {
1021
-
1022
- var $iterators = __webpack_require__("cadf");
1023
- var getKeys = __webpack_require__("0d58");
1024
- var redefine = __webpack_require__("2aba");
1025
- var global = __webpack_require__("7726");
1026
- var hide = __webpack_require__("32e9");
1027
- var Iterators = __webpack_require__("84f2");
1028
- var wks = __webpack_require__("2b4c");
1029
- var ITERATOR = wks('iterator');
1030
- var TO_STRING_TAG = wks('toStringTag');
1031
- var ArrayValues = Iterators.Array;
1032
-
1033
- var DOMIterables = {
1034
- CSSRuleList: true, // TODO: Not spec compliant, should be false.
1035
- CSSStyleDeclaration: false,
1036
- CSSValueList: false,
1037
- ClientRectList: false,
1038
- DOMRectList: false,
1039
- DOMStringList: false,
1040
- DOMTokenList: true,
1041
- DataTransferItemList: false,
1042
- FileList: false,
1043
- HTMLAllCollection: false,
1044
- HTMLCollection: false,
1045
- HTMLFormElement: false,
1046
- HTMLSelectElement: false,
1047
- MediaList: true, // TODO: Not spec compliant, should be false.
1048
- MimeTypeArray: false,
1049
- NamedNodeMap: false,
1050
- NodeList: true,
1051
- PaintRequestList: false,
1052
- Plugin: false,
1053
- PluginArray: false,
1054
- SVGLengthList: false,
1055
- SVGNumberList: false,
1056
- SVGPathSegList: false,
1057
- SVGPointList: false,
1058
- SVGStringList: false,
1059
- SVGTransformList: false,
1060
- SourceBufferList: false,
1061
- StyleSheetList: true, // TODO: Not spec compliant, should be false.
1062
- TextTrackCueList: false,
1063
- TextTrackList: false,
1064
- TouchList: false
1065
- };
1066
-
1067
- for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
1068
- var NAME = collections[i];
1069
- var explicit = DOMIterables[NAME];
1070
- var Collection = global[NAME];
1071
- var proto = Collection && Collection.prototype;
1072
- var key;
1073
- if (proto) {
1074
- if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
1075
- if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1076
- Iterators[NAME] = ArrayValues;
1077
- if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
1078
- }
1079
- }
1080
-
1081
-
1082
- /***/ }),
1083
-
1084
- /***/ "be13":
1085
- /***/ (function(module, exports) {
1086
-
1087
- // 7.2.1 RequireObjectCoercible(argument)
1088
- module.exports = function (it) {
1089
- if (it == undefined) throw TypeError("Can't call method on " + it);
1090
- return it;
1091
- };
1092
-
1093
-
1094
- /***/ }),
1095
-
1096
- /***/ "c366":
1097
- /***/ (function(module, exports, __webpack_require__) {
1098
-
1099
- // false -> Array#indexOf
1100
- // true -> Array#includes
1101
- var toIObject = __webpack_require__("6821");
1102
- var toLength = __webpack_require__("9def");
1103
- var toAbsoluteIndex = __webpack_require__("77f1");
1104
- module.exports = function (IS_INCLUDES) {
1105
- return function ($this, el, fromIndex) {
1106
- var O = toIObject($this);
1107
- var length = toLength(O.length);
1108
- var index = toAbsoluteIndex(fromIndex, length);
1109
- var value;
1110
- // Array#includes uses SameValueZero equality algorithm
1111
- // eslint-disable-next-line no-self-compare
1112
- if (IS_INCLUDES && el != el) while (length > index) {
1113
- value = O[index++];
1114
- // eslint-disable-next-line no-self-compare
1115
- if (value != value) return true;
1116
- // Array#indexOf ignores holes, Array#includes - not
1117
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
1118
- if (O[index] === el) return IS_INCLUDES || index || 0;
1119
- } return !IS_INCLUDES && -1;
1120
- };
1121
- };
1122
-
1123
-
1124
- /***/ }),
1125
-
1126
- /***/ "c69a":
1127
- /***/ (function(module, exports, __webpack_require__) {
1128
-
1129
- module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
1130
- return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
1131
- });
1132
-
1133
-
1134
- /***/ }),
1135
-
1136
- /***/ "ca5a":
1137
- /***/ (function(module, exports) {
1138
-
1139
- var id = 0;
1140
- var px = Math.random();
1141
- module.exports = function (key) {
1142
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1143
- };
1144
-
1145
-
1146
- /***/ }),
1147
-
1148
- /***/ "cadf":
1149
- /***/ (function(module, exports, __webpack_require__) {
1150
-
1151
- "use strict";
1152
-
1153
- var addToUnscopables = __webpack_require__("9c6c");
1154
- var step = __webpack_require__("d53b");
1155
- var Iterators = __webpack_require__("84f2");
1156
- var toIObject = __webpack_require__("6821");
1157
-
1158
- // 22.1.3.4 Array.prototype.entries()
1159
- // 22.1.3.13 Array.prototype.keys()
1160
- // 22.1.3.29 Array.prototype.values()
1161
- // 22.1.3.30 Array.prototype[@@iterator]()
1162
- module.exports = __webpack_require__("01f9")(Array, 'Array', function (iterated, kind) {
1163
- this._t = toIObject(iterated); // target
1164
- this._i = 0; // next index
1165
- this._k = kind; // kind
1166
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
1167
- }, function () {
1168
- var O = this._t;
1169
- var kind = this._k;
1170
- var index = this._i++;
1171
- if (!O || index >= O.length) {
1172
- this._t = undefined;
1173
- return step(1);
1174
- }
1175
- if (kind == 'keys') return step(0, index);
1176
- if (kind == 'values') return step(0, O[index]);
1177
- return step(0, [index, O[index]]);
1178
- }, 'values');
1179
-
1180
- // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
1181
- Iterators.Arguments = Iterators.Array;
1182
-
1183
- addToUnscopables('keys');
1184
- addToUnscopables('values');
1185
- addToUnscopables('entries');
1186
-
1187
-
1188
- /***/ }),
1189
-
1190
- /***/ "cb7c":
1191
- /***/ (function(module, exports, __webpack_require__) {
1192
-
1193
- var isObject = __webpack_require__("d3f4");
1194
- module.exports = function (it) {
1195
- if (!isObject(it)) throw TypeError(it + ' is not an object!');
1196
- return it;
1197
- };
1198
-
1199
-
1200
- /***/ }),
1201
-
1202
- /***/ "ce10":
1203
- /***/ (function(module, exports, __webpack_require__) {
1204
-
1205
- var has = __webpack_require__("69a8");
1206
- var toIObject = __webpack_require__("6821");
1207
- var arrayIndexOf = __webpack_require__("c366")(false);
1208
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
1209
-
1210
- module.exports = function (object, names) {
1211
- var O = toIObject(object);
1212
- var i = 0;
1213
- var result = [];
1214
- var key;
1215
- for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
1216
- // Don't enum bug & hidden keys
1217
- while (names.length > i) if (has(O, key = names[i++])) {
1218
- ~arrayIndexOf(result, key) || result.push(key);
1219
- }
1220
- return result;
1221
- };
1222
-
1223
-
1224
- /***/ }),
1225
-
1226
- /***/ "d2c8":
1227
- /***/ (function(module, exports, __webpack_require__) {
1228
-
1229
- // helper for String#{startsWith, endsWith, includes}
1230
- var isRegExp = __webpack_require__("aae3");
1231
- var defined = __webpack_require__("be13");
1232
-
1233
- module.exports = function (that, searchString, NAME) {
1234
- if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
1235
- return String(defined(that));
1236
- };
1237
-
1238
-
1239
- /***/ }),
1240
-
1241
- /***/ "d3f4":
1242
- /***/ (function(module, exports) {
1243
-
1244
- module.exports = function (it) {
1245
- return typeof it === 'object' ? it !== null : typeof it === 'function';
1246
- };
1247
-
1248
-
1249
- /***/ }),
1250
-
1251
- /***/ "d53b":
1252
- /***/ (function(module, exports) {
1253
-
1254
- module.exports = function (done, value) {
1255
- return { value: value, done: !!done };
1256
- };
1257
-
1258
-
1259
- /***/ }),
1260
-
1261
- /***/ "d8e8":
1262
- /***/ (function(module, exports) {
1263
-
1264
- module.exports = function (it) {
1265
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1266
- return it;
1267
- };
1268
-
1269
-
1270
- /***/ }),
1271
-
1272
- /***/ "e11e":
1273
- /***/ (function(module, exports) {
1274
-
1275
- // IE 8- don't enum bug keys
1276
- module.exports = (
1277
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1278
- ).split(',');
1279
-
1280
-
1281
- /***/ }),
1282
-
1283
- /***/ "fab2":
1284
- /***/ (function(module, exports, __webpack_require__) {
1285
-
1286
- var document = __webpack_require__("7726").document;
1287
- module.exports = document && document.documentElement;
1288
-
1289
-
1290
- /***/ }),
1291
-
1292
- /***/ "fb15":
1293
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1294
-
1295
- "use strict";
1296
- __webpack_require__.r(__webpack_exports__);
1297
-
1298
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
1299
- // This file is imported into lib/wc client bundles.
1300
-
1301
- if (typeof window !== 'undefined') {
1302
- var setPublicPath_i
1303
- if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
1304
- __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line
1305
- }
1306
- }
1307
-
1308
- // Indicate to webpack that this file can be concatenated
1309
- /* harmony default export */ var setPublicPath = (null);
1310
-
1311
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
1312
- var es6_array_iterator = __webpack_require__("cadf");
1313
-
1314
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
1315
- var es6_object_keys = __webpack_require__("456d");
1316
-
1317
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
1318
- var web_dom_iterable = __webpack_require__("ac6a");
1319
-
1320
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1321
- function _arrayWithoutHoles(arr) {
1322
- if (Array.isArray(arr)) {
1323
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
1324
- arr2[i] = arr[i];
1325
- }
1326
-
1327
- return arr2;
1328
- }
1329
- }
1330
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1331
- function _iterableToArray(iter) {
1332
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
1333
- }
1334
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1335
- function _nonIterableSpread() {
1336
- throw new TypeError("Invalid attempt to spread non-iterable instance");
1337
- }
1338
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1339
-
1340
-
1341
-
1342
- function _toConsumableArray(arr) {
1343
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
1344
- }
1345
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
1346
- function _arrayWithHoles(arr) {
1347
- if (Array.isArray(arr)) return arr;
1348
- }
1349
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
1350
- function _iterableToArrayLimit(arr, i) {
1351
- var _arr = [];
1352
- var _n = true;
1353
- var _d = false;
1354
- var _e = undefined;
1355
-
1356
- try {
1357
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
1358
- _arr.push(_s.value);
1359
-
1360
- if (i && _arr.length === i) break;
1361
- }
1362
- } catch (err) {
1363
- _d = true;
1364
- _e = err;
1365
- } finally {
1366
- try {
1367
- if (!_n && _i["return"] != null) _i["return"]();
1368
- } finally {
1369
- if (_d) throw _e;
1370
- }
1371
- }
1372
-
1373
- return _arr;
1374
- }
1375
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
1376
- function _nonIterableRest() {
1377
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
1378
- }
1379
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
1380
-
1381
-
1382
-
1383
- function _slicedToArray(arr, i) {
1384
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
1385
- }
1386
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.array.includes.js
1387
- var es7_array_includes = __webpack_require__("6762");
1388
-
1389
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.includes.js
1390
- var es6_string_includes = __webpack_require__("2fdb");
1391
-
1392
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
1393
- var es6_regexp_to_string = __webpack_require__("6b54");
1394
-
1395
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
1396
- var es6_regexp_split = __webpack_require__("28a5");
1397
-
1398
- // CONCATENATED MODULE: ./src/index.js
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
-
1407
-
1408
- var jsx = {
1409
- h: function h() {},
1410
- getProp: function getProp(context, prop) {
1411
- var props = prop.split('.'),
1412
- i;
1413
-
1414
- while (i = props.shift()) {
1415
- context = context[i];
1416
- }
1417
-
1418
- return context;
1419
- },
1420
- setProp: function setProp(context, prop, value) {
1421
- var props = prop.split('.'),
1422
- i;
1423
-
1424
- while (i = props.shift()) {
1425
- if (!props.length) {
1426
- break;
1427
- }
1428
-
1429
- context = context[i];
1430
- }
1431
-
1432
- context[i] = value;
1433
- },
1434
- use: function use(h) {
1435
- jsx.h = h;
1436
- },
1437
- create: function create() {
1438
- var node = {
1439
- tag: 'div',
1440
- props: {
1441
- 'class': {},
1442
- style: {},
1443
- attrs: {},
1444
- props: {},
1445
- domProps: {},
1446
- on: {},
1447
- nativeOn: {}
1448
- },
1449
- children: []
1450
- };
1451
-
1452
- for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {
1453
- params[_key] = arguments[_key];
1454
- }
1455
-
1456
- var plen = params.length;
1457
-
1458
- if (!plen) {
1459
- return node;
1460
- }
1461
-
1462
- if (plen > 1) {
1463
- var _node$children;
1464
-
1465
- var second = params[1];
1466
- var i = 1;
1467
- var secondIsObjeect = Object.prototype.toString.call(second).slice(8, -1) === 'Object'; // 如果第二个参数是 props
1468
-
1469
- if (secondIsObjeect && !('componentInstance' in second)) {
1470
- // 如果有vif===false,直接返回null
1471
- if (second['vif'] === false) {
1472
- return null;
1473
- }
1474
-
1475
- var table = {
1476
- c: 'class',
1477
- s: 'style',
1478
- a: 'attrs',
1479
- p: 'props',
1480
- dp: 'domProps',
1481
- o: 'on',
1482
- no: 'nativeOn'
1483
- };
1484
-
1485
- for (var k in second) {
1486
- // 如果值是null,则过滤
1487
- if (second[k] === null) {
1488
- continue;
1489
- }
1490
-
1491
- if (k.includes('_')) {
1492
- var _k$split = k.split('_'),
1493
- _k$split2 = _slicedToArray(_k$split, 2),
1494
- a = _k$split2[0],
1495
- b = _k$split2[1];
1496
-
1497
- var aa = table[a] || a;
1498
- node['props'][aa][b] = second[k];
1499
- } else {
1500
- node['props'][k] = second[k];
1501
- }
1502
- }
1503
-
1504
- i = 2;
1505
- }
1506
-
1507
- (_node$children = node.children).push.apply(_node$children, _toConsumableArray(params.slice(i)));
1508
- }
1509
-
1510
- var first = params[0];
1511
-
1512
- if (first.includes('.')) {
1513
- var _first$split = first.split('.'),
1514
- _first$split2 = _slicedToArray(_first$split, 2),
1515
- t = _first$split2[0],
1516
- s = _first$split2[1];
1517
-
1518
- node['tag'] = t;
1519
- s.split('+').forEach(function (i) {
1520
- node['props']['class'][i.trim()] = true;
1521
- });
1522
- } else {
1523
- node['tag'] = first;
1524
- } //- 处理 classes
1525
-
1526
-
1527
- if ('classes' in node.props) {
1528
- node.props.classes.split(' ').forEach(function (cls) {
1529
- node.props['class'][cls] = true;
1530
- });
1531
- delete node.props['classes'];
1532
- } //- 处理vmodel
1533
-
1534
-
1535
- if ('vmodel' in node.props) {
1536
- var _node$props$vmodel = _slicedToArray(node.props['vmodel'], 4),
1537
- context = _node$props$vmodel[0],
1538
- model = _node$props$vmodel[1],
1539
- modelProp = _node$props$vmodel[2],
1540
- modelEvent = _node$props$vmodel[3];
1541
-
1542
- var tag = node.tag;
1543
- var props = node.props;
1544
- var inputType = props['attrs']['type'] || props['domProps']['type'] || 'text';
1545
- var isInput = tag === 'input';
1546
- var isText = isInput && inputType === 'text' || tag === 'textarea';
1547
- var isRadio = isInput && inputType === 'radio';
1548
- var isCheckbox = isInput && inputType === 'checkbox';
1549
- var isSelect = tag === 'select';
1550
-
1551
- if (isText) {
1552
- props['domProps']['value'] = jsx.getProp(context, model);
1553
-
1554
- props['on']['input'] = function (e) {
1555
- jsx.setProp(context, model, e.target.value);
1556
- };
1557
- } else if (isRadio) {
1558
- props['domProps']['checked'] = props['attrs']['value'] === jsx.getProp(context, model) ? true : false;
1559
-
1560
- props['on']['change'] = function (e) {
1561
- jsx.setProp(context, model, e.target.value);
1562
- };
1563
- } else if (isCheckbox) {
1564
- //- 如果model是array
1565
- if (Array.isArray(jsx.getProp(context, model))) {
1566
- var value = props['attrs']['value'];
1567
- var isChecked = props['domProps']['checked'] = jsx.getProp(context, model).includes(value);
1568
-
1569
- props['on']['change'] = function () {
1570
- if (isChecked) {
1571
- jsx.getProp(context, model).splice(jsx.getProp(context, model).indexOf(value), 1);
1572
- } else {
1573
- jsx.getProp(context, model).push(value);
1574
- }
1575
- };
1576
- } else {
1577
- props['domProps']['checked'] = jsx.getProp(context, model) === true ? true : false;
1578
-
1579
- props['on']['change'] = function () {
1580
- jsx.setProp(context, model, !props['domProps']['checked']);
1581
- };
1582
- }
1583
- } else if (isSelect) {
1584
- //- 如果model是array
1585
- if (Array.isArray(jsx.getProp(context, model))) {//- 好像有点麻烦,需要反推option children
1586
- } else {
1587
- props['domProps']['value'] = jsx.getProp(context, model);
1588
-
1589
- props['on']['change'] = function (e) {
1590
- jsx.setProp(context, model, e.target.value);
1591
- };
1592
- }
1593
- } //- 假设其他都是自定义组件
1594
- else {
1595
- modelProp = modelProp || 'value';
1596
- modelEvent = modelEvent || 'input';
1597
- props['props'][modelProp] = jsx.getProp(context, model);
1598
-
1599
- props['on'][modelEvent] = function (val) {
1600
- jsx.setProp(context, model, val);
1601
- };
1602
- }
1603
-
1604
- delete node.props['vmodel'];
1605
- } // 清楚空的属性
1606
-
1607
-
1608
- ['class', 'style', 'attrs', 'props', 'domProps', 'on', 'nativeOn'].forEach(function (key) {
1609
- if (!Object.keys(node.props[key]).length) {
1610
- delete node.props[key];
1611
- }
1612
- });
1613
- return jsx.h(node.tag, node.props, node.children);
1614
- },
1615
- bind: function bind(tag) {
1616
- return function () {
1617
- for (var _len2 = arguments.length, params = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1618
- params[_key2] = arguments[_key2];
1619
- }
1620
-
1621
- if (typeof params[0] === 'string' && params[0][0] === '.') {
1622
- params[0] = tag + params[0];
1623
- } else {
1624
- params.unshift(tag);
1625
- }
1626
-
1627
- return jsx.create.apply(jsx, params);
1628
- };
1629
- }
1630
- };
1631
- 'a,b,button,dd,div,dl,dt,em,form,i,iframe,img,input,textarea,label,li,ol,optgroup,option,p,select,span,table,th,thead,tbody,tr,td,col,colgroup,ul,h1,h2,h3,h4,h5,h6'.split(',').forEach(function (tag) {
1632
- jsx[tag] = jsx.bind(tag);
1633
- });
1634
- /* harmony default export */ var src = (jsx);
1635
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1636
-
1637
-
1638
- /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
1639
-
1640
-
1641
-
1642
- /***/ })
1643
-
1644
- /******/ });
1645
- //# sourceMappingURL=vue-jsx.common.js.map