cnhis-design-vue 0.2.20-beta → 0.2.24-beta

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 (144) hide show
  1. package/lib/cui.common.js +1231 -2422
  2. package/lib/cui.umd.js +1231 -2422
  3. package/lib/cui.umd.min.js +63 -63
  4. package/package.json +2 -2
  5. package/packages/big-table/src/BigTable.vue +1 -0
  6. package/packages/big-table/src/assets/style/table-base.less +5 -0
  7. package/packages/big-table/src/components/TextOverTooltip.vue +1 -1
  8. package/packages/multi-chat/chat/index.vue +1 -1
  9. package/packages/multi-chat/components/user-status.vue +1 -1
  10. package/packages/scale-view/answerParse.vue +4 -4
  11. package/packages/select-label/label-classify.vue +129 -0
  12. package/packages/select-label/labelFormContent.vue +263 -130
  13. package/packages/select-label/select-label.vue +111 -18
  14. package/packages/table-filter/src/base-search-com/BaseSearch.vue +2 -1
  15. package/packages/table-filter/src/components/search-modal/set-classification.vue +19 -1
  16. package/packages/table-filter/src/mixins/mixins.js +10 -2
  17. package/packages/table-filter/src/quick-search/QuickSearch.vue +16 -7
  18. package/es/affix/index.js +0 -3008
  19. package/es/age/index.js +0 -3767
  20. package/es/age/style.css +0 -1
  21. package/es/alert/index.js +0 -3008
  22. package/es/anchor/index.js +0 -3021
  23. package/es/auto-complete/index.js +0 -3008
  24. package/es/avatar/index.js +0 -3008
  25. package/es/back-top/index.js +0 -3008
  26. package/es/badge/index.js +0 -3008
  27. package/es/base/index.js +0 -2896
  28. package/es/big-table/index.js +0 -19626
  29. package/es/big-table/style.css +0 -1
  30. package/es/breadcrumb/index.js +0 -3032
  31. package/es/button/index.js +0 -9128
  32. package/es/button/style.css +0 -1
  33. package/es/calendar/index.js +0 -3008
  34. package/es/captcha/index.js +0 -3618
  35. package/es/captcha/style.css +0 -1
  36. package/es/card/index.js +0 -3032
  37. package/es/carousel/index.js +0 -3008
  38. package/es/cascader/index.js +0 -3008
  39. package/es/checkbox/index.js +0 -3344
  40. package/es/checkbox/style.css +0 -1
  41. package/es/col/index.js +0 -3009
  42. package/es/collapse/index.js +0 -3021
  43. package/es/color-picker/index.js +0 -3532
  44. package/es/color-picker/style.css +0 -1
  45. package/es/comment/index.js +0 -3008
  46. package/es/config-provider/index.js +0 -3008
  47. package/es/date-picker/index.js +0 -3043
  48. package/es/descriptions/index.js +0 -3021
  49. package/es/divider/index.js +0 -3008
  50. package/es/drag-layout/index.js +0 -4814
  51. package/es/drag-layout/style.css +0 -1
  52. package/es/drawer/index.js +0 -3008
  53. package/es/dropdown/index.js +0 -3008
  54. package/es/editor/index.js +0 -3273
  55. package/es/editor/style.css +0 -1
  56. package/es/empty/index.js +0 -3008
  57. package/es/fabric-chart/index.js +0 -9844
  58. package/es/fabric-chart/style.css +0 -1
  59. package/es/form/index.js +0 -3019
  60. package/es/form-model/index.js +0 -3018
  61. package/es/grid/index.js +0 -3776
  62. package/es/icon/index.js +0 -2962
  63. package/es/img/calling.ba1a517f.png +0 -0
  64. package/es/img/failure.96c6f004.png +0 -0
  65. package/es/img/no-permission.3aa0dddb.png +0 -0
  66. package/es/img/nodata.bbccf960.png +0 -0
  67. package/es/index/index.js +0 -110944
  68. package/es/index/style.css +0 -1
  69. package/es/input/index.js +0 -4384
  70. package/es/input/style.css +0 -1
  71. package/es/input-number/index.js +0 -3008
  72. package/es/keep-cache/index.js +0 -3288
  73. package/es/layout/index.js +0 -3054
  74. package/es/list/index.js +0 -3032
  75. package/es/locale-provider/index.js +0 -3008
  76. package/es/map/index.js +0 -3677
  77. package/es/map/style.css +0 -1
  78. package/es/media/msgTip.6865f0c7.mp3 +0 -0
  79. package/es/mentions/index.js +0 -3021
  80. package/es/menu/index.js +0 -3054
  81. package/es/message/index.js +0 -2896
  82. package/es/modal/index.js +0 -2962
  83. package/es/multi-chat/index.js +0 -24268
  84. package/es/multi-chat/style.css +0 -1
  85. package/es/multi-chat-client/index.js +0 -18293
  86. package/es/multi-chat-client/style.css +0 -1
  87. package/es/multi-chat-history/index.js +0 -4571
  88. package/es/multi-chat-history/style.css +0 -1
  89. package/es/multi-chat-record/index.js +0 -4831
  90. package/es/multi-chat-record/style.css +0 -1
  91. package/es/multi-chat-setting/index.js +0 -13452
  92. package/es/multi-chat-setting/style.css +0 -1
  93. package/es/multi-chat-sip/index.js +0 -3313
  94. package/es/multi-chat-sip/style.css +0 -1
  95. package/es/notification/index.js +0 -2896
  96. package/es/page-header/index.js +0 -3008
  97. package/es/pagination/index.js +0 -3008
  98. package/es/popconfirm/index.js +0 -3008
  99. package/es/popover/index.js +0 -3008
  100. package/es/progress/index.js +0 -3008
  101. package/es/radio/index.js +0 -3335
  102. package/es/radio/style.css +0 -1
  103. package/es/rate/index.js +0 -3008
  104. package/es/result/index.js +0 -3008
  105. package/es/row/index.js +0 -3008
  106. package/es/scale-view/index.js +0 -18009
  107. package/es/scale-view/style.css +0 -1
  108. package/es/select/index.js +0 -4567
  109. package/es/select/style.css +0 -1
  110. package/es/select-label/index.js +0 -5226
  111. package/es/select-label/style.css +0 -1
  112. package/es/select-person/index.js +0 -5427
  113. package/es/select-person/style.css +0 -1
  114. package/es/skeleton/index.js +0 -3008
  115. package/es/slider/index.js +0 -3008
  116. package/es/space/index.js +0 -3008
  117. package/es/spin/index.js +0 -3008
  118. package/es/statistic/index.js +0 -3021
  119. package/es/steps/index.js +0 -3021
  120. package/es/switch/index.js +0 -3008
  121. package/es/table-filter/index.js +0 -24120
  122. package/es/table-filter/style.css +0 -1
  123. package/es/tabs/index.js +0 -3021
  124. package/es/tag/index.js +0 -3909
  125. package/es/tag/style.css +0 -1
  126. package/es/time-picker/index.js +0 -3008
  127. package/es/timeline/index.js +0 -3018
  128. package/es/tooltip/index.js +0 -3008
  129. package/es/transfer/index.js +0 -3008
  130. package/es/tree/index.js +0 -3021
  131. package/es/tree-select/index.js +0 -3021
  132. package/es/upload/index.js +0 -3008
  133. package/es/utils/UniRTCv2.js +0 -586
  134. package/es/utils/chatFetch.js +0 -85
  135. package/es/utils/clickoutside.js +0 -76
  136. package/es/utils/crypto.js +0 -40
  137. package/es/utils/kty-sdk.js +0 -1030
  138. package/es/utils/kty.min-1.0.0.js +0 -6
  139. package/es/utils/sip-device.js +0 -112
  140. package/es/utils/time-domain.js +0 -195
  141. package/es/utils/utils-map.js +0 -530
  142. package/es/utils/vexutils.js +0 -963
  143. package/es/verification-code/index.js +0 -3487
  144. package/es/verification-code/style.css +0 -1
