PluginProbe
Elementor Website Builder – more than just a page builder / 3.1.0-dev1
Elementor Website Builder – more than just a page builder v3.1.0-dev1
4.3.0-beta3 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 All 452 releases
elementor / assets / js / gutenberg.js

gutenberg.js in Elementor Website Builder – more than just a page builder 3.1.0-dev1, at assets/js/gutenberg.js

788 lines 22.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.0.13 - 12-11-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 = 749);
86 /******/ })
87 /************************************************************************/
88 /******/ ({
89
90 /***/ 102:
91 /***/ (function(module, exports, __webpack_require__) {
92
93 // 7.1.13 ToObject(argument)
94 var defined = __webpack_require__(43);
95 module.exports = function (it) {
96 return Object(defined(it));
97 };
98
99
100 /***/ }),
101
102 /***/ 106:
103 /***/ (function(module, exports) {
104
105 module.exports = function (bitmap, value) {
106 return {
107 enumerable: !(bitmap & 1),
108 configurable: !(bitmap & 2),
109 writable: !(bitmap & 4),
110 value: value
111 };
112 };
113
114
115 /***/ }),
116
117 /***/ 114:
118 /***/ (function(module, exports, __webpack_require__) {
119
120 var isObject = __webpack_require__(31);
121 var document = __webpack_require__(18).document;
122 // typeof document.createElement is 'object' in old IE
123 var is = isObject(document) && isObject(document.createElement);
124 module.exports = function (it) {
125 return is ? document.createElement(it) : {};
126 };
127
128
129 /***/ }),
130
131 /***/ 115:
132 /***/ (function(module, exports) {
133
134 module.exports = false;
135
136
137 /***/ }),
138
139 /***/ 125:
140 /***/ (function(module, exports, __webpack_require__) {
141
142 // fallback for non-array-like ES3 and non-enumerable old V8 strings
143 var cof = __webpack_require__(52);
144 // eslint-disable-next-line no-prototype-builtins
145 module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
146 return cof(it) == 'String' ? it.split('') : Object(it);
147 };
148
149
150 /***/ }),
151
152 /***/ 127:
153 /***/ (function(module, exports, __webpack_require__) {
154
155 // 7.1.1 ToPrimitive(input [, PreferredType])
156 var isObject = __webpack_require__(31);
157 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
158 // and the second argument - flag - preferred type is a string
159 module.exports = function (it, S) {
160 if (!isObject(it)) return it;
161 var fn, val;
162 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
163 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
164 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
165 throw TypeError("Can't convert object to primitive value");
166 };
167
168
169 /***/ }),
170
171 /***/ 13:
172 /***/ (function(module, exports, __webpack_require__) {
173
174 var store = __webpack_require__(76)('wks');
175 var uid = __webpack_require__(77);
176 var Symbol = __webpack_require__(18).Symbol;
177 var USE_SYMBOL = typeof Symbol == 'function';
178
179 var $exports = module.exports = function (name) {
180 return store[name] || (store[name] =
181 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
182 };
183
184 $exports.store = store;
185
186
187 /***/ }),
188
189 /***/ 135:
190 /***/ (function(module, exports, __webpack_require__) {
191
192 module.exports = !__webpack_require__(28) && !__webpack_require__(36)(function () {
193 return Object.defineProperty(__webpack_require__(114)('div'), 'a', { get: function () { return 7; } }).a != 7;
194 });
195
196
197 /***/ }),
198
199 /***/ 147:
200 /***/ (function(module, exports, __webpack_require__) {
201
202 module.exports = __webpack_require__(76)('native-function-to-string', Function.toString);
203
204
205 /***/ }),
206
207 /***/ 18:
208 /***/ (function(module, exports) {
209
210 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
211 var global = module.exports = typeof window != 'undefined' && window.Math == Math
212 ? window : typeof self != 'undefined' && self.Math == Math ? self
213 // eslint-disable-next-line no-new-func
214 : Function('return this')();
215 if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
216
217
218 /***/ }),
219
220 /***/ 190:
221 /***/ (function(module, exports, __webpack_require__) {
222
223 // 0 -> Array#forEach
224 // 1 -> Array#map
225 // 2 -> Array#filter
226 // 3 -> Array#some
227 // 4 -> Array#every
228 // 5 -> Array#find
229 // 6 -> Array#findIndex
230 var ctx = __webpack_require__(81);
231 var IObject = __webpack_require__(125);
232 var toObject = __webpack_require__(102);
233 var toLength = __webpack_require__(46);
234 var asc = __webpack_require__(216);
235 module.exports = function (TYPE, $create) {
236 var IS_MAP = TYPE == 1;
237 var IS_FILTER = TYPE == 2;
238 var IS_SOME = TYPE == 3;
239 var IS_EVERY = TYPE == 4;
240 var IS_FIND_INDEX = TYPE == 6;
241 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
242 var create = $create || asc;
243 return function ($this, callbackfn, that) {
244 var O = toObject($this);
245 var self = IObject(O);
246 var f = ctx(callbackfn, that, 3);
247 var length = toLength(self.length);
248 var index = 0;
249 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
250 var val, res;
251 for (;length > index; index++) if (NO_HOLES || index in self) {
252 val = self[index];
253 res = f(val, index, O);
254 if (TYPE) {
255 if (IS_MAP) result[index] = res; // map
256 else if (res) switch (TYPE) {
257 case 3: return true; // some
258 case 5: return val; // find
259 case 6: return index; // findIndex
260 case 2: result.push(val); // filter
261 } else if (IS_EVERY) return false; // every
262 }
263 }
264 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
265 };
266 };
267
268
269 /***/ }),
270
271 /***/ 20:
272 /***/ (function(module, exports, __webpack_require__) {
273
274 var isObject = __webpack_require__(31);
275 module.exports = function (it) {
276 if (!isObject(it)) throw TypeError(it + ' is not an object!');
277 return it;
278 };
279
280
281 /***/ }),
282
283 /***/ 216:
284 /***/ (function(module, exports, __webpack_require__) {
285
286 // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
287 var speciesConstructor = __webpack_require__(217);
288
289 module.exports = function (original, length) {
290 return new (speciesConstructor(original))(length);
291 };
292
293
294 /***/ }),
295
296 /***/ 217:
297 /***/ (function(module, exports, __webpack_require__) {
298
299 var isObject = __webpack_require__(31);
300 var isArray = __webpack_require__(218);
301 var SPECIES = __webpack_require__(13)('species');
302
303 module.exports = function (original) {
304 var C;
305 if (isArray(original)) {
306 C = original.constructor;
307 // cross-realm fallback
308 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
309 if (isObject(C)) {
310 C = C[SPECIES];
311 if (C === null) C = undefined;
312 }
313 } return C === undefined ? Array : C;
314 };
315
316
317 /***/ }),
318
319 /***/ 218:
320 /***/ (function(module, exports, __webpack_require__) {
321
322 // 7.2.2 IsArray(argument)
323 var cof = __webpack_require__(52);
324 module.exports = Array.isArray || function isArray(arg) {
325 return cof(arg) == 'Array';
326 };
327
328
329 /***/ }),
330
331 /***/ 24:
332 /***/ (function(module, exports, __webpack_require__) {
333
334 "use strict";
335
336 // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
337 var $export = __webpack_require__(38);
338 var $find = __webpack_require__(190)(5);
339 var KEY = 'find';
340 var forced = true;
341 // Shouldn't skip holes
342 if (KEY in []) Array(1)[KEY](function () { forced = false; });
343 $export($export.P + $export.F * forced, 'Array', {
344 find: function find(callbackfn /* , that = undefined */) {
345 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
346 }
347 });
348 __webpack_require__(90)(KEY);
349
350
351 /***/ }),
352
353 /***/ 28:
354 /***/ (function(module, exports, __webpack_require__) {
355
356 // Thank's IE8 for his funny defineProperty
357 module.exports = !__webpack_require__(36)(function () {
358 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
359 });
360
361
362 /***/ }),
363
364 /***/ 30:
365 /***/ (function(module, exports, __webpack_require__) {
366
367 var dP = __webpack_require__(51);
368 var createDesc = __webpack_require__(106);
369 module.exports = __webpack_require__(28) ? function (object, key, value) {
370 return dP.f(object, key, createDesc(1, value));
371 } : function (object, key, value) {
372 object[key] = value;
373 return object;
374 };
375
376
377 /***/ }),
378
379 /***/ 31:
380 /***/ (function(module, exports) {
381
382 module.exports = function (it) {
383 return typeof it === 'object' ? it !== null : typeof it === 'function';
384 };
385
386
387 /***/ }),
388
389 /***/ 36:
390 /***/ (function(module, exports) {
391
392 module.exports = function (exec) {
393 try {
394 return !!exec();
395 } catch (e) {
396 return true;
397 }
398 };
399
400
401 /***/ }),
402
403 /***/ 38:
404 /***/ (function(module, exports, __webpack_require__) {
405
406 var global = __webpack_require__(18);
407 var core = __webpack_require__(58);
408 var hide = __webpack_require__(30);
409 var redefine = __webpack_require__(39);
410 var ctx = __webpack_require__(81);
411 var PROTOTYPE = 'prototype';
412
413 var $export = function (type, name, source) {
414 var IS_FORCED = type & $export.F;
415 var IS_GLOBAL = type & $export.G;
416 var IS_STATIC = type & $export.S;
417 var IS_PROTO = type & $export.P;
418 var IS_BIND = type & $export.B;
419 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
420 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
421 var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
422 var key, own, out, exp;
423 if (IS_GLOBAL) source = name;
424 for (key in source) {
425 // contains in native
426 own = !IS_FORCED && target && target[key] !== undefined;
427 // export native or passed
428 out = (own ? target : source)[key];
429 // bind timers to global for call from export context
430 exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
431 // extend global
432 if (target) redefine(target, key, out, type & $export.U);
433 // export
434 if (exports[key] != out) hide(exports, key, exp);
435 if (IS_PROTO && expProto[key] != out) expProto[key] = out;
436 }
437 };
438 global.core = core;
439 // type bitmap
440 $export.F = 1; // forced
441 $export.G = 2; // global
442 $export.S = 4; // static
443 $export.P = 8; // proto
444 $export.B = 16; // bind
445 $export.W = 32; // wrap
446 $export.U = 64; // safe
447 $export.R = 128; // real proto method for `library`
448 module.exports = $export;
449
450
451 /***/ }),
452
453 /***/ 39:
454 /***/ (function(module, exports, __webpack_require__) {
455
456 var global = __webpack_require__(18);
457 var hide = __webpack_require__(30);
458 var has = __webpack_require__(64);
459 var SRC = __webpack_require__(77)('src');
460 var $toString = __webpack_require__(147);
461 var TO_STRING = 'toString';
462 var TPL = ('' + $toString).split(TO_STRING);
463
464 __webpack_require__(58).inspectSource = function (it) {
465 return $toString.call(it);
466 };
467
468 (module.exports = function (O, key, val, safe) {
469 var isFunction = typeof val == 'function';
470 if (isFunction) has(val, 'name') || hide(val, 'name', key);
471 if (O[key] === val) return;
472 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
473 if (O === global) {
474 O[key] = val;
475 } else if (!safe) {
476 delete O[key];
477 hide(O, key, val);
478 } else if (O[key]) {
479 O[key] = val;
480 } else {
481 hide(O, key, val);
482 }
483 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
484 })(Function.prototype, TO_STRING, function toString() {
485 return typeof this == 'function' && this[SRC] || $toString.call(this);
486 });
487
488
489 /***/ }),
490
491 /***/ 43:
492 /***/ (function(module, exports) {
493
494 // 7.2.1 RequireObjectCoercible(argument)
495 module.exports = function (it) {
496 if (it == undefined) throw TypeError("Can't call method on " + it);
497 return it;
498 };
499
500
501 /***/ }),
502
503 /***/ 46:
504 /***/ (function(module, exports, __webpack_require__) {
505
506 // 7.1.15 ToLength
507 var toInteger = __webpack_require__(60);
508 var min = Math.min;
509 module.exports = function (it) {
510 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
511 };
512
513
514 /***/ }),
515
516 /***/ 51:
517 /***/ (function(module, exports, __webpack_require__) {
518
519 var anObject = __webpack_require__(20);
520 var IE8_DOM_DEFINE = __webpack_require__(135);
521 var toPrimitive = __webpack_require__(127);
522 var dP = Object.defineProperty;
523
524 exports.f = __webpack_require__(28) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
525 anObject(O);
526 P = toPrimitive(P, true);
527 anObject(Attributes);
528 if (IE8_DOM_DEFINE) try {
529 return dP(O, P, Attributes);
530 } catch (e) { /* empty */ }
531 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
532 if ('value' in Attributes) O[P] = Attributes.value;
533 return O;
534 };
535
536
537 /***/ }),
538
539 /***/ 52:
540 /***/ (function(module, exports) {
541
542 var toString = {}.toString;
543
544 module.exports = function (it) {
545 return toString.call(it).slice(8, -1);
546 };
547
548
549 /***/ }),
550
551 /***/ 58:
552 /***/ (function(module, exports) {
553
554 var core = module.exports = { version: '2.6.11' };
555 if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
556
557
558 /***/ }),
559
560 /***/ 60:
561 /***/ (function(module, exports) {
562
563 // 7.1.4 ToInteger
564 var ceil = Math.ceil;
565 var floor = Math.floor;
566 module.exports = function (it) {
567 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
568 };
569
570
571 /***/ }),
572
573 /***/ 64:
574 /***/ (function(module, exports) {
575
576 var hasOwnProperty = {}.hasOwnProperty;
577 module.exports = function (it, key) {
578 return hasOwnProperty.call(it, key);
579 };
580
581
582 /***/ }),
583
584 /***/ 749:
585 /***/ (function(module, exports, __webpack_require__) {
586
587 "use strict";
588
589
590 __webpack_require__(24);
591
592 /* global jQuery, ElementorGutenbergSettings */
593 (function ($) {
594 'use strict';
595
596 var ElementorGutenbergApp = {
597 cacheElements: function cacheElements() {
598 var self = this;
599 self.isElementorMode = ElementorGutenbergSettings.isElementorMode;
600 self.cache = {};
601 self.cache.$gutenberg = $('#editor');
602 self.cache.$switchMode = $($('#elementor-gutenberg-button-switch-mode').html());
603 self.cache.$switchModeButton = self.cache.$switchMode.find('#elementor-switch-mode-button');
604 self.bindEvents();
605 self.toggleStatus();
606 wp.data.subscribe(function () {
607 setTimeout(function () {
608 self.buildPanel();
609 }, 1);
610 });
611 },
612 buildPanel: function buildPanel() {
613 var self = this;
614
615 if (!self.cache.$gutenberg.find('#elementor-switch-mode').length) {
616 self.cache.$gutenberg.find('.edit-post-header-toolbar').append(self.cache.$switchMode);
617 }
618
619 if (!$('#elementor-editor').length) {
620 self.cache.$editorPanel = $($('#elementor-gutenberg-panel').html()); // TODO: `editor-block-list__layout` class for WP < 5.3 support.
621
622 self.cache.$gurenbergBlockList = self.cache.$gutenberg.find('.editor-block-list__layout, .editor-post-text-editor, .block-editor-block-list__layout');
623 self.cache.$gurenbergBlockList.after(self.cache.$editorPanel);
624 self.cache.$editorPanelButton = self.cache.$editorPanel.find('#elementor-go-to-edit-page-link');
625 self.cache.$editorPanelButton.on('click', function (event) {
626 event.preventDefault();
627 self.animateLoader(); // A new post is initialized as an 'auto-draft'.
628 // if the post is not a new post it should not save it to avoid some saving conflict between elementor and gutenberg.
629
630 var isNewPost = 'auto-draft' === wp.data.select('core/editor').getCurrentPost().status;
631
632 if (isNewPost) {
633 var documentTitle = wp.data.select('core/editor').getEditedPostAttribute('title');
634
635 if (!documentTitle) {
636 wp.data.dispatch('core/editor').editPost({
637 title: 'Elementor #' + $('#post_ID').val()
638 });
639 }
640
641 wp.data.dispatch('core/editor').savePost();
642 }
643
644 self.redirectWhenSave();
645 });
646 }
647 },
648 bindEvents: function bindEvents() {
649 var self = this;
650 self.cache.$switchModeButton.on('click', function () {
651 if (self.isElementorMode) {
652 elementorCommon.dialogsManager.createWidget('confirm', {
653 message: elementorAdmin.translate('back_to_wordpress_editor_message'),
654 headerMessage: elementorAdmin.translate('back_to_wordpress_editor_header'),
655 strings: {
656 confirm: elementorAdmin.translate('yes'),
657 cancel: elementorAdmin.translate('cancel')
658 },
659 defaultOption: 'confirm',
660 onConfirm: function onConfirm() {
661 var wpEditor = wp.data.dispatch('core/editor');
662 wpEditor.editPost({
663 gutenberg_elementor_mode: false
664 });
665 wpEditor.savePost();
666 self.isElementorMode = !self.isElementorMode;
667 self.toggleStatus();
668 }
669 }).show();
670 } else {
671 self.isElementorMode = !self.isElementorMode;
672 self.toggleStatus();
673 self.cache.$editorPanelButton.trigger('click');
674 }
675 });
676 },
677 redirectWhenSave: function redirectWhenSave() {
678 var self = this;
679 setTimeout(function () {
680 if (wp.data.select('core/editor').isSavingPost()) {
681 self.redirectWhenSave();
682 } else {
683 location.href = ElementorGutenbergSettings.editLink;
684 }
685 }, 300);
686 },
687 animateLoader: function animateLoader() {
688 this.cache.$editorPanelButton.addClass('elementor-animate');
689 },
690 toggleStatus: function toggleStatus() {
691 jQuery('body').toggleClass('elementor-editor-active', this.isElementorMode).toggleClass('elementor-editor-inactive', !this.isElementorMode);
692 },
693 init: function init() {
694 this.cacheElements();
695 }
696 };
697 $(function () {
698 ElementorGutenbergApp.init();
699 });
700 })(jQuery);
701
702 /***/ }),
703
704 /***/ 76:
705 /***/ (function(module, exports, __webpack_require__) {
706
707 var core = __webpack_require__(58);
708 var global = __webpack_require__(18);
709 var SHARED = '__core-js_shared__';
710 var store = global[SHARED] || (global[SHARED] = {});
711
712 (module.exports = function (key, value) {
713 return store[key] || (store[key] = value !== undefined ? value : {});
714 })('versions', []).push({
715 version: core.version,
716 mode: __webpack_require__(115) ? 'pure' : 'global',
717 copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
718 });
719
720
721 /***/ }),
722
723 /***/ 77:
724 /***/ (function(module, exports) {
725
726 var id = 0;
727 var px = Math.random();
728 module.exports = function (key) {
729 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
730 };
731
732
733 /***/ }),
734
735 /***/ 81:
736 /***/ (function(module, exports, __webpack_require__) {
737
738 // optional / simple context binding
739 var aFunction = __webpack_require__(98);
740 module.exports = function (fn, that, length) {
741 aFunction(fn);
742 if (that === undefined) return fn;
743 switch (length) {
744 case 1: return function (a) {
745 return fn.call(that, a);
746 };
747 case 2: return function (a, b) {
748 return fn.call(that, a, b);
749 };
750 case 3: return function (a, b, c) {
751 return fn.call(that, a, b, c);
752 };
753 }
754 return function (/* ...args */) {
755 return fn.apply(that, arguments);
756 };
757 };
758
759
760 /***/ }),
761
762 /***/ 90:
763 /***/ (function(module, exports, __webpack_require__) {
764
765 // 22.1.3.31 Array.prototype[@@unscopables]
766 var UNSCOPABLES = __webpack_require__(13)('unscopables');
767 var ArrayProto = Array.prototype;
768 if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(30)(ArrayProto, UNSCOPABLES, {});
769 module.exports = function (key) {
770 ArrayProto[UNSCOPABLES][key] = true;
771 };
772
773
774 /***/ }),
775
776 /***/ 98:
777 /***/ (function(module, exports) {
778
779 module.exports = function (it) {
780 if (typeof it != 'function') throw TypeError(it + ' is not a function!');
781 return it;
782 };
783
784
785 /***/ })
786
787 /******/ });
788 //# sourceMappingURL=gutenberg.js.map