PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.0
Elementor Website Builder – more than just a page builder v3.0.0
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / assets / js / app.js

app.js in Elementor Website Builder – more than just a page builder 3.0.0, at assets/js/app.js

6,876 lines 189.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.0.0 - 23-08-2020 */
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 = 732);
86 /******/ })
87 /************************************************************************/
88 /******/ ([
89 /* 0 */
90 /***/ (function(module, exports) {
91
92 function _interopRequireDefault(obj) {
93 return obj && obj.__esModule ? obj : {
94 "default": obj
95 };
96 }
97
98 module.exports = _interopRequireDefault;
99
100 /***/ }),
101 /* 1 */
102 /***/ (function(module, exports, __webpack_require__) {
103
104 module.exports = __webpack_require__(155);
105
106 /***/ }),
107 /* 2 */
108 /***/ (function(module, exports) {
109
110 function _classCallCheck(instance, Constructor) {
111 if (!(instance instanceof Constructor)) {
112 throw new TypeError("Cannot call a class as a function");
113 }
114 }
115
116 module.exports = _classCallCheck;
117
118 /***/ }),
119 /* 3 */
120 /***/ (function(module, exports, __webpack_require__) {
121
122 var _Object$defineProperty = __webpack_require__(1);
123
124 function _defineProperties(target, props) {
125 for (var i = 0; i < props.length; i++) {
126 var descriptor = props[i];
127 descriptor.enumerable = descriptor.enumerable || false;
128 descriptor.configurable = true;
129 if ("value" in descriptor) descriptor.writable = true;
130
131 _Object$defineProperty(target, descriptor.key, descriptor);
132 }
133 }
134
135 function _createClass(Constructor, protoProps, staticProps) {
136 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
137 if (staticProps) _defineProperties(Constructor, staticProps);
138 return Constructor;
139 }
140
141 module.exports = _createClass;
142
143 /***/ }),
144 /* 4 */
145 /***/ (function(module, exports, __webpack_require__) {
146
147 var _Object$create = __webpack_require__(135);
148
149 var setPrototypeOf = __webpack_require__(134);
150
151 function _inherits(subClass, superClass) {
152 if (typeof superClass !== "function" && superClass !== null) {
153 throw new TypeError("Super expression must either be null or a function");
154 }
155
156 subClass.prototype = _Object$create(superClass && superClass.prototype, {
157 constructor: {
158 value: subClass,
159 writable: true,
160 configurable: true
161 }
162 });
163 if (superClass) setPrototypeOf(subClass, superClass);
164 }
165
166 module.exports = _inherits;
167
168 /***/ }),
169 /* 5 */
170 /***/ (function(module, exports, __webpack_require__) {
171
172 var _Reflect$construct = __webpack_require__(105);
173
174 var getPrototypeOf = __webpack_require__(16);
175
176 var isNativeReflectConstruct = __webpack_require__(145);
177
178 var possibleConstructorReturn = __webpack_require__(170);
179
180 function _createSuper(Derived) {
181 var hasNativeReflectConstruct = isNativeReflectConstruct();
182 return function _createSuperInternal() {
183 var Super = getPrototypeOf(Derived),
184 result;
185
186 if (hasNativeReflectConstruct) {
187 var NewTarget = getPrototypeOf(this).constructor;
188 result = _Reflect$construct(Super, arguments, NewTarget);
189 } else {
190 result = Super.apply(this, arguments);
191 }
192
193 return possibleConstructorReturn(this, result);
194 };
195 }
196
197 module.exports = _createSuper;
198
199 /***/ }),
200 /* 6 */
201 /***/ (function(module, exports) {
202
203 var core = module.exports = { version: '2.6.11' };
204 if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
205
206
207 /***/ }),
208 /* 7 */
209 /***/ (function(module, exports, __webpack_require__) {
210
211 var global = __webpack_require__(8);
212 var core = __webpack_require__(6);
213 var ctx = __webpack_require__(31);
214 var hide = __webpack_require__(25);
215 var has = __webpack_require__(19);
216 var PROTOTYPE = 'prototype';
217
218 var $export = function (type, name, source) {
219 var IS_FORCED = type & $export.F;
220 var IS_GLOBAL = type & $export.G;
221 var IS_STATIC = type & $export.S;
222 var IS_PROTO = type & $export.P;
223 var IS_BIND = type & $export.B;
224 var IS_WRAP = type & $export.W;
225 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
226 var expProto = exports[PROTOTYPE];
227 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
228 var key, own, out;
229 if (IS_GLOBAL) source = name;
230 for (key in source) {
231 // contains in native
232 own = !IS_FORCED && target && target[key] !== undefined;
233 if (own && has(exports, key)) continue;
234 // export native or passed
235 out = own ? target[key] : source[key];
236 // prevent global pollution for namespaces
237 exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
238 // bind timers to global for call from export context
239 : IS_BIND && own ? ctx(out, global)
240 // wrap global constructors for prevent change them in library
241 : IS_WRAP && target[key] == out ? (function (C) {
242 var F = function (a, b, c) {
243 if (this instanceof C) {
244 switch (arguments.length) {
245 case 0: return new C();
246 case 1: return new C(a);
247 case 2: return new C(a, b);
248 } return new C(a, b, c);
249 } return C.apply(this, arguments);
250 };
251 F[PROTOTYPE] = C[PROTOTYPE];
252 return F;
253 // make static versions for prototype methods
254 })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
255 // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
256 if (IS_PROTO) {
257 (exports.virtual || (exports.virtual = {}))[key] = out;
258 // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
259 if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
260 }
261 }
262 };
263 // type bitmap
264 $export.F = 1; // forced
265 $export.G = 2; // global
266 $export.S = 4; // static
267 $export.P = 8; // proto
268 $export.B = 16; // bind
269 $export.W = 32; // wrap
270 $export.U = 64; // safe
271 $export.R = 128; // real proto method for `library`
272 module.exports = $export;
273
274
275 /***/ }),
276 /* 8 */
277 /***/ (function(module, exports) {
278
279 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
280 var global = module.exports = typeof window != 'undefined' && window.Math == Math
281 ? window : typeof self != 'undefined' && self.Math == Math ? self
282 // eslint-disable-next-line no-new-func
283 : Function('return this')();
284 if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
285
286
287 /***/ }),
288 /* 9 */
289 /***/ (function(module, exports) {
290
291 module.exports = function (it) {
292 return typeof it === 'object' ? it !== null : typeof it === 'function';
293 };
294
295
296 /***/ }),
297 /* 10 */
298 /***/ (function(module, exports, __webpack_require__) {
299
300 var store = __webpack_require__(73)('wks');
301 var uid = __webpack_require__(57);
302 var Symbol = __webpack_require__(8).Symbol;
303 var USE_SYMBOL = typeof Symbol == 'function';
304
305 var $exports = module.exports = function (name) {
306 return store[name] || (store[name] =
307 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
308 };
309
310 $exports.store = store;
311
312
313 /***/ }),
314 /* 11 */
315 /***/ (function(module, exports, __webpack_require__) {
316
317 var store = __webpack_require__(66)('wks');
318 var uid = __webpack_require__(67);
319 var Symbol = __webpack_require__(17).Symbol;
320 var USE_SYMBOL = typeof Symbol == 'function';
321
322 var $exports = module.exports = function (name) {
323 return store[name] || (store[name] =
324 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
325 };
326
327 $exports.store = store;
328
329
330 /***/ }),
331 /* 12 */
332 /***/ (function(module, exports, __webpack_require__) {
333
334 var isObject = __webpack_require__(9);
335 module.exports = function (it) {
336 if (!isObject(it)) throw TypeError(it + ' is not an object!');
337 return it;
338 };
339
340
341 /***/ }),
342 /* 13 */
343 /***/ (function(module, exports) {
344
345 module.exports = React;
346
347 /***/ }),
348 /* 14 */
349 /***/ (function(module, exports, __webpack_require__) {
350
351 // Thank's IE8 for his funny defineProperty
352 module.exports = !__webpack_require__(22)(function () {
353 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
354 });
355
356
357 /***/ }),
358 /* 15 */
359 /***/ (function(module, exports, __webpack_require__) {
360
361 var anObject = __webpack_require__(12);
362 var IE8_DOM_DEFINE = __webpack_require__(113);
363 var toPrimitive = __webpack_require__(71);
364 var dP = Object.defineProperty;
365
366 exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
367 anObject(O);
368 P = toPrimitive(P, true);
369 anObject(Attributes);
370 if (IE8_DOM_DEFINE) try {
371 return dP(O, P, Attributes);
372 } catch (e) { /* empty */ }
373 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
374 if ('value' in Attributes) O[P] = Attributes.value;
375 return O;
376 };
377
378
379 /***/ }),
380 /* 16 */
381 /***/ (function(module, exports, __webpack_require__) {
382
383 var _Object$getPrototypeOf = __webpack_require__(157);
384
385 var _Object$setPrototypeOf = __webpack_require__(114);
386
387 function _getPrototypeOf(o) {
388 module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) {
389 return o.__proto__ || _Object$getPrototypeOf(o);
390 };
391 return _getPrototypeOf(o);
392 }
393
394 module.exports = _getPrototypeOf;
395
396 /***/ }),
397 /* 17 */
398 /***/ (function(module, exports) {
399
400 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
401 var global = module.exports = typeof window != 'undefined' && window.Math == Math
402 ? window : typeof self != 'undefined' && self.Math == Math ? self
403 // eslint-disable-next-line no-new-func
404 : Function('return this')();
405 if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
406
407
408 /***/ }),
409 /* 18 */
410 /***/ (function(module, exports, __webpack_require__) {
411
412 var isObject = __webpack_require__(29);
413 module.exports = function (it) {
414 if (!isObject(it)) throw TypeError(it + ' is not an object!');
415 return it;
416 };
417
418
419 /***/ }),
420 /* 19 */
421 /***/ (function(module, exports) {
422
423 var hasOwnProperty = {}.hasOwnProperty;
424 module.exports = function (it, key) {
425 return hasOwnProperty.call(it, key);
426 };
427
428
429 /***/ }),
430 /* 20 */,
431 /* 21 */
432 /***/ (function(module, exports, __webpack_require__) {
433
434 // to indexed object, toObject with fallback for non-array-like ES3 strings
435 var IObject = __webpack_require__(104);
436 var defined = __webpack_require__(65);
437 module.exports = function (it) {
438 return IObject(defined(it));
439 };
440
441
442 /***/ }),
443 /* 22 */
444 /***/ (function(module, exports) {
445
446 module.exports = function (exec) {
447 try {
448 return !!exec();
449 } catch (e) {
450 return true;
451 }
452 };
453
454
455 /***/ }),
456 /* 23 */
457 /***/ (function(module, exports, __webpack_require__) {
458
459 var _Object$getOwnPropertyDescriptor = __webpack_require__(126);
460
461 var _Reflect$get = __webpack_require__(189);
462
463 var superPropBase = __webpack_require__(192);
464
465 function _get(target, property, receiver) {
466 if (typeof Reflect !== "undefined" && _Reflect$get) {
467 module.exports = _get = _Reflect$get;
468 } else {
469 module.exports = _get = function _get(target, property, receiver) {
470 var base = superPropBase(target, property);
471 if (!base) return;
472
473 var desc = _Object$getOwnPropertyDescriptor(base, property);
474
475 if (desc.get) {
476 return desc.get.call(receiver);
477 }
478
479 return desc.value;
480 };
481 }
482
483 return _get(target, property, receiver || target);
484 }
485
486 module.exports = _get;
487
488 /***/ }),
489 /* 24 */,
490 /* 25 */
491 /***/ (function(module, exports, __webpack_require__) {
492
493 var dP = __webpack_require__(15);
494 var createDesc = __webpack_require__(43);
495 module.exports = __webpack_require__(14) ? function (object, key, value) {
496 return dP.f(object, key, createDesc(1, value));
497 } : function (object, key, value) {
498 object[key] = value;
499 return object;
500 };
501
502
503 /***/ }),
504 /* 26 */,
505 /* 27 */
506 /***/ (function(module, exports, __webpack_require__) {
507
508 // Thank's IE8 for his funny defineProperty
509 module.exports = !__webpack_require__(33)(function () {
510 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
511 });
512
513
514 /***/ }),
515 /* 28 */
516 /***/ (function(module, exports, __webpack_require__) {
517
518 var _Object$defineProperty = __webpack_require__(1);
519
520 function _defineProperty(obj, key, value) {
521 if (key in obj) {
522 _Object$defineProperty(obj, key, {
523 value: value,
524 enumerable: true,
525 configurable: true,
526 writable: true
527 });
528 } else {
529 obj[key] = value;
530 }
531
532 return obj;
533 }
534
535 module.exports = _defineProperty;
536
537 /***/ }),
538 /* 29 */
539 /***/ (function(module, exports) {
540
541 module.exports = function (it) {
542 return typeof it === 'object' ? it !== null : typeof it === 'function';
543 };
544
545
546 /***/ }),
547 /* 30 */
548 /***/ (function(module, exports, __webpack_require__) {
549
550 var dP = __webpack_require__(44);
551 var createDesc = __webpack_require__(99);
552 module.exports = __webpack_require__(27) ? function (object, key, value) {
553 return dP.f(object, key, createDesc(1, value));
554 } : function (object, key, value) {
555 object[key] = value;
556 return object;
557 };
558
559
560 /***/ }),
561 /* 31 */
562 /***/ (function(module, exports, __webpack_require__) {
563
564 // optional / simple context binding
565 var aFunction = __webpack_require__(38);
566 module.exports = function (fn, that, length) {
567 aFunction(fn);
568 if (that === undefined) return fn;
569 switch (length) {
570 case 1: return function (a) {
571 return fn.call(that, a);
572 };
573 case 2: return function (a, b) {
574 return fn.call(that, a, b);
575 };
576 case 3: return function (a, b, c) {
577 return fn.call(that, a, b, c);
578 };
579 }
580 return function (/* ...args */) {
581 return fn.apply(that, arguments);
582 };
583 };
584
585
586 /***/ }),
587 /* 32 */
588 /***/ (function(module, exports, __webpack_require__) {
589
590 // 7.1.13 ToObject(argument)
591 var defined = __webpack_require__(65);
592 module.exports = function (it) {
593 return Object(defined(it));
594 };
595
596
597 /***/ }),
598 /* 33 */
599 /***/ (function(module, exports) {
600
601 module.exports = function (exec) {
602 try {
603 return !!exec();
604 } catch (e) {
605 return true;
606 }
607 };
608
609
610 /***/ }),
611 /* 34 */
612 /***/ (function(module, exports) {
613
614 module.exports = {};
615
616
617 /***/ }),
618 /* 35 */
619 /***/ (function(module, exports, __webpack_require__) {
620
621 var global = __webpack_require__(17);
622 var hide = __webpack_require__(30);
623 var has = __webpack_require__(61);
624 var SRC = __webpack_require__(67)('src');
625 var $toString = __webpack_require__(138);
626 var TO_STRING = 'toString';
627 var TPL = ('' + $toString).split(TO_STRING);
628
629 __webpack_require__(52).inspectSource = function (it) {
630 return $toString.call(it);
631 };
632
633 (module.exports = function (O, key, val, safe) {
634 var isFunction = typeof val == 'function';
635 if (isFunction) has(val, 'name') || hide(val, 'name', key);
636 if (O[key] === val) return;
637 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
638 if (O === global) {
639 O[key] = val;
640 } else if (!safe) {
641 delete O[key];
642 hide(O, key, val);
643 } else if (O[key]) {
644 O[key] = val;
645 } else {
646 hide(O, key, val);
647 }
648 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
649 })(Function.prototype, TO_STRING, function toString() {
650 return typeof this == 'function' && this[SRC] || $toString.call(this);
651 });
652
653
654 /***/ }),
655 /* 36 */,
656 /* 37 */
657 /***/ (function(module, exports, __webpack_require__) {
658
659 var global = __webpack_require__(17);
660 var core = __webpack_require__(52);
661 var hide = __webpack_require__(30);
662 var redefine = __webpack_require__(35);
663 var ctx = __webpack_require__(70);
664 var PROTOTYPE = 'prototype';
665
666 var $export = function (type, name, source) {
667 var IS_FORCED = type & $export.F;
668 var IS_GLOBAL = type & $export.G;
669 var IS_STATIC = type & $export.S;
670 var IS_PROTO = type & $export.P;
671 var IS_BIND = type & $export.B;
672 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
673 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
674 var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
675 var key, own, out, exp;
676 if (IS_GLOBAL) source = name;
677 for (key in source) {
678 // contains in native
679 own = !IS_FORCED && target && target[key] !== undefined;
680 // export native or passed
681 out = (own ? target : source)[key];
682 // bind timers to global for call from export context
683 exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
684 // extend global
685 if (target) redefine(target, key, out, type & $export.U);
686 // export
687 if (exports[key] != out) hide(exports, key, exp);
688 if (IS_PROTO && expProto[key] != out) expProto[key] = out;
689 }
690 };
691 global.core = core;
692 // type bitmap
693 $export.F = 1; // forced
694 $export.G = 2; // global
695 $export.S = 4; // static
696 $export.P = 8; // proto
697 $export.B = 16; // bind
698 $export.W = 32; // wrap
699 $export.U = 64; // safe
700 $export.R = 128; // real proto method for `library`
701 module.exports = $export;
702
703
704 /***/ }),
705 /* 38 */
706 /***/ (function(module, exports) {
707
708 module.exports = function (it) {
709 if (typeof it != 'function') throw TypeError(it + ' is not a function!');
710 return it;
711 };
712
713
714 /***/ }),
715 /* 39 */,
716 /* 40 */
717 /***/ (function(module, exports, __webpack_require__) {
718
719 // 19.1.2.14 / 15.2.3.14 Object.keys(O)
720 var $keys = __webpack_require__(115);
721 var enumBugKeys = __webpack_require__(76);
722
723 module.exports = Object.keys || function keys(O) {
724 return $keys(O, enumBugKeys);
725 };
726
727
728 /***/ }),
729 /* 41 */
730 /***/ (function(module, exports) {
731
732 // 7.2.1 RequireObjectCoercible(argument)
733 module.exports = function (it) {
734 if (it == undefined) throw TypeError("Can't call method on " + it);
735 return it;
736 };
737
738
739 /***/ }),
740 /* 42 */
741 /***/ (function(module, exports, __webpack_require__) {
742
743 // 7.1.15 ToLength
744 var toInteger = __webpack_require__(59);
745 var min = Math.min;
746 module.exports = function (it) {
747 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
748 };
749
750
751 /***/ }),
752 /* 43 */
753 /***/ (function(module, exports) {
754
755 module.exports = function (bitmap, value) {
756 return {
757 enumerable: !(bitmap & 1),
758 configurable: !(bitmap & 2),
759 writable: !(bitmap & 4),
760 value: value
761 };
762 };
763
764
765 /***/ }),
766 /* 44 */
767 /***/ (function(module, exports, __webpack_require__) {
768
769 var anObject = __webpack_require__(18);
770 var IE8_DOM_DEFINE = __webpack_require__(125);
771 var toPrimitive = __webpack_require__(121);
772 var dP = Object.defineProperty;
773
774 exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
775 anObject(O);
776 P = toPrimitive(P, true);
777 anObject(Attributes);
778 if (IE8_DOM_DEFINE) try {
779 return dP(O, P, Attributes);
780 } catch (e) { /* empty */ }
781 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
782 if ('value' in Attributes) O[P] = Attributes.value;
783 return O;
784 };
785
786
787 /***/ }),
788 /* 45 */
789 /***/ (function(module, exports) {
790
791 var toString = {}.toString;
792
793 module.exports = function (it) {
794 return toString.call(it).slice(8, -1);
795 };
796
797
798 /***/ }),
799 /* 46 */
800 /***/ (function(module, exports) {
801
802 module.exports = true;
803
804
805 /***/ }),
806 /* 47 */
807 /***/ (function(module, exports) {
808
809 function _assertThisInitialized(self) {
810 if (self === void 0) {
811 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
812 }
813
814 return self;
815 }
816
817 module.exports = _assertThisInitialized;
818
819 /***/ }),
820 /* 48 */
821 /***/ (function(module, exports, __webpack_require__) {
822
823 var _Symbol$iterator = __webpack_require__(149);
824
825 var _Symbol = __webpack_require__(111);
826
827 function _typeof(obj) {
828 "@babel/helpers - typeof";
829
830 if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
831 module.exports = _typeof = function _typeof(obj) {
832 return typeof obj;
833 };
834 } else {
835 module.exports = _typeof = function _typeof(obj) {
836 return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
837 };
838 }
839
840 return _typeof(obj);
841 }
842
843 module.exports = _typeof;
844
845 /***/ }),
846 /* 49 */
847 /***/ (function(module, exports) {
848
849 exports.f = {}.propertyIsEnumerable;
850
851
852 /***/ }),
853 /* 50 */
854 /***/ (function(module, exports, __webpack_require__) {
855
856 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
857 var anObject = __webpack_require__(12);
858 var dPs = __webpack_require__(136);
859 var enumBugKeys = __webpack_require__(76);
860 var IE_PROTO = __webpack_require__(72)('IE_PROTO');
861 var Empty = function () { /* empty */ };
862 var PROTOTYPE = 'prototype';
863
864 // Create object with fake `null` prototype: use iframe Object with cleared prototype
865 var createDict = function () {
866 // Thrash, waste and sodomy: IE GC bug
867 var iframe = __webpack_require__(90)('iframe');
868 var i = enumBugKeys.length;
869 var lt = '<';
870 var gt = '>';
871 var iframeDocument;
872 iframe.style.display = 'none';
873 __webpack_require__(128).appendChild(iframe);
874 iframe.src = 'javascript:'; // eslint-disable-line no-script-url
875 // createDict = iframe.contentWindow.Object;
876 // html.removeChild(iframe);
877 iframeDocument = iframe.contentWindow.document;
878 iframeDocument.open();
879 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
880 iframeDocument.close();
881 createDict = iframeDocument.F;
882 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
883 return createDict();
884 };
885
886 module.exports = Object.create || function create(O, Properties) {
887 var result;
888 if (O !== null) {
889 Empty[PROTOTYPE] = anObject(O);
890 result = new Empty();
891 Empty[PROTOTYPE] = null;
892 // add "__proto__" for Object.getPrototypeOf polyfill
893 result[IE_PROTO] = O;
894 } else result = createDict();
895 return Properties === undefined ? result : dPs(result, Properties);
896 };
897
898
899 /***/ }),
900 /* 51 */,
901 /* 52 */
902 /***/ (function(module, exports) {
903
904 var core = module.exports = { version: '2.6.11' };
905 if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
906
907
908 /***/ }),
909 /* 53 */
910 /***/ (function(module, exports, __webpack_require__) {
911
912 var pIE = __webpack_require__(49);
913 var createDesc = __webpack_require__(43);
914 var toIObject = __webpack_require__(21);
915 var toPrimitive = __webpack_require__(71);
916 var has = __webpack_require__(19);
917 var IE8_DOM_DEFINE = __webpack_require__(113);
918 var gOPD = Object.getOwnPropertyDescriptor;
919
920 exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) {
921 O = toIObject(O);
922 P = toPrimitive(P, true);
923 if (IE8_DOM_DEFINE) try {
924 return gOPD(O, P);
925 } catch (e) { /* empty */ }
926 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
927 };
928
929
930 /***/ }),
931 /* 54 */
932 /***/ (function(module, exports, __webpack_require__) {
933
934 var def = __webpack_require__(15).f;
935 var has = __webpack_require__(19);
936 var TAG = __webpack_require__(10)('toStringTag');
937
938 module.exports = function (it, tag, stat) {
939 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
940 };
941
942
943 /***/ }),
944 /* 55 */
945 /***/ (function(module, exports) {
946
947 var toString = {}.toString;
948
949 module.exports = function (it) {
950 return toString.call(it).slice(8, -1);
951 };
952
953
954 /***/ }),
955 /* 56 */
956 /***/ (function(module, exports, __webpack_require__) {
957
958 "use strict";
959
960
961 var anObject = __webpack_require__(18);
962 var toObject = __webpack_require__(92);
963 var toLength = __webpack_require__(42);
964 var toInteger = __webpack_require__(59);
965 var advanceStringIndex = __webpack_require__(108);
966 var regExpExec = __webpack_require__(94);
967 var max = Math.max;
968 var min = Math.min;
969 var floor = Math.floor;
970 var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
971 var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
972
973 var maybeToString = function (it) {
974 return it === undefined ? it : String(it);
975 };
976
977 // @@replace logic
978 __webpack_require__(95)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
979 return [
980 // `String.prototype.replace` method
981 // https://tc39.github.io/ecma262/#sec-string.prototype.replace
982 function replace(searchValue, replaceValue) {
983 var O = defined(this);
984 var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
985 return fn !== undefined
986 ? fn.call(searchValue, O, replaceValue)
987 : $replace.call(String(O), searchValue, replaceValue);
988 },
989 // `RegExp.prototype[@@replace]` method
990 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
991 function (regexp, replaceValue) {
992 var res = maybeCallNative($replace, regexp, this, replaceValue);
993 if (res.done) return res.value;
994
995 var rx = anObject(regexp);
996 var S = String(this);
997 var functionalReplace = typeof replaceValue === 'function';
998 if (!functionalReplace) replaceValue = String(replaceValue);
999 var global = rx.global;
1000 if (global) {
1001 var fullUnicode = rx.unicode;
1002 rx.lastIndex = 0;
1003 }
1004 var results = [];
1005 while (true) {
1006 var result = regExpExec(rx, S);
1007 if (result === null) break;
1008 results.push(result);
1009 if (!global) break;
1010 var matchStr = String(result[0]);
1011 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1012 }
1013 var accumulatedResult = '';
1014 var nextSourcePosition = 0;
1015 for (var i = 0; i < results.length; i++) {
1016 result = results[i];
1017 var matched = String(result[0]);
1018 var position = max(min(toInteger(result.index), S.length), 0);
1019 var captures = [];
1020 // NOTE: This is equivalent to
1021 // captures = result.slice(1).map(maybeToString)
1022 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1023 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1024 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1025 for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
1026 var namedCaptures = result.groups;
1027 if (functionalReplace) {
1028 var replacerArgs = [matched].concat(captures, position, S);
1029 if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1030 var replacement = String(replaceValue.apply(undefined, replacerArgs));
1031 } else {
1032 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1033 }
1034 if (position >= nextSourcePosition) {
1035 accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
1036 nextSourcePosition = position + matched.length;
1037 }
1038 }
1039 return accumulatedResult + S.slice(nextSourcePosition);
1040 }
1041 ];
1042
1043 // https://tc39.github.io/ecma262/#sec-getsubstitution
1044 function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
1045 var tailPos = position + matched.length;
1046 var m = captures.length;
1047 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1048 if (namedCaptures !== undefined) {
1049 namedCaptures = toObject(namedCaptures);
1050 symbols = SUBSTITUTION_SYMBOLS;
1051 }
1052 return $replace.call(replacement, symbols, function (match, ch) {
1053 var capture;
1054 switch (ch.charAt(0)) {
1055 case '$': return '$';
1056 case '&': return matched;
1057 case '`': return str.slice(0, position);
1058 case "'": return str.slice(tailPos);
1059 case '<':
1060 capture = namedCaptures[ch.slice(1, -1)];
1061 break;
1062 default: // \d\d?
1063 var n = +ch;
1064 if (n === 0) return match;
1065 if (n > m) {
1066 var f = floor(n / 10);
1067 if (f === 0) return match;
1068 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1069 return match;
1070 }
1071 capture = captures[n - 1];
1072 }
1073 return capture === undefined ? '' : capture;
1074 });
1075 }
1076 });
1077
1078
1079 /***/ }),
1080 /* 57 */
1081 /***/ (function(module, exports) {
1082
1083 var id = 0;
1084 var px = Math.random();
1085 module.exports = function (key) {
1086 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1087 };
1088
1089
1090 /***/ }),
1091 /* 58 */
1092 /***/ (function(module, exports, __webpack_require__) {
1093
1094 /**
1095 * Copyright (c) 2013-present, Facebook, Inc.
1096 *
1097 * This source code is licensed under the MIT license found in the
1098 * LICENSE file in the root directory of this source tree.
1099 */
1100
1101 if (false) { var throwOnDirectAccess, ReactIs; } else {
1102 // By explicitly using `prop-types` you are opting into new production behavior.
1103 // http://fb.me/prop-types-in-prod
1104 module.exports = __webpack_require__(325)();
1105 }
1106
1107
1108 /***/ }),
1109 /* 59 */
1110 /***/ (function(module, exports) {
1111
1112 // 7.1.4 ToInteger
1113 var ceil = Math.ceil;
1114 var floor = Math.floor;
1115 module.exports = function (it) {
1116 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1117 };
1118
1119
1120 /***/ }),
1121 /* 60 */
1122 /***/ (function(module, exports, __webpack_require__) {
1123
1124 "use strict";
1125
1126 var $at = __webpack_require__(172)(true);
1127
1128 // 21.1.3.27 String.prototype[@@iterator]()
1129 __webpack_require__(106)(String, 'String', function (iterated) {
1130 this._t = String(iterated); // target
1131 this._i = 0; // next index
1132 // 21.1.5.2.1 %StringIteratorPrototype%.next()
1133 }, function () {
1134 var O = this._t;
1135 var index = this._i;
1136 var point;
1137 if (index >= O.length) return { value: undefined, done: true };
1138 point = $at(O, index);
1139 this._i += point.length;
1140 return { value: point, done: false };
1141 });
1142
1143
1144 /***/ }),
1145 /* 61 */
1146 /***/ (function(module, exports) {
1147
1148 var hasOwnProperty = {}.hasOwnProperty;
1149 module.exports = function (it, key) {
1150 return hasOwnProperty.call(it, key);
1151 };
1152
1153
1154 /***/ }),
1155 /* 62 */
1156 /***/ (function(module, exports, __webpack_require__) {
1157
1158 __webpack_require__(174);
1159 var global = __webpack_require__(8);
1160 var hide = __webpack_require__(25);
1161 var Iterators = __webpack_require__(34);
1162 var TO_STRING_TAG = __webpack_require__(10)('toStringTag');
1163
1164 var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
1165 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
1166 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
1167 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
1168 'TextTrackList,TouchList').split(',');
1169
1170 for (var i = 0; i < DOMIterables.length; i++) {
1171 var NAME = DOMIterables[i];
1172 var Collection = global[NAME];
1173 var proto = Collection && Collection.prototype;
1174 if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1175 Iterators[NAME] = Iterators.Array;
1176 }
1177
1178
1179 /***/ }),
1180 /* 63 */
1181 /***/ (function(module, exports, __webpack_require__) {
1182
1183 exports.f = __webpack_require__(10);
1184
1185
1186 /***/ }),
1187 /* 64 */
1188 /***/ (function(module, exports, __webpack_require__) {
1189
1190 // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1191 var has = __webpack_require__(19);
1192 var toObject = __webpack_require__(32);
1193 var IE_PROTO = __webpack_require__(72)('IE_PROTO');
1194 var ObjectProto = Object.prototype;
1195
1196 module.exports = Object.getPrototypeOf || function (O) {
1197 O = toObject(O);
1198 if (has(O, IE_PROTO)) return O[IE_PROTO];
1199 if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1200 return O.constructor.prototype;
1201 } return O instanceof Object ? ObjectProto : null;
1202 };
1203
1204
1205 /***/ }),
1206 /* 65 */
1207 /***/ (function(module, exports) {
1208
1209 // 7.2.1 RequireObjectCoercible(argument)
1210 module.exports = function (it) {
1211 if (it == undefined) throw TypeError("Can't call method on " + it);
1212 return it;
1213 };
1214
1215
1216 /***/ }),
1217 /* 66 */
1218 /***/ (function(module, exports, __webpack_require__) {
1219
1220 var core = __webpack_require__(52);
1221 var global = __webpack_require__(17);
1222 var SHARED = '__core-js_shared__';
1223 var store = global[SHARED] || (global[SHARED] = {});
1224
1225 (module.exports = function (key, value) {
1226 return store[key] || (store[key] = value !== undefined ? value : {});
1227 })('versions', []).push({
1228 version: core.version,
1229 mode: __webpack_require__(109) ? 'pure' : 'global',
1230 copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1231 });
1232
1233
1234 /***/ }),
1235 /* 67 */
1236 /***/ (function(module, exports) {
1237
1238 var id = 0;
1239 var px = Math.random();
1240 module.exports = function (key) {
1241 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1242 };
1243
1244
1245 /***/ }),
1246 /* 68 */,
1247 /* 69 */,
1248 /* 70 */
1249 /***/ (function(module, exports, __webpack_require__) {
1250
1251 // optional / simple context binding
1252 var aFunction = __webpack_require__(89);
1253 module.exports = function (fn, that, length) {
1254 aFunction(fn);
1255 if (that === undefined) return fn;
1256 switch (length) {
1257 case 1: return function (a) {
1258 return fn.call(that, a);
1259 };
1260 case 2: return function (a, b) {
1261 return fn.call(that, a, b);
1262 };
1263 case 3: return function (a, b, c) {
1264 return fn.call(that, a, b, c);
1265 };
1266 }
1267 return function (/* ...args */) {
1268 return fn.apply(that, arguments);
1269 };
1270 };
1271
1272
1273 /***/ }),
1274 /* 71 */
1275 /***/ (function(module, exports, __webpack_require__) {
1276
1277 // 7.1.1 ToPrimitive(input [, PreferredType])
1278 var isObject = __webpack_require__(9);
1279 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
1280 // and the second argument - flag - preferred type is a string
1281 module.exports = function (it, S) {
1282 if (!isObject(it)) return it;
1283 var fn, val;
1284 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1285 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1286 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1287 throw TypeError("Can't convert object to primitive value");
1288 };
1289
1290
1291 /***/ }),
1292 /* 72 */
1293 /***/ (function(module, exports, __webpack_require__) {
1294
1295 var shared = __webpack_require__(73)('keys');
1296 var uid = __webpack_require__(57);
1297 module.exports = function (key) {
1298 return shared[key] || (shared[key] = uid(key));
1299 };
1300
1301
1302 /***/ }),
1303 /* 73 */
1304 /***/ (function(module, exports, __webpack_require__) {
1305
1306 var core = __webpack_require__(6);
1307 var global = __webpack_require__(8);
1308 var SHARED = '__core-js_shared__';
1309 var store = global[SHARED] || (global[SHARED] = {});
1310
1311 (module.exports = function (key, value) {
1312 return store[key] || (store[key] = value !== undefined ? value : {});
1313 })('versions', []).push({
1314 version: core.version,
1315 mode: __webpack_require__(46) ? 'pure' : 'global',
1316 copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1317 });
1318
1319
1320 /***/ }),
1321 /* 74 */
1322 /***/ (function(module, exports, __webpack_require__) {
1323
1324 // 7.1.15 ToLength
1325 var toInteger = __webpack_require__(75);
1326 var min = Math.min;
1327 module.exports = function (it) {
1328 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1329 };
1330
1331
1332 /***/ }),
1333 /* 75 */
1334 /***/ (function(module, exports) {
1335
1336 // 7.1.4 ToInteger
1337 var ceil = Math.ceil;
1338 var floor = Math.floor;
1339 module.exports = function (it) {
1340 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1341 };
1342
1343
1344 /***/ }),
1345 /* 76 */
1346 /***/ (function(module, exports) {
1347
1348 // IE 8- don't enum bug keys
1349 module.exports = (
1350 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1351 ).split(',');
1352
1353
1354 /***/ }),
1355 /* 77 */
1356 /***/ (function(module, exports, __webpack_require__) {
1357
1358 var global = __webpack_require__(8);
1359 var core = __webpack_require__(6);
1360 var LIBRARY = __webpack_require__(46);
1361 var wksExt = __webpack_require__(63);
1362 var defineProperty = __webpack_require__(15).f;
1363 module.exports = function (name) {
1364 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
1365 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
1366 };
1367
1368
1369 /***/ }),
1370 /* 78 */
1371 /***/ (function(module, exports) {
1372
1373 exports.f = Object.getOwnPropertySymbols;
1374
1375
1376 /***/ }),
1377 /* 79 */,
1378 /* 80 */
1379 /***/ (function(module, exports, __webpack_require__) {
1380
1381 "use strict";
1382
1383
1384 var isRegExp = __webpack_require__(120);
1385 var anObject = __webpack_require__(18);
1386 var speciesConstructor = __webpack_require__(154);
1387 var advanceStringIndex = __webpack_require__(108);
1388 var toLength = __webpack_require__(42);
1389 var callRegExpExec = __webpack_require__(94);
1390 var regexpExec = __webpack_require__(86);
1391 var fails = __webpack_require__(33);
1392 var $min = Math.min;
1393 var $push = [].push;
1394 var $SPLIT = 'split';
1395 var LENGTH = 'length';
1396 var LAST_INDEX = 'lastIndex';
1397 var MAX_UINT32 = 0xffffffff;
1398
1399 // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
1400 var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
1401
1402 // @@split logic
1403 __webpack_require__(95)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
1404 var internalSplit;
1405 if (
1406 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
1407 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
1408 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
1409 '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
1410 '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
1411 ''[$SPLIT](/.?/)[LENGTH]
1412 ) {
1413 // based on es5-shim implementation, need to rework it
1414 internalSplit = function (separator, limit) {
1415 var string = String(this);
1416 if (separator === undefined && limit === 0) return [];
1417 // If `separator` is not a regex, use native split
1418 if (!isRegExp(separator)) return $split.call(string, separator, limit);
1419 var output = [];
1420 var flags = (separator.ignoreCase ? 'i' : '') +
1421 (separator.multiline ? 'm' : '') +
1422 (separator.unicode ? 'u' : '') +
1423 (separator.sticky ? 'y' : '');
1424 var lastLastIndex = 0;
1425 var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
1426 // Make `global` and avoid `lastIndex` issues by working with a copy
1427 var separatorCopy = new RegExp(separator.source, flags + 'g');
1428 var match, lastIndex, lastLength;
1429 while (match = regexpExec.call(separatorCopy, string)) {
1430 lastIndex = separatorCopy[LAST_INDEX];
1431 if (lastIndex > lastLastIndex) {
1432 output.push(string.slice(lastLastIndex, match.index));
1433 if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
1434 lastLength = match[0][LENGTH];
1435 lastLastIndex = lastIndex;
1436 if (output[LENGTH] >= splitLimit) break;
1437 }
1438 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
1439 }
1440 if (lastLastIndex === string[LENGTH]) {
1441 if (lastLength || !separatorCopy.test('')) output.push('');
1442 } else output.push(string.slice(lastLastIndex));
1443 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
1444 };
1445 // Chakra, V8
1446 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
1447 internalSplit = function (separator, limit) {
1448 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
1449 };
1450 } else {
1451 internalSplit = $split;
1452 }
1453
1454 return [
1455 // `String.prototype.split` method
1456 // https://tc39.github.io/ecma262/#sec-string.prototype.split
1457 function split(separator, limit) {
1458 var O = defined(this);
1459 var splitter = separator == undefined ? undefined : separator[SPLIT];
1460 return splitter !== undefined
1461 ? splitter.call(separator, O, limit)
1462 : internalSplit.call(String(O), separator, limit);
1463 },
1464 // `RegExp.prototype[@@split]` method
1465 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
1466 //
1467 // NOTE: This cannot be properly polyfilled in engines that don't support
1468 // the 'y' flag.
1469 function (regexp, limit) {
1470 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
1471 if (res.done) return res.value;
1472
1473 var rx = anObject(regexp);
1474 var S = String(this);
1475 var C = speciesConstructor(rx, RegExp);
1476
1477 var unicodeMatching = rx.unicode;
1478 var flags = (rx.ignoreCase ? 'i' : '') +
1479 (rx.multiline ? 'm' : '') +
1480 (rx.unicode ? 'u' : '') +
1481 (SUPPORTS_Y ? 'y' : 'g');
1482
1483 // ^(? + rx + ) is needed, in combination with some S slicing, to
1484 // simulate the 'y' flag.
1485 var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
1486 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1487 if (lim === 0) return [];
1488 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
1489 var p = 0;
1490 var q = 0;
1491 var A = [];
1492 while (q < S.length) {
1493 splitter.lastIndex = SUPPORTS_Y ? q : 0;
1494 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
1495 var e;
1496 if (
1497 z === null ||
1498 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
1499 ) {
1500 q = advanceStringIndex(S, q, unicodeMatching);
1501 } else {
1502 A.push(S.slice(p, q));
1503 if (A.length === lim) return A;
1504 for (var i = 1; i <= z.length - 1; i++) {
1505 A.push(z[i]);
1506 if (A.length === lim) return A;
1507 }
1508 q = p = e;
1509 }
1510 }
1511 A.push(S.slice(p));
1512 return A;
1513 }
1514 ];
1515 });
1516
1517
1518 /***/ }),
1519 /* 81 */
1520 /***/ (function(module, exports, __webpack_require__) {
1521
1522 var META = __webpack_require__(57)('meta');
1523 var isObject = __webpack_require__(9);
1524 var has = __webpack_require__(19);
1525 var setDesc = __webpack_require__(15).f;
1526 var id = 0;
1527 var isExtensible = Object.isExtensible || function () {
1528 return true;
1529 };
1530 var FREEZE = !__webpack_require__(22)(function () {
1531 return isExtensible(Object.preventExtensions({}));
1532 });
1533 var setMeta = function (it) {
1534 setDesc(it, META, { value: {
1535 i: 'O' + ++id, // object ID
1536 w: {} // weak collections IDs
1537 } });
1538 };
1539 var fastKey = function (it, create) {
1540 // return primitive with prefix
1541 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1542 if (!has(it, META)) {
1543 // can't set metadata to uncaught frozen object
1544 if (!isExtensible(it)) return 'F';
1545 // not necessary to add metadata
1546 if (!create) return 'E';
1547 // add missing metadata
1548 setMeta(it);
1549 // return object ID
1550 } return it[META].i;
1551 };
1552 var getWeak = function (it, create) {
1553 if (!has(it, META)) {
1554 // can't set metadata to uncaught frozen object
1555 if (!isExtensible(it)) return true;
1556 // not necessary to add metadata
1557 if (!create) return false;
1558 // add missing metadata
1559 setMeta(it);
1560 // return hash weak collections IDs
1561 } return it[META].w;
1562 };
1563 // add metadata on freeze-family methods calling
1564 var onFreeze = function (it) {
1565 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1566 return it;
1567 };
1568 var meta = module.exports = {
1569 KEY: META,
1570 NEED: false,
1571 fastKey: fastKey,
1572 getWeak: getWeak,
1573 onFreeze: onFreeze
1574 };
1575
1576
1577 /***/ }),
1578 /* 82 */
1579 /***/ (function(module, exports, __webpack_require__) {
1580
1581 module.exports = __webpack_require__(213);
1582
1583 /***/ }),
1584 /* 83 */,
1585 /* 84 */
1586 /***/ (function(module, exports, __webpack_require__) {
1587
1588 // most Object methods by ES6 should accept primitives
1589 var $export = __webpack_require__(7);
1590 var core = __webpack_require__(6);
1591 var fails = __webpack_require__(22);
1592 module.exports = function (KEY, exec) {
1593 var fn = (core.Object || {})[KEY] || Object[KEY];
1594 var exp = {};
1595 exp[KEY] = exec(fn);
1596 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1597 };
1598
1599
1600 /***/ }),
1601 /* 85 */,
1602 /* 86 */
1603 /***/ (function(module, exports, __webpack_require__) {
1604
1605 "use strict";
1606
1607
1608 var regexpFlags = __webpack_require__(103);
1609
1610 var nativeExec = RegExp.prototype.exec;
1611 // This always refers to the native implementation, because the
1612 // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1613 // which loads this file before patching the method.
1614 var nativeReplace = String.prototype.replace;
1615
1616 var patchedExec = nativeExec;
1617
1618 var LAST_INDEX = 'lastIndex';
1619
1620 var UPDATES_LAST_INDEX_WRONG = (function () {
1621 var re1 = /a/,
1622 re2 = /b*/g;
1623 nativeExec.call(re1, 'a');
1624 nativeExec.call(re2, 'a');
1625 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
1626 })();
1627
1628 // nonparticipating capturing group, copied from es5-shim's String#split patch.
1629 var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1630
1631 var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
1632
1633 if (PATCH) {
1634 patchedExec = function exec(str) {
1635 var re = this;
1636 var lastIndex, reCopy, match, i;
1637
1638 if (NPCG_INCLUDED) {
1639 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
1640 }
1641 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
1642
1643 match = nativeExec.call(re, str);
1644
1645 if (UPDATES_LAST_INDEX_WRONG && match) {
1646 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
1647 }
1648 if (NPCG_INCLUDED && match && match.length > 1) {
1649 // Fix browsers whose `exec` methods don't consistently return `undefined`
1650 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1651 // eslint-disable-next-line no-loop-func
1652 nativeReplace.call(match[0], reCopy, function () {
1653 for (i = 1; i < arguments.length - 2; i++) {
1654 if (arguments[i] === undefined) match[i] = undefined;
1655 }
1656 });
1657 }
1658
1659 return match;
1660 };
1661 }
1662
1663 module.exports = patchedExec;
1664
1665
1666 /***/ }),
1667 /* 87 */,
1668 /* 88 */,
1669 /* 89 */
1670 /***/ (function(module, exports) {
1671
1672 module.exports = function (it) {
1673 if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1674 return it;
1675 };
1676
1677
1678 /***/ }),
1679 /* 90 */
1680 /***/ (function(module, exports, __webpack_require__) {
1681
1682 var isObject = __webpack_require__(9);
1683 var document = __webpack_require__(8).document;
1684 // typeof document.createElement is 'object' in old IE
1685 var is = isObject(document) && isObject(document.createElement);
1686 module.exports = function (it) {
1687 return is ? document.createElement(it) : {};
1688 };
1689
1690
1691 /***/ }),
1692 /* 91 */,
1693 /* 92 */
1694 /***/ (function(module, exports, __webpack_require__) {
1695
1696 // 7.1.13 ToObject(argument)
1697 var defined = __webpack_require__(41);
1698 module.exports = function (it) {
1699 return Object(defined(it));
1700 };
1701
1702
1703 /***/ }),
1704 /* 93 */
1705 /***/ (function(module, exports, __webpack_require__) {
1706
1707 module.exports = __webpack_require__(25);
1708
1709
1710 /***/ }),
1711 /* 94 */
1712 /***/ (function(module, exports, __webpack_require__) {
1713
1714 "use strict";
1715
1716
1717 var classof = __webpack_require__(112);
1718 var builtinExec = RegExp.prototype.exec;
1719
1720 // `RegExpExec` abstract operation
1721 // https://tc39.github.io/ecma262/#sec-regexpexec
1722 module.exports = function (R, S) {
1723 var exec = R.exec;
1724 if (typeof exec === 'function') {
1725 var result = exec.call(R, S);
1726 if (typeof result !== 'object') {
1727 throw new TypeError('RegExp exec method returned something other than an Object or null');
1728 }
1729 return result;
1730 }
1731 if (classof(R) !== 'RegExp') {
1732 throw new TypeError('RegExp#exec called on incompatible receiver');
1733 }
1734 return builtinExec.call(R, S);
1735 };
1736
1737
1738 /***/ }),
1739 /* 95 */
1740 /***/ (function(module, exports, __webpack_require__) {
1741
1742 "use strict";
1743
1744 __webpack_require__(186);
1745 var redefine = __webpack_require__(35);
1746 var hide = __webpack_require__(30);
1747 var fails = __webpack_require__(33);
1748 var defined = __webpack_require__(41);
1749 var wks = __webpack_require__(11);
1750 var regexpExec = __webpack_require__(86);
1751
1752 var SPECIES = wks('species');
1753
1754 var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1755 // #replace needs built-in support for named groups.
1756 // #match works fine because it just return the exec results, even if it has
1757 // a "grops" property.
1758 var re = /./;
1759 re.exec = function () {
1760 var result = [];
1761 result.groups = { a: '7' };
1762 return result;
1763 };
1764 return ''.replace(re, '$<a>') !== '7';
1765 });
1766
1767 var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
1768 // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1769 var re = /(?:)/;
1770 var originalExec = re.exec;
1771 re.exec = function () { return originalExec.apply(this, arguments); };
1772 var result = 'ab'.split(re);
1773 return result.length === 2 && result[0] === 'a' && result[1] === 'b';
1774 })();
1775
1776 module.exports = function (KEY, length, exec) {
1777 var SYMBOL = wks(KEY);
1778
1779 var DELEGATES_TO_SYMBOL = !fails(function () {
1780 // String methods call symbol-named RegEp methods
1781 var O = {};
1782 O[SYMBOL] = function () { return 7; };
1783 return ''[KEY](O) != 7;
1784 });
1785
1786 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
1787 // Symbol-named RegExp methods call .exec
1788 var execCalled = false;
1789 var re = /a/;
1790 re.exec = function () { execCalled = true; return null; };
1791 if (KEY === 'split') {
1792 // RegExp[@@split] doesn't call the regex's exec method, but first creates
1793 // a new one. We need to return the patched regex when creating the new one.
1794 re.constructor = {};
1795 re.constructor[SPECIES] = function () { return re; };
1796 }
1797 re[SYMBOL]('');
1798 return !execCalled;
1799 }) : undefined;
1800
1801 if (
1802 !DELEGATES_TO_SYMBOL ||
1803 !DELEGATES_TO_EXEC ||
1804 (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
1805 (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1806 ) {
1807 var nativeRegExpMethod = /./[SYMBOL];
1808 var fns = exec(
1809 defined,
1810 SYMBOL,
1811 ''[KEY],
1812 function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
1813 if (regexp.exec === regexpExec) {
1814 if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1815 // The native String method already delegates to @@method (this
1816 // polyfilled function), leasing to infinite recursion.
1817 // We avoid it by directly calling the native @@method method.
1818 return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1819 }
1820 return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1821 }
1822 return { done: false };
1823 }
1824 );
1825 var strfn = fns[0];
1826 var rxfn = fns[1];
1827
1828 redefine(String.prototype, KEY, strfn);
1829 hide(RegExp.prototype, SYMBOL, length == 2
1830 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1831 // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1832 ? function (string, arg) { return rxfn.call(string, this, arg); }
1833 // 21.2.5.6 RegExp.prototype[@@match](string)
1834 // 21.2.5.9 RegExp.prototype[@@search](string)
1835 : function (string) { return rxfn.call(string, this); }
1836 );
1837 }
1838 };
1839
1840
1841 /***/ }),
1842 /* 96 */
1843 /***/ (function(module, exports, __webpack_require__) {
1844
1845 // 7.2.2 IsArray(argument)
1846 var cof = __webpack_require__(55);
1847 module.exports = Array.isArray || function isArray(arg) {
1848 return cof(arg) == 'Array';
1849 };
1850
1851
1852 /***/ }),
1853 /* 97 */
1854 /***/ (function(module, exports, __webpack_require__) {
1855
1856 // getting tag from 19.1.3.6 Object.prototype.toString()
1857 var cof = __webpack_require__(55);
1858 var TAG = __webpack_require__(10)('toStringTag');
1859 // ES3 wrong here
1860 var ARG = cof(function () { return arguments; }()) == 'Arguments';
1861
1862 // fallback for IE11 Script Access Denied error
1863 var tryGet = function (it, key) {
1864 try {
1865 return it[key];
1866 } catch (e) { /* empty */ }
1867 };
1868
1869 module.exports = function (it) {
1870 var O, T, B;
1871 return it === undefined ? 'Undefined' : it === null ? 'Null'
1872 // @@toStringTag case
1873 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1874 // builtinTag case
1875 : ARG ? cof(O)
1876 // ES3 arguments fallback
1877 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1878 };
1879
1880
1881 /***/ }),
1882 /* 98 */,
1883 /* 99 */
1884 /***/ (function(module, exports) {
1885
1886 module.exports = function (bitmap, value) {
1887 return {
1888 enumerable: !(bitmap & 1),
1889 configurable: !(bitmap & 2),
1890 writable: !(bitmap & 4),
1891 value: value
1892 };
1893 };
1894
1895
1896 /***/ }),
1897 /* 100 */
1898 /***/ (function(module, exports, __webpack_require__) {
1899
1900 // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1901 var $keys = __webpack_require__(115);
1902 var hiddenKeys = __webpack_require__(76).concat('length', 'prototype');
1903
1904 exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1905 return $keys(O, hiddenKeys);
1906 };
1907
1908
1909 /***/ }),
1910 /* 101 */
1911 /***/ (function(module, exports) {
1912
1913
1914
1915 /***/ }),
1916 /* 102 */,
1917 /* 103 */
1918 /***/ (function(module, exports, __webpack_require__) {
1919
1920 "use strict";
1921
1922 // 21.2.5.3 get RegExp.prototype.flags
1923 var anObject = __webpack_require__(18);
1924 module.exports = function () {
1925 var that = anObject(this);
1926 var result = '';
1927 if (that.global) result += 'g';
1928 if (that.ignoreCase) result += 'i';
1929 if (that.multiline) result += 'm';
1930 if (that.unicode) result += 'u';
1931 if (that.sticky) result += 'y';
1932 return result;
1933 };
1934
1935
1936 /***/ }),
1937 /* 104 */
1938 /***/ (function(module, exports, __webpack_require__) {
1939
1940 // fallback for non-array-like ES3 and non-enumerable old V8 strings
1941 var cof = __webpack_require__(55);
1942 // eslint-disable-next-line no-prototype-builtins
1943 module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
1944 return cof(it) == 'String' ? it.split('') : Object(it);
1945 };
1946
1947
1948 /***/ }),
1949 /* 105 */
1950 /***/ (function(module, exports, __webpack_require__) {
1951
1952 module.exports = __webpack_require__(167);
1953
1954 /***/ }),
1955 /* 106 */
1956 /***/ (function(module, exports, __webpack_require__) {
1957
1958 "use strict";
1959
1960 var LIBRARY = __webpack_require__(46);
1961 var $export = __webpack_require__(7);
1962 var redefine = __webpack_require__(93);
1963 var hide = __webpack_require__(25);
1964 var Iterators = __webpack_require__(34);
1965 var $iterCreate = __webpack_require__(173);
1966 var setToStringTag = __webpack_require__(54);
1967 var getPrototypeOf = __webpack_require__(64);
1968 var ITERATOR = __webpack_require__(10)('iterator');
1969 var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1970 var FF_ITERATOR = '@@iterator';
1971 var KEYS = 'keys';
1972 var VALUES = 'values';
1973
1974 var returnThis = function () { return this; };
1975
1976 module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
1977 $iterCreate(Constructor, NAME, next);
1978 var getMethod = function (kind) {
1979 if (!BUGGY && kind in proto) return proto[kind];
1980 switch (kind) {
1981 case KEYS: return function keys() { return new Constructor(this, kind); };
1982 case VALUES: return function values() { return new Constructor(this, kind); };
1983 } return function entries() { return new Constructor(this, kind); };
1984 };
1985 var TAG = NAME + ' Iterator';
1986 var DEF_VALUES = DEFAULT == VALUES;
1987 var VALUES_BUG = false;
1988 var proto = Base.prototype;
1989 var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
1990 var $default = $native || getMethod(DEFAULT);
1991 var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
1992 var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
1993 var methods, key, IteratorPrototype;
1994 // Fix native
1995 if ($anyNative) {
1996 IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
1997 if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
1998 // Set @@toStringTag to native iterators
1999 setToStringTag(IteratorPrototype, TAG, true);
2000 // fix for some old engines
2001 if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
2002 }
2003 }
2004 // fix Array#{values, @@iterator}.name in V8 / FF
2005 if (DEF_VALUES && $native && $native.name !== VALUES) {
2006 VALUES_BUG = true;
2007 $default = function values() { return $native.call(this); };
2008 }
2009 // Define iterator
2010 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
2011 hide(proto, ITERATOR, $default);
2012 }
2013 // Plug for library
2014 Iterators[NAME] = $default;
2015 Iterators[TAG] = returnThis;
2016 if (DEFAULT) {
2017 methods = {
2018 values: DEF_VALUES ? $default : getMethod(VALUES),
2019 keys: IS_SET ? $default : getMethod(KEYS),
2020 entries: $entries
2021 };
2022 if (FORCED) for (key in methods) {
2023 if (!(key in proto)) redefine(proto, key, methods[key]);
2024 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
2025 }
2026 return methods;
2027 };
2028
2029
2030 /***/ }),
2031 /* 107 */
2032 /***/ (function(module, exports, __webpack_require__) {
2033
2034 var isObject = __webpack_require__(29);
2035 var document = __webpack_require__(17).document;
2036 // typeof document.createElement is 'object' in old IE
2037 var is = isObject(document) && isObject(document.createElement);
2038 module.exports = function (it) {
2039 return is ? document.createElement(it) : {};
2040 };
2041
2042
2043 /***/ }),
2044 /* 108 */
2045 /***/ (function(module, exports, __webpack_require__) {
2046
2047 "use strict";
2048
2049 var at = __webpack_require__(137)(true);
2050
2051 // `AdvanceStringIndex` abstract operation
2052 // https://tc39.github.io/ecma262/#sec-advancestringindex
2053 module.exports = function (S, index, unicode) {
2054 return index + (unicode ? at(S, index).length : 1);
2055 };
2056
2057
2058 /***/ }),
2059 /* 109 */
2060 /***/ (function(module, exports) {
2061
2062 module.exports = false;
2063
2064
2065 /***/ }),
2066 /* 110 */,
2067 /* 111 */
2068 /***/ (function(module, exports, __webpack_require__) {
2069
2070 module.exports = __webpack_require__(176);
2071
2072 /***/ }),
2073 /* 112 */
2074 /***/ (function(module, exports, __webpack_require__) {
2075
2076 // getting tag from 19.1.3.6 Object.prototype.toString()
2077 var cof = __webpack_require__(45);
2078 var TAG = __webpack_require__(11)('toStringTag');
2079 // ES3 wrong here
2080 var ARG = cof(function () { return arguments; }()) == 'Arguments';
2081
2082 // fallback for IE11 Script Access Denied error
2083 var tryGet = function (it, key) {
2084 try {
2085 return it[key];
2086 } catch (e) { /* empty */ }
2087 };
2088
2089 module.exports = function (it) {
2090 var O, T, B;
2091 return it === undefined ? 'Undefined' : it === null ? 'Null'
2092 // @@toStringTag case
2093 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
2094 // builtinTag case
2095 : ARG ? cof(O)
2096 // ES3 arguments fallback
2097 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
2098 };
2099
2100
2101 /***/ }),
2102 /* 113 */
2103 /***/ (function(module, exports, __webpack_require__) {
2104
2105 module.exports = !__webpack_require__(14) && !__webpack_require__(22)(function () {
2106 return Object.defineProperty(__webpack_require__(90)('div'), 'a', { get: function () { return 7; } }).a != 7;
2107 });
2108
2109
2110 /***/ }),
2111 /* 114 */
2112 /***/ (function(module, exports, __webpack_require__) {
2113
2114 module.exports = __webpack_require__(160);
2115
2116 /***/ }),
2117 /* 115 */
2118 /***/ (function(module, exports, __webpack_require__) {
2119
2120 var has = __webpack_require__(19);
2121 var toIObject = __webpack_require__(21);
2122 var arrayIndexOf = __webpack_require__(165)(false);
2123 var IE_PROTO = __webpack_require__(72)('IE_PROTO');
2124
2125 module.exports = function (object, names) {
2126 var O = toIObject(object);
2127 var i = 0;
2128 var result = [];
2129 var key;
2130 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
2131 // Don't enum bug & hidden keys
2132 while (names.length > i) if (has(O, key = names[i++])) {
2133 ~arrayIndexOf(result, key) || result.push(key);
2134 }
2135 return result;
2136 };
2137
2138
2139 /***/ }),
2140 /* 116 */,
2141 /* 117 */,
2142 /* 118 */
2143 /***/ (function(module, exports, __webpack_require__) {
2144
2145 "use strict";
2146
2147
2148 var anObject = __webpack_require__(18);
2149 var toLength = __webpack_require__(42);
2150 var advanceStringIndex = __webpack_require__(108);
2151 var regExpExec = __webpack_require__(94);
2152
2153 // @@match logic
2154 __webpack_require__(95)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
2155 return [
2156 // `String.prototype.match` method
2157 // https://tc39.github.io/ecma262/#sec-string.prototype.match
2158 function match(regexp) {
2159 var O = defined(this);
2160 var fn = regexp == undefined ? undefined : regexp[MATCH];
2161 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
2162 },
2163 // `RegExp.prototype[@@match]` method
2164 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
2165 function (regexp) {
2166 var res = maybeCallNative($match, regexp, this);
2167 if (res.done) return res.value;
2168 var rx = anObject(regexp);
2169 var S = String(this);
2170 if (!rx.global) return regExpExec(rx, S);
2171 var fullUnicode = rx.unicode;
2172 rx.lastIndex = 0;
2173 var A = [];
2174 var n = 0;
2175 var result;
2176 while ((result = regExpExec(rx, S)) !== null) {
2177 var matchStr = String(result[0]);
2178 A[n] = matchStr;
2179 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2180 n++;
2181 }
2182 return n === 0 ? null : A;
2183 }
2184 ];
2185 });
2186
2187
2188 /***/ }),
2189 /* 119 */
2190 /***/ (function(module, exports, __webpack_require__) {
2191
2192 var classof = __webpack_require__(97);
2193 var ITERATOR = __webpack_require__(10)('iterator');
2194 var Iterators = __webpack_require__(34);
2195 module.exports = __webpack_require__(6).getIteratorMethod = function (it) {
2196 if (it != undefined) return it[ITERATOR]
2197 || it['@@iterator']
2198 || Iterators[classof(it)];
2199 };
2200
2201
2202 /***/ }),
2203 /* 120 */
2204 /***/ (function(module, exports, __webpack_require__) {
2205
2206 // 7.2.8 IsRegExp(argument)
2207 var isObject = __webpack_require__(29);
2208 var cof = __webpack_require__(45);
2209 var MATCH = __webpack_require__(11)('match');
2210 module.exports = function (it) {
2211 var isRegExp;
2212 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2213 };
2214
2215
2216 /***/ }),
2217 /* 121 */
2218 /***/ (function(module, exports, __webpack_require__) {
2219
2220 // 7.1.1 ToPrimitive(input [, PreferredType])
2221 var isObject = __webpack_require__(29);
2222 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
2223 // and the second argument - flag - preferred type is a string
2224 module.exports = function (it, S) {
2225 if (!isObject(it)) return it;
2226 var fn, val;
2227 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2228 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
2229 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2230 throw TypeError("Can't convert object to primitive value");
2231 };
2232
2233
2234 /***/ }),
2235 /* 122 */,
2236 /* 123 */,
2237 /* 124 */,
2238 /* 125 */
2239 /***/ (function(module, exports, __webpack_require__) {
2240
2241 module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () {
2242 return Object.defineProperty(__webpack_require__(107)('div'), 'a', { get: function () { return 7; } }).a != 7;
2243 });
2244
2245
2246 /***/ }),
2247 /* 126 */
2248 /***/ (function(module, exports, __webpack_require__) {
2249
2250 module.exports = __webpack_require__(187);
2251
2252 /***/ }),
2253 /* 127 */,
2254 /* 128 */
2255 /***/ (function(module, exports, __webpack_require__) {
2256
2257 var document = __webpack_require__(8).document;
2258 module.exports = document && document.documentElement;
2259
2260
2261 /***/ }),
2262 /* 129 */
2263 /***/ (function(module, exports) {
2264
2265 // fast apply, http://jsperf.lnkit.com/fast-apply/5
2266 module.exports = function (fn, args, that) {
2267 var un = that === undefined;
2268 switch (args.length) {
2269 case 0: return un ? fn()
2270 : fn.call(that);
2271 case 1: return un ? fn(args[0])
2272 : fn.call(that, args[0]);
2273 case 2: return un ? fn(args[0], args[1])
2274 : fn.call(that, args[0], args[1]);
2275 case 3: return un ? fn(args[0], args[1], args[2])
2276 : fn.call(that, args[0], args[1], args[2]);
2277 case 4: return un ? fn(args[0], args[1], args[2], args[3])
2278 : fn.call(that, args[0], args[1], args[2], args[3]);
2279 } return fn.apply(that, args);
2280 };
2281
2282
2283 /***/ }),
2284 /* 130 */,
2285 /* 131 */,
2286 /* 132 */,
2287 /* 133 */,
2288 /* 134 */
2289 /***/ (function(module, exports, __webpack_require__) {
2290
2291 var _Object$setPrototypeOf = __webpack_require__(114);
2292
2293 function _setPrototypeOf(o, p) {
2294 module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
2295 o.__proto__ = p;
2296 return o;
2297 };
2298
2299 return _setPrototypeOf(o, p);
2300 }
2301
2302 module.exports = _setPrototypeOf;
2303
2304 /***/ }),
2305 /* 135 */
2306 /***/ (function(module, exports, __webpack_require__) {
2307
2308 module.exports = __webpack_require__(163);
2309
2310 /***/ }),
2311 /* 136 */
2312 /***/ (function(module, exports, __webpack_require__) {
2313
2314 var dP = __webpack_require__(15);
2315 var anObject = __webpack_require__(12);
2316 var getKeys = __webpack_require__(40);
2317
2318 module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
2319 anObject(O);
2320 var keys = getKeys(Properties);
2321 var length = keys.length;
2322 var i = 0;
2323 var P;
2324 while (length > i) dP.f(O, P = keys[i++], Properties[P]);
2325 return O;
2326 };
2327
2328
2329 /***/ }),
2330 /* 137 */
2331 /***/ (function(module, exports, __webpack_require__) {
2332
2333 var toInteger = __webpack_require__(59);
2334 var defined = __webpack_require__(41);
2335 // true -> String#at
2336 // false -> String#codePointAt
2337 module.exports = function (TO_STRING) {
2338 return function (that, pos) {
2339 var s = String(defined(that));
2340 var i = toInteger(pos);
2341 var l = s.length;
2342 var a, b;
2343 if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2344 a = s.charCodeAt(i);
2345 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2346 ? TO_STRING ? s.charAt(i) : a
2347 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2348 };
2349 };
2350
2351
2352 /***/ }),
2353 /* 138 */
2354 /***/ (function(module, exports, __webpack_require__) {
2355
2356 module.exports = __webpack_require__(66)('native-function-to-string', Function.toString);
2357
2358
2359 /***/ }),
2360 /* 139 */
2361 /***/ (function(module, exports, __webpack_require__) {
2362
2363 "use strict";
2364
2365 // ECMAScript 6 symbols shim
2366 var global = __webpack_require__(8);
2367 var has = __webpack_require__(19);
2368 var DESCRIPTORS = __webpack_require__(14);
2369 var $export = __webpack_require__(7);
2370 var redefine = __webpack_require__(93);
2371 var META = __webpack_require__(81).KEY;
2372 var $fails = __webpack_require__(22);
2373 var shared = __webpack_require__(73);
2374 var setToStringTag = __webpack_require__(54);
2375 var uid = __webpack_require__(57);
2376 var wks = __webpack_require__(10);
2377 var wksExt = __webpack_require__(63);
2378 var wksDefine = __webpack_require__(77);
2379 var enumKeys = __webpack_require__(177);
2380 var isArray = __webpack_require__(96);
2381 var anObject = __webpack_require__(12);
2382 var isObject = __webpack_require__(9);
2383 var toObject = __webpack_require__(32);
2384 var toIObject = __webpack_require__(21);
2385 var toPrimitive = __webpack_require__(71);
2386 var createDesc = __webpack_require__(43);
2387 var _create = __webpack_require__(50);
2388 var gOPNExt = __webpack_require__(178);
2389 var $GOPD = __webpack_require__(53);
2390 var $GOPS = __webpack_require__(78);
2391 var $DP = __webpack_require__(15);
2392 var $keys = __webpack_require__(40);
2393 var gOPD = $GOPD.f;
2394 var dP = $DP.f;
2395 var gOPN = gOPNExt.f;
2396 var $Symbol = global.Symbol;
2397 var $JSON = global.JSON;
2398 var _stringify = $JSON && $JSON.stringify;
2399 var PROTOTYPE = 'prototype';
2400 var HIDDEN = wks('_hidden');
2401 var TO_PRIMITIVE = wks('toPrimitive');
2402 var isEnum = {}.propertyIsEnumerable;
2403 var SymbolRegistry = shared('symbol-registry');
2404 var AllSymbols = shared('symbols');
2405 var OPSymbols = shared('op-symbols');
2406 var ObjectProto = Object[PROTOTYPE];
2407 var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
2408 var QObject = global.QObject;
2409 // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2410 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2411
2412 // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
2413 var setSymbolDesc = DESCRIPTORS && $fails(function () {
2414 return _create(dP({}, 'a', {
2415 get: function () { return dP(this, 'a', { value: 7 }).a; }
2416 })).a != 7;
2417 }) ? function (it, key, D) {
2418 var protoDesc = gOPD(ObjectProto, key);
2419 if (protoDesc) delete ObjectProto[key];
2420 dP(it, key, D);
2421 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
2422 } : dP;
2423
2424 var wrap = function (tag) {
2425 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
2426 sym._k = tag;
2427 return sym;
2428 };
2429
2430 var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
2431 return typeof it == 'symbol';
2432 } : function (it) {
2433 return it instanceof $Symbol;
2434 };
2435
2436 var $defineProperty = function defineProperty(it, key, D) {
2437 if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
2438 anObject(it);
2439 key = toPrimitive(key, true);
2440 anObject(D);
2441 if (has(AllSymbols, key)) {
2442 if (!D.enumerable) {
2443 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
2444 it[HIDDEN][key] = true;
2445 } else {
2446 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
2447 D = _create(D, { enumerable: createDesc(0, false) });
2448 } return setSymbolDesc(it, key, D);
2449 } return dP(it, key, D);
2450 };
2451 var $defineProperties = function defineProperties(it, P) {
2452 anObject(it);
2453 var keys = enumKeys(P = toIObject(P));
2454 var i = 0;
2455 var l = keys.length;
2456 var key;
2457 while (l > i) $defineProperty(it, key = keys[i++], P[key]);
2458 return it;
2459 };
2460 var $create = function create(it, P) {
2461 return P === undefined ? _create(it) : $defineProperties(_create(it), P);
2462 };
2463 var $propertyIsEnumerable = function propertyIsEnumerable(key) {
2464 var E = isEnum.call(this, key = toPrimitive(key, true));
2465 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
2466 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
2467 };
2468 var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
2469 it = toIObject(it);
2470 key = toPrimitive(key, true);
2471 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
2472 var D = gOPD(it, key);
2473 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
2474 return D;
2475 };
2476 var $getOwnPropertyNames = function getOwnPropertyNames(it) {
2477 var names = gOPN(toIObject(it));
2478 var result = [];
2479 var i = 0;
2480 var key;
2481 while (names.length > i) {
2482 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
2483 } return result;
2484 };
2485 var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
2486 var IS_OP = it === ObjectProto;
2487 var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
2488 var result = [];
2489 var i = 0;
2490 var key;
2491 while (names.length > i) {
2492 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
2493 } return result;
2494 };
2495
2496 // 19.4.1.1 Symbol([description])
2497 if (!USE_NATIVE) {
2498 $Symbol = function Symbol() {
2499 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
2500 var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
2501 var $set = function (value) {
2502 if (this === ObjectProto) $set.call(OPSymbols, value);
2503 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2504 setSymbolDesc(this, tag, createDesc(1, value));
2505 };
2506 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
2507 return wrap(tag);
2508 };
2509 redefine($Symbol[PROTOTYPE], 'toString', function toString() {
2510 return this._k;
2511 });
2512
2513 $GOPD.f = $getOwnPropertyDescriptor;
2514 $DP.f = $defineProperty;
2515 __webpack_require__(100).f = gOPNExt.f = $getOwnPropertyNames;
2516 __webpack_require__(49).f = $propertyIsEnumerable;
2517 $GOPS.f = $getOwnPropertySymbols;
2518
2519 if (DESCRIPTORS && !__webpack_require__(46)) {
2520 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
2521 }
2522
2523 wksExt.f = function (name) {
2524 return wrap(wks(name));
2525 };
2526 }
2527
2528 $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
2529
2530 for (var es6Symbols = (
2531 // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
2532 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
2533 ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
2534
2535 for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
2536
2537 $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
2538 // 19.4.2.1 Symbol.for(key)
2539 'for': function (key) {
2540 return has(SymbolRegistry, key += '')
2541 ? SymbolRegistry[key]
2542 : SymbolRegistry[key] = $Symbol(key);
2543 },
2544 // 19.4.2.5 Symbol.keyFor(sym)
2545 keyFor: function keyFor(sym) {
2546 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
2547 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
2548 },
2549 useSetter: function () { setter = true; },
2550 useSimple: function () { setter = false; }
2551 });
2552
2553 $export($export.S + $export.F * !USE_NATIVE, 'Object', {
2554 // 19.1.2.2 Object.create(O [, Properties])
2555 create: $create,
2556 // 19.1.2.4 Object.defineProperty(O, P, Attributes)
2557 defineProperty: $defineProperty,
2558 // 19.1.2.3 Object.defineProperties(O, Properties)
2559 defineProperties: $defineProperties,
2560 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2561 getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
2562 // 19.1.2.7 Object.getOwnPropertyNames(O)
2563 getOwnPropertyNames: $getOwnPropertyNames,
2564 // 19.1.2.8 Object.getOwnPropertySymbols(O)
2565 getOwnPropertySymbols: $getOwnPropertySymbols
2566 });
2567
2568 // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
2569 // https://bugs.chromium.org/p/v8/issues/detail?id=3443
2570 var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
2571
2572 $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
2573 getOwnPropertySymbols: function getOwnPropertySymbols(it) {
2574 return $GOPS.f(toObject(it));
2575 }
2576 });
2577
2578 // 24.3.2 JSON.stringify(value [, replacer [, space]])
2579 $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
2580 var S = $Symbol();
2581 // MS Edge converts symbol values to JSON as {}
2582 // WebKit converts symbol values to JSON as null
2583 // V8 throws on boxed symbols
2584 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
2585 })), 'JSON', {
2586 stringify: function stringify(it) {
2587 var args = [it];
2588 var i = 1;
2589 var replacer, $replacer;
2590 while (arguments.length > i) args.push(arguments[i++]);
2591 $replacer = replacer = args[1];
2592 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
2593 if (!isArray(replacer)) replacer = function (key, value) {
2594 if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
2595 if (!isSymbol(value)) return value;
2596 };
2597 args[1] = replacer;
2598 return _stringify.apply($JSON, args);
2599 }
2600 });
2601
2602 // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
2603 $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(25)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
2604 // 19.4.3.5 Symbol.prototype[@@toStringTag]
2605 setToStringTag($Symbol, 'Symbol');
2606 // 20.2.1.9 Math[@@toStringTag]
2607 setToStringTag(Math, 'Math', true);
2608 // 24.3.3 JSON[@@toStringTag]
2609 setToStringTag(global.JSON, 'JSON', true);
2610
2611
2612 /***/ }),
2613 /* 140 */
2614 /***/ (function(module, exports, __webpack_require__) {
2615
2616 // call something on iterator step with safe closing on error
2617 var anObject = __webpack_require__(12);
2618 module.exports = function (iterator, fn, value, entries) {
2619 try {
2620 return entries ? fn(anObject(value)[0], value[1]) : fn(value);
2621 // 7.4.6 IteratorClose(iterator, completion)
2622 } catch (e) {
2623 var ret = iterator['return'];
2624 if (ret !== undefined) anObject(ret.call(iterator));
2625 throw e;
2626 }
2627 };
2628
2629
2630 /***/ }),
2631 /* 141 */
2632 /***/ (function(module, exports, __webpack_require__) {
2633
2634 // check on default Array iterator
2635 var Iterators = __webpack_require__(34);
2636 var ITERATOR = __webpack_require__(10)('iterator');
2637 var ArrayProto = Array.prototype;
2638
2639 module.exports = function (it) {
2640 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
2641 };
2642
2643
2644 /***/ }),
2645 /* 142 */,
2646 /* 143 */,
2647 /* 144 */,
2648 /* 145 */
2649 /***/ (function(module, exports, __webpack_require__) {
2650
2651 var _Reflect$construct = __webpack_require__(105);
2652
2653 function _isNativeReflectConstruct() {
2654 if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
2655 if (_Reflect$construct.sham) return false;
2656 if (typeof Proxy === "function") return true;
2657
2658 try {
2659 Date.prototype.toString.call(_Reflect$construct(Date, [], function () {}));
2660 return true;
2661 } catch (e) {
2662 return false;
2663 }
2664 }
2665
2666 module.exports = _isNativeReflectConstruct;
2667
2668 /***/ }),
2669 /* 146 */
2670 /***/ (function(module, exports) {
2671
2672 module.exports = function (done, value) {
2673 return { value: value, done: !!done };
2674 };
2675
2676
2677 /***/ }),
2678 /* 147 */
2679 /***/ (function(module, exports, __webpack_require__) {
2680
2681 module.exports = __webpack_require__(287);
2682
2683 /***/ }),
2684 /* 148 */,
2685 /* 149 */
2686 /***/ (function(module, exports, __webpack_require__) {
2687
2688 module.exports = __webpack_require__(171);
2689
2690 /***/ }),
2691 /* 150 */
2692 /***/ (function(module, exports, __webpack_require__) {
2693
2694 var ITERATOR = __webpack_require__(10)('iterator');
2695 var SAFE_CLOSING = false;
2696
2697 try {
2698 var riter = [7][ITERATOR]();
2699 riter['return'] = function () { SAFE_CLOSING = true; };
2700 // eslint-disable-next-line no-throw-literal
2701 Array.from(riter, function () { throw 2; });
2702 } catch (e) { /* empty */ }
2703
2704 module.exports = function (exec, skipClosing) {
2705 if (!skipClosing && !SAFE_CLOSING) return false;
2706 var safe = false;
2707 try {
2708 var arr = [7];
2709 var iter = arr[ITERATOR]();
2710 iter.next = function () { return { done: safe = true }; };
2711 arr[ITERATOR] = function () { return iter; };
2712 exec(arr);
2713 } catch (e) { /* empty */ }
2714 return safe;
2715 };
2716
2717
2718 /***/ }),
2719 /* 151 */,
2720 /* 152 */,
2721 /* 153 */,
2722 /* 154 */
2723 /***/ (function(module, exports, __webpack_require__) {
2724
2725 // 7.3.20 SpeciesConstructor(O, defaultConstructor)
2726 var anObject = __webpack_require__(18);
2727 var aFunction = __webpack_require__(89);
2728 var SPECIES = __webpack_require__(11)('species');
2729 module.exports = function (O, D) {
2730 var C = anObject(O).constructor;
2731 var S;
2732 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
2733 };
2734
2735
2736 /***/ }),
2737 /* 155 */
2738 /***/ (function(module, exports, __webpack_require__) {
2739
2740 __webpack_require__(156);
2741 var $Object = __webpack_require__(6).Object;
2742 module.exports = function defineProperty(it, key, desc) {
2743 return $Object.defineProperty(it, key, desc);
2744 };
2745
2746
2747 /***/ }),
2748 /* 156 */
2749 /***/ (function(module, exports, __webpack_require__) {
2750
2751 var $export = __webpack_require__(7);
2752 // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
2753 $export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f });
2754
2755
2756 /***/ }),
2757 /* 157 */
2758 /***/ (function(module, exports, __webpack_require__) {
2759
2760 module.exports = __webpack_require__(158);
2761
2762 /***/ }),
2763 /* 158 */
2764 /***/ (function(module, exports, __webpack_require__) {
2765
2766 __webpack_require__(159);
2767 module.exports = __webpack_require__(6).Object.getPrototypeOf;
2768
2769
2770 /***/ }),
2771 /* 159 */
2772 /***/ (function(module, exports, __webpack_require__) {
2773
2774 // 19.1.2.9 Object.getPrototypeOf(O)
2775 var toObject = __webpack_require__(32);
2776 var $getPrototypeOf = __webpack_require__(64);
2777
2778 __webpack_require__(84)('getPrototypeOf', function () {
2779 return function getPrototypeOf(it) {
2780 return $getPrototypeOf(toObject(it));
2781 };
2782 });
2783
2784
2785 /***/ }),
2786 /* 160 */
2787 /***/ (function(module, exports, __webpack_require__) {
2788
2789 __webpack_require__(161);
2790 module.exports = __webpack_require__(6).Object.setPrototypeOf;
2791
2792
2793 /***/ }),
2794 /* 161 */
2795 /***/ (function(module, exports, __webpack_require__) {
2796
2797 // 19.1.3.19 Object.setPrototypeOf(O, proto)
2798 var $export = __webpack_require__(7);
2799 $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(162).set });
2800
2801
2802 /***/ }),
2803 /* 162 */
2804 /***/ (function(module, exports, __webpack_require__) {
2805
2806 // Works with __proto__ only. Old v8 can't work with null proto objects.
2807 /* eslint-disable no-proto */
2808 var isObject = __webpack_require__(9);
2809 var anObject = __webpack_require__(12);
2810 var check = function (O, proto) {
2811 anObject(O);
2812 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2813 };
2814 module.exports = {
2815 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2816 function (test, buggy, set) {
2817 try {
2818 set = __webpack_require__(31)(Function.call, __webpack_require__(53).f(Object.prototype, '__proto__').set, 2);
2819 set(test, []);
2820 buggy = !(test instanceof Array);
2821 } catch (e) { buggy = true; }
2822 return function setPrototypeOf(O, proto) {
2823 check(O, proto);
2824 if (buggy) O.__proto__ = proto;
2825 else set(O, proto);
2826 return O;
2827 };
2828 }({}, false) : undefined),
2829 check: check
2830 };
2831
2832
2833 /***/ }),
2834 /* 163 */
2835 /***/ (function(module, exports, __webpack_require__) {
2836
2837 __webpack_require__(164);
2838 var $Object = __webpack_require__(6).Object;
2839 module.exports = function create(P, D) {
2840 return $Object.create(P, D);
2841 };
2842
2843
2844 /***/ }),
2845 /* 164 */
2846 /***/ (function(module, exports, __webpack_require__) {
2847
2848 var $export = __webpack_require__(7);
2849 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
2850 $export($export.S, 'Object', { create: __webpack_require__(50) });
2851
2852
2853 /***/ }),
2854 /* 165 */
2855 /***/ (function(module, exports, __webpack_require__) {
2856
2857 // false -> Array#indexOf
2858 // true -> Array#includes
2859 var toIObject = __webpack_require__(21);
2860 var toLength = __webpack_require__(74);
2861 var toAbsoluteIndex = __webpack_require__(166);
2862 module.exports = function (IS_INCLUDES) {
2863 return function ($this, el, fromIndex) {
2864 var O = toIObject($this);
2865 var length = toLength(O.length);
2866 var index = toAbsoluteIndex(fromIndex, length);
2867 var value;
2868 // Array#includes uses SameValueZero equality algorithm
2869 // eslint-disable-next-line no-self-compare
2870 if (IS_INCLUDES && el != el) while (length > index) {
2871 value = O[index++];
2872 // eslint-disable-next-line no-self-compare
2873 if (value != value) return true;
2874 // Array#indexOf ignores holes, Array#includes - not
2875 } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2876 if (O[index] === el) return IS_INCLUDES || index || 0;
2877 } return !IS_INCLUDES && -1;
2878 };
2879 };
2880
2881
2882 /***/ }),
2883 /* 166 */
2884 /***/ (function(module, exports, __webpack_require__) {
2885
2886 var toInteger = __webpack_require__(75);
2887 var max = Math.max;
2888 var min = Math.min;
2889 module.exports = function (index, length) {
2890 index = toInteger(index);
2891 return index < 0 ? max(index + length, 0) : min(index, length);
2892 };
2893
2894
2895 /***/ }),
2896 /* 167 */
2897 /***/ (function(module, exports, __webpack_require__) {
2898
2899 __webpack_require__(168);
2900 module.exports = __webpack_require__(6).Reflect.construct;
2901
2902
2903 /***/ }),
2904 /* 168 */
2905 /***/ (function(module, exports, __webpack_require__) {
2906
2907 // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
2908 var $export = __webpack_require__(7);
2909 var create = __webpack_require__(50);
2910 var aFunction = __webpack_require__(38);
2911 var anObject = __webpack_require__(12);
2912 var isObject = __webpack_require__(9);
2913 var fails = __webpack_require__(22);
2914 var bind = __webpack_require__(169);
2915 var rConstruct = (__webpack_require__(8).Reflect || {}).construct;
2916
2917 // MS Edge supports only 2 arguments and argumentsList argument is optional
2918 // FF Nightly sets third argument as `new.target`, but does not create `this` from it
2919 var NEW_TARGET_BUG = fails(function () {
2920 function F() { /* empty */ }
2921 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
2922 });
2923 var ARGS_BUG = !fails(function () {
2924 rConstruct(function () { /* empty */ });
2925 });
2926
2927 $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
2928 construct: function construct(Target, args /* , newTarget */) {
2929 aFunction(Target);
2930 anObject(args);
2931 var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
2932 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
2933 if (Target == newTarget) {
2934 // w/o altered newTarget, optimization for 0-4 arguments
2935 switch (args.length) {
2936 case 0: return new Target();
2937 case 1: return new Target(args[0]);
2938 case 2: return new Target(args[0], args[1]);
2939 case 3: return new Target(args[0], args[1], args[2]);
2940 case 4: return new Target(args[0], args[1], args[2], args[3]);
2941 }
2942 // w/o altered newTarget, lot of arguments case
2943 var $args = [null];
2944 $args.push.apply($args, args);
2945 return new (bind.apply(Target, $args))();
2946 }
2947 // with altered newTarget, not support built-in constructors
2948 var proto = newTarget.prototype;
2949 var instance = create(isObject(proto) ? proto : Object.prototype);
2950 var result = Function.apply.call(Target, instance, args);
2951 return isObject(result) ? result : instance;
2952 }
2953 });
2954
2955
2956 /***/ }),
2957 /* 169 */
2958 /***/ (function(module, exports, __webpack_require__) {
2959
2960 "use strict";
2961
2962 var aFunction = __webpack_require__(38);
2963 var isObject = __webpack_require__(9);
2964 var invoke = __webpack_require__(129);
2965 var arraySlice = [].slice;
2966 var factories = {};
2967
2968 var construct = function (F, len, args) {
2969 if (!(len in factories)) {
2970 for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
2971 // eslint-disable-next-line no-new-func
2972 factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
2973 } return factories[len](F, args);
2974 };
2975
2976 module.exports = Function.bind || function bind(that /* , ...args */) {
2977 var fn = aFunction(this);
2978 var partArgs = arraySlice.call(arguments, 1);
2979 var bound = function (/* args... */) {
2980 var args = partArgs.concat(arraySlice.call(arguments));
2981 return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
2982 };
2983 if (isObject(fn.prototype)) bound.prototype = fn.prototype;
2984 return bound;
2985 };
2986
2987
2988 /***/ }),
2989 /* 170 */
2990 /***/ (function(module, exports, __webpack_require__) {
2991
2992 var _typeof = __webpack_require__(48);
2993
2994 var assertThisInitialized = __webpack_require__(47);
2995
2996 function _possibleConstructorReturn(self, call) {
2997 if (call && (_typeof(call) === "object" || typeof call === "function")) {
2998 return call;
2999 }
3000
3001 return assertThisInitialized(self);
3002 }
3003
3004 module.exports = _possibleConstructorReturn;
3005
3006 /***/ }),
3007 /* 171 */
3008 /***/ (function(module, exports, __webpack_require__) {
3009
3010 __webpack_require__(60);
3011 __webpack_require__(62);
3012 module.exports = __webpack_require__(63).f('iterator');
3013
3014
3015 /***/ }),
3016 /* 172 */
3017 /***/ (function(module, exports, __webpack_require__) {
3018
3019 var toInteger = __webpack_require__(75);
3020 var defined = __webpack_require__(65);
3021 // true -> String#at
3022 // false -> String#codePointAt
3023 module.exports = function (TO_STRING) {
3024 return function (that, pos) {
3025 var s = String(defined(that));
3026 var i = toInteger(pos);
3027 var l = s.length;
3028 var a, b;
3029 if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
3030 a = s.charCodeAt(i);
3031 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
3032 ? TO_STRING ? s.charAt(i) : a
3033 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
3034 };
3035 };
3036
3037
3038 /***/ }),
3039 /* 173 */
3040 /***/ (function(module, exports, __webpack_require__) {
3041
3042 "use strict";
3043
3044 var create = __webpack_require__(50);
3045 var descriptor = __webpack_require__(43);
3046 var setToStringTag = __webpack_require__(54);
3047 var IteratorPrototype = {};
3048
3049 // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
3050 __webpack_require__(25)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });
3051
3052 module.exports = function (Constructor, NAME, next) {
3053 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
3054 setToStringTag(Constructor, NAME + ' Iterator');
3055 };
3056
3057
3058 /***/ }),
3059 /* 174 */
3060 /***/ (function(module, exports, __webpack_require__) {
3061
3062 "use strict";
3063
3064 var addToUnscopables = __webpack_require__(175);
3065 var step = __webpack_require__(146);
3066 var Iterators = __webpack_require__(34);
3067 var toIObject = __webpack_require__(21);
3068
3069 // 22.1.3.4 Array.prototype.entries()
3070 // 22.1.3.13 Array.prototype.keys()
3071 // 22.1.3.29 Array.prototype.values()
3072 // 22.1.3.30 Array.prototype[@@iterator]()
3073 module.exports = __webpack_require__(106)(Array, 'Array', function (iterated, kind) {
3074 this._t = toIObject(iterated); // target
3075 this._i = 0; // next index
3076 this._k = kind; // kind
3077 // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3078 }, function () {
3079 var O = this._t;
3080 var kind = this._k;
3081 var index = this._i++;
3082 if (!O || index >= O.length) {
3083 this._t = undefined;
3084 return step(1);
3085 }
3086 if (kind == 'keys') return step(0, index);
3087 if (kind == 'values') return step(0, O[index]);
3088 return step(0, [index, O[index]]);
3089 }, 'values');
3090
3091 // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3092 Iterators.Arguments = Iterators.Array;
3093
3094 addToUnscopables('keys');
3095 addToUnscopables('values');
3096 addToUnscopables('entries');
3097
3098
3099 /***/ }),
3100 /* 175 */
3101 /***/ (function(module, exports) {
3102
3103 module.exports = function () { /* empty */ };
3104
3105
3106 /***/ }),
3107 /* 176 */
3108 /***/ (function(module, exports, __webpack_require__) {
3109
3110 __webpack_require__(139);
3111 __webpack_require__(101);
3112 __webpack_require__(179);
3113 __webpack_require__(180);
3114 module.exports = __webpack_require__(6).Symbol;
3115
3116
3117 /***/ }),
3118 /* 177 */
3119 /***/ (function(module, exports, __webpack_require__) {
3120
3121 // all enumerable object keys, includes symbols
3122 var getKeys = __webpack_require__(40);
3123 var gOPS = __webpack_require__(78);
3124 var pIE = __webpack_require__(49);
3125 module.exports = function (it) {
3126 var result = getKeys(it);
3127 var getSymbols = gOPS.f;
3128 if (getSymbols) {
3129 var symbols = getSymbols(it);
3130 var isEnum = pIE.f;
3131 var i = 0;
3132 var key;
3133 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
3134 } return result;
3135 };
3136
3137
3138 /***/ }),
3139 /* 178 */
3140 /***/ (function(module, exports, __webpack_require__) {
3141
3142 // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
3143 var toIObject = __webpack_require__(21);
3144 var gOPN = __webpack_require__(100).f;
3145 var toString = {}.toString;
3146
3147 var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
3148 ? Object.getOwnPropertyNames(window) : [];
3149
3150 var getWindowNames = function (it) {
3151 try {
3152 return gOPN(it);
3153 } catch (e) {
3154 return windowNames.slice();
3155 }
3156 };
3157
3158 module.exports.f = function getOwnPropertyNames(it) {
3159 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
3160 };
3161
3162
3163 /***/ }),
3164 /* 179 */
3165 /***/ (function(module, exports, __webpack_require__) {
3166
3167 __webpack_require__(77)('asyncIterator');
3168
3169
3170 /***/ }),
3171 /* 180 */
3172 /***/ (function(module, exports, __webpack_require__) {
3173
3174 __webpack_require__(77)('observable');
3175
3176
3177 /***/ }),
3178 /* 181 */,
3179 /* 182 */,
3180 /* 183 */,
3181 /* 184 */,
3182 /* 185 */,
3183 /* 186 */
3184 /***/ (function(module, exports, __webpack_require__) {
3185
3186 "use strict";
3187
3188 var regexpExec = __webpack_require__(86);
3189 __webpack_require__(37)({
3190 target: 'RegExp',
3191 proto: true,
3192 forced: regexpExec !== /./.exec
3193 }, {
3194 exec: regexpExec
3195 });
3196
3197
3198 /***/ }),
3199 /* 187 */
3200 /***/ (function(module, exports, __webpack_require__) {
3201
3202 __webpack_require__(188);
3203 var $Object = __webpack_require__(6).Object;
3204 module.exports = function getOwnPropertyDescriptor(it, key) {
3205 return $Object.getOwnPropertyDescriptor(it, key);
3206 };
3207
3208
3209 /***/ }),
3210 /* 188 */
3211 /***/ (function(module, exports, __webpack_require__) {
3212
3213 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
3214 var toIObject = __webpack_require__(21);
3215 var $getOwnPropertyDescriptor = __webpack_require__(53).f;
3216
3217 __webpack_require__(84)('getOwnPropertyDescriptor', function () {
3218 return function getOwnPropertyDescriptor(it, key) {
3219 return $getOwnPropertyDescriptor(toIObject(it), key);
3220 };
3221 });
3222
3223
3224 /***/ }),
3225 /* 189 */
3226 /***/ (function(module, exports, __webpack_require__) {
3227
3228 module.exports = __webpack_require__(190);
3229
3230 /***/ }),
3231 /* 190 */
3232 /***/ (function(module, exports, __webpack_require__) {
3233
3234 __webpack_require__(191);
3235 module.exports = __webpack_require__(6).Reflect.get;
3236
3237
3238 /***/ }),
3239 /* 191 */
3240 /***/ (function(module, exports, __webpack_require__) {
3241
3242 // 26.1.6 Reflect.get(target, propertyKey [, receiver])
3243 var gOPD = __webpack_require__(53);
3244 var getPrototypeOf = __webpack_require__(64);
3245 var has = __webpack_require__(19);
3246 var $export = __webpack_require__(7);
3247 var isObject = __webpack_require__(9);
3248 var anObject = __webpack_require__(12);
3249
3250 function get(target, propertyKey /* , receiver */) {
3251 var receiver = arguments.length < 3 ? target : arguments[2];
3252 var desc, proto;
3253 if (anObject(target) === receiver) return target[propertyKey];
3254 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
3255 ? desc.value
3256 : desc.get !== undefined
3257 ? desc.get.call(receiver)
3258 : undefined;
3259 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
3260 }
3261
3262 $export($export.S, 'Reflect', { get: get });
3263
3264
3265 /***/ }),
3266 /* 192 */
3267 /***/ (function(module, exports, __webpack_require__) {
3268
3269 var getPrototypeOf = __webpack_require__(16);
3270
3271 function _superPropBase(object, property) {
3272 while (!Object.prototype.hasOwnProperty.call(object, property)) {
3273 object = getPrototypeOf(object);
3274 if (object === null) break;
3275 }
3276
3277 return object;
3278 }
3279
3280 module.exports = _superPropBase;
3281
3282 /***/ }),
3283 /* 193 */,
3284 /* 194 */
3285 /***/ (function(module, exports) {
3286
3287 function _arrayLikeToArray(arr, len) {
3288 if (len == null || len > arr.length) len = arr.length;
3289
3290 for (var i = 0, arr2 = new Array(len); i < len; i++) {
3291 arr2[i] = arr[i];
3292 }
3293
3294 return arr2;
3295 }
3296
3297 module.exports = _arrayLikeToArray;
3298
3299 /***/ }),
3300 /* 195 */
3301 /***/ (function(module, exports, __webpack_require__) {
3302
3303 module.exports = __webpack_require__(226);
3304
3305 /***/ }),
3306 /* 196 */
3307 /***/ (function(module, exports, __webpack_require__) {
3308
3309 "use strict";
3310
3311 var $defineProperty = __webpack_require__(15);
3312 var createDesc = __webpack_require__(43);
3313
3314 module.exports = function (object, index, value) {
3315 if (index in object) $defineProperty.f(object, index, createDesc(0, value));
3316 else object[index] = value;
3317 };
3318
3319
3320 /***/ }),
3321 /* 197 */
3322 /***/ (function(module, exports, __webpack_require__) {
3323
3324 var _Array$from = __webpack_require__(195);
3325
3326 var arrayLikeToArray = __webpack_require__(194);
3327
3328 function _unsupportedIterableToArray(o, minLen) {
3329 if (!o) return;
3330 if (typeof o === "string") return arrayLikeToArray(o, minLen);
3331 var n = Object.prototype.toString.call(o).slice(8, -1);
3332 if (n === "Object" && o.constructor) n = o.constructor.name;
3333 if (n === "Map" || n === "Set") return _Array$from(o);
3334 if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
3335 }
3336
3337 module.exports = _unsupportedIterableToArray;
3338
3339 /***/ }),
3340 /* 198 */,
3341 /* 199 */,
3342 /* 200 */,
3343 /* 201 */,
3344 /* 202 */,
3345 /* 203 */,
3346 /* 204 */,
3347 /* 205 */,
3348 /* 206 */,
3349 /* 207 */,
3350 /* 208 */,
3351 /* 209 */,
3352 /* 210 */,
3353 /* 211 */,
3354 /* 212 */,
3355 /* 213 */
3356 /***/ (function(module, exports, __webpack_require__) {
3357
3358 __webpack_require__(214);
3359 module.exports = __webpack_require__(6).Array.isArray;
3360
3361
3362 /***/ }),
3363 /* 214 */
3364 /***/ (function(module, exports, __webpack_require__) {
3365
3366 // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
3367 var $export = __webpack_require__(7);
3368
3369 $export($export.S, 'Array', { isArray: __webpack_require__(96) });
3370
3371
3372 /***/ }),
3373 /* 215 */
3374 /***/ (function(module, exports, __webpack_require__) {
3375
3376 module.exports = __webpack_require__(228);
3377
3378 /***/ }),
3379 /* 216 */,
3380 /* 217 */,
3381 /* 218 */
3382 /***/ (function(module, exports, __webpack_require__) {
3383
3384 "use strict";
3385
3386 // 19.1.2.1 Object.assign(target, source, ...)
3387 var DESCRIPTORS = __webpack_require__(14);
3388 var getKeys = __webpack_require__(40);
3389 var gOPS = __webpack_require__(78);
3390 var pIE = __webpack_require__(49);
3391 var toObject = __webpack_require__(32);
3392 var IObject = __webpack_require__(104);
3393 var $assign = Object.assign;
3394
3395 // should work with symbols and should have deterministic property order (V8 bug)
3396 module.exports = !$assign || __webpack_require__(22)(function () {
3397 var A = {};
3398 var B = {};
3399 // eslint-disable-next-line no-undef
3400 var S = Symbol();
3401 var K = 'abcdefghijklmnopqrst';
3402 A[S] = 7;
3403 K.split('').forEach(function (k) { B[k] = k; });
3404 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
3405 }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
3406 var T = toObject(target);
3407 var aLen = arguments.length;
3408 var index = 1;
3409 var getSymbols = gOPS.f;
3410 var isEnum = pIE.f;
3411 while (aLen > index) {
3412 var S = IObject(arguments[index++]);
3413 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
3414 var length = keys.length;
3415 var j = 0;
3416 var key;
3417 while (length > j) {
3418 key = keys[j++];
3419 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];
3420 }
3421 } return T;
3422 } : $assign;
3423
3424
3425 /***/ }),
3426 /* 219 */,
3427 /* 220 */,
3428 /* 221 */,
3429 /* 222 */
3430 /***/ (function(module, exports) {
3431
3432 module.exports = wp.i18n;
3433
3434 /***/ }),
3435 /* 223 */,
3436 /* 224 */,
3437 /* 225 */,
3438 /* 226 */
3439 /***/ (function(module, exports, __webpack_require__) {
3440
3441 __webpack_require__(60);
3442 __webpack_require__(227);
3443 module.exports = __webpack_require__(6).Array.from;
3444
3445
3446 /***/ }),
3447 /* 227 */
3448 /***/ (function(module, exports, __webpack_require__) {
3449
3450 "use strict";
3451
3452 var ctx = __webpack_require__(31);
3453 var $export = __webpack_require__(7);
3454 var toObject = __webpack_require__(32);
3455 var call = __webpack_require__(140);
3456 var isArrayIter = __webpack_require__(141);
3457 var toLength = __webpack_require__(74);
3458 var createProperty = __webpack_require__(196);
3459 var getIterFn = __webpack_require__(119);
3460
3461 $export($export.S + $export.F * !__webpack_require__(150)(function (iter) { Array.from(iter); }), 'Array', {
3462 // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
3463 from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
3464 var O = toObject(arrayLike);
3465 var C = typeof this == 'function' ? this : Array;
3466 var aLen = arguments.length;
3467 var mapfn = aLen > 1 ? arguments[1] : undefined;
3468 var mapping = mapfn !== undefined;
3469 var index = 0;
3470 var iterFn = getIterFn(O);
3471 var length, result, step, iterator;
3472 if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
3473 // if object isn't iterable or it's array with default iterator - use simple case
3474 if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
3475 for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
3476 createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
3477 }
3478 } else {
3479 length = toLength(O.length);
3480 for (result = new C(length); length > index; index++) {
3481 createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
3482 }
3483 }
3484 result.length = index;
3485 return result;
3486 }
3487 });
3488
3489
3490 /***/ }),
3491 /* 228 */
3492 /***/ (function(module, exports, __webpack_require__) {
3493
3494 __webpack_require__(62);
3495 __webpack_require__(60);
3496 module.exports = __webpack_require__(229);
3497
3498
3499 /***/ }),
3500 /* 229 */
3501 /***/ (function(module, exports, __webpack_require__) {
3502
3503 var classof = __webpack_require__(97);
3504 var ITERATOR = __webpack_require__(10)('iterator');
3505 var Iterators = __webpack_require__(34);
3506 module.exports = __webpack_require__(6).isIterable = function (it) {
3507 var O = Object(it);
3508 return O[ITERATOR] !== undefined
3509 || '@@iterator' in O
3510 // eslint-disable-next-line no-prototype-builtins
3511 || Iterators.hasOwnProperty(classof(O));
3512 };
3513
3514
3515 /***/ }),
3516 /* 230 */,
3517 /* 231 */
3518 /***/ (function(module, exports, __webpack_require__) {
3519
3520 var _Object$assign = __webpack_require__(147);
3521
3522 function _extends() {
3523 module.exports = _extends = _Object$assign || function (target) {
3524 for (var i = 1; i < arguments.length; i++) {
3525 var source = arguments[i];
3526
3527 for (var key in source) {
3528 if (Object.prototype.hasOwnProperty.call(source, key)) {
3529 target[key] = source[key];
3530 }
3531 }
3532 }
3533
3534 return target;
3535 };
3536
3537 return _extends.apply(this, arguments);
3538 }
3539
3540 module.exports = _extends;
3541
3542 /***/ }),
3543 /* 232 */,
3544 /* 233 */,
3545 /* 234 */,
3546 /* 235 */,
3547 /* 236 */,
3548 /* 237 */,
3549 /* 238 */,
3550 /* 239 */,
3551 /* 240 */,
3552 /* 241 */,
3553 /* 242 */,
3554 /* 243 */,
3555 /* 244 */,
3556 /* 245 */,
3557 /* 246 */,
3558 /* 247 */,
3559 /* 248 */,
3560 /* 249 */,
3561 /* 250 */,
3562 /* 251 */,
3563 /* 252 */,
3564 /* 253 */,
3565 /* 254 */,
3566 /* 255 */,
3567 /* 256 */,
3568 /* 257 */,
3569 /* 258 */,
3570 /* 259 */,
3571 /* 260 */,
3572 /* 261 */,
3573 /* 262 */,
3574 /* 263 */,
3575 /* 264 */,
3576 /* 265 */,
3577 /* 266 */,
3578 /* 267 */,
3579 /* 268 */
3580 /***/ (function(module, exports, __webpack_require__) {
3581
3582 "use strict";
3583 /* WEBPACK VAR INJECTION */(function(PropTypes) {
3584
3585 var _interopRequireDefault = __webpack_require__(0);
3586
3587 var _Object$defineProperty = __webpack_require__(1);
3588
3589 _Object$defineProperty(exports, "__esModule", {
3590 value: true
3591 });
3592
3593 exports.default = void 0;
3594
3595 var _react = _interopRequireDefault(__webpack_require__(13));
3596
3597 var _extends2 = _interopRequireDefault(__webpack_require__(231));
3598
3599 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
3600
3601 var _createClass2 = _interopRequireDefault(__webpack_require__(3));
3602
3603 var _inherits2 = _interopRequireDefault(__webpack_require__(4));
3604
3605 var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
3606
3607 var _defineProperty2 = _interopRequireDefault(__webpack_require__(28));
3608
3609 var _router = __webpack_require__(339);
3610
3611 var _router2 = _interopRequireDefault(__webpack_require__(343));
3612
3613 var _icon = _interopRequireDefault(__webpack_require__(401));
3614
3615 __webpack_require__(643);
3616
3617 var Button = /*#__PURE__*/function (_React$Component) {
3618 (0, _inherits2.default)(Button, _React$Component);
3619
3620 var _super = (0, _createSuper2.default)(Button);
3621
3622 function Button() {
3623 (0, _classCallCheck2.default)(this, Button);
3624 return _super.apply(this, arguments);
3625 }
3626
3627 (0, _createClass2.default)(Button, [{
3628 key: "getCssId",
3629 value: function getCssId() {
3630 return this.props.id;
3631 }
3632 }, {
3633 key: "getClassName",
3634 value: function getClassName() {
3635 var baseClassName = 'eps-button',
3636 classes = [baseClassName, this.props.className];
3637 return classes.concat(this.getStylePropsClasses(baseClassName)).filter(function (classItem) {
3638 return '' !== classItem;
3639 }).join(' ');
3640 }
3641 }, {
3642 key: "getStylePropsClasses",
3643 value: function getStylePropsClasses(baseClassName) {
3644 var _this = this;
3645
3646 var styleProps = ['color', 'size', 'variant'],
3647 stylePropClasses = [];
3648 styleProps.forEach(function (styleProp) {
3649 var stylePropValue = _this.props[styleProp];
3650
3651 if (stylePropValue) {
3652 stylePropClasses.push(baseClassName + '--' + stylePropValue);
3653 }
3654 });
3655 return stylePropClasses;
3656 }
3657 }, {
3658 key: "getIcon",
3659 value: function getIcon() {
3660 if (this.props.icon) {
3661 var tooltip = this.props.tooltip || this.props.text;
3662
3663 var icon = /*#__PURE__*/_react.default.createElement(_icon.default, {
3664 className: this.props.icon,
3665 "aria-hidden": "true",
3666 title: tooltip
3667 });
3668
3669 var screenReaderText = '';
3670
3671 if (this.props.hideText) {
3672 screenReaderText = /*#__PURE__*/_react.default.createElement("span", {
3673 className: "sr-only"
3674 }, tooltip);
3675 }
3676
3677 return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, icon, screenReaderText);
3678 }
3679
3680 return '';
3681 }
3682 }, {
3683 key: "getText",
3684 value: function getText() {
3685 return this.props.hideText ? '' : /*#__PURE__*/_react.default.createElement("span", null, this.props.text);
3686 }
3687 }, {
3688 key: "render",
3689 value: function render() {
3690 var attributes = {},
3691 id = this.getCssId(),
3692 className = this.getClassName(); // Add attributes only if they are not empty.
3693
3694 if (id) {
3695 attributes.id = id;
3696 }
3697
3698 if (className) {
3699 attributes.className = className;
3700 }
3701
3702 if (this.props.onClick) {
3703 attributes.onClick = this.props.onClick;
3704 }
3705
3706 var buttonContent = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, this.getIcon(), this.getText());
3707
3708 if (this.props.url) {
3709 if (0 === this.props.url.indexOf('http')) {
3710 return /*#__PURE__*/_react.default.createElement("a", (0, _extends2.default)({
3711 href: this.props.url,
3712 target: this.props.target
3713 }, attributes), buttonContent);
3714 } // @see https://reach.tech/router/example/active-links.
3715
3716
3717 attributes.getProps = function (props) {
3718 if (props.isCurrent) {
3719 attributes.className += ' active';
3720 }
3721
3722 return {
3723 className: attributes.className
3724 };
3725 };
3726
3727 return /*#__PURE__*/_react.default.createElement(_router.LocationProvider, {
3728 history: _router2.default.appHistory
3729 }, /*#__PURE__*/_react.default.createElement(_router.Link, (0, _extends2.default)({
3730 to: this.props.url
3731 }, attributes), buttonContent));
3732 }
3733
3734 return /*#__PURE__*/_react.default.createElement("div", attributes, buttonContent);
3735 }
3736 }]);
3737 return Button;
3738 }(_react.default.Component);
3739
3740 exports.default = Button;
3741 (0, _defineProperty2.default)(Button, "propTypes", {
3742 text: PropTypes.string.isRequired,
3743 hideText: PropTypes.bool,
3744 icon: PropTypes.string,
3745 tooltip: PropTypes.string,
3746 id: PropTypes.string,
3747 className: PropTypes.string,
3748 url: PropTypes.string,
3749 onClick: PropTypes.func,
3750 variant: PropTypes.string,
3751 color: PropTypes.string,
3752 size: PropTypes.string,
3753 target: PropTypes.string
3754 });
3755 (0, _defineProperty2.default)(Button, "defaultProps", {
3756 id: '',
3757 className: '',
3758 variant: '',
3759 target: '_parent'
3760 });
3761 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
3762
3763 /***/ }),
3764 /* 269 */
3765 /***/ (function(module, exports, __webpack_require__) {
3766
3767 "use strict";
3768 /**
3769 * Copyright (c) 2013-present, Facebook, Inc.
3770 *
3771 * This source code is licensed under the MIT license found in the
3772 * LICENSE file in the root directory of this source tree.
3773 */
3774
3775
3776
3777 /**
3778 * Use invariant() to assert state which your program assumes to be true.
3779 *
3780 * Provide sprintf-style format (only %s is supported) and arguments
3781 * to provide information about what broke and what you were
3782 * expecting.
3783 *
3784 * The invariant message will be stripped in production, but the invariant
3785 * will remain to ensure logic does not differ in production.
3786 */
3787
3788 var invariant = function(condition, format, a, b, c, d, e, f) {
3789 if (false) {}
3790
3791 if (!condition) {
3792 var error;
3793 if (format === undefined) {
3794 error = new Error(
3795 'Minified exception occurred; use the non-minified dev environment ' +
3796 'for the full error message and additional helpful warnings.'
3797 );
3798 } else {
3799 var args = [a, b, c, d, e, f];
3800 var argIndex = 0;
3801 error = new Error(
3802 format.replace(/%s/g, function() { return args[argIndex++]; })
3803 );
3804 error.name = 'Invariant Violation';
3805 }
3806
3807 error.framesToPop = 1; // we don't care about invariant's own frame
3808 throw error;
3809 }
3810 };
3811
3812 module.exports = invariant;
3813
3814
3815 /***/ }),
3816 /* 270 */,
3817 /* 271 */,
3818 /* 272 */,
3819 /* 273 */,
3820 /* 274 */,
3821 /* 275 */,
3822 /* 276 */,
3823 /* 277 */,
3824 /* 278 */,
3825 /* 279 */,
3826 /* 280 */,
3827 /* 281 */,
3828 /* 282 */,
3829 /* 283 */,
3830 /* 284 */,
3831 /* 285 */,
3832 /* 286 */,
3833 /* 287 */
3834 /***/ (function(module, exports, __webpack_require__) {
3835
3836 __webpack_require__(288);
3837 module.exports = __webpack_require__(6).Object.assign;
3838
3839
3840 /***/ }),
3841 /* 288 */
3842 /***/ (function(module, exports, __webpack_require__) {
3843
3844 // 19.1.3.1 Object.assign(target, source)
3845 var $export = __webpack_require__(7);
3846
3847 $export($export.S + $export.F, 'Object', { assign: __webpack_require__(218) });
3848
3849
3850 /***/ }),
3851 /* 289 */,
3852 /* 290 */,
3853 /* 291 */,
3854 /* 292 */,
3855 /* 293 */,
3856 /* 294 */,
3857 /* 295 */,
3858 /* 296 */
3859 /***/ (function(module, exports, __webpack_require__) {
3860
3861 var arrayWithoutHoles = __webpack_require__(311);
3862
3863 var iterableToArray = __webpack_require__(312);
3864
3865 var unsupportedIterableToArray = __webpack_require__(197);
3866
3867 var nonIterableSpread = __webpack_require__(313);
3868
3869 function _toConsumableArray(arr) {
3870 return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
3871 }
3872
3873 module.exports = _toConsumableArray;
3874
3875 /***/ }),
3876 /* 297 */,
3877 /* 298 */,
3878 /* 299 */,
3879 /* 300 */,
3880 /* 301 */,
3881 /* 302 */,
3882 /* 303 */,
3883 /* 304 */,
3884 /* 305 */,
3885 /* 306 */,
3886 /* 307 */,
3887 /* 308 */,
3888 /* 309 */,
3889 /* 310 */,
3890 /* 311 */
3891 /***/ (function(module, exports, __webpack_require__) {
3892
3893 var _Array$isArray = __webpack_require__(82);
3894
3895 var arrayLikeToArray = __webpack_require__(194);
3896
3897 function _arrayWithoutHoles(arr) {
3898 if (_Array$isArray(arr)) return arrayLikeToArray(arr);
3899 }
3900
3901 module.exports = _arrayWithoutHoles;
3902
3903 /***/ }),
3904 /* 312 */
3905 /***/ (function(module, exports, __webpack_require__) {
3906
3907 var _Array$from = __webpack_require__(195);
3908
3909 var _isIterable = __webpack_require__(215);
3910
3911 var _Symbol = __webpack_require__(111);
3912
3913 function _iterableToArray(iter) {
3914 if (typeof _Symbol !== "undefined" && _isIterable(Object(iter))) return _Array$from(iter);
3915 }
3916
3917 module.exports = _iterableToArray;
3918
3919 /***/ }),
3920 /* 313 */
3921 /***/ (function(module, exports) {
3922
3923 function _nonIterableSpread() {
3924 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3925 }
3926
3927 module.exports = _nonIterableSpread;
3928
3929 /***/ }),
3930 /* 314 */,
3931 /* 315 */,
3932 /* 316 */,
3933 /* 317 */,
3934 /* 318 */,
3935 /* 319 */,
3936 /* 320 */,
3937 /* 321 */,
3938 /* 322 */,
3939 /* 323 */,
3940 /* 324 */,
3941 /* 325 */
3942 /***/ (function(module, exports, __webpack_require__) {
3943
3944 "use strict";
3945 /**
3946 * Copyright (c) 2013-present, Facebook, Inc.
3947 *
3948 * This source code is licensed under the MIT license found in the
3949 * LICENSE file in the root directory of this source tree.
3950 */
3951
3952
3953
3954 var ReactPropTypesSecret = __webpack_require__(326);
3955
3956 function emptyFunction() {}
3957 function emptyFunctionWithReset() {}
3958 emptyFunctionWithReset.resetWarningCache = emptyFunction;
3959
3960 module.exports = function() {
3961 function shim(props, propName, componentName, location, propFullName, secret) {
3962 if (secret === ReactPropTypesSecret) {
3963 // It is still safe when called from React.
3964 return;
3965 }
3966 var err = new Error(
3967 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3968 'Use PropTypes.checkPropTypes() to call them. ' +
3969 'Read more at http://fb.me/use-check-prop-types'
3970 );
3971 err.name = 'Invariant Violation';
3972 throw err;
3973 };
3974 shim.isRequired = shim;
3975 function getShim() {
3976 return shim;
3977 };
3978 // Important!
3979 // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
3980 var ReactPropTypes = {
3981 array: shim,
3982 bool: shim,
3983 func: shim,
3984 number: shim,
3985 object: shim,
3986 string: shim,
3987 symbol: shim,
3988
3989 any: shim,
3990 arrayOf: getShim,
3991 element: shim,
3992 elementType: shim,
3993 instanceOf: getShim,
3994 node: shim,
3995 objectOf: getShim,
3996 oneOf: getShim,
3997 oneOfType: getShim,
3998 shape: getShim,
3999 exact: getShim,
4000
4001 checkPropTypes: emptyFunctionWithReset,
4002 resetWarningCache: emptyFunction
4003 };
4004
4005 ReactPropTypes.PropTypes = ReactPropTypes;
4006
4007 return ReactPropTypes;
4008 };
4009
4010
4011 /***/ }),
4012 /* 326 */
4013 /***/ (function(module, exports, __webpack_require__) {
4014
4015 "use strict";
4016 /**
4017 * Copyright (c) 2013-present, Facebook, Inc.
4018 *
4019 * This source code is licensed under the MIT license found in the
4020 * LICENSE file in the root directory of this source tree.
4021 */
4022
4023
4024
4025 var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
4026
4027 module.exports = ReactPropTypesSecret;
4028
4029
4030 /***/ }),
4031 /* 327 */
4032 /***/ (function(module, exports) {
4033
4034 module.exports = ReactDOM;
4035
4036 /***/ }),
4037 /* 328 */,
4038 /* 329 */,
4039 /* 330 */,
4040 /* 331 */,
4041 /* 332 */,
4042 /* 333 */,
4043 /* 334 */,
4044 /* 335 */,
4045 /* 336 */,
4046 /* 337 */,
4047 /* 338 */,
4048 /* 339 */
4049 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4050
4051 "use strict";
4052 // ESM COMPAT FLAG
4053 __webpack_require__.r(__webpack_exports__);
4054
4055 // EXPORTS
4056 __webpack_require__.d(__webpack_exports__, "Link", function() { return /* binding */ Link; });
4057 __webpack_require__.d(__webpack_exports__, "Location", function() { return /* binding */ es_Location; });
4058 __webpack_require__.d(__webpack_exports__, "LocationProvider", function() { return /* binding */ es_LocationProvider; });
4059 __webpack_require__.d(__webpack_exports__, "Match", function() { return /* binding */ es_Match; });
4060 __webpack_require__.d(__webpack_exports__, "Redirect", function() { return /* binding */ es_Redirect; });
4061 __webpack_require__.d(__webpack_exports__, "Router", function() { return /* binding */ es_Router; });
4062 __webpack_require__.d(__webpack_exports__, "ServerLocation", function() { return /* binding */ es_ServerLocation; });
4063 __webpack_require__.d(__webpack_exports__, "createHistory", function() { return /* reexport */ createHistory; });
4064 __webpack_require__.d(__webpack_exports__, "createMemorySource", function() { return /* reexport */ createMemorySource; });
4065 __webpack_require__.d(__webpack_exports__, "isRedirect", function() { return /* binding */ isRedirect; });
4066 __webpack_require__.d(__webpack_exports__, "navigate", function() { return /* reexport */ history_navigate; });
4067 __webpack_require__.d(__webpack_exports__, "redirectTo", function() { return /* binding */ redirectTo; });
4068 __webpack_require__.d(__webpack_exports__, "globalHistory", function() { return /* reexport */ globalHistory; });
4069 __webpack_require__.d(__webpack_exports__, "matchPath", function() { return /* reexport */ utils_match; });
4070 __webpack_require__.d(__webpack_exports__, "useLocation", function() { return /* binding */ es_useLocation; });
4071 __webpack_require__.d(__webpack_exports__, "useNavigate", function() { return /* binding */ es_useNavigate; });
4072 __webpack_require__.d(__webpack_exports__, "useParams", function() { return /* binding */ es_useParams; });
4073 __webpack_require__.d(__webpack_exports__, "useMatch", function() { return /* binding */ es_useMatch; });
4074
4075 // EXTERNAL MODULE: external "React"
4076 var external_React_ = __webpack_require__(13);
4077 var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
4078
4079 // EXTERNAL MODULE: ../node_modules/prop-types/index.js
4080 var prop_types = __webpack_require__(58);
4081
4082 // EXTERNAL MODULE: ../node_modules/invariant/browser.js
4083 var browser = __webpack_require__(269);
4084 var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
4085
4086 // EXTERNAL MODULE: ../node_modules/create-react-context/lib/index.js
4087 var lib = __webpack_require__(407);
4088 var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
4089
4090 // CONCATENATED MODULE: ../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js
4091 /**
4092 * Copyright (c) 2013-present, Facebook, Inc.
4093 *
4094 * This source code is licensed under the MIT license found in the
4095 * LICENSE file in the root directory of this source tree.
4096 */
4097
4098 function componentWillMount() {
4099 // Call this.constructor.gDSFP to support sub-classes.
4100 var state = this.constructor.getDerivedStateFromProps(this.props, this.state);
4101 if (state !== null && state !== undefined) {
4102 this.setState(state);
4103 }
4104 }
4105
4106 function componentWillReceiveProps(nextProps) {
4107 // Call this.constructor.gDSFP to support sub-classes.
4108 // Use the setState() updater to ensure state isn't stale in certain edge cases.
4109 function updater(prevState) {
4110 var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);
4111 return state !== null && state !== undefined ? state : null;
4112 }
4113 // Binding "this" is important for shallow renderer support.
4114 this.setState(updater.bind(this));
4115 }
4116
4117 function componentWillUpdate(nextProps, nextState) {
4118 try {
4119 var prevProps = this.props;
4120 var prevState = this.state;
4121 this.props = nextProps;
4122 this.state = nextState;
4123 this.__reactInternalSnapshotFlag = true;
4124 this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
4125 prevProps,
4126 prevState
4127 );
4128 } finally {
4129 this.props = prevProps;
4130 this.state = prevState;
4131 }
4132 }
4133
4134 // React may warn about cWM/cWRP/cWU methods being deprecated.
4135 // Add a flag to suppress these warnings for this special case.
4136 componentWillMount.__suppressDeprecationWarning = true;
4137 componentWillReceiveProps.__suppressDeprecationWarning = true;
4138 componentWillUpdate.__suppressDeprecationWarning = true;
4139
4140 function polyfill(Component) {
4141 var prototype = Component.prototype;
4142
4143 if (!prototype || !prototype.isReactComponent) {
4144 throw new Error('Can only polyfill class components');
4145 }
4146
4147 if (
4148 typeof Component.getDerivedStateFromProps !== 'function' &&
4149 typeof prototype.getSnapshotBeforeUpdate !== 'function'
4150 ) {
4151 return Component;
4152 }
4153
4154 // If new component APIs are defined, "unsafe" lifecycles won't be called.
4155 // Error if any of these lifecycles are present,
4156 // Because they would work differently between older and newer (16.3+) versions of React.
4157 var foundWillMountName = null;
4158 var foundWillReceivePropsName = null;
4159 var foundWillUpdateName = null;
4160 if (typeof prototype.componentWillMount === 'function') {
4161 foundWillMountName = 'componentWillMount';
4162 } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {
4163 foundWillMountName = 'UNSAFE_componentWillMount';
4164 }
4165 if (typeof prototype.componentWillReceiveProps === 'function') {
4166 foundWillReceivePropsName = 'componentWillReceiveProps';
4167 } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {
4168 foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';
4169 }
4170 if (typeof prototype.componentWillUpdate === 'function') {
4171 foundWillUpdateName = 'componentWillUpdate';
4172 } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {
4173 foundWillUpdateName = 'UNSAFE_componentWillUpdate';
4174 }
4175 if (
4176 foundWillMountName !== null ||
4177 foundWillReceivePropsName !== null ||
4178 foundWillUpdateName !== null
4179 ) {
4180 var componentName = Component.displayName || Component.name;
4181 var newApiName =
4182 typeof Component.getDerivedStateFromProps === 'function'
4183 ? 'getDerivedStateFromProps()'
4184 : 'getSnapshotBeforeUpdate()';
4185
4186 throw Error(
4187 'Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n' +
4188 componentName +
4189 ' uses ' +
4190 newApiName +
4191 ' but also contains the following legacy lifecycles:' +
4192 (foundWillMountName !== null ? '\n ' + foundWillMountName : '') +
4193 (foundWillReceivePropsName !== null
4194 ? '\n ' + foundWillReceivePropsName
4195 : '') +
4196 (foundWillUpdateName !== null ? '\n ' + foundWillUpdateName : '') +
4197 '\n\nThe above lifecycles should be removed. Learn more about this warning here:\n' +
4198 'https://fb.me/react-async-component-lifecycle-hooks'
4199 );
4200 }
4201
4202 // React <= 16.2 does not support static getDerivedStateFromProps.
4203 // As a workaround, use cWM and cWRP to invoke the new static lifecycle.
4204 // Newer versions of React will ignore these lifecycles if gDSFP exists.
4205 if (typeof Component.getDerivedStateFromProps === 'function') {
4206 prototype.componentWillMount = componentWillMount;
4207 prototype.componentWillReceiveProps = componentWillReceiveProps;
4208 }
4209
4210 // React <= 16.2 does not support getSnapshotBeforeUpdate.
4211 // As a workaround, use cWU to invoke the new lifecycle.
4212 // Newer versions of React will ignore that lifecycle if gSBU exists.
4213 if (typeof prototype.getSnapshotBeforeUpdate === 'function') {
4214 if (typeof prototype.componentDidUpdate !== 'function') {
4215 throw new Error(
4216 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'
4217 );
4218 }
4219
4220 prototype.componentWillUpdate = componentWillUpdate;
4221
4222 var componentDidUpdate = prototype.componentDidUpdate;
4223
4224 prototype.componentDidUpdate = function componentDidUpdatePolyfill(
4225 prevProps,
4226 prevState,
4227 maybeSnapshot
4228 ) {
4229 // 16.3+ will not execute our will-update method;
4230 // It will pass a snapshot value to did-update though.
4231 // Older versions will require our polyfilled will-update value.
4232 // We need to handle both cases, but can't just check for the presence of "maybeSnapshot",
4233 // Because for <= 15.x versions this might be a "prevContext" object.
4234 // We also can't just check "__reactInternalSnapshot",
4235 // Because get-snapshot might return a falsy value.
4236 // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.
4237 var snapshot = this.__reactInternalSnapshotFlag
4238 ? this.__reactInternalSnapshot
4239 : maybeSnapshot;
4240
4241 componentDidUpdate.call(this, prevProps, prevState, snapshot);
4242 };
4243 }
4244
4245 return Component;
4246 }
4247
4248
4249
4250 // CONCATENATED MODULE: ../node_modules/@reach/router/es/lib/utils.js
4251
4252
4253 ////////////////////////////////////////////////////////////////////////////////
4254 // startsWith(string, search) - Check if `string` starts with `search`
4255 var startsWith = function startsWith(string, search) {
4256 return string.substr(0, search.length) === search;
4257 };
4258
4259 ////////////////////////////////////////////////////////////////////////////////
4260 // pick(routes, uri)
4261 //
4262 // Ranks and picks the best route to match. Each segment gets the highest
4263 // amount of points, then the type of segment gets an additional amount of
4264 // points where
4265 //
4266 // static > dynamic > splat > root
4267 //
4268 // This way we don't have to worry about the order of our routes, let the
4269 // computers do it.
4270 //
4271 // A route looks like this
4272 //
4273 // { path, default, value }
4274 //
4275 // And a returned match looks like:
4276 //
4277 // { route, params, uri }
4278 //
4279 // I know, I should use TypeScript not comments for these types.
4280 var utils_pick = function pick(routes, uri) {
4281 var match = void 0;
4282 var default_ = void 0;
4283
4284 var _uri$split = uri.split("?"),
4285 uriPathname = _uri$split[0];
4286
4287 var uriSegments = segmentize(uriPathname);
4288 var isRootUri = uriSegments[0] === "";
4289 var ranked = rankRoutes(routes);
4290
4291 for (var i = 0, l = ranked.length; i < l; i++) {
4292 var missed = false;
4293 var route = ranked[i].route;
4294
4295 if (route.default) {
4296 default_ = {
4297 route: route,
4298 params: {},
4299 uri: uri
4300 };
4301 continue;
4302 }
4303
4304 var routeSegments = segmentize(route.path);
4305 var params = {};
4306 var max = Math.max(uriSegments.length, routeSegments.length);
4307 var index = 0;
4308
4309 for (; index < max; index++) {
4310 var routeSegment = routeSegments[index];
4311 var uriSegment = uriSegments[index];
4312
4313 if (isSplat(routeSegment)) {
4314 // Hit a splat, just grab the rest, and return a match
4315 // uri: /files/documents/work
4316 // route: /files/*
4317 var param = routeSegment.slice(1) || "*";
4318 params[param] = uriSegments.slice(index).map(decodeURIComponent).join("/");
4319 break;
4320 }
4321
4322 if (uriSegment === undefined) {
4323 // URI is shorter than the route, no match
4324 // uri: /users
4325 // route: /users/:userId
4326 missed = true;
4327 break;
4328 }
4329
4330 var dynamicMatch = paramRe.exec(routeSegment);
4331
4332 if (dynamicMatch && !isRootUri) {
4333 var matchIsNotReserved = reservedNames.indexOf(dynamicMatch[1]) === -1;
4334 !matchIsNotReserved ? false ? undefined : browser_default()(false) : void 0;
4335 var value = decodeURIComponent(uriSegment);
4336 params[dynamicMatch[1]] = value;
4337 } else if (routeSegment !== uriSegment) {
4338 // Current segments don't match, not dynamic, not splat, so no match
4339 // uri: /users/123/settings
4340 // route: /users/:id/profile
4341 missed = true;
4342 break;
4343 }
4344 }
4345
4346 if (!missed) {
4347 match = {
4348 route: route,
4349 params: params,
4350 uri: "/" + uriSegments.slice(0, index).join("/")
4351 };
4352 break;
4353 }
4354 }
4355
4356 return match || default_ || null;
4357 };
4358
4359 ////////////////////////////////////////////////////////////////////////////////
4360 // match(path, uri) - Matches just one path to a uri, also lol
4361 var utils_match = function match(path, uri) {
4362 return utils_pick([{ path: path }], uri);
4363 };
4364
4365 ////////////////////////////////////////////////////////////////////////////////
4366 // resolve(to, basepath)
4367 //
4368 // Resolves URIs as though every path is a directory, no files. Relative URIs
4369 // in the browser can feel awkward because not only can you be "in a directory"
4370 // you can be "at a file", too. For example
4371 //
4372 // browserSpecResolve('foo', '/bar/') => /bar/foo
4373 // browserSpecResolve('foo', '/bar') => /foo
4374 //
4375 // But on the command line of a file system, it's not as complicated, you can't
4376 // `cd` from a file, only directories. This way, links have to know less about
4377 // their current path. To go deeper you can do this:
4378 //
4379 // <Link to="deeper"/>
4380 // // instead of
4381 // <Link to=`{${props.uri}/deeper}`/>
4382 //
4383 // Just like `cd`, if you want to go deeper from the command line, you do this:
4384 //
4385 // cd deeper
4386 // # not
4387 // cd $(pwd)/deeper
4388 //
4389 // By treating every path as a directory, linking to relative paths should
4390 // require less contextual information and (fingers crossed) be more intuitive.
4391 var resolve = function resolve(to, base) {
4392 // /foo/bar, /baz/qux => /foo/bar
4393 if (startsWith(to, "/")) {
4394 return to;
4395 }
4396
4397 var _to$split = to.split("?"),
4398 toPathname = _to$split[0],
4399 toQuery = _to$split[1];
4400
4401 var _base$split = base.split("?"),
4402 basePathname = _base$split[0];
4403
4404 var toSegments = segmentize(toPathname);
4405 var baseSegments = segmentize(basePathname);
4406
4407 // ?a=b, /users?b=c => /users?a=b
4408 if (toSegments[0] === "") {
4409 return addQuery(basePathname, toQuery);
4410 }
4411
4412 // profile, /users/789 => /users/789/profile
4413 if (!startsWith(toSegments[0], ".")) {
4414 var pathname = baseSegments.concat(toSegments).join("/");
4415 return addQuery((basePathname === "/" ? "" : "/") + pathname, toQuery);
4416 }
4417
4418 // ./ /users/123 => /users/123
4419 // ../ /users/123 => /users
4420 // ../.. /users/123 => /
4421 // ../../one /a/b/c/d => /a/b/one
4422 // .././one /a/b/c/d => /a/b/c/one
4423 var allSegments = baseSegments.concat(toSegments);
4424 var segments = [];
4425 for (var i = 0, l = allSegments.length; i < l; i++) {
4426 var segment = allSegments[i];
4427 if (segment === "..") segments.pop();else if (segment !== ".") segments.push(segment);
4428 }
4429
4430 return addQuery("/" + segments.join("/"), toQuery);
4431 };
4432
4433 ////////////////////////////////////////////////////////////////////////////////
4434 // insertParams(path, params)
4435
4436 var insertParams = function insertParams(path, params) {
4437 var _path$split = path.split("?"),
4438 pathBase = _path$split[0],
4439 _path$split$ = _path$split[1],
4440 query = _path$split$ === undefined ? "" : _path$split$;
4441
4442 var segments = segmentize(pathBase);
4443 var constructedPath = "/" + segments.map(function (segment) {
4444 var match = paramRe.exec(segment);
4445 return match ? params[match[1]] : segment;
4446 }).join("/");
4447 var _params$location = params.location;
4448 _params$location = _params$location === undefined ? {} : _params$location;
4449 var _params$location$sear = _params$location.search,
4450 search = _params$location$sear === undefined ? "" : _params$location$sear;
4451
4452 var searchSplit = search.split("?")[1] || "";
4453 constructedPath = addQuery(constructedPath, query, searchSplit);
4454 return constructedPath;
4455 };
4456
4457 var validateRedirect = function validateRedirect(from, to) {
4458 var filter = function filter(segment) {
4459 return isDynamic(segment);
4460 };
4461 var fromString = segmentize(from).filter(filter).sort().join("/");
4462 var toString = segmentize(to).filter(filter).sort().join("/");
4463 return fromString === toString;
4464 };
4465
4466 ////////////////////////////////////////////////////////////////////////////////
4467 // Junk
4468 var paramRe = /^:(.+)/;
4469
4470 var SEGMENT_POINTS = 4;
4471 var STATIC_POINTS = 3;
4472 var DYNAMIC_POINTS = 2;
4473 var SPLAT_PENALTY = 1;
4474 var ROOT_POINTS = 1;
4475
4476 var isRootSegment = function isRootSegment(segment) {
4477 return segment === "";
4478 };
4479 var isDynamic = function isDynamic(segment) {
4480 return paramRe.test(segment);
4481 };
4482 var isSplat = function isSplat(segment) {
4483 return segment && segment[0] === "*";
4484 };
4485
4486 var rankRoute = function rankRoute(route, index) {
4487 var score = route.default ? 0 : segmentize(route.path).reduce(function (score, segment) {
4488 score += SEGMENT_POINTS;
4489 if (isRootSegment(segment)) score += ROOT_POINTS;else if (isDynamic(segment)) score += DYNAMIC_POINTS;else if (isSplat(segment)) score -= SEGMENT_POINTS + SPLAT_PENALTY;else score += STATIC_POINTS;
4490 return score;
4491 }, 0);
4492 return { route: route, score: score, index: index };
4493 };
4494
4495 var rankRoutes = function rankRoutes(routes) {
4496 return routes.map(rankRoute).sort(function (a, b) {
4497 return a.score < b.score ? 1 : a.score > b.score ? -1 : a.index - b.index;
4498 });
4499 };
4500
4501 var segmentize = function segmentize(uri) {
4502 return uri
4503 // strip starting/ending slashes
4504 .replace(/(^\/+|\/+$)/g, "").split("/");
4505 };
4506
4507 var addQuery = function addQuery(pathname) {
4508 for (var _len = arguments.length, query = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4509 query[_key - 1] = arguments[_key];
4510 }
4511
4512 query = query.filter(function (q) {
4513 return q && q.length > 0;
4514 });
4515 return pathname + (query && query.length > 0 ? "?" + query.join("&") : "");
4516 };
4517
4518 var reservedNames = ["uri", "path"];
4519
4520 /**
4521 * Shallow compares two objects.
4522 * @param {Object} obj1 The first object to compare.
4523 * @param {Object} obj2 The second object to compare.
4524 */
4525 var shallowCompare = function shallowCompare(obj1, obj2) {
4526 var obj1Keys = Object.keys(obj1);
4527 return obj1Keys.length === Object.keys(obj2).length && obj1Keys.every(function (key) {
4528 return obj2.hasOwnProperty(key) && obj1[key] === obj2[key];
4529 });
4530 };
4531
4532 ////////////////////////////////////////////////////////////////////////////////
4533
4534 // CONCATENATED MODULE: ../node_modules/@reach/router/es/lib/history.js
4535 var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4536
4537 var getLocation = function getLocation(source) {
4538 var _source$location = source.location,
4539 search = _source$location.search,
4540 hash = _source$location.hash,
4541 href = _source$location.href,
4542 origin = _source$location.origin,
4543 protocol = _source$location.protocol,
4544 host = _source$location.host,
4545 hostname = _source$location.hostname,
4546 port = _source$location.port;
4547 var pathname = source.location.pathname;
4548
4549
4550 if (!pathname && href && canUseDOM) {
4551 var url = new URL(href);
4552 pathname = url.pathname;
4553 }
4554
4555 return {
4556 pathname: encodeURI(decodeURI(pathname)),
4557 search: search,
4558 hash: hash,
4559 href: href,
4560 origin: origin,
4561 protocol: protocol,
4562 host: host,
4563 hostname: hostname,
4564 port: port,
4565 state: source.history.state,
4566 key: source.history.state && source.history.state.key || "initial"
4567 };
4568 };
4569
4570 var createHistory = function createHistory(source, options) {
4571 var listeners = [];
4572 var location = getLocation(source);
4573 var transitioning = false;
4574 var resolveTransition = function resolveTransition() {};
4575
4576 return {
4577 get location() {
4578 return location;
4579 },
4580
4581 get transitioning() {
4582 return transitioning;
4583 },
4584
4585 _onTransitionComplete: function _onTransitionComplete() {
4586 transitioning = false;
4587 resolveTransition();
4588 },
4589 listen: function listen(listener) {
4590 listeners.push(listener);
4591
4592 var popstateListener = function popstateListener() {
4593 location = getLocation(source);
4594 listener({ location: location, action: "POP" });
4595 };
4596
4597 source.addEventListener("popstate", popstateListener);
4598
4599 return function () {
4600 source.removeEventListener("popstate", popstateListener);
4601 listeners = listeners.filter(function (fn) {
4602 return fn !== listener;
4603 });
4604 };
4605 },
4606 navigate: function navigate(to) {
4607 var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
4608 state = _ref.state,
4609 _ref$replace = _ref.replace,
4610 replace = _ref$replace === undefined ? false : _ref$replace;
4611
4612 if (typeof to === "number") {
4613 source.history.go(to);
4614 } else {
4615 state = _extends({}, state, { key: Date.now() + "" });
4616 // try...catch iOS Safari limits to 100 pushState calls
4617 try {
4618 if (transitioning || replace) {
4619 source.history.replaceState(state, null, to);
4620 } else {
4621 source.history.pushState(state, null, to);
4622 }
4623 } catch (e) {
4624 source.location[replace ? "replace" : "assign"](to);
4625 }
4626 }
4627
4628 location = getLocation(source);
4629 transitioning = true;
4630 var transition = new Promise(function (res) {
4631 return resolveTransition = res;
4632 });
4633 listeners.forEach(function (listener) {
4634 return listener({ location: location, action: "PUSH" });
4635 });
4636 return transition;
4637 }
4638 };
4639 };
4640
4641 ////////////////////////////////////////////////////////////////////////////////
4642 // Stores history entries in memory for testing or other platforms like Native
4643 var createMemorySource = function createMemorySource() {
4644 var initialPath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "/";
4645
4646 var searchIndex = initialPath.indexOf("?");
4647 var initialLocation = {
4648 pathname: searchIndex > -1 ? initialPath.substr(0, searchIndex) : initialPath,
4649 search: searchIndex > -1 ? initialPath.substr(searchIndex) : ""
4650 };
4651 var index = 0;
4652 var stack = [initialLocation];
4653 var states = [null];
4654
4655 return {
4656 get location() {
4657 return stack[index];
4658 },
4659 addEventListener: function addEventListener(name, fn) {},
4660 removeEventListener: function removeEventListener(name, fn) {},
4661
4662 history: {
4663 get entries() {
4664 return stack;
4665 },
4666 get index() {
4667 return index;
4668 },
4669 get state() {
4670 return states[index];
4671 },
4672 pushState: function pushState(state, _, uri) {
4673 var _uri$split = uri.split("?"),
4674 pathname = _uri$split[0],
4675 _uri$split$ = _uri$split[1],
4676 search = _uri$split$ === undefined ? "" : _uri$split$;
4677
4678 index++;
4679 stack.push({ pathname: pathname, search: search.length ? "?" + search : search });
4680 states.push(state);
4681 },
4682 replaceState: function replaceState(state, _, uri) {
4683 var _uri$split2 = uri.split("?"),
4684 pathname = _uri$split2[0],
4685 _uri$split2$ = _uri$split2[1],
4686 search = _uri$split2$ === undefined ? "" : _uri$split2$;
4687
4688 stack[index] = { pathname: pathname, search: search };
4689 states[index] = state;
4690 },
4691 go: function go(to) {
4692 var newIndex = index + to;
4693
4694 if (newIndex < 0 || newIndex > states.length - 1) {
4695 return;
4696 }
4697
4698 index = newIndex;
4699 }
4700 }
4701 };
4702 };
4703
4704 ////////////////////////////////////////////////////////////////////////////////
4705 // global history - uses window.history as the source if available, otherwise a
4706 // memory history
4707 var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
4708 var getSource = function getSource() {
4709 return canUseDOM ? window : createMemorySource();
4710 };
4711
4712 var globalHistory = createHistory(getSource());
4713 var history_navigate = globalHistory.navigate;
4714
4715 ////////////////////////////////////////////////////////////////////////////////
4716
4717
4718 // CONCATENATED MODULE: ../node_modules/@reach/router/es/index.js
4719 var es_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4720
4721 function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
4722
4723 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4724
4725 function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
4726
4727 function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
4728
4729 /* eslint-disable jsx-a11y/anchor-has-content */
4730
4731
4732
4733
4734
4735
4736
4737
4738 ////////////////////////////////////////////////////////////////////////////////
4739
4740 var es_createNamedContext = function createNamedContext(name, defaultValue) {
4741 var Ctx = lib_default()(defaultValue);
4742 Ctx.displayName = name;
4743 return Ctx;
4744 };
4745
4746 ////////////////////////////////////////////////////////////////////////////////
4747 // Location Context/Provider
4748 var LocationContext = es_createNamedContext("Location");
4749
4750 // sets up a listener if there isn't one already so apps don't need to be
4751 // wrapped in some top level provider
4752 var es_Location = function Location(_ref) {
4753 var children = _ref.children;
4754 return external_React_default.a.createElement(
4755 LocationContext.Consumer,
4756 null,
4757 function (context) {
4758 return context ? children(context) : external_React_default.a.createElement(
4759 es_LocationProvider,
4760 null,
4761 children
4762 );
4763 }
4764 );
4765 };
4766
4767 var es_LocationProvider = function (_React$Component) {
4768 _inherits(LocationProvider, _React$Component);
4769
4770 function LocationProvider() {
4771 var _temp, _this, _ret;
4772
4773 _classCallCheck(this, LocationProvider);
4774
4775 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
4776 args[_key] = arguments[_key];
4777 }
4778
4779 return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
4780 context: _this.getContext(),
4781 refs: { unlisten: null }
4782 }, _temp), _possibleConstructorReturn(_this, _ret);
4783 }
4784
4785 LocationProvider.prototype.getContext = function getContext() {
4786 var _props$history = this.props.history,
4787 navigate = _props$history.navigate,
4788 location = _props$history.location;
4789
4790 return { navigate: navigate, location: location };
4791 };
4792
4793 LocationProvider.prototype.componentDidCatch = function componentDidCatch(error, info) {
4794 if (isRedirect(error)) {
4795 var _navigate = this.props.history.navigate;
4796
4797 _navigate(error.uri, { replace: true });
4798 } else {
4799 throw error;
4800 }
4801 };
4802
4803 LocationProvider.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
4804 if (prevState.context.location !== this.state.context.location) {
4805 this.props.history._onTransitionComplete();
4806 }
4807 };
4808
4809 LocationProvider.prototype.componentDidMount = function componentDidMount() {
4810 var _this2 = this;
4811
4812 var refs = this.state.refs,
4813 history = this.props.history;
4814
4815 history._onTransitionComplete();
4816 refs.unlisten = history.listen(function () {
4817 Promise.resolve().then(function () {
4818 // TODO: replace rAF with react deferred update API when it's ready https://github.com/facebook/react/issues/13306
4819 requestAnimationFrame(function () {
4820 if (!_this2.unmounted) {
4821 _this2.setState(function () {
4822 return { context: _this2.getContext() };
4823 });
4824 }
4825 });
4826 });
4827 });
4828 };
4829
4830 LocationProvider.prototype.componentWillUnmount = function componentWillUnmount() {
4831 var refs = this.state.refs;
4832
4833 this.unmounted = true;
4834 refs.unlisten();
4835 };
4836
4837 LocationProvider.prototype.render = function render() {
4838 var context = this.state.context,
4839 children = this.props.children;
4840
4841 return external_React_default.a.createElement(
4842 LocationContext.Provider,
4843 { value: context },
4844 typeof children === "function" ? children(context) : children || null
4845 );
4846 };
4847
4848 return LocationProvider;
4849 }(external_React_default.a.Component);
4850
4851 ////////////////////////////////////////////////////////////////////////////////
4852
4853
4854 es_LocationProvider.defaultProps = {
4855 history: globalHistory
4856 };
4857 false ? undefined : void 0;
4858 var es_ServerLocation = function ServerLocation(_ref2) {
4859 var url = _ref2.url,
4860 children = _ref2.children;
4861
4862 var searchIndex = url.indexOf("?");
4863 var searchExists = searchIndex > -1;
4864 var pathname = void 0;
4865 var search = "";
4866 var hash = "";
4867
4868 if (searchExists) {
4869 pathname = url.substring(0, searchIndex);
4870 search = url.substring(searchIndex);
4871 } else {
4872 pathname = url;
4873 }
4874
4875 return external_React_default.a.createElement(
4876 LocationContext.Provider,
4877 {
4878 value: {
4879 location: {
4880 pathname: pathname,
4881 search: search,
4882 hash: hash
4883 },
4884 navigate: function navigate() {
4885 throw new Error("You can't call navigate on the server.");
4886 }
4887 }
4888 },
4889 children
4890 );
4891 };
4892 ////////////////////////////////////////////////////////////////////////////////
4893 // Sets baseuri and basepath for nested routers and links
4894 var BaseContext = es_createNamedContext("Base", { baseuri: "/", basepath: "/" });
4895
4896 ////////////////////////////////////////////////////////////////////////////////
4897 // The main event, welcome to the show everybody.
4898 var es_Router = function Router(props) {
4899 return external_React_default.a.createElement(
4900 BaseContext.Consumer,
4901 null,
4902 function (baseContext) {
4903 return external_React_default.a.createElement(
4904 es_Location,
4905 null,
4906 function (locationContext) {
4907 return external_React_default.a.createElement(es_RouterImpl, es_extends({}, baseContext, locationContext, props));
4908 }
4909 );
4910 }
4911 );
4912 };
4913
4914 var es_RouterImpl = function (_React$PureComponent) {
4915 _inherits(RouterImpl, _React$PureComponent);
4916
4917 function RouterImpl() {
4918 _classCallCheck(this, RouterImpl);
4919
4920 return _possibleConstructorReturn(this, _React$PureComponent.apply(this, arguments));
4921 }
4922
4923 RouterImpl.prototype.render = function render() {
4924 var _props = this.props,
4925 location = _props.location,
4926 _navigate2 = _props.navigate,
4927 basepath = _props.basepath,
4928 primary = _props.primary,
4929 children = _props.children,
4930 baseuri = _props.baseuri,
4931 _props$component = _props.component,
4932 component = _props$component === undefined ? "div" : _props$component,
4933 domProps = _objectWithoutProperties(_props, ["location", "navigate", "basepath", "primary", "children", "baseuri", "component"]);
4934
4935 var routes = external_React_default.a.Children.toArray(children).reduce(function (array, child) {
4936 var routes = es_createRoute(basepath)(child);
4937 return array.concat(routes);
4938 }, []);
4939 var pathname = location.pathname;
4940
4941
4942 var match = utils_pick(routes, pathname);
4943
4944 if (match) {
4945 var params = match.params,
4946 uri = match.uri,
4947 route = match.route,
4948 element = match.route.value;
4949
4950 // remove the /* from the end for child routes relative paths
4951
4952 basepath = route.default ? basepath : route.path.replace(/\*$/, "");
4953
4954 var props = es_extends({}, params, {
4955 uri: uri,
4956 location: location,
4957 navigate: function navigate(to, options) {
4958 return _navigate2(resolve(to, uri), options);
4959 }
4960 });
4961
4962 var clone = external_React_default.a.cloneElement(element, props, element.props.children ? external_React_default.a.createElement(
4963 es_Router,
4964 { location: location, primary: primary },
4965 element.props.children
4966 ) : undefined);
4967
4968 // using 'div' for < 16.3 support
4969 var FocusWrapper = primary ? es_FocusHandler : component;
4970 // don't pass any props to 'div'
4971 var wrapperProps = primary ? es_extends({ uri: uri, location: location, component: component }, domProps) : domProps;
4972
4973 return external_React_default.a.createElement(
4974 BaseContext.Provider,
4975 { value: { baseuri: uri, basepath: basepath } },
4976 external_React_default.a.createElement(
4977 FocusWrapper,
4978 wrapperProps,
4979 clone
4980 )
4981 );
4982 } else {
4983 // Not sure if we want this, would require index routes at every level
4984 // warning(
4985 // false,
4986 // `<Router basepath="${basepath}">\n\nNothing matched:\n\t${
4987 // location.pathname
4988 // }\n\nPaths checked: \n\t${routes
4989 // .map(route => route.path)
4990 // .join(
4991 // "\n\t"
4992 // )}\n\nTo get rid of this warning, add a default NotFound component as child of Router:
4993 // \n\tlet NotFound = () => <div>Not Found!</div>
4994 // \n\t<Router>\n\t <NotFound default/>\n\t {/* ... */}\n\t</Router>`
4995 // );
4996 return null;
4997 }
4998 };
4999
5000 return RouterImpl;
5001 }(external_React_default.a.PureComponent);
5002
5003 es_RouterImpl.defaultProps = {
5004 primary: true
5005 };
5006
5007
5008 var FocusContext = es_createNamedContext("Focus");
5009
5010 var es_FocusHandler = function FocusHandler(_ref3) {
5011 var uri = _ref3.uri,
5012 location = _ref3.location,
5013 component = _ref3.component,
5014 domProps = _objectWithoutProperties(_ref3, ["uri", "location", "component"]);
5015
5016 return external_React_default.a.createElement(
5017 FocusContext.Consumer,
5018 null,
5019 function (requestFocus) {
5020 return external_React_default.a.createElement(es_FocusHandlerImpl, es_extends({}, domProps, {
5021 component: component,
5022 requestFocus: requestFocus,
5023 uri: uri,
5024 location: location
5025 }));
5026 }
5027 );
5028 };
5029
5030 // don't focus on initial render
5031 var initialRender = true;
5032 var focusHandlerCount = 0;
5033
5034 var es_FocusHandlerImpl = function (_React$Component2) {
5035 _inherits(FocusHandlerImpl, _React$Component2);
5036
5037 function FocusHandlerImpl() {
5038 var _temp2, _this4, _ret2;
5039
5040 _classCallCheck(this, FocusHandlerImpl);
5041
5042 for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
5043 args[_key2] = arguments[_key2];
5044 }
5045
5046 return _ret2 = (_temp2 = (_this4 = _possibleConstructorReturn(this, _React$Component2.call.apply(_React$Component2, [this].concat(args))), _this4), _this4.state = {}, _this4.requestFocus = function (node) {
5047 if (!_this4.state.shouldFocus && node) {
5048 node.focus();
5049 }
5050 }, _temp2), _possibleConstructorReturn(_this4, _ret2);
5051 }
5052
5053 FocusHandlerImpl.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, prevState) {
5054 var initial = prevState.uri == null;
5055 if (initial) {
5056 return es_extends({
5057 shouldFocus: true
5058 }, nextProps);
5059 } else {
5060 var myURIChanged = nextProps.uri !== prevState.uri;
5061 var navigatedUpToMe = prevState.location.pathname !== nextProps.location.pathname && nextProps.location.pathname === nextProps.uri;
5062 return es_extends({
5063 shouldFocus: myURIChanged || navigatedUpToMe
5064 }, nextProps);
5065 }
5066 };
5067
5068 FocusHandlerImpl.prototype.componentDidMount = function componentDidMount() {
5069 focusHandlerCount++;
5070 this.focus();
5071 };
5072
5073 FocusHandlerImpl.prototype.componentWillUnmount = function componentWillUnmount() {
5074 focusHandlerCount--;
5075 if (focusHandlerCount === 0) {
5076 initialRender = true;
5077 }
5078 };
5079
5080 FocusHandlerImpl.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
5081 if (prevProps.location !== this.props.location && this.state.shouldFocus) {
5082 this.focus();
5083 }
5084 };
5085
5086 FocusHandlerImpl.prototype.focus = function focus() {
5087 if (false) {}
5088
5089 var requestFocus = this.props.requestFocus;
5090
5091
5092 if (requestFocus) {
5093 requestFocus(this.node);
5094 } else {
5095 if (initialRender) {
5096 initialRender = false;
5097 } else if (this.node) {
5098 // React polyfills [autofocus] and it fires earlier than cDM,
5099 // so we were stealing focus away, this line prevents that.
5100 if (!this.node.contains(document.activeElement)) {
5101 this.node.focus();
5102 }
5103 }
5104 }
5105 };
5106
5107 FocusHandlerImpl.prototype.render = function render() {
5108 var _this5 = this;
5109
5110 var _props2 = this.props,
5111 children = _props2.children,
5112 style = _props2.style,
5113 requestFocus = _props2.requestFocus,
5114 _props2$component = _props2.component,
5115 Comp = _props2$component === undefined ? "div" : _props2$component,
5116 uri = _props2.uri,
5117 location = _props2.location,
5118 domProps = _objectWithoutProperties(_props2, ["children", "style", "requestFocus", "component", "uri", "location"]);
5119
5120 return external_React_default.a.createElement(
5121 Comp,
5122 es_extends({
5123 style: es_extends({ outline: "none" }, style),
5124 tabIndex: "-1",
5125 ref: function ref(n) {
5126 return _this5.node = n;
5127 }
5128 }, domProps),
5129 external_React_default.a.createElement(
5130 FocusContext.Provider,
5131 { value: this.requestFocus },
5132 this.props.children
5133 )
5134 );
5135 };
5136
5137 return FocusHandlerImpl;
5138 }(external_React_default.a.Component);
5139
5140 polyfill(es_FocusHandlerImpl);
5141
5142 var k = function k() {};
5143
5144 ////////////////////////////////////////////////////////////////////////////////
5145 var forwardRef = external_React_default.a.forwardRef;
5146
5147 if (typeof forwardRef === "undefined") {
5148 forwardRef = function forwardRef(C) {
5149 return C;
5150 };
5151 }
5152
5153 var Link = forwardRef(function (_ref4, ref) {
5154 var innerRef = _ref4.innerRef,
5155 props = _objectWithoutProperties(_ref4, ["innerRef"]);
5156
5157 return external_React_default.a.createElement(
5158 BaseContext.Consumer,
5159 null,
5160 function (_ref5) {
5161 var basepath = _ref5.basepath,
5162 baseuri = _ref5.baseuri;
5163 return external_React_default.a.createElement(
5164 es_Location,
5165 null,
5166 function (_ref6) {
5167 var location = _ref6.location,
5168 navigate = _ref6.navigate;
5169
5170 var to = props.to,
5171 state = props.state,
5172 replace = props.replace,
5173 _props$getProps = props.getProps,
5174 getProps = _props$getProps === undefined ? k : _props$getProps,
5175 anchorProps = _objectWithoutProperties(props, ["to", "state", "replace", "getProps"]);
5176
5177 var href = resolve(to, baseuri);
5178 var encodedHref = encodeURI(href);
5179 var isCurrent = location.pathname === encodedHref;
5180 var isPartiallyCurrent = startsWith(location.pathname, encodedHref);
5181
5182 return external_React_default.a.createElement("a", es_extends({
5183 ref: ref || innerRef,
5184 "aria-current": isCurrent ? "page" : undefined
5185 }, anchorProps, getProps({ isCurrent: isCurrent, isPartiallyCurrent: isPartiallyCurrent, href: href, location: location }), {
5186 href: href,
5187 onClick: function onClick(event) {
5188 if (anchorProps.onClick) anchorProps.onClick(event);
5189 if (shouldNavigate(event)) {
5190 event.preventDefault();
5191 var shouldReplace = replace;
5192 if (typeof replace !== "boolean" && isCurrent) {
5193 var _location$state = es_extends({}, location.state),
5194 key = _location$state.key,
5195 restState = _objectWithoutProperties(_location$state, ["key"]);
5196
5197 shouldReplace = shallowCompare(es_extends({}, state), restState);
5198 }
5199 navigate(href, {
5200 state: state,
5201 replace: shouldReplace
5202 });
5203 }
5204 }
5205 }));
5206 }
5207 );
5208 }
5209 );
5210 });
5211
5212 Link.displayName = "Link";
5213
5214 false ? undefined : void 0;
5215
5216 ////////////////////////////////////////////////////////////////////////////////
5217 function RedirectRequest(uri) {
5218 this.uri = uri;
5219 }
5220
5221 var isRedirect = function isRedirect(o) {
5222 return o instanceof RedirectRequest;
5223 };
5224
5225 var redirectTo = function redirectTo(to) {
5226 throw new RedirectRequest(to);
5227 };
5228
5229 var es_RedirectImpl = function (_React$Component3) {
5230 _inherits(RedirectImpl, _React$Component3);
5231
5232 function RedirectImpl() {
5233 _classCallCheck(this, RedirectImpl);
5234
5235 return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));
5236 }
5237
5238 // Support React < 16 with this hook
5239 RedirectImpl.prototype.componentDidMount = function componentDidMount() {
5240 var _props3 = this.props,
5241 navigate = _props3.navigate,
5242 to = _props3.to,
5243 from = _props3.from,
5244 _props3$replace = _props3.replace,
5245 replace = _props3$replace === undefined ? true : _props3$replace,
5246 state = _props3.state,
5247 noThrow = _props3.noThrow,
5248 baseuri = _props3.baseuri,
5249 props = _objectWithoutProperties(_props3, ["navigate", "to", "from", "replace", "state", "noThrow", "baseuri"]);
5250
5251 Promise.resolve().then(function () {
5252 var resolvedTo = resolve(to, baseuri);
5253 navigate(insertParams(resolvedTo, props), { replace: replace, state: state });
5254 });
5255 };
5256
5257 RedirectImpl.prototype.render = function render() {
5258 var _props4 = this.props,
5259 navigate = _props4.navigate,
5260 to = _props4.to,
5261 from = _props4.from,
5262 replace = _props4.replace,
5263 state = _props4.state,
5264 noThrow = _props4.noThrow,
5265 baseuri = _props4.baseuri,
5266 props = _objectWithoutProperties(_props4, ["navigate", "to", "from", "replace", "state", "noThrow", "baseuri"]);
5267
5268 var resolvedTo = resolve(to, baseuri);
5269 if (!noThrow) redirectTo(insertParams(resolvedTo, props));
5270 return null;
5271 };
5272
5273 return RedirectImpl;
5274 }(external_React_default.a.Component);
5275
5276 var es_Redirect = function Redirect(props) {
5277 return external_React_default.a.createElement(
5278 BaseContext.Consumer,
5279 null,
5280 function (_ref7) {
5281 var baseuri = _ref7.baseuri;
5282 return external_React_default.a.createElement(
5283 es_Location,
5284 null,
5285 function (locationContext) {
5286 return external_React_default.a.createElement(es_RedirectImpl, es_extends({}, locationContext, { baseuri: baseuri }, props));
5287 }
5288 );
5289 }
5290 );
5291 };
5292
5293 false ? undefined : void 0;
5294
5295 ////////////////////////////////////////////////////////////////////////////////
5296 var es_Match = function Match(_ref8) {
5297 var path = _ref8.path,
5298 children = _ref8.children;
5299 return external_React_default.a.createElement(
5300 BaseContext.Consumer,
5301 null,
5302 function (_ref9) {
5303 var baseuri = _ref9.baseuri;
5304 return external_React_default.a.createElement(
5305 es_Location,
5306 null,
5307 function (_ref10) {
5308 var navigate = _ref10.navigate,
5309 location = _ref10.location;
5310
5311 var resolvedPath = resolve(path, baseuri);
5312 var result = utils_match(resolvedPath, location.pathname);
5313 return children({
5314 navigate: navigate,
5315 location: location,
5316 match: result ? es_extends({}, result.params, {
5317 uri: result.uri,
5318 path: path
5319 }) : null
5320 });
5321 }
5322 );
5323 }
5324 );
5325 };
5326
5327 ////////////////////////////////////////////////////////////////////////////////
5328 // Hooks
5329
5330 var es_useLocation = function useLocation() {
5331 var context = Object(external_React_["useContext"])(LocationContext);
5332
5333 if (!context) {
5334 throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");
5335 }
5336
5337 return context.location;
5338 };
5339
5340 var es_useNavigate = function useNavigate() {
5341 var context = Object(external_React_["useContext"])(LocationContext);
5342
5343 if (!context) {
5344 throw new Error("useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");
5345 }
5346
5347 return context.navigate;
5348 };
5349
5350 var es_useParams = function useParams() {
5351 var context = Object(external_React_["useContext"])(BaseContext);
5352
5353 if (!context) {
5354 throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");
5355 }
5356
5357 var location = es_useLocation();
5358
5359 var results = utils_match(context.basepath, location.pathname);
5360
5361 return results ? results.params : null;
5362 };
5363
5364 var es_useMatch = function useMatch(path) {
5365 if (!path) {
5366 throw new Error("useMatch(path: string) requires an argument of a string to match against");
5367 }
5368 var context = Object(external_React_["useContext"])(BaseContext);
5369
5370 if (!context) {
5371 throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");
5372 }
5373
5374 var location = es_useLocation();
5375
5376 var resolvedPath = resolve(path, context.baseuri);
5377 var result = utils_match(resolvedPath, location.pathname);
5378 return result ? es_extends({}, result.params, {
5379 uri: result.uri,
5380 path: path
5381 }) : null;
5382 };
5383
5384 ////////////////////////////////////////////////////////////////////////////////
5385 // Junk
5386 var stripSlashes = function stripSlashes(str) {
5387 return str.replace(/(^\/+|\/+$)/g, "");
5388 };
5389
5390 var es_createRoute = function createRoute(basepath) {
5391 return function (element) {
5392 if (!element) {
5393 return null;
5394 }
5395
5396 if (element.type === external_React_default.a.Fragment && element.props.children) {
5397 return external_React_default.a.Children.map(element.props.children, createRoute(basepath));
5398 }
5399 !(element.props.path || element.props.default || element.type === es_Redirect) ? false ? undefined : browser_default()(false) : void 0;
5400
5401 !!(element.type === es_Redirect && (!element.props.from || !element.props.to)) ? false ? undefined : browser_default()(false) : void 0;
5402
5403 !!(element.type === es_Redirect && !validateRedirect(element.props.from, element.props.to)) ? false ? undefined : browser_default()(false) : void 0;
5404
5405 if (element.props.default) {
5406 return { value: element, default: true };
5407 }
5408
5409 var elementPath = element.type === es_Redirect ? element.props.from : element.props.path;
5410
5411 var path = elementPath === "/" ? basepath : stripSlashes(basepath) + "/" + stripSlashes(elementPath);
5412
5413 return {
5414 value: element,
5415 default: element.props.default,
5416 path: element.props.children ? stripSlashes(path) + "/*" : path
5417 };
5418 };
5419 };
5420
5421 var shouldNavigate = function shouldNavigate(event) {
5422 return !event.defaultPrevented && event.button === 0 && !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
5423 };
5424
5425 ////////////////////////////////////////////////////////////////////////
5426
5427
5428 /***/ }),
5429 /* 340 */,
5430 /* 341 */,
5431 /* 342 */,
5432 /* 343 */
5433 /***/ (function(module, exports) {
5434
5435 module.exports = elementorAppPackages.router;
5436
5437 /***/ }),
5438 /* 344 */
5439 /***/ (function(module, exports, __webpack_require__) {
5440
5441 "use strict";
5442 /* WEBPACK VAR INJECTION */(function(PropTypes) {
5443
5444 var _interopRequireDefault = __webpack_require__(0);
5445
5446 var _Object$defineProperty = __webpack_require__(1);
5447
5448 _Object$defineProperty(exports, "__esModule", {
5449 value: true
5450 });
5451
5452 exports.default = Grid;
5453
5454 var _react = _interopRequireDefault(__webpack_require__(13));
5455
5456 __webpack_require__(56);
5457
5458 __webpack_require__(118);
5459
5460 var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(296));
5461
5462 __webpack_require__(644);
5463
5464 function Grid(props) {
5465 var propsMap = {
5466 direction: '--direction{{ -VALUE }}',
5467 justify: '--justify{{ -VALUE }}',
5468 alignContent: '--align-content{{ -VALUE }}',
5469 alignItems: '--align-items{{ -VALUE }}',
5470 container: '-container',
5471 item: '-item',
5472 noWrap: '-container--no-wrap',
5473 wrapReverse: '-container--wrap-reverse',
5474 zeroMinWidth: '-item--zero-min-width',
5475 spacing: '-container--spacing',
5476 xs: '-item-xs{{ -VALUE }}',
5477 sm: '-item-sm{{ -VALUE }}',
5478 md: '-item-md{{ -VALUE }}',
5479 lg: '-item-lg{{ -VALUE }}',
5480 xl: '-item-xl{{ -VALUE }}',
5481 xxl: '-item-xxl{{ -VALUE }}'
5482 },
5483 getStyle = function getStyle() {
5484 return isValidPropValue(props.spacing) ? {
5485 '--grid-spacing-gutter': props.spacing
5486 } : {};
5487 },
5488 classes = [getBaseClassName(), props.className].concat((0, _toConsumableArray2.default)(getPropsClasses(propsMap, props)));
5489
5490 return /*#__PURE__*/_react.default.createElement("div", {
5491 style: getStyle(),
5492 className: classes.filter(function (classItem) {
5493 return '' !== classItem;
5494 }).join(' ')
5495 }, props.children);
5496 }
5497
5498 function getPropsClasses(propsMap, props) {
5499 var classes = [];
5500
5501 for (var prop in propsMap) {
5502 if (props[prop]) {
5503 var propValue = isValidPropValue(props[prop]) ? props[prop] : '';
5504 classes.push(getBaseClassName() + renderPropValueBrackets(propsMap[prop], propValue));
5505 }
5506 }
5507
5508 return classes;
5509 }
5510
5511 function renderPropValueBrackets(propClass, propValue) {
5512 var brackets = propClass.match(/{{.*?}}/);
5513
5514 if (brackets) {
5515 var bracketsValue = propValue ? brackets[0].replace(/[{ }]/g, '').replace(/value/i, propValue) : '';
5516 propClass = propClass.replace(brackets[0], bracketsValue);
5517 }
5518
5519 return propClass;
5520 }
5521
5522 function getBaseClassName() {
5523 return 'eps-grid';
5524 }
5525
5526 function isValidPropValue(propValue) {
5527 return propValue && 'boolean' !== typeof propValue;
5528 }
5529
5530 Grid.propTypes = {
5531 className: PropTypes.string,
5532 direction: PropTypes.string,
5533 justify: PropTypes.string,
5534 alignContent: PropTypes.string,
5535 alignItems: PropTypes.string,
5536 container: PropTypes.bool,
5537 item: PropTypes.bool,
5538 noWrap: PropTypes.bool,
5539 wrapReverse: PropTypes.bool,
5540 zeroMinWidth: PropTypes.bool,
5541 spacing: PropTypes.number,
5542 xs: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5543 sm: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5544 md: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5545 lg: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5546 xl: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5547 xxl: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
5548 children: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.arrayOf(PropTypes.object)]).isRequired
5549 };
5550 Grid.defaultProps = {
5551 className: ''
5552 };
5553 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
5554
5555 /***/ }),
5556 /* 345 */,
5557 /* 346 */,
5558 /* 347 */,
5559 /* 348 */,
5560 /* 349 */,
5561 /* 350 */,
5562 /* 351 */,
5563 /* 352 */,
5564 /* 353 */,
5565 /* 354 */,
5566 /* 355 */,
5567 /* 356 */,
5568 /* 357 */,
5569 /* 358 */,
5570 /* 359 */,
5571 /* 360 */,
5572 /* 361 */,
5573 /* 362 */,
5574 /* 363 */,
5575 /* 364 */,
5576 /* 365 */,
5577 /* 366 */,
5578 /* 367 */,
5579 /* 368 */,
5580 /* 369 */,
5581 /* 370 */,
5582 /* 371 */,
5583 /* 372 */,
5584 /* 373 */,
5585 /* 374 */,
5586 /* 375 */,
5587 /* 376 */,
5588 /* 377 */,
5589 /* 378 */,
5590 /* 379 */,
5591 /* 380 */,
5592 /* 381 */,
5593 /* 382 */,
5594 /* 383 */,
5595 /* 384 */,
5596 /* 385 */,
5597 /* 386 */,
5598 /* 387 */,
5599 /* 388 */,
5600 /* 389 */,
5601 /* 390 */,
5602 /* 391 */,
5603 /* 392 */,
5604 /* 393 */,
5605 /* 394 */,
5606 /* 395 */,
5607 /* 396 */,
5608 /* 397 */,
5609 /* 398 */,
5610 /* 399 */,
5611 /* 400 */
5612 /***/ (function(module, exports, __webpack_require__) {
5613
5614 "use strict";
5615 /* WEBPACK VAR INJECTION */(function(PropTypes) {
5616
5617 var _interopRequireDefault = __webpack_require__(0);
5618
5619 var _Object$defineProperty = __webpack_require__(1);
5620
5621 _Object$defineProperty(exports, "__esModule", {
5622 value: true
5623 });
5624
5625 exports.default = Page;
5626
5627 var _react = _interopRequireDefault(__webpack_require__(13));
5628
5629 var _header = _interopRequireDefault(__webpack_require__(640));
5630
5631 var _sidebar = _interopRequireDefault(__webpack_require__(645));
5632
5633 var _content = _interopRequireDefault(__webpack_require__(646));
5634
5635 var _footer = _interopRequireDefault(__webpack_require__(647));
5636
5637 function Page(props) {
5638 var AppSidebar = function AppSidebar() {
5639 if (!props.sidebar) {
5640 return;
5641 }
5642
5643 return /*#__PURE__*/_react.default.createElement(_sidebar.default, null, props.sidebar);
5644 },
5645 AppFooter = function AppFooter() {
5646 if (!props.footer) {
5647 return;
5648 }
5649
5650 return /*#__PURE__*/_react.default.createElement(_footer.default, null, props.footer);
5651 };
5652
5653 return /*#__PURE__*/_react.default.createElement("div", {
5654 className: "eps-app__lightbox ".concat(props.className)
5655 }, /*#__PURE__*/_react.default.createElement("div", {
5656 className: "eps-app"
5657 }, /*#__PURE__*/_react.default.createElement(_header.default, {
5658 title: props.title,
5659 buttons: props.headerButtons,
5660 titleRedirectRoute: props.titleRedirectRoute
5661 }), /*#__PURE__*/_react.default.createElement("div", {
5662 className: "eps-app__main"
5663 }, AppSidebar(), /*#__PURE__*/_react.default.createElement(_content.default, null, props.content)), AppFooter()));
5664 }
5665
5666 Page.propTypes = {
5667 title: PropTypes.string,
5668 titleRedirectRoute: PropTypes.string,
5669 className: PropTypes.string,
5670 headerButtons: PropTypes.arrayOf(PropTypes.object),
5671 sidebar: PropTypes.object,
5672 content: PropTypes.object.isRequired,
5673 footer: PropTypes.object
5674 };
5675 Page.defaultProps = {
5676 className: ''
5677 };
5678 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
5679
5680 /***/ }),
5681 /* 401 */
5682 /***/ (function(module, exports, __webpack_require__) {
5683
5684 "use strict";
5685 /* WEBPACK VAR INJECTION */(function(PropTypes) {
5686
5687 var _interopRequireDefault = __webpack_require__(0);
5688
5689 var _Object$defineProperty = __webpack_require__(1);
5690
5691 _Object$defineProperty(exports, "__esModule", {
5692 value: true
5693 });
5694
5695 exports.default = Icon;
5696
5697 var _react = _interopRequireDefault(__webpack_require__(13));
5698
5699 function Icon(props) {
5700 return /*#__PURE__*/_react.default.createElement("i", {
5701 className: "eps-icon ".concat(props.className)
5702 });
5703 }
5704
5705 Icon.propTypes = {
5706 className: PropTypes.string.isRequired
5707 };
5708 Icon.defaultProps = {
5709 className: ''
5710 };
5711 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
5712
5713 /***/ }),
5714 /* 402 */,
5715 /* 403 */,
5716 /* 404 */,
5717 /* 405 */,
5718 /* 406 */,
5719 /* 407 */
5720 /***/ (function(module, exports, __webpack_require__) {
5721
5722 "use strict";
5723
5724
5725 exports.__esModule = true;
5726
5727 var _react = __webpack_require__(13);
5728
5729 var _react2 = _interopRequireDefault(_react);
5730
5731 var _implementation = __webpack_require__(635);
5732
5733 var _implementation2 = _interopRequireDefault(_implementation);
5734
5735 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5736
5737 exports.default = _react2.default.createContext || _implementation2.default;
5738 module.exports = exports['default'];
5739
5740 /***/ }),
5741 /* 408 */,
5742 /* 409 */,
5743 /* 410 */,
5744 /* 411 */,
5745 /* 412 */,
5746 /* 413 */,
5747 /* 414 */,
5748 /* 415 */,
5749 /* 416 */,
5750 /* 417 */,
5751 /* 418 */,
5752 /* 419 */,
5753 /* 420 */,
5754 /* 421 */,
5755 /* 422 */,
5756 /* 423 */,
5757 /* 424 */,
5758 /* 425 */,
5759 /* 426 */,
5760 /* 427 */,
5761 /* 428 */,
5762 /* 429 */,
5763 /* 430 */,
5764 /* 431 */,
5765 /* 432 */,
5766 /* 433 */,
5767 /* 434 */,
5768 /* 435 */,
5769 /* 436 */,
5770 /* 437 */,
5771 /* 438 */,
5772 /* 439 */,
5773 /* 440 */,
5774 /* 441 */,
5775 /* 442 */,
5776 /* 443 */,
5777 /* 444 */,
5778 /* 445 */,
5779 /* 446 */,
5780 /* 447 */,
5781 /* 448 */,
5782 /* 449 */,
5783 /* 450 */,
5784 /* 451 */,
5785 /* 452 */,
5786 /* 453 */,
5787 /* 454 */,
5788 /* 455 */,
5789 /* 456 */,
5790 /* 457 */,
5791 /* 458 */,
5792 /* 459 */,
5793 /* 460 */,
5794 /* 461 */,
5795 /* 462 */,
5796 /* 463 */,
5797 /* 464 */,
5798 /* 465 */,
5799 /* 466 */,
5800 /* 467 */,
5801 /* 468 */,
5802 /* 469 */,
5803 /* 470 */,
5804 /* 471 */,
5805 /* 472 */,
5806 /* 473 */,
5807 /* 474 */,
5808 /* 475 */,
5809 /* 476 */,
5810 /* 477 */,
5811 /* 478 */,
5812 /* 479 */,
5813 /* 480 */,
5814 /* 481 */,
5815 /* 482 */,
5816 /* 483 */,
5817 /* 484 */,
5818 /* 485 */,
5819 /* 486 */,
5820 /* 487 */,
5821 /* 488 */,
5822 /* 489 */,
5823 /* 490 */,
5824 /* 491 */,
5825 /* 492 */,
5826 /* 493 */,
5827 /* 494 */,
5828 /* 495 */,
5829 /* 496 */,
5830 /* 497 */,
5831 /* 498 */,
5832 /* 499 */,
5833 /* 500 */,
5834 /* 501 */,
5835 /* 502 */,
5836 /* 503 */,
5837 /* 504 */,
5838 /* 505 */,
5839 /* 506 */,
5840 /* 507 */,
5841 /* 508 */,
5842 /* 509 */,
5843 /* 510 */,
5844 /* 511 */,
5845 /* 512 */,
5846 /* 513 */,
5847 /* 514 */,
5848 /* 515 */,
5849 /* 516 */,
5850 /* 517 */,
5851 /* 518 */,
5852 /* 519 */,
5853 /* 520 */,
5854 /* 521 */,
5855 /* 522 */,
5856 /* 523 */,
5857 /* 524 */,
5858 /* 525 */,
5859 /* 526 */,
5860 /* 527 */,
5861 /* 528 */,
5862 /* 529 */,
5863 /* 530 */,
5864 /* 531 */,
5865 /* 532 */,
5866 /* 533 */,
5867 /* 534 */,
5868 /* 535 */,
5869 /* 536 */,
5870 /* 537 */,
5871 /* 538 */,
5872 /* 539 */,
5873 /* 540 */,
5874 /* 541 */,
5875 /* 542 */,
5876 /* 543 */,
5877 /* 544 */,
5878 /* 545 */,
5879 /* 546 */,
5880 /* 547 */,
5881 /* 548 */,
5882 /* 549 */,
5883 /* 550 */,
5884 /* 551 */,
5885 /* 552 */,
5886 /* 553 */,
5887 /* 554 */,
5888 /* 555 */,
5889 /* 556 */,
5890 /* 557 */,
5891 /* 558 */,
5892 /* 559 */,
5893 /* 560 */,
5894 /* 561 */,
5895 /* 562 */,
5896 /* 563 */,
5897 /* 564 */,
5898 /* 565 */,
5899 /* 566 */,
5900 /* 567 */,
5901 /* 568 */,
5902 /* 569 */,
5903 /* 570 */,
5904 /* 571 */,
5905 /* 572 */,
5906 /* 573 */,
5907 /* 574 */,
5908 /* 575 */,
5909 /* 576 */,
5910 /* 577 */,
5911 /* 578 */,
5912 /* 579 */,
5913 /* 580 */,
5914 /* 581 */,
5915 /* 582 */,
5916 /* 583 */,
5917 /* 584 */,
5918 /* 585 */,
5919 /* 586 */,
5920 /* 587 */,
5921 /* 588 */,
5922 /* 589 */,
5923 /* 590 */,
5924 /* 591 */,
5925 /* 592 */,
5926 /* 593 */,
5927 /* 594 */,
5928 /* 595 */,
5929 /* 596 */,
5930 /* 597 */,
5931 /* 598 */,
5932 /* 599 */,
5933 /* 600 */,
5934 /* 601 */,
5935 /* 602 */,
5936 /* 603 */,
5937 /* 604 */,
5938 /* 605 */,
5939 /* 606 */,
5940 /* 607 */,
5941 /* 608 */,
5942 /* 609 */,
5943 /* 610 */,
5944 /* 611 */,
5945 /* 612 */,
5946 /* 613 */,
5947 /* 614 */,
5948 /* 615 */,
5949 /* 616 */,
5950 /* 617 */,
5951 /* 618 */,
5952 /* 619 */,
5953 /* 620 */,
5954 /* 621 */,
5955 /* 622 */,
5956 /* 623 */,
5957 /* 624 */,
5958 /* 625 */,
5959 /* 626 */,
5960 /* 627 */,
5961 /* 628 */,
5962 /* 629 */,
5963 /* 630 */,
5964 /* 631 */,
5965 /* 632 */,
5966 /* 633 */,
5967 /* 634 */,
5968 /* 635 */
5969 /***/ (function(module, exports, __webpack_require__) {
5970
5971 "use strict";
5972
5973
5974 exports.__esModule = true;
5975
5976 var _react = __webpack_require__(13);
5977
5978 var _react2 = _interopRequireDefault(_react);
5979
5980 var _propTypes = __webpack_require__(58);
5981
5982 var _propTypes2 = _interopRequireDefault(_propTypes);
5983
5984 var _gud = __webpack_require__(636);
5985
5986 var _gud2 = _interopRequireDefault(_gud);
5987
5988 var _warning = __webpack_require__(638);
5989
5990 var _warning2 = _interopRequireDefault(_warning);
5991
5992 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5993
5994 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5995
5996 function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5997
5998 function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5999
6000 var MAX_SIGNED_31_BIT_INT = 1073741823;
6001
6002 // Inlined Object.is polyfill.
6003 // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
6004 function objectIs(x, y) {
6005 if (x === y) {
6006 return x !== 0 || 1 / x === 1 / y;
6007 } else {
6008 return x !== x && y !== y;
6009 }
6010 }
6011
6012 function createEventEmitter(value) {
6013 var handlers = [];
6014 return {
6015 on: function on(handler) {
6016 handlers.push(handler);
6017 },
6018 off: function off(handler) {
6019 handlers = handlers.filter(function (h) {
6020 return h !== handler;
6021 });
6022 },
6023 get: function get() {
6024 return value;
6025 },
6026 set: function set(newValue, changedBits) {
6027 value = newValue;
6028 handlers.forEach(function (handler) {
6029 return handler(value, changedBits);
6030 });
6031 }
6032 };
6033 }
6034
6035 function onlyChild(children) {
6036 return Array.isArray(children) ? children[0] : children;
6037 }
6038
6039 function createReactContext(defaultValue, calculateChangedBits) {
6040 var _Provider$childContex, _Consumer$contextType;
6041
6042 var contextProp = '__create-react-context-' + (0, _gud2.default)() + '__';
6043
6044 var Provider = function (_Component) {
6045 _inherits(Provider, _Component);
6046
6047 function Provider() {
6048 var _temp, _this, _ret;
6049
6050 _classCallCheck(this, Provider);
6051
6052 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6053 args[_key] = arguments[_key];
6054 }
6055
6056 return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.emitter = createEventEmitter(_this.props.value), _temp), _possibleConstructorReturn(_this, _ret);
6057 }
6058
6059 Provider.prototype.getChildContext = function getChildContext() {
6060 var _ref;
6061
6062 return _ref = {}, _ref[contextProp] = this.emitter, _ref;
6063 };
6064
6065 Provider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
6066 if (this.props.value !== nextProps.value) {
6067 var oldValue = this.props.value;
6068 var newValue = nextProps.value;
6069 var changedBits = void 0;
6070
6071 if (objectIs(oldValue, newValue)) {
6072 changedBits = 0; // No change
6073 } else {
6074 changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;
6075 if (false) {}
6076
6077 changedBits |= 0;
6078
6079 if (changedBits !== 0) {
6080 this.emitter.set(nextProps.value, changedBits);
6081 }
6082 }
6083 }
6084 };
6085
6086 Provider.prototype.render = function render() {
6087 return this.props.children;
6088 };
6089
6090 return Provider;
6091 }(_react.Component);
6092
6093 Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = _propTypes2.default.object.isRequired, _Provider$childContex);
6094
6095 var Consumer = function (_Component2) {
6096 _inherits(Consumer, _Component2);
6097
6098 function Consumer() {
6099 var _temp2, _this2, _ret2;
6100
6101 _classCallCheck(this, Consumer);
6102
6103 for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
6104 args[_key2] = arguments[_key2];
6105 }
6106
6107 return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, _Component2.call.apply(_Component2, [this].concat(args))), _this2), _this2.state = {
6108 value: _this2.getValue()
6109 }, _this2.onUpdate = function (newValue, changedBits) {
6110 var observedBits = _this2.observedBits | 0;
6111 if ((observedBits & changedBits) !== 0) {
6112 _this2.setState({ value: _this2.getValue() });
6113 }
6114 }, _temp2), _possibleConstructorReturn(_this2, _ret2);
6115 }
6116
6117 Consumer.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
6118 var observedBits = nextProps.observedBits;
6119
6120 this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
6121 : observedBits;
6122 };
6123
6124 Consumer.prototype.componentDidMount = function componentDidMount() {
6125 if (this.context[contextProp]) {
6126 this.context[contextProp].on(this.onUpdate);
6127 }
6128 var observedBits = this.props.observedBits;
6129
6130 this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
6131 : observedBits;
6132 };
6133
6134 Consumer.prototype.componentWillUnmount = function componentWillUnmount() {
6135 if (this.context[contextProp]) {
6136 this.context[contextProp].off(this.onUpdate);
6137 }
6138 };
6139
6140 Consumer.prototype.getValue = function getValue() {
6141 if (this.context[contextProp]) {
6142 return this.context[contextProp].get();
6143 } else {
6144 return defaultValue;
6145 }
6146 };
6147
6148 Consumer.prototype.render = function render() {
6149 return onlyChild(this.props.children)(this.state.value);
6150 };
6151
6152 return Consumer;
6153 }(_react.Component);
6154
6155 Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = _propTypes2.default.object, _Consumer$contextType);
6156
6157
6158 return {
6159 Provider: Provider,
6160 Consumer: Consumer
6161 };
6162 }
6163
6164 exports.default = createReactContext;
6165 module.exports = exports['default'];
6166
6167 /***/ }),
6168 /* 636 */
6169 /***/ (function(module, exports, __webpack_require__) {
6170
6171 "use strict";
6172 /* WEBPACK VAR INJECTION */(function(global) {// @flow
6173
6174
6175 var key = '__global_unique_id__';
6176
6177 module.exports = function() {
6178 return global[key] = (global[key] || 0) + 1;
6179 };
6180
6181 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(637)))
6182
6183 /***/ }),
6184 /* 637 */
6185 /***/ (function(module, exports) {
6186
6187 var g;
6188
6189 // This works in non-strict mode
6190 g = (function() {
6191 return this;
6192 })();
6193
6194 try {
6195 // This works if eval is allowed (see CSP)
6196 g = g || new Function("return this")();
6197 } catch (e) {
6198 // This works if the window reference is available
6199 if (typeof window === "object") g = window;
6200 }
6201
6202 // g can still be undefined, but nothing to do about it...
6203 // We return undefined, instead of nothing here, so it's
6204 // easier to handle this case. if(!global) { ...}
6205
6206 module.exports = g;
6207
6208
6209 /***/ }),
6210 /* 638 */
6211 /***/ (function(module, exports, __webpack_require__) {
6212
6213 "use strict";
6214 /**
6215 * Copyright (c) 2014-present, Facebook, Inc.
6216 *
6217 * This source code is licensed under the MIT license found in the
6218 * LICENSE file in the root directory of this source tree.
6219 */
6220
6221
6222
6223 /**
6224 * Similar to invariant but only logs a warning if the condition is not met.
6225 * This can be used to log issues in development environments in critical
6226 * paths. Removing the logging code for production environments will keep the
6227 * same logic and follow the same code paths.
6228 */
6229
6230 var __DEV__ = "production" !== 'production';
6231
6232 var warning = function() {};
6233
6234 if (__DEV__) {
6235 var printWarning = function printWarning(format, args) {
6236 var len = arguments.length;
6237 args = new Array(len > 1 ? len - 1 : 0);
6238 for (var key = 1; key < len; key++) {
6239 args[key - 1] = arguments[key];
6240 }
6241 var argIndex = 0;
6242 var message = 'Warning: ' +
6243 format.replace(/%s/g, function() {
6244 return args[argIndex++];
6245 });
6246 if (typeof console !== 'undefined') {
6247 console.error(message);
6248 }
6249 try {
6250 // --- Welcome to debugging React ---
6251 // This error was thrown as a convenience so that you can use this stack
6252 // to find the callsite that caused this warning to fire.
6253 throw new Error(message);
6254 } catch (x) {}
6255 }
6256
6257 warning = function(condition, format, args) {
6258 var len = arguments.length;
6259 args = new Array(len > 2 ? len - 2 : 0);
6260 for (var key = 2; key < len; key++) {
6261 args[key - 2] = arguments[key];
6262 }
6263 if (format === undefined) {
6264 throw new Error(
6265 '`warning(condition, format, ...args)` requires a warning ' +
6266 'message argument'
6267 );
6268 }
6269 if (!condition) {
6270 printWarning.apply(null, [format].concat(args));
6271 }
6272 };
6273 }
6274
6275 module.exports = warning;
6276
6277
6278 /***/ }),
6279 /* 639 */
6280 /***/ (function(module, exports, __webpack_require__) {
6281
6282 "use strict";
6283 /* WEBPACK VAR INJECTION */(function(__) {
6284
6285 var _interopRequireDefault = __webpack_require__(0);
6286
6287 var _Object$defineProperty = __webpack_require__(1);
6288
6289 _Object$defineProperty(exports, "__esModule", {
6290 value: true
6291 });
6292
6293 exports.default = NotFound;
6294
6295 var _react = _interopRequireDefault(__webpack_require__(13));
6296
6297 var _page = _interopRequireDefault(__webpack_require__(400));
6298
6299 function NotFound() {
6300 var config = {
6301 title: __('Not Found', 'elementor'),
6302 className: 'eps-app__not-found',
6303 content: /*#__PURE__*/_react.default.createElement("h1", null, " ", __('Not Found', 'elementor'), " "),
6304 sidebar: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)
6305 };
6306 return /*#__PURE__*/_react.default.createElement(_page.default, config);
6307 }
6308 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(222)["__"]))
6309
6310 /***/ }),
6311 /* 640 */
6312 /***/ (function(module, exports, __webpack_require__) {
6313
6314 "use strict";
6315 /* WEBPACK VAR INJECTION */(function(__, PropTypes) {
6316
6317 var _interopRequireDefault = __webpack_require__(0);
6318
6319 var _Object$defineProperty = __webpack_require__(1);
6320
6321 _Object$defineProperty(exports, "__esModule", {
6322 value: true
6323 });
6324
6325 exports.default = Header;
6326
6327 var _react = _interopRequireDefault(__webpack_require__(13));
6328
6329 var _extends2 = _interopRequireDefault(__webpack_require__(231));
6330
6331 var _headerButtons = _interopRequireDefault(__webpack_require__(641));
6332
6333 var _grid = _interopRequireDefault(__webpack_require__(344));
6334
6335 function Header(props) {
6336 var TitleTag = props.titleRedirectRoute ? 'a' : 'span',
6337 titleAttrs = {
6338 href: props.titleRedirectRoute ? "#".concat(props.titleRedirectRoute) : null
6339 };
6340
6341 _react.default.useEffect(function () {
6342 document.title = __('Elementor', 'elementor') + ' | ' + props.title;
6343 });
6344
6345 return /*#__PURE__*/_react.default.createElement(_grid.default, {
6346 container: true,
6347 alignItems: "center",
6348 justify: "space-between",
6349 className: "eps-app__header"
6350 }, /*#__PURE__*/_react.default.createElement(TitleTag, (0, _extends2.default)({
6351 className: "eps-app__logo-title-wrapper"
6352 }, titleAttrs), /*#__PURE__*/_react.default.createElement("i", {
6353 className: "eps-app__logo eicon-elementor"
6354 }), /*#__PURE__*/_react.default.createElement("h1", {
6355 className: "eps-app__title"
6356 }, props.title)), /*#__PURE__*/_react.default.createElement(_headerButtons.default, {
6357 buttons: props.buttons
6358 }));
6359 }
6360
6361 Header.propTypes = {
6362 title: PropTypes.string,
6363 titleRedirectRoute: PropTypes.string,
6364 buttons: PropTypes.arrayOf(PropTypes.object)
6365 };
6366 Header.defaultProps = {
6367 buttons: []
6368 };
6369 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(222)["__"], __webpack_require__(58)))
6370
6371 /***/ }),
6372 /* 641 */
6373 /***/ (function(module, exports, __webpack_require__) {
6374
6375 "use strict";
6376 /* WEBPACK VAR INJECTION */(function(__, PropTypes) {
6377
6378 var _interopRequireDefault = __webpack_require__(0);
6379
6380 var _Object$defineProperty = __webpack_require__(1);
6381
6382 _Object$defineProperty(exports, "__esModule", {
6383 value: true
6384 });
6385
6386 exports.default = HeaderButtons;
6387
6388 var _react = _interopRequireDefault(__webpack_require__(13));
6389
6390 var _extends2 = _interopRequireDefault(__webpack_require__(231));
6391
6392 var _headerButton = _interopRequireDefault(__webpack_require__(642));
6393
6394 function HeaderButtons(props) {
6395 var tools = '';
6396
6397 if (props.buttons.length) {
6398 var buttons = props.buttons.map(function (button) {
6399 return /*#__PURE__*/_react.default.createElement(_headerButton.default, (0, _extends2.default)({
6400 key: button.id
6401 }, button));
6402 });
6403 tools = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, buttons);
6404 }
6405
6406 return /*#__PURE__*/_react.default.createElement("div", {
6407 className: "eps-app__header-buttons"
6408 }, /*#__PURE__*/_react.default.createElement(_headerButton.default, {
6409 text: __('Close', 'elementor'),
6410 icon: "eicon-close",
6411 className: "eps-app__close-button",
6412 onClick: function onClick() {
6413 if (window.top === window) {
6414 // Directly.
6415 window.top.location = elementorAppConfig.return_url;
6416 } else {
6417 // Iframe.
6418 window.top.$e.run('app/close');
6419 }
6420 }
6421 }), tools);
6422 }
6423
6424 HeaderButtons.propTypes = {
6425 buttons: PropTypes.arrayOf(PropTypes.object)
6426 };
6427 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(222)["__"], __webpack_require__(58)))
6428
6429 /***/ }),
6430 /* 642 */
6431 /***/ (function(module, exports, __webpack_require__) {
6432
6433 "use strict";
6434
6435
6436 var _interopRequireDefault = __webpack_require__(0);
6437
6438 var _Object$defineProperty = __webpack_require__(1);
6439
6440 _Object$defineProperty(exports, "__esModule", {
6441 value: true
6442 });
6443
6444 exports.default = void 0;
6445
6446 var _assign = _interopRequireDefault(__webpack_require__(147));
6447
6448 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6449
6450 var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6451
6452 var _get2 = _interopRequireDefault(__webpack_require__(23));
6453
6454 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
6455
6456 var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6457
6458 var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6459
6460 var _defineProperty2 = _interopRequireDefault(__webpack_require__(28));
6461
6462 var _button = _interopRequireDefault(__webpack_require__(268));
6463
6464 var Button = /*#__PURE__*/function (_BaseButton) {
6465 (0, _inherits2.default)(Button, _BaseButton);
6466
6467 var _super = (0, _createSuper2.default)(Button);
6468
6469 function Button() {
6470 (0, _classCallCheck2.default)(this, Button);
6471 return _super.apply(this, arguments);
6472 }
6473
6474 (0, _createClass2.default)(Button, [{
6475 key: "getCssId",
6476 value: function getCssId() {
6477 return "eps-app-header-btn-" + (0, _get2.default)((0, _getPrototypeOf2.default)(Button.prototype), "getCssId", this).call(this);
6478 }
6479 }, {
6480 key: "getClassName",
6481 value: function getClassName() {
6482 return "eps-app__header-btn " + (0, _get2.default)((0, _getPrototypeOf2.default)(Button.prototype), "getClassName", this).call(this);
6483 }
6484 }]);
6485 return Button;
6486 }(_button.default);
6487
6488 exports.default = Button;
6489 (0, _defineProperty2.default)(Button, "defaultProps", (0, _assign.default)({}
6490 /* clone */
6491 , _button.default.defaultProps, {
6492 hideText: true
6493 }));
6494
6495 /***/ }),
6496 /* 643 */
6497 /***/ (function(module, exports) {
6498
6499
6500
6501 /***/ }),
6502 /* 644 */
6503 /***/ (function(module, exports) {
6504
6505
6506
6507 /***/ }),
6508 /* 645 */
6509 /***/ (function(module, exports, __webpack_require__) {
6510
6511 "use strict";
6512 /* WEBPACK VAR INJECTION */(function(PropTypes) {
6513
6514 var _interopRequireDefault = __webpack_require__(0);
6515
6516 var _Object$defineProperty = __webpack_require__(1);
6517
6518 _Object$defineProperty(exports, "__esModule", {
6519 value: true
6520 });
6521
6522 exports.default = Sidebar;
6523
6524 var _react = _interopRequireDefault(__webpack_require__(13));
6525
6526 function Sidebar(props) {
6527 return /*#__PURE__*/_react.default.createElement("div", {
6528 className: "eps-app__sidebar"
6529 }, props.children);
6530 }
6531
6532 Sidebar.propTypes = {
6533 children: PropTypes.object
6534 };
6535 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
6536
6537 /***/ }),
6538 /* 646 */
6539 /***/ (function(module, exports, __webpack_require__) {
6540
6541 "use strict";
6542 /* WEBPACK VAR INJECTION */(function(PropTypes) {
6543
6544 var _interopRequireDefault = __webpack_require__(0);
6545
6546 var _Object$defineProperty = __webpack_require__(1);
6547
6548 _Object$defineProperty(exports, "__esModule", {
6549 value: true
6550 });
6551
6552 exports.default = Content;
6553
6554 var _react = _interopRequireDefault(__webpack_require__(13));
6555
6556 function Content(props) {
6557 return /*#__PURE__*/_react.default.createElement("main", {
6558 className: "eps-app__content"
6559 }, props.children);
6560 }
6561
6562 Content.propTypes = {
6563 children: PropTypes.object
6564 };
6565 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
6566
6567 /***/ }),
6568 /* 647 */
6569 /***/ (function(module, exports, __webpack_require__) {
6570
6571 "use strict";
6572 /* WEBPACK VAR INJECTION */(function(PropTypes) {
6573
6574 var _interopRequireDefault = __webpack_require__(0);
6575
6576 var _Object$defineProperty = __webpack_require__(1);
6577
6578 _Object$defineProperty(exports, "__esModule", {
6579 value: true
6580 });
6581
6582 exports.default = Footer;
6583
6584 var _react = _interopRequireDefault(__webpack_require__(13));
6585
6586 function Footer(props) {
6587 return /*#__PURE__*/_react.default.createElement("footer", {
6588 className: "eps-app__footer"
6589 }, props.children);
6590 }
6591
6592 Footer.propTypes = {
6593 children: PropTypes.object
6594 };
6595 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
6596
6597 /***/ }),
6598 /* 648 */,
6599 /* 649 */,
6600 /* 650 */,
6601 /* 651 */,
6602 /* 652 */,
6603 /* 653 */,
6604 /* 654 */,
6605 /* 655 */,
6606 /* 656 */,
6607 /* 657 */,
6608 /* 658 */,
6609 /* 659 */,
6610 /* 660 */,
6611 /* 661 */,
6612 /* 662 */,
6613 /* 663 */,
6614 /* 664 */,
6615 /* 665 */,
6616 /* 666 */,
6617 /* 667 */,
6618 /* 668 */,
6619 /* 669 */,
6620 /* 670 */,
6621 /* 671 */,
6622 /* 672 */,
6623 /* 673 */,
6624 /* 674 */,
6625 /* 675 */,
6626 /* 676 */,
6627 /* 677 */,
6628 /* 678 */,
6629 /* 679 */,
6630 /* 680 */,
6631 /* 681 */,
6632 /* 682 */,
6633 /* 683 */,
6634 /* 684 */,
6635 /* 685 */,
6636 /* 686 */,
6637 /* 687 */,
6638 /* 688 */,
6639 /* 689 */,
6640 /* 690 */,
6641 /* 691 */,
6642 /* 692 */,
6643 /* 693 */,
6644 /* 694 */,
6645 /* 695 */,
6646 /* 696 */,
6647 /* 697 */,
6648 /* 698 */,
6649 /* 699 */,
6650 /* 700 */,
6651 /* 701 */,
6652 /* 702 */,
6653 /* 703 */,
6654 /* 704 */,
6655 /* 705 */,
6656 /* 706 */,
6657 /* 707 */,
6658 /* 708 */,
6659 /* 709 */,
6660 /* 710 */,
6661 /* 711 */,
6662 /* 712 */,
6663 /* 713 */,
6664 /* 714 */,
6665 /* 715 */,
6666 /* 716 */,
6667 /* 717 */,
6668 /* 718 */,
6669 /* 719 */,
6670 /* 720 */,
6671 /* 721 */,
6672 /* 722 */,
6673 /* 723 */,
6674 /* 724 */,
6675 /* 725 */,
6676 /* 726 */,
6677 /* 727 */,
6678 /* 728 */,
6679 /* 729 */,
6680 /* 730 */,
6681 /* 731 */,
6682 /* 732 */
6683 /***/ (function(module, exports, __webpack_require__) {
6684
6685 "use strict";
6686 /* WEBPACK VAR INJECTION */(function(ReactDOM) {
6687
6688 var _interopRequireDefault = __webpack_require__(0);
6689
6690 var _react = _interopRequireDefault(__webpack_require__(13));
6691
6692 var _app = _interopRequireDefault(__webpack_require__(733));
6693
6694 var _siteEditor = __webpack_require__(737);
6695
6696 new _siteEditor.Module();
6697 var AppWrapper = elementorCommon.config.isDebug ? _react.default.StrictMode : _react.default.Fragment;
6698 ReactDOM.render( /*#__PURE__*/_react.default.createElement(AppWrapper, null, /*#__PURE__*/_react.default.createElement(_app.default, null)), document.getElementById('e-app'));
6699 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(327)))
6700
6701 /***/ }),
6702 /* 733 */
6703 /***/ (function(module, exports, __webpack_require__) {
6704
6705 "use strict";
6706
6707
6708 var _interopRequireDefault = __webpack_require__(0);
6709
6710 var _Object$defineProperty = __webpack_require__(1);
6711
6712 _Object$defineProperty(exports, "__esModule", {
6713 value: true
6714 });
6715
6716 exports.default = App;
6717
6718 var _react = _interopRequireDefault(__webpack_require__(13));
6719
6720 var _router = _interopRequireDefault(__webpack_require__(343));
6721
6722 var _router2 = __webpack_require__(339);
6723
6724 var _reachRouterHashHistory = __webpack_require__(734);
6725
6726 var _notFound = _interopRequireDefault(__webpack_require__(639));
6727
6728 var _index = _interopRequireDefault(__webpack_require__(735));
6729
6730 __webpack_require__(736);
6731
6732 /**
6733 * Elementor App
6734 */
6735 function App() {
6736 // Use hash route because it's actually rendered on a WP Admin page.
6737 // Make it public for external uses.
6738 _router.default.appHistory = (0, _router2.createHistory)((0, _reachRouterHashHistory.createHashSource)());
6739 return /*#__PURE__*/_react.default.createElement(_router2.LocationProvider, {
6740 history: _router.default.appHistory
6741 }, /*#__PURE__*/_react.default.createElement(_router2.Router, null, _router.default.getRoutes(), /*#__PURE__*/_react.default.createElement(_index.default, {
6742 path: "/"
6743 }), /*#__PURE__*/_react.default.createElement(_notFound.default, {
6744 default: true
6745 })));
6746 }
6747
6748 /***/ }),
6749 /* 734 */
6750 /***/ (function(module, __webpack_exports__, __webpack_require__) {
6751
6752 "use strict";
6753 __webpack_require__.r(__webpack_exports__);
6754 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createHashSource", function() { return createHashSource; });
6755 // take some code from
6756 // https://github.com/ReactTraining/history/blob/master/modules/createHashHistory.js
6757
6758 function getHashPath() {
6759 // We can't use window.location.hash here because it's not
6760 // consistent across browsers - Firefox will pre-decode it!
6761 const href = window.location.href;
6762 const hashIndex = href.indexOf('#');
6763 return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
6764 }
6765
6766 function pushHashPath(path) {
6767 window.location.hash = '#' + path;
6768 }
6769
6770 function replaceHashPath(path) {
6771 const hashIndex = window.location.href.indexOf('#');
6772 window.location.replace(
6773 window.location.href.slice(0, hashIndex >= 0 ? hashIndex : 0) + '#' + path
6774 );
6775 }
6776
6777 let createHashSource = (initialPathname = '/') => {
6778 let index = 0;
6779 // let stack = [{ pathname: initialPathname, search: '' }];
6780 // let states = [];
6781
6782 return {
6783 get location() {
6784 return { pathname: getHashPath(), search: '' };
6785 // return stack[index];
6786 },
6787 addEventListener(name, fn) {
6788 if (name === 'popstate') {
6789 window.addEventListener('hashchange', fn);
6790 }
6791 },
6792 removeEventListener(name, fn) {
6793 if (name === 'popstate') {
6794 window.addEventListener('hashchange', fn);
6795 }
6796 },
6797 history: {
6798 get entries() {
6799 return [{ pathname: getHashPath(), search: '' }];
6800 // return stack;
6801 },
6802 get index() {
6803 return index;
6804 },
6805 get state() {
6806 return undefined;
6807 // return states[index];
6808 },
6809 pushState(state, _, uri) {
6810 pushHashPath(uri);
6811 // let [pathname, search = ''] = uri.split('?');
6812 // index++;
6813 // stack.push({ pathname, search });
6814 // states.push(state);
6815 },
6816 replaceState(state, _, uri) {
6817 replaceHashPath(uri);
6818 // let [pathname, search = ''] = uri.split('?');
6819 // stack[index] = { pathname, search };
6820 // states[index] = state;
6821 }
6822 }
6823 };
6824 };
6825
6826
6827
6828
6829 /***/ }),
6830 /* 735 */
6831 /***/ (function(module, exports, __webpack_require__) {
6832
6833 "use strict";
6834
6835
6836 var _interopRequireDefault = __webpack_require__(0);
6837
6838 var _Object$defineProperty = __webpack_require__(1);
6839
6840 _Object$defineProperty(exports, "__esModule", {
6841 value: true
6842 });
6843
6844 exports.default = Index;
6845
6846 var _react = _interopRequireDefault(__webpack_require__(13));
6847
6848 __webpack_require__(80);
6849
6850 var _router = __webpack_require__(339);
6851
6852 function Index() {
6853 var _elementorAppConfig$m;
6854
6855 var url = ((_elementorAppConfig$m = elementorAppConfig.menu_url.split('#')) === null || _elementorAppConfig$m === void 0 ? void 0 : _elementorAppConfig$m[1]) || '/not-found';
6856 return /*#__PURE__*/_react.default.createElement(_router.Redirect, {
6857 to: url,
6858 noThrow: true
6859 });
6860 }
6861
6862 /***/ }),
6863 /* 736 */
6864 /***/ (function(module, exports) {
6865
6866
6867
6868 /***/ }),
6869 /* 737 */
6870 /***/ (function(module, exports) {
6871
6872 module.exports = elementorAppPackages.siteEditor;
6873
6874 /***/ })
6875 /******/ ]);
6876 //# sourceMappingURL=app.js.map