@@ -1,3273 +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 = "9038");
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ "00ee":
91
- /***/ (function(module, exports, __webpack_require__) {
92
-
93
- var wellKnownSymbol = __webpack_require__("b622");
94
-
95
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
96
- var test = {};
97
-
98
- test[TO_STRING_TAG] = 'z';
99
-
100
- module.exports = String(test) === '[object z]';
101
-
102
-
103
- /***/ }),
104
-
105
- /***/ "0366":
106
- /***/ (function(module, exports, __webpack_require__) {
107
-
108
- var aFunction = __webpack_require__("1c0b");
109
-
110
- // optional / simple context binding
111
- module.exports = function (fn, that, length) {
112
- aFunction(fn);
113
- if (that === undefined) return fn;
114
- switch (length) {
115
- case 0: return function () {
116
- return fn.call(that);
117
- };
118
- case 1: return function (a) {
119
- return fn.call(that, a);
120
- };
121
- case 2: return function (a, b) {
122
- return fn.call(that, a, b);
123
- };
124
- case 3: return function (a, b, c) {
125
- return fn.call(that, a, b, c);
126
- };
127
- }
128
- return function (/* ...args */) {
129
- return fn.apply(that, arguments);
130
- };
131
- };
132
-
133
-
134
- /***/ }),
135
-
136
- /***/ "06cf":
137
- /***/ (function(module, exports, __webpack_require__) {
138
-
139
- var DESCRIPTORS = __webpack_require__("83ab");
140
- var propertyIsEnumerableModule = __webpack_require__("d1e7");
141
- var createPropertyDescriptor = __webpack_require__("5c6c");
142
- var toIndexedObject = __webpack_require__("fc6a");
143
- var toPropertyKey = __webpack_require__("a04b");
144
- var has = __webpack_require__("5135");
145
- var IE8_DOM_DEFINE = __webpack_require__("0cfb");
146
-
147
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
148
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
149
-
150
- // `Object.getOwnPropertyDescriptor` method
151
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
152
- exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
153
- O = toIndexedObject(O);
154
- P = toPropertyKey(P);
155
- if (IE8_DOM_DEFINE) try {
156
- return $getOwnPropertyDescriptor(O, P);
157
- } catch (error) { /* empty */ }
158
- if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
159
- };
160
-
161
-
162
- /***/ }),
163
-
164
- /***/ "0cda":
165
- /***/ (function(module, exports) {
166
-
167
- module.exports = require("core-js/modules/es.string.split.js");
168
-
169
- /***/ }),
170
-
171
- /***/ "0cfb":
172
- /***/ (function(module, exports, __webpack_require__) {
173
-
174
- var DESCRIPTORS = __webpack_require__("83ab");
175
- var fails = __webpack_require__("d039");
176
- var createElement = __webpack_require__("cc12");
177
-
178
- // Thank's IE8 for his funny defineProperty
179
- module.exports = !DESCRIPTORS && !fails(function () {
180
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
181
- return Object.defineProperty(createElement('div'), 'a', {
182
- get: function () { return 7; }
183
- }).a != 7;
184
- });
185
-
186
-
187
- /***/ }),
188
-
189
- /***/ "1840":
190
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
191
-
192
- "use strict";
193
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Editor_vue_vue_type_style_index_0_id_5eb02689_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8e8a");
194
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Editor_vue_vue_type_style_index_0_id_5eb02689_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Editor_vue_vue_type_style_index_0_id_5eb02689_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
195
- /* unused harmony reexport * */
196
-
197
-
198
- /***/ }),
199
-
200
- /***/ "19aa":
201
- /***/ (function(module, exports) {
202
-
203
- module.exports = function (it, Constructor, name) {
204
- if (!(it instanceof Constructor)) {
205
- throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
206
- } return it;
207
- };
208
-
209
-
210
- /***/ }),
211
-
212
- /***/ "1be4":
213
- /***/ (function(module, exports, __webpack_require__) {
214
-
215
- var getBuiltIn = __webpack_require__("d066");
216
-
217
- module.exports = getBuiltIn('document', 'documentElement');
218
-
219
-
220
- /***/ }),
221
-
222
- /***/ "1c0b":
223
- /***/ (function(module, exports) {
224
-
225
- module.exports = function (it) {
226
- if (typeof it != 'function') {
227
- throw TypeError(String(it) + ' is not a function');
228
- } return it;
229
- };
230
-
231
-
232
- /***/ }),
233
-
234
- /***/ "1c7e":
235
- /***/ (function(module, exports, __webpack_require__) {
236
-
237
- var wellKnownSymbol = __webpack_require__("b622");
238
-
239
- var ITERATOR = wellKnownSymbol('iterator');
240
- var SAFE_CLOSING = false;
241
-
242
- try {
243
- var called = 0;
244
- var iteratorWithReturn = {
245
- next: function () {
246
- return { done: !!called++ };
247
- },
248
- 'return': function () {
249
- SAFE_CLOSING = true;
250
- }
251
- };
252
- iteratorWithReturn[ITERATOR] = function () {
253
- return this;
254
- };
255
- // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
256
- Array.from(iteratorWithReturn, function () { throw 2; });
257
- } catch (error) { /* empty */ }
258
-
259
- module.exports = function (exec, SKIP_CLOSING) {
260
- if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
261
- var ITERATION_SUPPORT = false;
262
- try {
263
- var object = {};
264
- object[ITERATOR] = function () {
265
- return {
266
- next: function () {
267
- return { done: ITERATION_SUPPORT = true };
268
- }
269
- };
270
- };
271
- exec(object);
272
- } catch (error) { /* empty */ }
273
- return ITERATION_SUPPORT;
274
- };
275
-
276
-
277
- /***/ }),
278
-
279
- /***/ "1cdc":
280
- /***/ (function(module, exports, __webpack_require__) {
281
-
282
- var userAgent = __webpack_require__("342f");
283
-
284
- module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
285
-
286
-
287
- /***/ }),
288
-
289
- /***/ "1d80":
290
- /***/ (function(module, exports) {
291
-
292
- // `RequireObjectCoercible` abstract operation
293
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
294
- module.exports = function (it) {
295
- if (it == undefined) throw TypeError("Can't call method on " + it);
296
- return it;
297
- };
298
-
299
-
300
- /***/ }),
301
-
302
- /***/ "2266":
303
- /***/ (function(module, exports, __webpack_require__) {
304
-
305
- var anObject = __webpack_require__("825a");
306
- var isArrayIteratorMethod = __webpack_require__("e95a");
307
- var toLength = __webpack_require__("50c4");
308
- var bind = __webpack_require__("0366");
309
- var getIteratorMethod = __webpack_require__("35a1");
310
- var iteratorClose = __webpack_require__("2a62");
311
-
312
- var Result = function (stopped, result) {
313
- this.stopped = stopped;
314
- this.result = result;
315
- };
316
-
317
- module.exports = function (iterable, unboundFunction, options) {
318
- var that = options && options.that;
319
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
320
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
321
- var INTERRUPTED = !!(options && options.INTERRUPTED);
322
- var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
323
- var iterator, iterFn, index, length, result, next, step;
324
-
325
- var stop = function (condition) {
326
- if (iterator) iteratorClose(iterator);
327
- return new Result(true, condition);
328
- };
329
-
330
- var callFn = function (value) {
331
- if (AS_ENTRIES) {
332
- anObject(value);
333
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
334
- } return INTERRUPTED ? fn(value, stop) : fn(value);
335
- };
336
-
337
- if (IS_ITERATOR) {
338
- iterator = iterable;
339
- } else {
340
- iterFn = getIteratorMethod(iterable);
341
- if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
342
- // optimisation for array iterators
343
- if (isArrayIteratorMethod(iterFn)) {
344
- for (index = 0, length = toLength(iterable.length); length > index; index++) {
345
- result = callFn(iterable[index]);
346
- if (result && result instanceof Result) return result;
347
- } return new Result(false);
348
- }
349
- iterator = iterFn.call(iterable);
350
- }
351
-
352
- next = iterator.next;
353
- while (!(step = next.call(iterator)).done) {
354
- try {
355
- result = callFn(step.value);
356
- } catch (error) {
357
- iteratorClose(iterator);
358
- throw error;
359
- }
360
- if (typeof result == 'object' && result && result instanceof Result) return result;
361
- } return new Result(false);
362
- };
363
-
364
-
365
- /***/ }),
366
-
367
- /***/ "23cb":
368
- /***/ (function(module, exports, __webpack_require__) {
369
-
370
- var toInteger = __webpack_require__("a691");
371
-
372
- var max = Math.max;
373
- var min = Math.min;
374
-
375
- // Helper for a popular repeating case of the spec:
376
- // Let integer be ? ToInteger(index).
377
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
378
- module.exports = function (index, length) {
379
- var integer = toInteger(index);
380
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
381
- };
382
-
383
-
384
- /***/ }),
385
-
386
- /***/ "23e7":
387
- /***/ (function(module, exports, __webpack_require__) {
388
-
389
- var global = __webpack_require__("da84");
390
- var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
391
- var createNonEnumerableProperty = __webpack_require__("9112");
392
- var redefine = __webpack_require__("6eeb");
393
- var setGlobal = __webpack_require__("ce4e");
394
- var copyConstructorProperties = __webpack_require__("e893");
395
- var isForced = __webpack_require__("94ca");
396
-
397
- /*
398
- options.target - name of the target object
399
- options.global - target is the global object
400
- options.stat - export as static methods of target
401
- options.proto - export as prototype methods of target
402
- options.real - real prototype method for the `pure` version
403
- options.forced - export even if the native feature is available
404
- options.bind - bind methods to the target, required for the `pure` version
405
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
406
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
407
- options.sham - add a flag to not completely full polyfills
408
- options.enumerable - export as enumerable property
409
- options.noTargetGet - prevent calling a getter on target
410
- */
411
- module.exports = function (options, source) {
412
- var TARGET = options.target;
413
- var GLOBAL = options.global;
414
- var STATIC = options.stat;
415
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
416
- if (GLOBAL) {
417
- target = global;
418
- } else if (STATIC) {
419
- target = global[TARGET] || setGlobal(TARGET, {});
420
- } else {
421
- target = (global[TARGET] || {}).prototype;
422
- }
423
- if (target) for (key in source) {
424
- sourceProperty = source[key];
425
- if (options.noTargetGet) {
426
- descriptor = getOwnPropertyDescriptor(target, key);
427
- targetProperty = descriptor && descriptor.value;
428
- } else targetProperty = target[key];
429
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
430
- // contained in target
431
- if (!FORCED && targetProperty !== undefined) {
432
- if (typeof sourceProperty === typeof targetProperty) continue;
433
- copyConstructorProperties(sourceProperty, targetProperty);
434
- }
435
- // add a flag to not completely full polyfills
436
- if (options.sham || (targetProperty && targetProperty.sham)) {
437
- createNonEnumerableProperty(sourceProperty, 'sham', true);
438
- }
439
- // extend global
440
- redefine(target, key, sourceProperty, options);
441
- }
442
- };
443
-
444
-
445
- /***/ }),
446
-
447
- /***/ "241c":
448
- /***/ (function(module, exports, __webpack_require__) {
449
-
450
- var internalObjectKeys = __webpack_require__("ca84");
451
- var enumBugKeys = __webpack_require__("7839");
452
-
453
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
454
-
455
- // `Object.getOwnPropertyNames` method
456
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
457
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
458
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
459
- return internalObjectKeys(O, hiddenKeys);
460
- };
461
-
462
-
463
- /***/ }),
464
-
465
- /***/ "2626":
466
- /***/ (function(module, exports, __webpack_require__) {
467
-
468
- "use strict";
469
-
470
- var getBuiltIn = __webpack_require__("d066");
471
- var definePropertyModule = __webpack_require__("9bf2");
472
- var wellKnownSymbol = __webpack_require__("b622");
473
- var DESCRIPTORS = __webpack_require__("83ab");
474
-
475
- var SPECIES = wellKnownSymbol('species');
476
-
477
- module.exports = function (CONSTRUCTOR_NAME) {
478
- var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
479
- var defineProperty = definePropertyModule.f;
480
-
481
- if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
482
- defineProperty(Constructor, SPECIES, {
483
- configurable: true,
484
- get: function () { return this; }
485
- });
486
- }
487
- };
488
-
489
-
490
- /***/ }),
491
-
492
- /***/ "2871":
493
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
494
-
495
- "use strict";
496
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return KEY_COMPONENT_NAME; });
497
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GROUP_TITLE_KEY; });
498
- var KEY_COMPONENT_NAME = 'c-';
499
- var GROUP_TITLE_KEY = 'group-show-title';
500
-
501
- /***/ }),
502
-
503
- /***/ "2877":
504
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
505
-
506
- "use strict";
507
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
508
- /* globals __VUE_SSR_CONTEXT__ */
509
-
510
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
511
- // This module is a runtime utility for cleaner component module output and will
512
- // be included in the final webpack user bundle.
513
-
514
- function normalizeComponent (
515
- scriptExports,
516
- render,
517
- staticRenderFns,
518
- functionalTemplate,
519
- injectStyles,
520
- scopeId,
521
- moduleIdentifier, /* server only */
522
- shadowMode /* vue-cli only */
523
- ) {
524
- // Vue.extend constructor export interop
525
- var options = typeof scriptExports === 'function'
526
- ? scriptExports.options
527
- : scriptExports
528
-
529
- // render functions
530
- if (render) {
531
- options.render = render
532
- options.staticRenderFns = staticRenderFns
533
- options._compiled = true
534
- }
535
-
536
- // functional template
537
- if (functionalTemplate) {
538
- options.functional = true
539
- }
540
-
541
- // scopedId
542
- if (scopeId) {
543
- options._scopeId = 'data-v-' + scopeId
544
- }
545
-
546
- var hook
547
- if (moduleIdentifier) { // server build
548
- hook = function (context) {
549
- // 2.3 injection
550
- context =
551
- context || // cached call
552
- (this.$vnode && this.$vnode.ssrContext) || // stateful
553
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
554
- // 2.2 with runInNewContext: true
555
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
556
- context = __VUE_SSR_CONTEXT__
557
- }
558
- // inject component styles
559
- if (injectStyles) {
560
- injectStyles.call(this, context)
561
- }
562
- // register component module identifier for async chunk inferrence
563
- if (context && context._registeredComponents) {
564
- context._registeredComponents.add(moduleIdentifier)
565
- }
566
- }
567
- // used by ssr in case component is cached and beforeCreate
568
- // never gets called
569
- options._ssrRegister = hook
570
- } else if (injectStyles) {
571
- hook = shadowMode
572
- ? function () {
573
- injectStyles.call(
574
- this,
575
- (options.functional ? this.parent : this).$root.$options.shadowRoot
576
- )
577
- }
578
- : injectStyles
579
- }
580
-
581
- if (hook) {
582
- if (options.functional) {
583
- // for template-only hot-reload because in that case the render fn doesn't
584
- // go through the normalizer
585
- options._injectStyles = hook
586
- // register for functional component in vue file
587
- var originalRender = options.render
588
- options.render = function renderWithStyleInjection (h, context) {
589
- hook.call(context)
590
- return originalRender(h, context)
591
- }
592
- } else {
593
- // inject component registration as beforeCreate hook
594
- var existing = options.beforeCreate
595
- options.beforeCreate = existing
596
- ? [].concat(existing, hook)
597
- : [hook]
598
- }
599
- }
600
-
601
- return {
602
- exports: scriptExports,
603
- options: options
604
- }
605
- }
606
-
607
-
608
- /***/ }),
609
-
610
- /***/ "2a62":
611
- /***/ (function(module, exports, __webpack_require__) {
612
-
613
- var anObject = __webpack_require__("825a");
614
-
615
- module.exports = function (iterator) {
616
- var returnMethod = iterator['return'];
617
- if (returnMethod !== undefined) {
618
- return anObject(returnMethod.call(iterator)).value;
619
- }
620
- };
621
-
622
-
623
- /***/ }),
624
-
625
- /***/ "2cf4":
626
- /***/ (function(module, exports, __webpack_require__) {
627
-
628
- var global = __webpack_require__("da84");
629
- var fails = __webpack_require__("d039");
630
- var bind = __webpack_require__("0366");
631
- var html = __webpack_require__("1be4");
632
- var createElement = __webpack_require__("cc12");
633
- var IS_IOS = __webpack_require__("1cdc");
634
- var IS_NODE = __webpack_require__("605d");
635
-
636
- var set = global.setImmediate;
637
- var clear = global.clearImmediate;
638
- var process = global.process;
639
- var MessageChannel = global.MessageChannel;
640
- var Dispatch = global.Dispatch;
641
- var counter = 0;
642
- var queue = {};
643
- var ONREADYSTATECHANGE = 'onreadystatechange';
644
- var location, defer, channel, port;
645
-
646
- try {
647
- // Deno throws a ReferenceError on `location` access without `--location` flag
648
- location = global.location;
649
- } catch (error) { /* empty */ }
650
-
651
- var run = function (id) {
652
- // eslint-disable-next-line no-prototype-builtins -- safe
653
- if (queue.hasOwnProperty(id)) {
654
- var fn = queue[id];
655
- delete queue[id];
656
- fn();
657
- }
658
- };
659
-
660
- var runner = function (id) {
661
- return function () {
662
- run(id);
663
- };
664
- };
665
-
666
- var listener = function (event) {
667
- run(event.data);
668
- };
669
-
670
- var post = function (id) {
671
- // old engines have not location.origin
672
- global.postMessage(String(id), location.protocol + '//' + location.host);
673
- };
674
-
675
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
676
- if (!set || !clear) {
677
- set = function setImmediate(fn) {
678
- var args = [];
679
- var argumentsLength = arguments.length;
680
- var i = 1;
681
- while (argumentsLength > i) args.push(arguments[i++]);
682
- queue[++counter] = function () {
683
- // eslint-disable-next-line no-new-func -- spec requirement
684
- (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
685
- };
686
- defer(counter);
687
- return counter;
688
- };
689
- clear = function clearImmediate(id) {
690
- delete queue[id];
691
- };
692
- // Node.js 0.8-
693
- if (IS_NODE) {
694
- defer = function (id) {
695
- process.nextTick(runner(id));
696
- };
697
- // Sphere (JS game engine) Dispatch API
698
- } else if (Dispatch && Dispatch.now) {
699
- defer = function (id) {
700
- Dispatch.now(runner(id));
701
- };
702
- // Browsers with MessageChannel, includes WebWorkers
703
- // except iOS - https://github.com/zloirock/core-js/issues/624
704
- } else if (MessageChannel && !IS_IOS) {
705
- channel = new MessageChannel();
706
- port = channel.port2;
707
- channel.port1.onmessage = listener;
708
- defer = bind(port.postMessage, port, 1);
709
- // Browsers with postMessage, skip WebWorkers
710
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
711
- } else if (
712
- global.addEventListener &&
713
- typeof postMessage == 'function' &&
714
- !global.importScripts &&
715
- location && location.protocol !== 'file:' &&
716
- !fails(post)
717
- ) {
718
- defer = post;
719
- global.addEventListener('message', listener, false);
720
- // IE8-
721
- } else if (ONREADYSTATECHANGE in createElement('script')) {
722
- defer = function (id) {
723
- html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
724
- html.removeChild(this);
725
- run(id);
726
- };
727
- };
728
- // Rest old browsers
729
- } else {
730
- defer = function (id) {
731
- setTimeout(runner(id), 0);
732
- };
733
- }
734
- }
735
-
736
- module.exports = {
737
- set: set,
738
- clear: clear
739
- };
740
-
741
-
742
- /***/ }),
743
-
744
- /***/ "2d00":
745
- /***/ (function(module, exports, __webpack_require__) {
746
-
747
- var global = __webpack_require__("da84");
748
- var userAgent = __webpack_require__("342f");
749
-
750
- var process = global.process;
751
- var Deno = global.Deno;
752
- var versions = process && process.versions || Deno && Deno.version;
753
- var v8 = versions && versions.v8;
754
- var match, version;
755
-
756
- if (v8) {
757
- match = v8.split('.');
758
- version = match[0] < 4 ? 1 : match[0] + match[1];
759
- } else if (userAgent) {
760
- match = userAgent.match(/Edge\/(\d+)/);
761
- if (!match || match[1] >= 74) {
762
- match = userAgent.match(/Chrome\/(\d+)/);
763
- if (match) version = match[1];
764
- }
765
- }
766
-
767
- module.exports = version && +version;
768
-
769
-
770
- /***/ }),
771
-
772
- /***/ "30df":
773
- /***/ (function(module, exports) {
774
-
775
- module.exports = require("core-js/modules/es.regexp.to-string.js");
776
-
777
- /***/ }),
778
-
779
- /***/ "342f":
780
- /***/ (function(module, exports, __webpack_require__) {
781
-
782
- var getBuiltIn = __webpack_require__("d066");
783
-
784
- module.exports = getBuiltIn('navigator', 'userAgent') || '';
785
-
786
-
787
- /***/ }),
788
-
789
- /***/ "35a1":
790
- /***/ (function(module, exports, __webpack_require__) {
791
-
792
- var classof = __webpack_require__("f5df");
793
- var Iterators = __webpack_require__("3f8c");
794
- var wellKnownSymbol = __webpack_require__("b622");
795
-
796
- var ITERATOR = wellKnownSymbol('iterator');
797
-
798
- module.exports = function (it) {
799
- if (it != undefined) return it[ITERATOR]
800
- || it['@@iterator']
801
- || Iterators[classof(it)];
802
- };
803
-
804
-
805
- /***/ }),
806
-
807
- /***/ "37e8":
808
- /***/ (function(module, exports, __webpack_require__) {
809
-
810
- var DESCRIPTORS = __webpack_require__("83ab");
811
- var definePropertyModule = __webpack_require__("9bf2");
812
- var anObject = __webpack_require__("825a");
813
- var objectKeys = __webpack_require__("df75");
814
-
815
- // `Object.defineProperties` method
816
- // https://tc39.es/ecma262/#sec-object.defineproperties
817
- // eslint-disable-next-line es/no-object-defineproperties -- safe
818
- module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
819
- anObject(O);
820
- var keys = objectKeys(Properties);
821
- var length = keys.length;
822
- var index = 0;
823
- var key;
824
- while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
825
- return O;
826
- };
827
-
828
-
829
- /***/ }),
830
-
831
- /***/ "3bbe":
832
- /***/ (function(module, exports, __webpack_require__) {
833
-
834
- var isObject = __webpack_require__("861d");
835
-
836
- module.exports = function (it) {
837
- if (!isObject(it) && it !== null) {
838
- throw TypeError("Can't set " + String(it) + ' as a prototype');
839
- } return it;
840
- };
841
-
842
-
843
- /***/ }),
844
-
845
- /***/ "3f8c":
846
- /***/ (function(module, exports) {
847
-
848
- module.exports = {};
849
-
850
-
851
- /***/ }),
852
-
853
- /***/ "44ad":
854
- /***/ (function(module, exports, __webpack_require__) {
855
-
856
- var fails = __webpack_require__("d039");
857
- var classof = __webpack_require__("c6b6");
858
-
859
- var split = ''.split;
860
-
861
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
862
- module.exports = fails(function () {
863
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
864
- // eslint-disable-next-line no-prototype-builtins -- safe
865
- return !Object('z').propertyIsEnumerable(0);
866
- }) ? function (it) {
867
- return classof(it) == 'String' ? split.call(it, '') : Object(it);
868
- } : Object;
869
-
870
-
871
- /***/ }),
872
-
873
- /***/ "44d2":
874
- /***/ (function(module, exports, __webpack_require__) {
875
-
876
- var wellKnownSymbol = __webpack_require__("b622");
877
- var create = __webpack_require__("7c73");
878
- var definePropertyModule = __webpack_require__("9bf2");
879
-
880
- var UNSCOPABLES = wellKnownSymbol('unscopables');
881
- var ArrayPrototype = Array.prototype;
882
-
883
- // Array.prototype[@@unscopables]
884
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
885
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
886
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
887
- configurable: true,
888
- value: create(null)
889
- });
890
- }
891
-
892
- // add a key to Array.prototype[@@unscopables]
893
- module.exports = function (key) {
894
- ArrayPrototype[UNSCOPABLES][key] = true;
895
- };
896
-
897
-
898
- /***/ }),
899
-
900
- /***/ "44de":
901
- /***/ (function(module, exports, __webpack_require__) {
902
-
903
- var global = __webpack_require__("da84");
904
-
905
- module.exports = function (a, b) {
906
- var console = global.console;
907
- if (console && console.error) {
908
- arguments.length === 1 ? console.error(a) : console.error(a, b);
909
- }
910
- };
911
-
912
-
913
- /***/ }),
914
-
915
- /***/ "4840":
916
- /***/ (function(module, exports, __webpack_require__) {
917
-
918
- var anObject = __webpack_require__("825a");
919
- var aFunction = __webpack_require__("1c0b");
920
- var wellKnownSymbol = __webpack_require__("b622");
921
-
922
- var SPECIES = wellKnownSymbol('species');
923
-
924
- // `SpeciesConstructor` abstract operation
925
- // https://tc39.es/ecma262/#sec-speciesconstructor
926
- module.exports = function (O, defaultConstructor) {
927
- var C = anObject(O).constructor;
928
- var S;
929
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
930
- };
931
-
932
-
933
- /***/ }),
934
-
935
- /***/ "485a":
936
- /***/ (function(module, exports, __webpack_require__) {
937
-
938
- var isObject = __webpack_require__("861d");
939
-
940
- // `OrdinaryToPrimitive` abstract operation
941
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
942
- module.exports = function (input, pref) {
943
- var fn, val;
944
- if (pref === 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
945
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
946
- if (pref !== 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
947
- throw TypeError("Can't convert object to primitive value");
948
- };
949
-
950
-
951
- /***/ }),
952
-
953
- /***/ "4930":
954
- /***/ (function(module, exports, __webpack_require__) {
955
-
956
- /* eslint-disable es/no-symbol -- required for testing */
957
- var V8_VERSION = __webpack_require__("2d00");
958
- var fails = __webpack_require__("d039");
959
-
960
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
961
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
962
- var symbol = Symbol();
963
- // Chrome 38 Symbol has incorrect toString conversion
964
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
965
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
966
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
967
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
968
- });
969
-
970
-
971
- /***/ }),
972
-
973
- /***/ "4d64":
974
- /***/ (function(module, exports, __webpack_require__) {
975
-
976
- var toIndexedObject = __webpack_require__("fc6a");
977
- var toLength = __webpack_require__("50c4");
978
- var toAbsoluteIndex = __webpack_require__("23cb");
979
-
980
- // `Array.prototype.{ indexOf, includes }` methods implementation
981
- var createMethod = function (IS_INCLUDES) {
982
- return function ($this, el, fromIndex) {
983
- var O = toIndexedObject($this);
984
- var length = toLength(O.length);
985
- var index = toAbsoluteIndex(fromIndex, length);
986
- var value;
987
- // Array#includes uses SameValueZero equality algorithm
988
- // eslint-disable-next-line no-self-compare -- NaN check
989
- if (IS_INCLUDES && el != el) while (length > index) {
990
- value = O[index++];
991
- // eslint-disable-next-line no-self-compare -- NaN check
992
- if (value != value) return true;
993
- // Array#indexOf ignores holes, Array#includes - not
994
- } else for (;length > index; index++) {
995
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
996
- } return !IS_INCLUDES && -1;
997
- };
998
- };
999
-
1000
- module.exports = {
1001
- // `Array.prototype.includes` method
1002
- // https://tc39.es/ecma262/#sec-array.prototype.includes
1003
- includes: createMethod(true),
1004
- // `Array.prototype.indexOf` method
1005
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
1006
- indexOf: createMethod(false)
1007
- };
1008
-
1009
-
1010
- /***/ }),
1011
-
1012
- /***/ "50c4":
1013
- /***/ (function(module, exports, __webpack_require__) {
1014
-
1015
- var toInteger = __webpack_require__("a691");
1016
-
1017
- var min = Math.min;
1018
-
1019
- // `ToLength` abstract operation
1020
- // https://tc39.es/ecma262/#sec-tolength
1021
- module.exports = function (argument) {
1022
- return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1023
- };
1024
-
1025
-
1026
- /***/ }),
1027
-
1028
- /***/ "5135":
1029
- /***/ (function(module, exports, __webpack_require__) {
1030
-
1031
- var toObject = __webpack_require__("7b0b");
1032
-
1033
- var hasOwnProperty = {}.hasOwnProperty;
1034
-
1035
- module.exports = Object.hasOwn || function hasOwn(it, key) {
1036
- return hasOwnProperty.call(toObject(it), key);
1037
- };
1038
-
1039
-
1040
- /***/ }),
1041
-
1042
- /***/ "5692":
1043
- /***/ (function(module, exports, __webpack_require__) {
1044
-
1045
- var IS_PURE = __webpack_require__("c430");
1046
- var store = __webpack_require__("c6cd");
1047
-
1048
- (module.exports = function (key, value) {
1049
- return store[key] || (store[key] = value !== undefined ? value : {});
1050
- })('versions', []).push({
1051
- version: '3.16.3',
1052
- mode: IS_PURE ? 'pure' : 'global',
1053
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1054
- });
1055
-
1056
-
1057
- /***/ }),
1058
-
1059
- /***/ "56ef":
1060
- /***/ (function(module, exports, __webpack_require__) {
1061
-
1062
- var getBuiltIn = __webpack_require__("d066");
1063
- var getOwnPropertyNamesModule = __webpack_require__("241c");
1064
- var getOwnPropertySymbolsModule = __webpack_require__("7418");
1065
- var anObject = __webpack_require__("825a");
1066
-
1067
- // all object keys, includes non-enumerable and symbols
1068
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1069
- var keys = getOwnPropertyNamesModule.f(anObject(it));
1070
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1071
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
1072
- };
1073
-
1074
-
1075
- /***/ }),
1076
-
1077
- /***/ "5c6c":
1078
- /***/ (function(module, exports) {
1079
-
1080
- module.exports = function (bitmap, value) {
1081
- return {
1082
- enumerable: !(bitmap & 1),
1083
- configurable: !(bitmap & 2),
1084
- writable: !(bitmap & 4),
1085
- value: value
1086
- };
1087
- };
1088
-
1089
-
1090
- /***/ }),
1091
-
1092
- /***/ "605d":
1093
- /***/ (function(module, exports, __webpack_require__) {
1094
-
1095
- var classof = __webpack_require__("c6b6");
1096
- var global = __webpack_require__("da84");
1097
-
1098
- module.exports = classof(global.process) == 'process';
1099
-
1100
-
1101
- /***/ }),
1102
-
1103
- /***/ "6069":
1104
- /***/ (function(module, exports) {
1105
-
1106
- module.exports = typeof window == 'object';
1107
-
1108
-
1109
- /***/ }),
1110
-
1111
- /***/ "60da":
1112
- /***/ (function(module, exports, __webpack_require__) {
1113
-
1114
- "use strict";
1115
-
1116
- var DESCRIPTORS = __webpack_require__("83ab");
1117
- var fails = __webpack_require__("d039");
1118
- var objectKeys = __webpack_require__("df75");
1119
- var getOwnPropertySymbolsModule = __webpack_require__("7418");
1120
- var propertyIsEnumerableModule = __webpack_require__("d1e7");
1121
- var toObject = __webpack_require__("7b0b");
1122
- var IndexedObject = __webpack_require__("44ad");
1123
-
1124
- // eslint-disable-next-line es/no-object-assign -- safe
1125
- var $assign = Object.assign;
1126
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1127
- var defineProperty = Object.defineProperty;
1128
-
1129
- // `Object.assign` method
1130
- // https://tc39.es/ecma262/#sec-object.assign
1131
- module.exports = !$assign || fails(function () {
1132
- // should have correct order of operations (Edge bug)
1133
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1134
- enumerable: true,
1135
- get: function () {
1136
- defineProperty(this, 'b', {
1137
- value: 3,
1138
- enumerable: false
1139
- });
1140
- }
1141
- }), { b: 2 })).b !== 1) return true;
1142
- // should work with symbols and should have deterministic property order (V8 bug)
1143
- var A = {};
1144
- var B = {};
1145
- // eslint-disable-next-line es/no-symbol -- safe
1146
- var symbol = Symbol();
1147
- var alphabet = 'abcdefghijklmnopqrst';
1148
- A[symbol] = 7;
1149
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1150
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1151
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1152
- var T = toObject(target);
1153
- var argumentsLength = arguments.length;
1154
- var index = 1;
1155
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1156
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1157
- while (argumentsLength > index) {
1158
- var S = IndexedObject(arguments[index++]);
1159
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
1160
- var length = keys.length;
1161
- var j = 0;
1162
- var key;
1163
- while (length > j) {
1164
- key = keys[j++];
1165
- if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1166
- }
1167
- } return T;
1168
- } : $assign;
1169
-
1170
-
1171
- /***/ }),
1172
-
1173
- /***/ "6378":
1174
- /***/ (function(module, exports) {
1175
-
1176
- module.exports = require("core-js/modules/es.string.replace.js");
1177
-
1178
- /***/ }),
1179
-
1180
- /***/ "69f3":
1181
- /***/ (function(module, exports, __webpack_require__) {
1182
-
1183
- var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
1184
- var global = __webpack_require__("da84");
1185
- var isObject = __webpack_require__("861d");
1186
- var createNonEnumerableProperty = __webpack_require__("9112");
1187
- var objectHas = __webpack_require__("5135");
1188
- var shared = __webpack_require__("c6cd");
1189
- var sharedKey = __webpack_require__("f772");
1190
- var hiddenKeys = __webpack_require__("d012");
1191
-
1192
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1193
- var WeakMap = global.WeakMap;
1194
- var set, get, has;
1195
-
1196
- var enforce = function (it) {
1197
- return has(it) ? get(it) : set(it, {});
1198
- };
1199
-
1200
- var getterFor = function (TYPE) {
1201
- return function (it) {
1202
- var state;
1203
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
1204
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
1205
- } return state;
1206
- };
1207
- };
1208
-
1209
- if (NATIVE_WEAK_MAP || shared.state) {
1210
- var store = shared.state || (shared.state = new WeakMap());
1211
- var wmget = store.get;
1212
- var wmhas = store.has;
1213
- var wmset = store.set;
1214
- set = function (it, metadata) {
1215
- if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
1216
- metadata.facade = it;
1217
- wmset.call(store, it, metadata);
1218
- return metadata;
1219
- };
1220
- get = function (it) {
1221
- return wmget.call(store, it) || {};
1222
- };
1223
- has = function (it) {
1224
- return wmhas.call(store, it);
1225
- };
1226
- } else {
1227
- var STATE = sharedKey('state');
1228
- hiddenKeys[STATE] = true;
1229
- set = function (it, metadata) {
1230
- if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
1231
- metadata.facade = it;
1232
- createNonEnumerableProperty(it, STATE, metadata);
1233
- return metadata;
1234
- };
1235
- get = function (it) {
1236
- return objectHas(it, STATE) ? it[STATE] : {};
1237
- };
1238
- has = function (it) {
1239
- return objectHas(it, STATE);
1240
- };
1241
- }
1242
-
1243
- module.exports = {
1244
- set: set,
1245
- get: get,
1246
- has: has,
1247
- enforce: enforce,
1248
- getterFor: getterFor
1249
- };
1250
-
1251
-
1252
- /***/ }),
1253
-
1254
- /***/ "6eeb":
1255
- /***/ (function(module, exports, __webpack_require__) {
1256
-
1257
- var global = __webpack_require__("da84");
1258
- var createNonEnumerableProperty = __webpack_require__("9112");
1259
- var has = __webpack_require__("5135");
1260
- var setGlobal = __webpack_require__("ce4e");
1261
- var inspectSource = __webpack_require__("8925");
1262
- var InternalStateModule = __webpack_require__("69f3");
1263
-
1264
- var getInternalState = InternalStateModule.get;
1265
- var enforceInternalState = InternalStateModule.enforce;
1266
- var TEMPLATE = String(String).split('String');
1267
-
1268
- (module.exports = function (O, key, value, options) {
1269
- var unsafe = options ? !!options.unsafe : false;
1270
- var simple = options ? !!options.enumerable : false;
1271
- var noTargetGet = options ? !!options.noTargetGet : false;
1272
- var state;
1273
- if (typeof value == 'function') {
1274
- if (typeof key == 'string' && !has(value, 'name')) {
1275
- createNonEnumerableProperty(value, 'name', key);
1276
- }
1277
- state = enforceInternalState(value);
1278
- if (!state.source) {
1279
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
1280
- }
1281
- }
1282
- if (O === global) {
1283
- if (simple) O[key] = value;
1284
- else setGlobal(key, value);
1285
- return;
1286
- } else if (!unsafe) {
1287
- delete O[key];
1288
- } else if (!noTargetGet && O[key]) {
1289
- simple = true;
1290
- }
1291
- if (simple) O[key] = value;
1292
- else createNonEnumerableProperty(O, key, value);
1293
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1294
- })(Function.prototype, 'toString', function toString() {
1295
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
1296
- });
1297
-
1298
-
1299
- /***/ }),
1300
-
1301
- /***/ "7418":
1302
- /***/ (function(module, exports) {
1303
-
1304
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1305
- exports.f = Object.getOwnPropertySymbols;
1306
-
1307
-
1308
- /***/ }),
1309
-
1310
- /***/ "7839":
1311
- /***/ (function(module, exports) {
1312
-
1313
- // IE8- don't enum bug keys
1314
- module.exports = [
1315
- 'constructor',
1316
- 'hasOwnProperty',
1317
- 'isPrototypeOf',
1318
- 'propertyIsEnumerable',
1319
- 'toLocaleString',
1320
- 'toString',
1321
- 'valueOf'
1322
- ];
1323
-
1324
-
1325
- /***/ }),
1326
-
1327
- /***/ "7b0b":
1328
- /***/ (function(module, exports, __webpack_require__) {
1329
-
1330
- var requireObjectCoercible = __webpack_require__("1d80");
1331
-
1332
- // `ToObject` abstract operation
1333
- // https://tc39.es/ecma262/#sec-toobject
1334
- module.exports = function (argument) {
1335
- return Object(requireObjectCoercible(argument));
1336
- };
1337
-
1338
-
1339
- /***/ }),
1340
-
1341
- /***/ "7c73":
1342
- /***/ (function(module, exports, __webpack_require__) {
1343
-
1344
- /* global ActiveXObject -- old IE, WSH */
1345
- var anObject = __webpack_require__("825a");
1346
- var defineProperties = __webpack_require__("37e8");
1347
- var enumBugKeys = __webpack_require__("7839");
1348
- var hiddenKeys = __webpack_require__("d012");
1349
- var html = __webpack_require__("1be4");
1350
- var documentCreateElement = __webpack_require__("cc12");
1351
- var sharedKey = __webpack_require__("f772");
1352
-
1353
- var GT = '>';
1354
- var LT = '<';
1355
- var PROTOTYPE = 'prototype';
1356
- var SCRIPT = 'script';
1357
- var IE_PROTO = sharedKey('IE_PROTO');
1358
-
1359
- var EmptyConstructor = function () { /* empty */ };
1360
-
1361
- var scriptTag = function (content) {
1362
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1363
- };
1364
-
1365
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1366
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1367
- activeXDocument.write(scriptTag(''));
1368
- activeXDocument.close();
1369
- var temp = activeXDocument.parentWindow.Object;
1370
- activeXDocument = null; // avoid memory leak
1371
- return temp;
1372
- };
1373
-
1374
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1375
- var NullProtoObjectViaIFrame = function () {
1376
- // Thrash, waste and sodomy: IE GC bug
1377
- var iframe = documentCreateElement('iframe');
1378
- var JS = 'java' + SCRIPT + ':';
1379
- var iframeDocument;
1380
- iframe.style.display = 'none';
1381
- html.appendChild(iframe);
1382
- // https://github.com/zloirock/core-js/issues/475
1383
- iframe.src = String(JS);
1384
- iframeDocument = iframe.contentWindow.document;
1385
- iframeDocument.open();
1386
- iframeDocument.write(scriptTag('document.F=Object'));
1387
- iframeDocument.close();
1388
- return iframeDocument.F;
1389
- };
1390
-
1391
- // Check for document.domain and active x support
1392
- // No need to use active x approach when document.domain is not set
1393
- // see https://github.com/es-shims/es5-shim/issues/150
1394
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1395
- // avoid IE GC bug
1396
- var activeXDocument;
1397
- var NullProtoObject = function () {
1398
- try {
1399
- activeXDocument = new ActiveXObject('htmlfile');
1400
- } catch (error) { /* ignore */ }
1401
- NullProtoObject = typeof document != 'undefined'
1402
- ? document.domain && activeXDocument
1403
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1404
- : NullProtoObjectViaIFrame()
1405
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1406
- var length = enumBugKeys.length;
1407
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1408
- return NullProtoObject();
1409
- };
1410
-
1411
- hiddenKeys[IE_PROTO] = true;
1412
-
1413
- // `Object.create` method
1414
- // https://tc39.es/ecma262/#sec-object.create
1415
- module.exports = Object.create || function create(O, Properties) {
1416
- var result;
1417
- if (O !== null) {
1418
- EmptyConstructor[PROTOTYPE] = anObject(O);
1419
- result = new EmptyConstructor();
1420
- EmptyConstructor[PROTOTYPE] = null;
1421
- // add "__proto__" for Object.getPrototypeOf polyfill
1422
- result[IE_PROTO] = O;
1423
- } else result = NullProtoObject();
1424
- return Properties === undefined ? result : defineProperties(result, Properties);
1425
- };
1426
-
1427
-
1428
- /***/ }),
1429
-
1430
- /***/ "7dd0":
1431
- /***/ (function(module, exports, __webpack_require__) {
1432
-
1433
- "use strict";
1434
-
1435
- var $ = __webpack_require__("23e7");
1436
- var createIteratorConstructor = __webpack_require__("9ed3");
1437
- var getPrototypeOf = __webpack_require__("e163");
1438
- var setPrototypeOf = __webpack_require__("d2bb");
1439
- var setToStringTag = __webpack_require__("d44e");
1440
- var createNonEnumerableProperty = __webpack_require__("9112");
1441
- var redefine = __webpack_require__("6eeb");
1442
- var wellKnownSymbol = __webpack_require__("b622");
1443
- var IS_PURE = __webpack_require__("c430");
1444
- var Iterators = __webpack_require__("3f8c");
1445
- var IteratorsCore = __webpack_require__("ae93");
1446
-
1447
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
1448
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1449
- var ITERATOR = wellKnownSymbol('iterator');
1450
- var KEYS = 'keys';
1451
- var VALUES = 'values';
1452
- var ENTRIES = 'entries';
1453
-
1454
- var returnThis = function () { return this; };
1455
-
1456
- module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1457
- createIteratorConstructor(IteratorConstructor, NAME, next);
1458
-
1459
- var getIterationMethod = function (KIND) {
1460
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1461
- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
1462
- switch (KIND) {
1463
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1464
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1465
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1466
- } return function () { return new IteratorConstructor(this); };
1467
- };
1468
-
1469
- var TO_STRING_TAG = NAME + ' Iterator';
1470
- var INCORRECT_VALUES_NAME = false;
1471
- var IterablePrototype = Iterable.prototype;
1472
- var nativeIterator = IterablePrototype[ITERATOR]
1473
- || IterablePrototype['@@iterator']
1474
- || DEFAULT && IterablePrototype[DEFAULT];
1475
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1476
- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1477
- var CurrentIteratorPrototype, methods, KEY;
1478
-
1479
- // fix native
1480
- if (anyNativeIterator) {
1481
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1482
- if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1483
- if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1484
- if (setPrototypeOf) {
1485
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1486
- } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
1487
- createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
1488
- }
1489
- }
1490
- // Set @@toStringTag to native iterators
1491
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
1492
- if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
1493
- }
1494
- }
1495
-
1496
- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1497
- if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1498
- INCORRECT_VALUES_NAME = true;
1499
- defaultIterator = function values() { return nativeIterator.call(this); };
1500
- }
1501
-
1502
- // define iterator
1503
- if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
1504
- createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
1505
- }
1506
- Iterators[NAME] = defaultIterator;
1507
-
1508
- // export additional methods
1509
- if (DEFAULT) {
1510
- methods = {
1511
- values: getIterationMethod(VALUES),
1512
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1513
- entries: getIterationMethod(ENTRIES)
1514
- };
1515
- if (FORCED) for (KEY in methods) {
1516
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1517
- redefine(IterablePrototype, KEY, methods[KEY]);
1518
- }
1519
- } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1520
- }
1521
-
1522
- return methods;
1523
- };
1524
-
1525
-
1526
- /***/ }),
1527
-
1528
- /***/ "7f9a":
1529
- /***/ (function(module, exports, __webpack_require__) {
1530
-
1531
- var global = __webpack_require__("da84");
1532
- var inspectSource = __webpack_require__("8925");
1533
-
1534
- var WeakMap = global.WeakMap;
1535
-
1536
- module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
1537
-
1538
-
1539
- /***/ }),
1540
-
1541
- /***/ "825a":
1542
- /***/ (function(module, exports, __webpack_require__) {
1543
-
1544
- var isObject = __webpack_require__("861d");
1545
-
1546
- module.exports = function (it) {
1547
- if (!isObject(it)) {
1548
- throw TypeError(String(it) + ' is not an object');
1549
- } return it;
1550
- };
1551
-
1552
-
1553
- /***/ }),
1554
-
1555
- /***/ "83ab":
1556
- /***/ (function(module, exports, __webpack_require__) {
1557
-
1558
- var fails = __webpack_require__("d039");
1559
-
1560
- // Detect IE8's incomplete defineProperty implementation
1561
- module.exports = !fails(function () {
1562
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1563
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
1564
- });
1565
-
1566
-
1567
- /***/ }),
1568
-
1569
- /***/ "861d":
1570
- /***/ (function(module, exports) {
1571
-
1572
- module.exports = function (it) {
1573
- return typeof it === 'object' ? it !== null : typeof it === 'function';
1574
- };
1575
-
1576
-
1577
- /***/ }),
1578
-
1579
- /***/ "8925":
1580
- /***/ (function(module, exports, __webpack_require__) {
1581
-
1582
- var store = __webpack_require__("c6cd");
1583
-
1584
- var functionToString = Function.toString;
1585
-
1586
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1587
- if (typeof store.inspectSource != 'function') {
1588
- store.inspectSource = function (it) {
1589
- return functionToString.call(it);
1590
- };
1591
- }
1592
-
1593
- module.exports = store.inspectSource;
1594
-
1595
-
1596
- /***/ }),
1597
-
1598
- /***/ "8aef":
1599
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1600
-
1601
- "use strict";
1602
- /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("db0a");
1603
- /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__);
1604
- /* harmony import */ var _global_variable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("2871");
1605
-
1606
-
1607
- /* harmony default export */ __webpack_exports__["a"] = (function (vm) {
1608
- vm.name = _global_variable__WEBPACK_IMPORTED_MODULE_1__[/* KEY_COMPONENT_NAME */ "b"] + (vm.name || '');
1609
- vm.mixins = vm.mixins || [];
1610
- return vm;
1611
- });
1612
-
1613
- /***/ }),
1614
-
1615
- /***/ "8e8a":
1616
- /***/ (function(module, exports, __webpack_require__) {
1617
-
1618
- // extracted by mini-css-extract-plugin
1619
-
1620
- /***/ }),
1621
-
1622
- /***/ "8eed":
1623
- /***/ (function(module, exports) {
1624
-
1625
- module.exports = require("wangeditor");
1626
-
1627
- /***/ }),
1628
-
1629
- /***/ "9038":
1630
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1631
-
1632
- "use strict";
1633
- // ESM COMPAT FLAG
1634
- __webpack_require__.r(__webpack_exports__);
1635
-
1636
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
1637
- var es_array_iterator = __webpack_require__("e260");
1638
-
1639
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
1640
- var es_promise = __webpack_require__("e6cf");
1641
-
1642
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
1643
- var es_object_assign = __webpack_require__("cca6");
1644
-
1645
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.finally.js
1646
- var es_promise_finally = __webpack_require__("a79d");
1647
-
1648
- // EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
1649
- var es_function_name_js_ = __webpack_require__("db0a");
1650
-
1651
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-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!./packages/editor/src/Editor.vue?vue&type=template&id=5eb02689&scoped=true&
1652
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"editor",attrs:{"id":_vm.editorWrapId}})}
1653
- var staticRenderFns = []
1654
-
1655
-
1656
- // CONCATENATED MODULE: ./packages/editor/src/Editor.vue?vue&type=template&id=5eb02689&scoped=true&
1657
-
1658
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
1659
- var es_regexp_exec_js_ = __webpack_require__("c8a6");
1660
-
1661
- // EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
1662
- var es_string_replace_js_ = __webpack_require__("6378");
1663
-
1664
- // EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
1665
- var es_string_split_js_ = __webpack_require__("0cda");
1666
-
1667
- // EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
1668
- var es_array_concat_js_ = __webpack_require__("ccb0");
1669
-
1670
- // EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
1671
- var es_object_to_string_js_ = __webpack_require__("97d3");
1672
-
1673
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
1674
- var es_regexp_to_string_js_ = __webpack_require__("30df");
1675
-
1676
- // EXTERNAL MODULE: ./src/core/create.js
1677
- var create = __webpack_require__("8aef");
1678
-
1679
- // EXTERNAL MODULE: external "wangeditor"
1680
- var external_wangeditor_ = __webpack_require__("8eed");
1681
- var external_wangeditor_default = /*#__PURE__*/__webpack_require__.n(external_wangeditor_);
1682
-
1683
- // 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!./packages/editor/src/Editor.vue?vue&type=script&lang=js&
1684
-
1685
-
1686
-
1687
-
1688
-
1689
-
1690
- //
1691
- //
1692
- //
1693
- //
1694
-
1695
- /**
1696
- * @author wenhongling
1697
- * @desc 富文本编辑器
1698
- * @time 2021-07-01
1699
- */
1700
-
1701
-
1702
- var colors = ['#ff0000'];
1703
- /* harmony default export */ var Editorvue_type_script_lang_js_ = (Object(create["a" /* default */])({
1704
- name: 'editor',
1705
- props: {
1706
- config: {
1707
- type: Object,
1708
- default: function _default() {}
1709
- }
1710
- },
1711
- components: {},
1712
- computed: {},
1713
- watch: {},
1714
- data: function data() {
1715
- return {
1716
- editor: null,
1717
- editorWrapId: 'editorWrapId'
1718
- };
1719
- },
1720
- mounted: function mounted() {
1721
- var _this = this;
1722
-
1723
- // 每次实例都生成唯一的id
1724
- this.editorWrapId = this.randomId();
1725
- this.$nextTick(function () {
1726
- _this.init();
1727
- });
1728
- },
1729
- methods: {
1730
- init: function init() {
1731
- this.editor = new external_wangeditor_default.a("#".concat(this.editorWrapId)); // 配置粘贴文本的内容处理
1732
-
1733
- this.editor.config.pasteTextHandle = function (pasteStr) {
1734
- return pasteStr.replace(/]*src=['"]([^'"]+)[^>]*>/gi, function (match) {
1735
- var newMatch = match.split('?')[0]; // 显示粘贴的403图片
1736
-
1737
- var str = newMatch.replace('src="', 'src="https://images.weserv.nl/?url=') + '"';
1738
- return str;
1739
- });
1740
- };
1741
-
1742
- this.editor.config.colors = this.editor.config.colors.concat(colors);
1743
- this.editor.config = Object.assign({}, this.editor.config, this.config);
1744
- this.editor.create();
1745
- this.$emit('ready');
1746
- },
1747
- setContent: function setContent(content) {
1748
- this.editor.txt.html(content);
1749
- },
1750
- appendContent: function appendContent(content) {
1751
- this.editor.txt.append(content);
1752
- },
1753
- getContent: function getContent(type) {
1754
- return this.editor.txt[type]();
1755
- },
1756
- getJSON: function getJSON() {
1757
- return this.editor.txt.getJSON();
1758
- },
1759
- setJSON: function setJSON(arr) {
1760
- this.editor.txt.setJSON(arr);
1761
- },
1762
- clear: function clear() {
1763
- this.editor.txt.clear();
1764
- },
1765
- // 设置全屏
1766
- setFullScreen: function setFullScreen(flag) {
1767
- if (flag) {
1768
- this.editor.fullScreen();
1769
- } else {
1770
- this.editor.unFullScreen();
1771
- }
1772
- },
1773
- // 是否禁用
1774
- disable: function disable(flag) {
1775
- if (flag) {
1776
- this.editor.disable();
1777
- } else {
1778
- this.editor.enable();
1779
- }
1780
- },
1781
- randomId: function randomId(len) {
1782
- return 'id' + Math.random().toString(36).substr(3, len) + new Date().getTime();
1783
- }
1784
- },
1785
- beforeDestroy: function beforeDestroy() {
1786
- // 销毁编辑器
1787
- this.editor.destroy();
1788
- this.editor = null;
1789
- }
1790
- }));
1791
- // CONCATENATED MODULE: ./packages/editor/src/Editor.vue?vue&type=script&lang=js&
1792
- /* harmony default export */ var src_Editorvue_type_script_lang_js_ = (Editorvue_type_script_lang_js_);
1793
- // EXTERNAL MODULE: ./packages/editor/src/Editor.vue?vue&type=style&index=0&id=5eb02689&scoped=true&lang=css&
1794
- var Editorvue_type_style_index_0_id_5eb02689_scoped_true_lang_css_ = __webpack_require__("1840");
1795
-
1796
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1797
- var componentNormalizer = __webpack_require__("2877");
1798
-
1799
- // CONCATENATED MODULE: ./packages/editor/src/Editor.vue
1800
-
1801
-
1802
-
1803
-
1804
-
1805
-
1806
- /* normalize component */
1807
-
1808
- var component = Object(componentNormalizer["a" /* default */])(
1809
- src_Editorvue_type_script_lang_js_,
1810
- render,
1811
- staticRenderFns,
1812
- false,
1813
- null,
1814
- "5eb02689",
1815
- null
1816
-
1817
- )
1818
-
1819
- /* harmony default export */ var Editor = (component.exports);
1820
- // CONCATENATED MODULE: ./packages/editor/index.js
1821
-
1822
-
1823
-
1824
-
1825
-
1826
- // 导入组件
1827
- // 为组件提供 install 安装方法,供按需引入
1828
-
1829
- Editor.install = function (Vue) {
1830
- Vue.component(Editor.name, Editor);
1831
- }; // 默认导出组件
1832
-
1833
-
1834
- /* harmony default export */ var editor = __webpack_exports__["default"] = (Editor);
1835
-
1836
- /***/ }),
1837
-
1838
- /***/ "90e3":
1839
- /***/ (function(module, exports) {
1840
-
1841
- var id = 0;
1842
- var postfix = Math.random();
1843
-
1844
- module.exports = function (key) {
1845
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
1846
- };
1847
-
1848
-
1849
- /***/ }),
1850
-
1851
- /***/ "9112":
1852
- /***/ (function(module, exports, __webpack_require__) {
1853
-
1854
- var DESCRIPTORS = __webpack_require__("83ab");
1855
- var definePropertyModule = __webpack_require__("9bf2");
1856
- var createPropertyDescriptor = __webpack_require__("5c6c");
1857
-
1858
- module.exports = DESCRIPTORS ? function (object, key, value) {
1859
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
1860
- } : function (object, key, value) {
1861
- object[key] = value;
1862
- return object;
1863
- };
1864
-
1865
-
1866
- /***/ }),
1867
-
1868
- /***/ "94ca":
1869
- /***/ (function(module, exports, __webpack_require__) {
1870
-
1871
- var fails = __webpack_require__("d039");
1872
-
1873
- var replacement = /#|\.prototype\./;
1874
-
1875
- var isForced = function (feature, detection) {
1876
- var value = data[normalize(feature)];
1877
- return value == POLYFILL ? true
1878
- : value == NATIVE ? false
1879
- : typeof detection == 'function' ? fails(detection)
1880
- : !!detection;
1881
- };
1882
-
1883
- var normalize = isForced.normalize = function (string) {
1884
- return String(string).replace(replacement, '.').toLowerCase();
1885
- };
1886
-
1887
- var data = isForced.data = {};
1888
- var NATIVE = isForced.NATIVE = 'N';
1889
- var POLYFILL = isForced.POLYFILL = 'P';
1890
-
1891
- module.exports = isForced;
1892
-
1893
-
1894
- /***/ }),
1895
-
1896
- /***/ "97d3":
1897
- /***/ (function(module, exports) {
1898
-
1899
- module.exports = require("core-js/modules/es.object.to-string.js");
1900
-
1901
- /***/ }),
1902
-
1903
- /***/ "9bf2":
1904
- /***/ (function(module, exports, __webpack_require__) {
1905
-
1906
- var DESCRIPTORS = __webpack_require__("83ab");
1907
- var IE8_DOM_DEFINE = __webpack_require__("0cfb");
1908
- var anObject = __webpack_require__("825a");
1909
- var toPropertyKey = __webpack_require__("a04b");
1910
-
1911
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1912
- var $defineProperty = Object.defineProperty;
1913
-
1914
- // `Object.defineProperty` method
1915
- // https://tc39.es/ecma262/#sec-object.defineproperty
1916
- exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
1917
- anObject(O);
1918
- P = toPropertyKey(P);
1919
- anObject(Attributes);
1920
- if (IE8_DOM_DEFINE) try {
1921
- return $defineProperty(O, P, Attributes);
1922
- } catch (error) { /* empty */ }
1923
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
1924
- if ('value' in Attributes) O[P] = Attributes.value;
1925
- return O;
1926
- };
1927
-
1928
-
1929
- /***/ }),
1930
-
1931
- /***/ "9ed3":
1932
- /***/ (function(module, exports, __webpack_require__) {
1933
-
1934
- "use strict";
1935
-
1936
- var IteratorPrototype = __webpack_require__("ae93").IteratorPrototype;
1937
- var create = __webpack_require__("7c73");
1938
- var createPropertyDescriptor = __webpack_require__("5c6c");
1939
- var setToStringTag = __webpack_require__("d44e");
1940
- var Iterators = __webpack_require__("3f8c");
1941
-
1942
- var returnThis = function () { return this; };
1943
-
1944
- module.exports = function (IteratorConstructor, NAME, next) {
1945
- var TO_STRING_TAG = NAME + ' Iterator';
1946
- IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
1947
- setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
1948
- Iterators[TO_STRING_TAG] = returnThis;
1949
- return IteratorConstructor;
1950
- };
1951
-
1952
-
1953
- /***/ }),
1954
-
1955
- /***/ "a04b":
1956
- /***/ (function(module, exports, __webpack_require__) {
1957
-
1958
- var toPrimitive = __webpack_require__("c04e");
1959
- var isSymbol = __webpack_require__("d9b5");
1960
-
1961
- // `ToPropertyKey` abstract operation
1962
- // https://tc39.es/ecma262/#sec-topropertykey
1963
- module.exports = function (argument) {
1964
- var key = toPrimitive(argument, 'string');
1965
- return isSymbol(key) ? key : String(key);
1966
- };
1967
-
1968
-
1969
- /***/ }),
1970
-
1971
- /***/ "a4b4":
1972
- /***/ (function(module, exports, __webpack_require__) {
1973
-
1974
- var userAgent = __webpack_require__("342f");
1975
-
1976
- module.exports = /web0s(?!.*chrome)/i.test(userAgent);
1977
-
1978
-
1979
- /***/ }),
1980
-
1981
- /***/ "a691":
1982
- /***/ (function(module, exports) {
1983
-
1984
- var ceil = Math.ceil;
1985
- var floor = Math.floor;
1986
-
1987
- // `ToInteger` abstract operation
1988
- // https://tc39.es/ecma262/#sec-tointeger
1989
- module.exports = function (argument) {
1990
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
1991
- };
1992
-
1993
-
1994
- /***/ }),
1995
-
1996
- /***/ "a79d":
1997
- /***/ (function(module, exports, __webpack_require__) {
1998
-
1999
- "use strict";
2000
-
2001
- var $ = __webpack_require__("23e7");
2002
- var IS_PURE = __webpack_require__("c430");
2003
- var NativePromise = __webpack_require__("fea9");
2004
- var fails = __webpack_require__("d039");
2005
- var getBuiltIn = __webpack_require__("d066");
2006
- var speciesConstructor = __webpack_require__("4840");
2007
- var promiseResolve = __webpack_require__("cdf9");
2008
- var redefine = __webpack_require__("6eeb");
2009
-
2010
- // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
2011
- var NON_GENERIC = !!NativePromise && fails(function () {
2012
- NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
2013
- });
2014
-
2015
- // `Promise.prototype.finally` method
2016
- // https://tc39.es/ecma262/#sec-promise.prototype.finally
2017
- $({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
2018
- 'finally': function (onFinally) {
2019
- var C = speciesConstructor(this, getBuiltIn('Promise'));
2020
- var isFunction = typeof onFinally == 'function';
2021
- return this.then(
2022
- isFunction ? function (x) {
2023
- return promiseResolve(C, onFinally()).then(function () { return x; });
2024
- } : onFinally,
2025
- isFunction ? function (e) {
2026
- return promiseResolve(C, onFinally()).then(function () { throw e; });
2027
- } : onFinally
2028
- );
2029
- }
2030
- });
2031
-
2032
- // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
2033
- if (!IS_PURE && typeof NativePromise == 'function') {
2034
- var method = getBuiltIn('Promise').prototype['finally'];
2035
- if (NativePromise.prototype['finally'] !== method) {
2036
- redefine(NativePromise.prototype, 'finally', method, { unsafe: true });
2037
- }
2038
- }
2039
-
2040
-
2041
- /***/ }),
2042
-
2043
- /***/ "ae93":
2044
- /***/ (function(module, exports, __webpack_require__) {
2045
-
2046
- "use strict";
2047
-
2048
- var fails = __webpack_require__("d039");
2049
- var getPrototypeOf = __webpack_require__("e163");
2050
- var createNonEnumerableProperty = __webpack_require__("9112");
2051
- var has = __webpack_require__("5135");
2052
- var wellKnownSymbol = __webpack_require__("b622");
2053
- var IS_PURE = __webpack_require__("c430");
2054
-
2055
- var ITERATOR = wellKnownSymbol('iterator');
2056
- var BUGGY_SAFARI_ITERATORS = false;
2057
-
2058
- var returnThis = function () { return this; };
2059
-
2060
- // `%IteratorPrototype%` object
2061
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
2062
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
2063
-
2064
- /* eslint-disable es/no-array-prototype-keys -- safe */
2065
- if ([].keys) {
2066
- arrayIterator = [].keys();
2067
- // Safari 8 has buggy iterators w/o `next`
2068
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
2069
- else {
2070
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
2071
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
2072
- }
2073
- }
2074
-
2075
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {
2076
- var test = {};
2077
- // FF44- legacy iterators case
2078
- return IteratorPrototype[ITERATOR].call(test) !== test;
2079
- });
2080
-
2081
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
2082
-
2083
- // `%IteratorPrototype%[@@iterator]()` method
2084
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
2085
- if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) {
2086
- createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
2087
- }
2088
-
2089
- module.exports = {
2090
- IteratorPrototype: IteratorPrototype,
2091
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
2092
- };
2093
-
2094
-
2095
- /***/ }),
2096
-
2097
- /***/ "b575":
2098
- /***/ (function(module, exports, __webpack_require__) {
2099
-
2100
- var global = __webpack_require__("da84");
2101
- var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
2102
- var macrotask = __webpack_require__("2cf4").set;
2103
- var IS_IOS = __webpack_require__("1cdc");
2104
- var IS_IOS_PEBBLE = __webpack_require__("d4c3");
2105
- var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
2106
- var IS_NODE = __webpack_require__("605d");
2107
-
2108
- var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
2109
- var document = global.document;
2110
- var process = global.process;
2111
- var Promise = global.Promise;
2112
- // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
2113
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
2114
- var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
2115
-
2116
- var flush, head, last, notify, toggle, node, promise, then;
2117
-
2118
- // modern engines have queueMicrotask method
2119
- if (!queueMicrotask) {
2120
- flush = function () {
2121
- var parent, fn;
2122
- if (IS_NODE && (parent = process.domain)) parent.exit();
2123
- while (head) {
2124
- fn = head.fn;
2125
- head = head.next;
2126
- try {
2127
- fn();
2128
- } catch (error) {
2129
- if (head) notify();
2130
- else last = undefined;
2131
- throw error;
2132
- }
2133
- } last = undefined;
2134
- if (parent) parent.enter();
2135
- };
2136
-
2137
- // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
2138
- // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
2139
- if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
2140
- toggle = true;
2141
- node = document.createTextNode('');
2142
- new MutationObserver(flush).observe(node, { characterData: true });
2143
- notify = function () {
2144
- node.data = toggle = !toggle;
2145
- };
2146
- // environments with maybe non-completely correct, but existent Promise
2147
- } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
2148
- // Promise.resolve without an argument throws an error in LG WebOS 2
2149
- promise = Promise.resolve(undefined);
2150
- // workaround of WebKit ~ iOS Safari 10.1 bug
2151
- promise.constructor = Promise;
2152
- then = promise.then;
2153
- notify = function () {
2154
- then.call(promise, flush);
2155
- };
2156
- // Node.js without promises
2157
- } else if (IS_NODE) {
2158
- notify = function () {
2159
- process.nextTick(flush);
2160
- };
2161
- // for other environments - macrotask based on:
2162
- // - setImmediate
2163
- // - MessageChannel
2164
- // - window.postMessag
2165
- // - onreadystatechange
2166
- // - setTimeout
2167
- } else {
2168
- notify = function () {
2169
- // strange IE + webpack dev server bug - use .call(global)
2170
- macrotask.call(global, flush);
2171
- };
2172
- }
2173
- }
2174
-
2175
- module.exports = queueMicrotask || function (fn) {
2176
- var task = { fn: fn, next: undefined };
2177
- if (last) last.next = task;
2178
- if (!head) {
2179
- head = task;
2180
- notify();
2181
- } last = task;
2182
- };
2183
-
2184
-
2185
- /***/ }),
2186
-
2187
- /***/ "b622":
2188
- /***/ (function(module, exports, __webpack_require__) {
2189
-
2190
- var global = __webpack_require__("da84");
2191
- var shared = __webpack_require__("5692");
2192
- var has = __webpack_require__("5135");
2193
- var uid = __webpack_require__("90e3");
2194
- var NATIVE_SYMBOL = __webpack_require__("4930");
2195
- var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
2196
-
2197
- var WellKnownSymbolsStore = shared('wks');
2198
- var Symbol = global.Symbol;
2199
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
2200
-
2201
- module.exports = function (name) {
2202
- if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
2203
- if (NATIVE_SYMBOL && has(Symbol, name)) {
2204
- WellKnownSymbolsStore[name] = Symbol[name];
2205
- } else {
2206
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
2207
- }
2208
- } return WellKnownSymbolsStore[name];
2209
- };
2210
-
2211
-
2212
- /***/ }),
2213
-
2214
- /***/ "c04e":
2215
- /***/ (function(module, exports, __webpack_require__) {
2216
-
2217
- var isObject = __webpack_require__("861d");
2218
- var isSymbol = __webpack_require__("d9b5");
2219
- var ordinaryToPrimitive = __webpack_require__("485a");
2220
- var wellKnownSymbol = __webpack_require__("b622");
2221
-
2222
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
2223
-
2224
- // `ToPrimitive` abstract operation
2225
- // https://tc39.es/ecma262/#sec-toprimitive
2226
- module.exports = function (input, pref) {
2227
- if (!isObject(input) || isSymbol(input)) return input;
2228
- var exoticToPrim = input[TO_PRIMITIVE];
2229
- var result;
2230
- if (exoticToPrim !== undefined) {
2231
- if (pref === undefined) pref = 'default';
2232
- result = exoticToPrim.call(input, pref);
2233
- if (!isObject(result) || isSymbol(result)) return result;
2234
- throw TypeError("Can't convert object to primitive value");
2235
- }
2236
- if (pref === undefined) pref = 'number';
2237
- return ordinaryToPrimitive(input, pref);
2238
- };
2239
-
2240
-
2241
- /***/ }),
2242
-
2243
- /***/ "c430":
2244
- /***/ (function(module, exports) {
2245
-
2246
- module.exports = false;
2247
-
2248
-
2249
- /***/ }),
2250
-
2251
- /***/ "c6b6":
2252
- /***/ (function(module, exports) {
2253
-
2254
- var toString = {}.toString;
2255
-
2256
- module.exports = function (it) {
2257
- return toString.call(it).slice(8, -1);
2258
- };
2259
-
2260
-
2261
- /***/ }),
2262
-
2263
- /***/ "c6cd":
2264
- /***/ (function(module, exports, __webpack_require__) {
2265
-
2266
- var global = __webpack_require__("da84");
2267
- var setGlobal = __webpack_require__("ce4e");
2268
-
2269
- var SHARED = '__core-js_shared__';
2270
- var store = global[SHARED] || setGlobal(SHARED, {});
2271
-
2272
- module.exports = store;
2273
-
2274
-
2275
- /***/ }),
2276
-
2277
- /***/ "c8a6":
2278
- /***/ (function(module, exports) {
2279
-
2280
- module.exports = require("core-js/modules/es.regexp.exec.js");
2281
-
2282
- /***/ }),
2283
-
2284
- /***/ "c8ba":
2285
- /***/ (function(module, exports) {
2286
-
2287
- var g;
2288
-
2289
- // This works in non-strict mode
2290
- g = (function() {
2291
- return this;
2292
- })();
2293
-
2294
- try {
2295
- // This works if eval is allowed (see CSP)
2296
- g = g || new Function("return this")();
2297
- } catch (e) {
2298
- // This works if the window reference is available
2299
- if (typeof window === "object") g = window;
2300
- }
2301
-
2302
- // g can still be undefined, but nothing to do about it...
2303
- // We return undefined, instead of nothing here, so it's
2304
- // easier to handle this case. if(!global) { ...}
2305
-
2306
- module.exports = g;
2307
-
2308
-
2309
- /***/ }),
2310
-
2311
- /***/ "ca84":
2312
- /***/ (function(module, exports, __webpack_require__) {
2313
-
2314
- var has = __webpack_require__("5135");
2315
- var toIndexedObject = __webpack_require__("fc6a");
2316
- var indexOf = __webpack_require__("4d64").indexOf;
2317
- var hiddenKeys = __webpack_require__("d012");
2318
-
2319
- module.exports = function (object, names) {
2320
- var O = toIndexedObject(object);
2321
- var i = 0;
2322
- var result = [];
2323
- var key;
2324
- for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
2325
- // Don't enum bug & hidden keys
2326
- while (names.length > i) if (has(O, key = names[i++])) {
2327
- ~indexOf(result, key) || result.push(key);
2328
- }
2329
- return result;
2330
- };
2331
-
2332
-
2333
- /***/ }),
2334
-
2335
- /***/ "cc12":
2336
- /***/ (function(module, exports, __webpack_require__) {
2337
-
2338
- var global = __webpack_require__("da84");
2339
- var isObject = __webpack_require__("861d");
2340
-
2341
- var document = global.document;
2342
- // typeof document.createElement is 'object' in old IE
2343
- var EXISTS = isObject(document) && isObject(document.createElement);
2344
-
2345
- module.exports = function (it) {
2346
- return EXISTS ? document.createElement(it) : {};
2347
- };
2348
-
2349
-
2350
- /***/ }),
2351
-
2352
- /***/ "cca6":
2353
- /***/ (function(module, exports, __webpack_require__) {
2354
-
2355
- var $ = __webpack_require__("23e7");
2356
- var assign = __webpack_require__("60da");
2357
-
2358
- // `Object.assign` method
2359
- // https://tc39.es/ecma262/#sec-object.assign
2360
- // eslint-disable-next-line es/no-object-assign -- required for testing
2361
- $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
2362
- assign: assign
2363
- });
2364
-
2365
-
2366
- /***/ }),
2367
-
2368
- /***/ "ccb0":
2369
- /***/ (function(module, exports) {
2370
-
2371
- module.exports = require("core-js/modules/es.array.concat.js");
2372
-
2373
- /***/ }),
2374
-
2375
- /***/ "cdf9":
2376
- /***/ (function(module, exports, __webpack_require__) {
2377
-
2378
- var anObject = __webpack_require__("825a");
2379
- var isObject = __webpack_require__("861d");
2380
- var newPromiseCapability = __webpack_require__("f069");
2381
-
2382
- module.exports = function (C, x) {
2383
- anObject(C);
2384
- if (isObject(x) && x.constructor === C) return x;
2385
- var promiseCapability = newPromiseCapability.f(C);
2386
- var resolve = promiseCapability.resolve;
2387
- resolve(x);
2388
- return promiseCapability.promise;
2389
- };
2390
-
2391
-
2392
- /***/ }),
2393
-
2394
- /***/ "ce4e":
2395
- /***/ (function(module, exports, __webpack_require__) {
2396
-
2397
- var global = __webpack_require__("da84");
2398
-
2399
- module.exports = function (key, value) {
2400
- try {
2401
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2402
- Object.defineProperty(global, key, { value: value, configurable: true, writable: true });
2403
- } catch (error) {
2404
- global[key] = value;
2405
- } return value;
2406
- };
2407
-
2408
-
2409
- /***/ }),
2410
-
2411
- /***/ "d012":
2412
- /***/ (function(module, exports) {
2413
-
2414
- module.exports = {};
2415
-
2416
-
2417
- /***/ }),
2418
-
2419
- /***/ "d039":
2420
- /***/ (function(module, exports) {
2421
-
2422
- module.exports = function (exec) {
2423
- try {
2424
- return !!exec();
2425
- } catch (error) {
2426
- return true;
2427
- }
2428
- };
2429
-
2430
-
2431
- /***/ }),
2432
-
2433
- /***/ "d066":
2434
- /***/ (function(module, exports, __webpack_require__) {
2435
-
2436
- var global = __webpack_require__("da84");
2437
-
2438
- var aFunction = function (variable) {
2439
- return typeof variable == 'function' ? variable : undefined;
2440
- };
2441
-
2442
- module.exports = function (namespace, method) {
2443
- return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
2444
- };
2445
-
2446
-
2447
- /***/ }),
2448
-
2449
- /***/ "d1e7":
2450
- /***/ (function(module, exports, __webpack_require__) {
2451
-
2452
- "use strict";
2453
-
2454
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
2455
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2456
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2457
-
2458
- // Nashorn ~ JDK8 bug
2459
- var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
2460
-
2461
- // `Object.prototype.propertyIsEnumerable` method implementation
2462
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
2463
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
2464
- var descriptor = getOwnPropertyDescriptor(this, V);
2465
- return !!descriptor && descriptor.enumerable;
2466
- } : $propertyIsEnumerable;
2467
-
2468
-
2469
- /***/ }),
2470
-
2471
- /***/ "d2bb":
2472
- /***/ (function(module, exports, __webpack_require__) {
2473
-
2474
- /* eslint-disable no-proto -- safe */
2475
- var anObject = __webpack_require__("825a");
2476
- var aPossiblePrototype = __webpack_require__("3bbe");
2477
-
2478
- // `Object.setPrototypeOf` method
2479
- // https://tc39.es/ecma262/#sec-object.setprototypeof
2480
- // Works with __proto__ only. Old v8 can't work with null proto objects.
2481
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
2482
- module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
2483
- var CORRECT_SETTER = false;
2484
- var test = {};
2485
- var setter;
2486
- try {
2487
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2488
- setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
2489
- setter.call(test, []);
2490
- CORRECT_SETTER = test instanceof Array;
2491
- } catch (error) { /* empty */ }
2492
- return function setPrototypeOf(O, proto) {
2493
- anObject(O);
2494
- aPossiblePrototype(proto);
2495
- if (CORRECT_SETTER) setter.call(O, proto);
2496
- else O.__proto__ = proto;
2497
- return O;
2498
- };
2499
- }() : undefined);
2500
-
2501
-
2502
- /***/ }),
2503
-
2504
- /***/ "d44e":
2505
- /***/ (function(module, exports, __webpack_require__) {
2506
-
2507
- var defineProperty = __webpack_require__("9bf2").f;
2508
- var has = __webpack_require__("5135");
2509
- var wellKnownSymbol = __webpack_require__("b622");
2510
-
2511
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2512
-
2513
- module.exports = function (it, TAG, STATIC) {
2514
- if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
2515
- defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
2516
- }
2517
- };
2518
-
2519
-
2520
- /***/ }),
2521
-
2522
- /***/ "d4c3":
2523
- /***/ (function(module, exports, __webpack_require__) {
2524
-
2525
- var userAgent = __webpack_require__("342f");
2526
- var global = __webpack_require__("da84");
2527
-
2528
- module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;
2529
-
2530
-
2531
- /***/ }),
2532
-
2533
- /***/ "d9b5":
2534
- /***/ (function(module, exports, __webpack_require__) {
2535
-
2536
- var getBuiltIn = __webpack_require__("d066");
2537
- var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
2538
-
2539
- module.exports = USE_SYMBOL_AS_UID ? function (it) {
2540
- return typeof it == 'symbol';
2541
- } : function (it) {
2542
- var $Symbol = getBuiltIn('Symbol');
2543
- return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
2544
- };
2545
-
2546
-
2547
- /***/ }),
2548
-
2549
- /***/ "da84":
2550
- /***/ (function(module, exports, __webpack_require__) {
2551
-
2552
- /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
2553
- return it && it.Math == Math && it;
2554
- };
2555
-
2556
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
2557
- module.exports =
2558
- // eslint-disable-next-line es/no-global-this -- safe
2559
- check(typeof globalThis == 'object' && globalThis) ||
2560
- check(typeof window == 'object' && window) ||
2561
- // eslint-disable-next-line no-restricted-globals -- safe
2562
- check(typeof self == 'object' && self) ||
2563
- check(typeof global == 'object' && global) ||
2564
- // eslint-disable-next-line no-new-func -- fallback
2565
- (function () { return this; })() || Function('return this')();
2566
-
2567
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
2568
-
2569
- /***/ }),
2570
-
2571
- /***/ "db0a":
2572
- /***/ (function(module, exports) {
2573
-
2574
- module.exports = require("core-js/modules/es.function.name.js");
2575
-
2576
- /***/ }),
2577
-
2578
- /***/ "df75":
2579
- /***/ (function(module, exports, __webpack_require__) {
2580
-
2581
- var internalObjectKeys = __webpack_require__("ca84");
2582
- var enumBugKeys = __webpack_require__("7839");
2583
-
2584
- // `Object.keys` method
2585
- // https://tc39.es/ecma262/#sec-object.keys
2586
- // eslint-disable-next-line es/no-object-keys -- safe
2587
- module.exports = Object.keys || function keys(O) {
2588
- return internalObjectKeys(O, enumBugKeys);
2589
- };
2590
-
2591
-
2592
- /***/ }),
2593
-
2594
- /***/ "e163":
2595
- /***/ (function(module, exports, __webpack_require__) {
2596
-
2597
- var has = __webpack_require__("5135");
2598
- var toObject = __webpack_require__("7b0b");
2599
- var sharedKey = __webpack_require__("f772");
2600
- var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177");
2601
-
2602
- var IE_PROTO = sharedKey('IE_PROTO');
2603
- var ObjectPrototype = Object.prototype;
2604
-
2605
- // `Object.getPrototypeOf` method
2606
- // https://tc39.es/ecma262/#sec-object.getprototypeof
2607
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
2608
- module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
2609
- O = toObject(O);
2610
- if (has(O, IE_PROTO)) return O[IE_PROTO];
2611
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
2612
- return O.constructor.prototype;
2613
- } return O instanceof Object ? ObjectPrototype : null;
2614
- };
2615
-
2616
-
2617
- /***/ }),
2618
-
2619
- /***/ "e177":
2620
- /***/ (function(module, exports, __webpack_require__) {
2621
-
2622
- var fails = __webpack_require__("d039");
2623
-
2624
- module.exports = !fails(function () {
2625
- function F() { /* empty */ }
2626
- F.prototype.constructor = null;
2627
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
2628
- return Object.getPrototypeOf(new F()) !== F.prototype;
2629
- });
2630
-
2631
-
2632
- /***/ }),
2633
-
2634
- /***/ "e260":
2635
- /***/ (function(module, exports, __webpack_require__) {
2636
-
2637
- "use strict";
2638
-
2639
- var toIndexedObject = __webpack_require__("fc6a");
2640
- var addToUnscopables = __webpack_require__("44d2");
2641
- var Iterators = __webpack_require__("3f8c");
2642
- var InternalStateModule = __webpack_require__("69f3");
2643
- var defineIterator = __webpack_require__("7dd0");
2644
-
2645
- var ARRAY_ITERATOR = 'Array Iterator';
2646
- var setInternalState = InternalStateModule.set;
2647
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
2648
-
2649
- // `Array.prototype.entries` method
2650
- // https://tc39.es/ecma262/#sec-array.prototype.entries
2651
- // `Array.prototype.keys` method
2652
- // https://tc39.es/ecma262/#sec-array.prototype.keys
2653
- // `Array.prototype.values` method
2654
- // https://tc39.es/ecma262/#sec-array.prototype.values
2655
- // `Array.prototype[@@iterator]` method
2656
- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
2657
- // `CreateArrayIterator` internal method
2658
- // https://tc39.es/ecma262/#sec-createarrayiterator
2659
- module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
2660
- setInternalState(this, {
2661
- type: ARRAY_ITERATOR,
2662
- target: toIndexedObject(iterated), // target
2663
- index: 0, // next index
2664
- kind: kind // kind
2665
- });
2666
- // `%ArrayIteratorPrototype%.next` method
2667
- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
2668
- }, function () {
2669
- var state = getInternalState(this);
2670
- var target = state.target;
2671
- var kind = state.kind;
2672
- var index = state.index++;
2673
- if (!target || index >= target.length) {
2674
- state.target = undefined;
2675
- return { value: undefined, done: true };
2676
- }
2677
- if (kind == 'keys') return { value: index, done: false };
2678
- if (kind == 'values') return { value: target[index], done: false };
2679
- return { value: [index, target[index]], done: false };
2680
- }, 'values');
2681
-
2682
- // argumentsList[@@iterator] is %ArrayProto_values%
2683
- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
2684
- // https://tc39.es/ecma262/#sec-createmappedargumentsobject
2685
- Iterators.Arguments = Iterators.Array;
2686
-
2687
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2688
- addToUnscopables('keys');
2689
- addToUnscopables('values');
2690
- addToUnscopables('entries');
2691
-
2692
-
2693
- /***/ }),
2694
-
2695
- /***/ "e2cc":
2696
- /***/ (function(module, exports, __webpack_require__) {
2697
-
2698
- var redefine = __webpack_require__("6eeb");
2699
-
2700
- module.exports = function (target, src, options) {
2701
- for (var key in src) redefine(target, key, src[key], options);
2702
- return target;
2703
- };
2704
-
2705
-
2706
- /***/ }),
2707
-
2708
- /***/ "e667":
2709
- /***/ (function(module, exports) {
2710
-
2711
- module.exports = function (exec) {
2712
- try {
2713
- return { error: false, value: exec() };
2714
- } catch (error) {
2715
- return { error: true, value: error };
2716
- }
2717
- };
2718
-
2719
-
2720
- /***/ }),
2721
-
2722
- /***/ "e6cf":
2723
- /***/ (function(module, exports, __webpack_require__) {
2724
-
2725
- "use strict";
2726
-
2727
- var $ = __webpack_require__("23e7");
2728
- var IS_PURE = __webpack_require__("c430");
2729
- var global = __webpack_require__("da84");
2730
- var getBuiltIn = __webpack_require__("d066");
2731
- var NativePromise = __webpack_require__("fea9");
2732
- var redefine = __webpack_require__("6eeb");
2733
- var redefineAll = __webpack_require__("e2cc");
2734
- var setPrototypeOf = __webpack_require__("d2bb");
2735
- var setToStringTag = __webpack_require__("d44e");
2736
- var setSpecies = __webpack_require__("2626");
2737
- var isObject = __webpack_require__("861d");
2738
- var aFunction = __webpack_require__("1c0b");
2739
- var anInstance = __webpack_require__("19aa");
2740
- var inspectSource = __webpack_require__("8925");
2741
- var iterate = __webpack_require__("2266");
2742
- var checkCorrectnessOfIteration = __webpack_require__("1c7e");
2743
- var speciesConstructor = __webpack_require__("4840");
2744
- var task = __webpack_require__("2cf4").set;
2745
- var microtask = __webpack_require__("b575");
2746
- var promiseResolve = __webpack_require__("cdf9");
2747
- var hostReportErrors = __webpack_require__("44de");
2748
- var newPromiseCapabilityModule = __webpack_require__("f069");
2749
- var perform = __webpack_require__("e667");
2750
- var InternalStateModule = __webpack_require__("69f3");
2751
- var isForced = __webpack_require__("94ca");
2752
- var wellKnownSymbol = __webpack_require__("b622");
2753
- var IS_BROWSER = __webpack_require__("6069");
2754
- var IS_NODE = __webpack_require__("605d");
2755
- var V8_VERSION = __webpack_require__("2d00");
2756
-
2757
- var SPECIES = wellKnownSymbol('species');
2758
- var PROMISE = 'Promise';
2759
- var getInternalState = InternalStateModule.get;
2760
- var setInternalState = InternalStateModule.set;
2761
- var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
2762
- var NativePromisePrototype = NativePromise && NativePromise.prototype;
2763
- var PromiseConstructor = NativePromise;
2764
- var PromiseConstructorPrototype = NativePromisePrototype;
2765
- var TypeError = global.TypeError;
2766
- var document = global.document;
2767
- var process = global.process;
2768
- var newPromiseCapability = newPromiseCapabilityModule.f;
2769
- var newGenericPromiseCapability = newPromiseCapability;
2770
- var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
2771
- var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
2772
- var UNHANDLED_REJECTION = 'unhandledrejection';
2773
- var REJECTION_HANDLED = 'rejectionhandled';
2774
- var PENDING = 0;
2775
- var FULFILLED = 1;
2776
- var REJECTED = 2;
2777
- var HANDLED = 1;
2778
- var UNHANDLED = 2;
2779
- var SUBCLASSING = false;
2780
- var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
2781
-
2782
- var FORCED = isForced(PROMISE, function () {
2783
- var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
2784
- var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
2785
- // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
2786
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
2787
- // We can't detect it synchronously, so just check versions
2788
- if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
2789
- // We need Promise#finally in the pure version for preventing prototype pollution
2790
- if (IS_PURE && !PromiseConstructorPrototype['finally']) return true;
2791
- // We can't use @@species feature detection in V8 since it causes
2792
- // deoptimization and performance degradation
2793
- // https://github.com/zloirock/core-js/issues/679
2794
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
2795
- // Detect correctness of subclassing with @@species support
2796
- var promise = new PromiseConstructor(function (resolve) { resolve(1); });
2797
- var FakePromise = function (exec) {
2798
- exec(function () { /* empty */ }, function () { /* empty */ });
2799
- };
2800
- var constructor = promise.constructor = {};
2801
- constructor[SPECIES] = FakePromise;
2802
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
2803
- if (!SUBCLASSING) return true;
2804
- // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
2805
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
2806
- });
2807
-
2808
- var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
2809
- PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
2810
- });
2811
-
2812
- // helpers
2813
- var isThenable = function (it) {
2814
- var then;
2815
- return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
2816
- };
2817
-
2818
- var notify = function (state, isReject) {
2819
- if (state.notified) return;
2820
- state.notified = true;
2821
- var chain = state.reactions;
2822
- microtask(function () {
2823
- var value = state.value;
2824
- var ok = state.state == FULFILLED;
2825
- var index = 0;
2826
- // variable length - can't use forEach
2827
- while (chain.length > index) {
2828
- var reaction = chain[index++];
2829
- var handler = ok ? reaction.ok : reaction.fail;
2830
- var resolve = reaction.resolve;
2831
- var reject = reaction.reject;
2832
- var domain = reaction.domain;
2833
- var result, then, exited;
2834
- try {
2835
- if (handler) {
2836
- if (!ok) {
2837
- if (state.rejection === UNHANDLED) onHandleUnhandled(state);
2838
- state.rejection = HANDLED;
2839
- }
2840
- if (handler === true) result = value;
2841
- else {
2842
- if (domain) domain.enter();
2843
- result = handler(value); // can throw
2844
- if (domain) {
2845
- domain.exit();
2846
- exited = true;
2847
- }
2848
- }
2849
- if (result === reaction.promise) {
2850
- reject(TypeError('Promise-chain cycle'));
2851
- } else if (then = isThenable(result)) {
2852
- then.call(result, resolve, reject);
2853
- } else resolve(result);
2854
- } else reject(value);
2855
- } catch (error) {
2856
- if (domain && !exited) domain.exit();
2857
- reject(error);
2858
- }
2859
- }
2860
- state.reactions = [];
2861
- state.notified = false;
2862
- if (isReject && !state.rejection) onUnhandled(state);
2863
- });
2864
- };
2865
-
2866
- var dispatchEvent = function (name, promise, reason) {
2867
- var event, handler;
2868
- if (DISPATCH_EVENT) {
2869
- event = document.createEvent('Event');
2870
- event.promise = promise;
2871
- event.reason = reason;
2872
- event.initEvent(name, false, true);
2873
- global.dispatchEvent(event);
2874
- } else event = { promise: promise, reason: reason };
2875
- if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
2876
- else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
2877
- };
2878
-
2879
- var onUnhandled = function (state) {
2880
- task.call(global, function () {
2881
- var promise = state.facade;
2882
- var value = state.value;
2883
- var IS_UNHANDLED = isUnhandled(state);
2884
- var result;
2885
- if (IS_UNHANDLED) {
2886
- result = perform(function () {
2887
- if (IS_NODE) {
2888
- process.emit('unhandledRejection', value, promise);
2889
- } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
2890
- });
2891
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
2892
- state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
2893
- if (result.error) throw result.value;
2894
- }
2895
- });
2896
- };
2897
-
2898
- var isUnhandled = function (state) {
2899
- return state.rejection !== HANDLED && !state.parent;
2900
- };
2901
-
2902
- var onHandleUnhandled = function (state) {
2903
- task.call(global, function () {
2904
- var promise = state.facade;
2905
- if (IS_NODE) {
2906
- process.emit('rejectionHandled', promise);
2907
- } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
2908
- });
2909
- };
2910
-
2911
- var bind = function (fn, state, unwrap) {
2912
- return function (value) {
2913
- fn(state, value, unwrap);
2914
- };
2915
- };
2916
-
2917
- var internalReject = function (state, value, unwrap) {
2918
- if (state.done) return;
2919
- state.done = true;
2920
- if (unwrap) state = unwrap;
2921
- state.value = value;
2922
- state.state = REJECTED;
2923
- notify(state, true);
2924
- };
2925
-
2926
- var internalResolve = function (state, value, unwrap) {
2927
- if (state.done) return;
2928
- state.done = true;
2929
- if (unwrap) state = unwrap;
2930
- try {
2931
- if (state.facade === value) throw TypeError("Promise can't be resolved itself");
2932
- var then = isThenable(value);
2933
- if (then) {
2934
- microtask(function () {
2935
- var wrapper = { done: false };
2936
- try {
2937
- then.call(value,
2938
- bind(internalResolve, wrapper, state),
2939
- bind(internalReject, wrapper, state)
2940
- );
2941
- } catch (error) {
2942
- internalReject(wrapper, error, state);
2943
- }
2944
- });
2945
- } else {
2946
- state.value = value;
2947
- state.state = FULFILLED;
2948
- notify(state, false);
2949
- }
2950
- } catch (error) {
2951
- internalReject({ done: false }, error, state);
2952
- }
2953
- };
2954
-
2955
- // constructor polyfill
2956
- if (FORCED) {
2957
- // 25.4.3.1 Promise(executor)
2958
- PromiseConstructor = function Promise(executor) {
2959
- anInstance(this, PromiseConstructor, PROMISE);
2960
- aFunction(executor);
2961
- Internal.call(this);
2962
- var state = getInternalState(this);
2963
- try {
2964
- executor(bind(internalResolve, state), bind(internalReject, state));
2965
- } catch (error) {
2966
- internalReject(state, error);
2967
- }
2968
- };
2969
- PromiseConstructorPrototype = PromiseConstructor.prototype;
2970
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2971
- Internal = function Promise(executor) {
2972
- setInternalState(this, {
2973
- type: PROMISE,
2974
- done: false,
2975
- notified: false,
2976
- parent: false,
2977
- reactions: [],
2978
- rejection: false,
2979
- state: PENDING,
2980
- value: undefined
2981
- });
2982
- };
2983
- Internal.prototype = redefineAll(PromiseConstructorPrototype, {
2984
- // `Promise.prototype.then` method
2985
- // https://tc39.es/ecma262/#sec-promise.prototype.then
2986
- then: function then(onFulfilled, onRejected) {
2987
- var state = getInternalPromiseState(this);
2988
- var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
2989
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
2990
- reaction.fail = typeof onRejected == 'function' && onRejected;
2991
- reaction.domain = IS_NODE ? process.domain : undefined;
2992
- state.parent = true;
2993
- state.reactions.push(reaction);
2994
- if (state.state != PENDING) notify(state, false);
2995
- return reaction.promise;
2996
- },
2997
- // `Promise.prototype.catch` method
2998
- // https://tc39.es/ecma262/#sec-promise.prototype.catch
2999
- 'catch': function (onRejected) {
3000
- return this.then(undefined, onRejected);
3001
- }
3002
- });
3003
- OwnPromiseCapability = function () {
3004
- var promise = new Internal();
3005
- var state = getInternalState(promise);
3006
- this.promise = promise;
3007
- this.resolve = bind(internalResolve, state);
3008
- this.reject = bind(internalReject, state);
3009
- };
3010
- newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
3011
- return C === PromiseConstructor || C === PromiseWrapper
3012
- ? new OwnPromiseCapability(C)
3013
- : newGenericPromiseCapability(C);
3014
- };
3015
-
3016
- if (!IS_PURE && typeof NativePromise == 'function' && NativePromisePrototype !== Object.prototype) {
3017
- nativeThen = NativePromisePrototype.then;
3018
-
3019
- if (!SUBCLASSING) {
3020
- // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
3021
- redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
3022
- var that = this;
3023
- return new PromiseConstructor(function (resolve, reject) {
3024
- nativeThen.call(that, resolve, reject);
3025
- }).then(onFulfilled, onRejected);
3026
- // https://github.com/zloirock/core-js/issues/640
3027
- }, { unsafe: true });
3028
-
3029
- // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
3030
- redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true });
3031
- }
3032
-
3033
- // make `.constructor === Promise` work for native promise-based APIs
3034
- try {
3035
- delete NativePromisePrototype.constructor;
3036
- } catch (error) { /* empty */ }
3037
-
3038
- // make `instanceof Promise` work for native promise-based APIs
3039
- if (setPrototypeOf) {
3040
- setPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype);
3041
- }
3042
- }
3043
- }
3044
-
3045
- $({ global: true, wrap: true, forced: FORCED }, {
3046
- Promise: PromiseConstructor
3047
- });
3048
-
3049
- setToStringTag(PromiseConstructor, PROMISE, false, true);
3050
- setSpecies(PROMISE);
3051
-
3052
- PromiseWrapper = getBuiltIn(PROMISE);
3053
-
3054
- // statics
3055
- $({ target: PROMISE, stat: true, forced: FORCED }, {
3056
- // `Promise.reject` method
3057
- // https://tc39.es/ecma262/#sec-promise.reject
3058
- reject: function reject(r) {
3059
- var capability = newPromiseCapability(this);
3060
- capability.reject.call(undefined, r);
3061
- return capability.promise;
3062
- }
3063
- });
3064
-
3065
- $({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
3066
- // `Promise.resolve` method
3067
- // https://tc39.es/ecma262/#sec-promise.resolve
3068
- resolve: function resolve(x) {
3069
- return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
3070
- }
3071
- });
3072
-
3073
- $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
3074
- // `Promise.all` method
3075
- // https://tc39.es/ecma262/#sec-promise.all
3076
- all: function all(iterable) {
3077
- var C = this;
3078
- var capability = newPromiseCapability(C);
3079
- var resolve = capability.resolve;
3080
- var reject = capability.reject;
3081
- var result = perform(function () {
3082
- var $promiseResolve = aFunction(C.resolve);
3083
- var values = [];
3084
- var counter = 0;
3085
- var remaining = 1;
3086
- iterate(iterable, function (promise) {
3087
- var index = counter++;
3088
- var alreadyCalled = false;
3089
- values.push(undefined);
3090
- remaining++;
3091
- $promiseResolve.call(C, promise).then(function (value) {
3092
- if (alreadyCalled) return;
3093
- alreadyCalled = true;
3094
- values[index] = value;
3095
- --remaining || resolve(values);
3096
- }, reject);
3097
- });
3098
- --remaining || resolve(values);
3099
- });
3100
- if (result.error) reject(result.value);
3101
- return capability.promise;
3102
- },
3103
- // `Promise.race` method
3104
- // https://tc39.es/ecma262/#sec-promise.race
3105
- race: function race(iterable) {
3106
- var C = this;
3107
- var capability = newPromiseCapability(C);
3108
- var reject = capability.reject;
3109
- var result = perform(function () {
3110
- var $promiseResolve = aFunction(C.resolve);
3111
- iterate(iterable, function (promise) {
3112
- $promiseResolve.call(C, promise).then(capability.resolve, reject);
3113
- });
3114
- });
3115
- if (result.error) reject(result.value);
3116
- return capability.promise;
3117
- }
3118
- });
3119
-
3120
-
3121
- /***/ }),
3122
-
3123
- /***/ "e893":
3124
- /***/ (function(module, exports, __webpack_require__) {
3125
-
3126
- var has = __webpack_require__("5135");
3127
- var ownKeys = __webpack_require__("56ef");
3128
- var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
3129
- var definePropertyModule = __webpack_require__("9bf2");
3130
-
3131
- module.exports = function (target, source) {
3132
- var keys = ownKeys(source);
3133
- var defineProperty = definePropertyModule.f;
3134
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
3135
- for (var i = 0; i < keys.length; i++) {
3136
- var key = keys[i];
3137
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
3138
- }
3139
- };
3140
-
3141
-
3142
- /***/ }),
3143
-
3144
- /***/ "e95a":
3145
- /***/ (function(module, exports, __webpack_require__) {
3146
-
3147
- var wellKnownSymbol = __webpack_require__("b622");
3148
- var Iterators = __webpack_require__("3f8c");
3149
-
3150
- var ITERATOR = wellKnownSymbol('iterator');
3151
- var ArrayPrototype = Array.prototype;
3152
-
3153
- // check on default Array iterator
3154
- module.exports = function (it) {
3155
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
3156
- };
3157
-
3158
-
3159
- /***/ }),
3160
-
3161
- /***/ "f069":
3162
- /***/ (function(module, exports, __webpack_require__) {
3163
-
3164
- "use strict";
3165
-
3166
- var aFunction = __webpack_require__("1c0b");
3167
-
3168
- var PromiseCapability = function (C) {
3169
- var resolve, reject;
3170
- this.promise = new C(function ($$resolve, $$reject) {
3171
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
3172
- resolve = $$resolve;
3173
- reject = $$reject;
3174
- });
3175
- this.resolve = aFunction(resolve);
3176
- this.reject = aFunction(reject);
3177
- };
3178
-
3179
- // `NewPromiseCapability` abstract operation
3180
- // https://tc39.es/ecma262/#sec-newpromisecapability
3181
- module.exports.f = function (C) {
3182
- return new PromiseCapability(C);
3183
- };
3184
-
3185
-
3186
- /***/ }),
3187
-
3188
- /***/ "f5df":
3189
- /***/ (function(module, exports, __webpack_require__) {
3190
-
3191
- var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
3192
- var classofRaw = __webpack_require__("c6b6");
3193
- var wellKnownSymbol = __webpack_require__("b622");
3194
-
3195
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
3196
- // ES3 wrong here
3197
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
3198
-
3199
- // fallback for IE11 Script Access Denied error
3200
- var tryGet = function (it, key) {
3201
- try {
3202
- return it[key];
3203
- } catch (error) { /* empty */ }
3204
- };
3205
-
3206
- // getting tag from ES6+ `Object.prototype.toString`
3207
- module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
3208
- var O, tag, result;
3209
- return it === undefined ? 'Undefined' : it === null ? 'Null'
3210
- // @@toStringTag case
3211
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
3212
- // builtinTag case
3213
- : CORRECT_ARGUMENTS ? classofRaw(O)
3214
- // ES3 arguments fallback
3215
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
3216
- };
3217
-
3218
-
3219
- /***/ }),
3220
-
3221
- /***/ "f772":
3222
- /***/ (function(module, exports, __webpack_require__) {
3223
-
3224
- var shared = __webpack_require__("5692");
3225
- var uid = __webpack_require__("90e3");
3226
-
3227
- var keys = shared('keys');
3228
-
3229
- module.exports = function (key) {
3230
- return keys[key] || (keys[key] = uid(key));
3231
- };
3232
-
3233
-
3234
- /***/ }),
3235
-
3236
- /***/ "fc6a":
3237
- /***/ (function(module, exports, __webpack_require__) {
3238
-
3239
- // toObject with fallback for non-array-like ES3 strings
3240
- var IndexedObject = __webpack_require__("44ad");
3241
- var requireObjectCoercible = __webpack_require__("1d80");
3242
-
3243
- module.exports = function (it) {
3244
- return IndexedObject(requireObjectCoercible(it));
3245
- };
3246
-
3247
-
3248
- /***/ }),
3249
-
3250
- /***/ "fdbf":
3251
- /***/ (function(module, exports, __webpack_require__) {
3252
-
3253
- /* eslint-disable es/no-symbol -- required for testing */
3254
- var NATIVE_SYMBOL = __webpack_require__("4930");
3255
-
3256
- module.exports = NATIVE_SYMBOL
3257
- && !Symbol.sham
3258
- && typeof Symbol.iterator == 'symbol';
3259
-
3260
-
3261
- /***/ }),
3262
-
3263
- /***/ "fea9":
3264
- /***/ (function(module, exports, __webpack_require__) {
3265
-
3266
- var global = __webpack_require__("da84");
3267
-
3268
- module.exports = global.Promise;
3269
-
3270
-
3271
- /***/ })
3272
-
3273
- /******/ })["default"];