[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> plugins.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
   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 = 384);
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ 0:
  91  /***/ (function(module, exports) {
  92  
  93  (function() { module.exports = this["wp"]["element"]; }());
  94  
  95  /***/ }),
  96  
  97  /***/ 12:
  98  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  99  
 100  "use strict";
 101  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
 102  function _defineProperties(target, props) {
 103    for (var i = 0; i < props.length; i++) {
 104      var descriptor = props[i];
 105      descriptor.enumerable = descriptor.enumerable || false;
 106      descriptor.configurable = true;
 107      if ("value" in descriptor) descriptor.writable = true;
 108      Object.defineProperty(target, descriptor.key, descriptor);
 109    }
 110  }
 111  
 112  function _createClass(Constructor, protoProps, staticProps) {
 113    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 114    if (staticProps) _defineProperties(Constructor, staticProps);
 115    return Constructor;
 116  }
 117  
 118  /***/ }),
 119  
 120  /***/ 13:
 121  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 122  
 123  "use strict";
 124  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
 125  function _classCallCheck(instance, Constructor) {
 126    if (!(instance instanceof Constructor)) {
 127      throw new TypeError("Cannot call a class as a function");
 128    }
 129  }
 130  
 131  /***/ }),
 132  
 133  /***/ 14:
 134  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 135  
 136  "use strict";
 137  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
 138  function _extends() {
 139    _extends = Object.assign || function (target) {
 140      for (var i = 1; i < arguments.length; i++) {
 141        var source = arguments[i];
 142  
 143        for (var key in source) {
 144          if (Object.prototype.hasOwnProperty.call(source, key)) {
 145            target[key] = source[key];
 146          }
 147        }
 148      }
 149  
 150      return target;
 151    };
 152  
 153    return _extends.apply(this, arguments);
 154  }
 155  
 156  /***/ }),
 157  
 158  /***/ 15:
 159  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 160  
 161  "use strict";
 162  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
 163  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31);
 164  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 165  
 166  
 167  function _possibleConstructorReturn(self, call) {
 168    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
 169      return call;
 170    }
 171  
 172    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
 173  }
 174  
 175  /***/ }),
 176  
 177  /***/ 16:
 178  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 179  
 180  "use strict";
 181  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
 182  function _getPrototypeOf(o) {
 183    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 184      return o.__proto__ || Object.getPrototypeOf(o);
 185    };
 186    return _getPrototypeOf(o);
 187  }
 188  
 189  /***/ }),
 190  
 191  /***/ 17:
 192  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 193  
 194  "use strict";
 195  
 196  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
 197  function _setPrototypeOf(o, p) {
 198    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 199      o.__proto__ = p;
 200      return o;
 201    };
 202  
 203    return _setPrototypeOf(o, p);
 204  }
 205  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
 206  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
 207  
 208  function _inherits(subClass, superClass) {
 209    if (typeof superClass !== "function" && superClass !== null) {
 210      throw new TypeError("Super expression must either be null or a function");
 211    }
 212  
 213    subClass.prototype = Object.create(superClass && superClass.prototype, {
 214      constructor: {
 215        value: subClass,
 216        writable: true,
 217        configurable: true
 218      }
 219    });
 220    if (superClass) _setPrototypeOf(subClass, superClass);
 221  }
 222  
 223  /***/ }),
 224  
 225  /***/ 2:
 226  /***/ (function(module, exports) {
 227  
 228  (function() { module.exports = this["lodash"]; }());
 229  
 230  /***/ }),
 231  
 232  /***/ 27:
 233  /***/ (function(module, exports) {
 234  
 235  (function() { module.exports = this["wp"]["hooks"]; }());
 236  
 237  /***/ }),
 238  
 239  /***/ 31:
 240  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 241  
 242  "use strict";
 243  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
 244  function _typeof(obj) {
 245    if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
 246      _typeof = function _typeof(obj) {
 247        return typeof obj;
 248      };
 249    } else {
 250      _typeof = function _typeof(obj) {
 251        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
 252      };
 253    }
 254  
 255    return _typeof(obj);
 256  }
 257  
 258  /***/ }),
 259  
 260  /***/ 384:
 261  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 262  
 263  "use strict";
 264  __webpack_require__.r(__webpack_exports__);
 265  
 266  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
 267  var classCallCheck = __webpack_require__(13);
 268  
 269  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
 270  var createClass = __webpack_require__(12);
 271  
 272  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
 273  var possibleConstructorReturn = __webpack_require__(15);
 274  
 275  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
 276  var getPrototypeOf = __webpack_require__(16);
 277  
 278  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
 279  var assertThisInitialized = __webpack_require__(6);
 280  
 281  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
 282  var inherits = __webpack_require__(17);
 283  
 284  // EXTERNAL MODULE: external {"this":["wp","element"]}
 285  var external_this_wp_element_ = __webpack_require__(0);
 286  
 287  // EXTERNAL MODULE: external {"this":"lodash"}
 288  var external_this_lodash_ = __webpack_require__(2);
 289  
 290  // EXTERNAL MODULE: external {"this":["wp","hooks"]}
 291  var external_this_wp_hooks_ = __webpack_require__(27);
 292  
 293  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
 294  var esm_extends = __webpack_require__(14);
 295  
 296  // EXTERNAL MODULE: external {"this":["wp","compose"]}
 297  var external_this_wp_compose_ = __webpack_require__(8);
 298  
 299  // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
 300  
 301  
 302  
 303  /**
 304   * WordPress dependencies
 305   */
 306  
 307  
 308  
 309  var _createContext = Object(external_this_wp_element_["createContext"])({
 310    name: null,
 311    icon: null
 312  }),
 313      Consumer = _createContext.Consumer,
 314      Provider = _createContext.Provider;
 315  
 316  
 317  /**
 318   * A Higher Order Component used to inject Plugin context to the
 319   * wrapped component.
 320   *
 321   * @param {Function} mapContextToProps Function called on every context change,
 322   *                                     expected to return object of props to
 323   *                                     merge with the component's own props.
 324   *
 325   * @return {WPComponent} Enhanced component with injected context as props.
 326   */
 327  
 328  var plugin_context_withPluginContext = function withPluginContext(mapContextToProps) {
 329    return Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) {
 330      return function (props) {
 331        return Object(external_this_wp_element_["createElement"])(Consumer, null, function (context) {
 332          return Object(external_this_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, mapContextToProps(context, props)));
 333        });
 334      };
 335    }, 'withPluginContext');
 336  };
 337  
 338  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
 339  var objectSpread = __webpack_require__(7);
 340  
 341  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
 342  var esm_typeof = __webpack_require__(31);
 343  
 344  // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
 345  
 346  
 347  
 348  /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */
 349  
 350  /**
 351   * WordPress dependencies
 352   */
 353  
 354  /**
 355   * External dependencies
 356   */
 357  
 358  
 359  /**
 360   * Defined behavior of a plugin type.
 361   *
 362   * @typedef {Object} WPPlugin
 363   *
 364   * @property {string}                    name   A string identifying the plugin. Must be
 365   *                                              unique across all registered plugins.
 366   *                                              unique across all registered plugins.
 367   * @property {string|WPElement|Function} icon   An icon to be shown in the UI. It can
 368   *                                              be a slug of the Dashicon, or an element
 369   *                                              (or function returning an element) if you
 370   *                                              choose to render your own SVG.
 371   * @property {Function}                  render A component containing the UI elements
 372   *                                              to be rendered.
 373   */
 374  
 375  /**
 376   * Plugin definitions keyed by plugin name.
 377   *
 378   * @type {Object.<string,WPPlugin>}
 379   */
 380  
 381  var plugins = {};
 382  /**
 383   * Registers a plugin to the editor.
 384   *
 385   * @param {string}   name     A string identifying the plugin.Must be
 386   *                            unique across all registered plugins.
 387   * @param {WPPlugin} settings The settings for this plugin.
 388   *
 389   * @example <caption>ES5</caption>
 390   * ```js
 391   * // Using ES5 syntax
 392   * var el = wp.element.createElement;
 393   * var Fragment = wp.element.Fragment;
 394   * var PluginSidebar = wp.editPost.PluginSidebar;
 395   * var PluginSidebarMoreMenuItem = wp.editPost.PluginSidebarMoreMenuItem;
 396   * var registerPlugin = wp.plugins.registerPlugin;
 397   *
 398   * function Component() {
 399   *     return el(
 400   *         Fragment,
 401   *         {},
 402   *         el(
 403   *             PluginSidebarMoreMenuItem,
 404   *             {
 405   *                 target: 'sidebar-name',
 406   *             },
 407   *             'My Sidebar'
 408   *         ),
 409   *         el(
 410   *             PluginSidebar,
 411   *             {
 412   *                 name: 'sidebar-name',
 413   *                 title: 'My Sidebar',
 414   *             },
 415   *             'Content of the sidebar'
 416   *         )
 417   *     );
 418   * }
 419   * registerPlugin( 'plugin-name', {
 420   *     icon: 'smiley',
 421   *     render: Component,
 422   * } );
 423   * ```
 424   *
 425   * @example <caption>ESNext</caption>
 426   * ```js
 427   * // Using ESNext syntax
 428   * const { PluginSidebar, PluginSidebarMoreMenuItem } = wp.editPost;
 429   * const { registerPlugin } = wp.plugins;
 430   *
 431   * const Component = () => (
 432   *     <>
 433   *         <PluginSidebarMoreMenuItem
 434   *             target="sidebar-name"
 435   *         >
 436   *             My Sidebar
 437   *         </PluginSidebarMoreMenuItem>
 438   *         <PluginSidebar
 439   *             name="sidebar-name"
 440   *             title="My Sidebar"
 441   *         >
 442   *             Content of the sidebar
 443   *         </PluginSidebar>
 444   *     </>
 445   * );
 446   *
 447   * registerPlugin( 'plugin-name', {
 448   *     icon: 'smiley',
 449   *     render: Component,
 450   * } );
 451   * ```
 452   *
 453   * @return {WPPlugin} The final plugin settings object.
 454   */
 455  
 456  function registerPlugin(name, settings) {
 457    if (Object(esm_typeof["a" /* default */])(settings) !== 'object') {
 458      console.error('No settings object provided!');
 459      return null;
 460    }
 461  
 462    if (typeof name !== 'string') {
 463      console.error('Plugin names must be strings.');
 464      return null;
 465    }
 466  
 467    if (!/^[a-z][a-z0-9-]*$/.test(name)) {
 468      console.error('Plugin names must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".');
 469      return null;
 470    }
 471  
 472    if (plugins[name]) {
 473      console.error("Plugin \"".concat(name, "\" is already registered."));
 474    }
 475  
 476    settings = Object(external_this_wp_hooks_["applyFilters"])('plugins.registerPlugin', settings, name);
 477  
 478    if (!Object(external_this_lodash_["isFunction"])(settings.render)) {
 479      console.error('The "render" property must be specified and must be a valid function.');
 480      return null;
 481    }
 482  
 483    plugins[name] = Object(objectSpread["a" /* default */])({
 484      name: name,
 485      icon: 'admin-plugins'
 486    }, settings);
 487    Object(external_this_wp_hooks_["doAction"])('plugins.pluginRegistered', settings, name);
 488    return settings;
 489  }
 490  /**
 491   * Unregisters a plugin by name.
 492   *
 493   * @param {string} name Plugin name.
 494   *
 495   * @example <caption>ES5</caption>
 496   * ```js
 497   * // Using ES5 syntax
 498   * var unregisterPlugin = wp.plugins.unregisterPlugin;
 499   *
 500   * unregisterPlugin( 'plugin-name' );
 501   * ```
 502   *
 503   * @example <caption>ESNext</caption>
 504   * ```js
 505   * // Using ESNext syntax
 506   * const { unregisterPlugin } = wp.plugins;
 507   *
 508   * unregisterPlugin( 'plugin-name' );
 509   * ```
 510   *
 511   * @return {?WPPlugin} The previous plugin settings object, if it has been
 512   *                     successfully unregistered; otherwise `undefined`.
 513   */
 514  
 515  function unregisterPlugin(name) {
 516    if (!plugins[name]) {
 517      console.error('Plugin "' + name + '" is not registered.');
 518      return;
 519    }
 520  
 521    var oldPlugin = plugins[name];
 522    delete plugins[name];
 523    Object(external_this_wp_hooks_["doAction"])('plugins.pluginUnregistered', oldPlugin, name);
 524    return oldPlugin;
 525  }
 526  /**
 527   * Returns a registered plugin settings.
 528   *
 529   * @param {string} name Plugin name.
 530   *
 531   * @return {?WPPlugin} Plugin setting.
 532   */
 533  
 534  function getPlugin(name) {
 535    return plugins[name];
 536  }
 537  /**
 538   * Returns all registered plugins.
 539   *
 540   * @return {WPPlugin[]} Plugin settings.
 541   */
 542  
 543  function getPlugins() {
 544    return Object.values(plugins);
 545  }
 546  
 547  // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-area/index.js
 548  
 549  
 550  
 551  
 552  
 553  
 554  
 555  
 556  /**
 557   * External dependencies
 558   */
 559  
 560  /**
 561   * WordPress dependencies
 562   */
 563  
 564  
 565  
 566  /**
 567   * Internal dependencies
 568   */
 569  
 570  
 571  
 572  /**
 573   * A component that renders all plugin fills in a hidden div.
 574   *
 575   * @example <caption>ES5</caption>
 576   * ```js
 577   * // Using ES5 syntax
 578   * var el = wp.element.createElement;
 579   * var PluginArea = wp.plugins.PluginArea;
 580   *
 581   * function Layout() {
 582   *     return el(
 583   *         'div',
 584   *         {},
 585   *         'Content of the page',
 586   *         PluginArea
 587   *     );
 588   * }
 589   * ```
 590   *
 591   * @example <caption>ESNext</caption>
 592   * ```js
 593   * // Using ESNext syntax
 594   * const { PluginArea } = wp.plugins;
 595   *
 596   * const Layout = () => (
 597   *     <div>
 598   *         Content of the page
 599   *         <PluginArea />
 600   *     </div>
 601   * );
 602   * ```
 603   *
 604   * @return {WPComponent} The component to be rendered.
 605   */
 606  
 607  var plugin_area_PluginArea =
 608  /*#__PURE__*/
 609  function (_Component) {
 610    Object(inherits["a" /* default */])(PluginArea, _Component);
 611  
 612    function PluginArea() {
 613      var _this;
 614  
 615      Object(classCallCheck["a" /* default */])(this, PluginArea);
 616  
 617      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PluginArea).apply(this, arguments));
 618      _this.setPlugins = _this.setPlugins.bind(Object(assertThisInitialized["a" /* default */])(_this));
 619      _this.state = _this.getCurrentPluginsState();
 620      return _this;
 621    }
 622  
 623    Object(createClass["a" /* default */])(PluginArea, [{
 624      key: "getCurrentPluginsState",
 625      value: function getCurrentPluginsState() {
 626        return {
 627          plugins: Object(external_this_lodash_["map"])(getPlugins(), function (_ref) {
 628            var icon = _ref.icon,
 629                name = _ref.name,
 630                render = _ref.render;
 631            return {
 632              Plugin: render,
 633              context: {
 634                name: name,
 635                icon: icon
 636              }
 637            };
 638          })
 639        };
 640      }
 641    }, {
 642      key: "componentDidMount",
 643      value: function componentDidMount() {
 644        Object(external_this_wp_hooks_["addAction"])('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered', this.setPlugins);
 645        Object(external_this_wp_hooks_["addAction"])('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered', this.setPlugins);
 646      }
 647    }, {
 648      key: "componentWillUnmount",
 649      value: function componentWillUnmount() {
 650        Object(external_this_wp_hooks_["removeAction"])('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered');
 651        Object(external_this_wp_hooks_["removeAction"])('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered');
 652      }
 653    }, {
 654      key: "setPlugins",
 655      value: function setPlugins() {
 656        this.setState(this.getCurrentPluginsState);
 657      }
 658    }, {
 659      key: "render",
 660      value: function render() {
 661        return Object(external_this_wp_element_["createElement"])("div", {
 662          style: {
 663            display: 'none'
 664          }
 665        }, Object(external_this_lodash_["map"])(this.state.plugins, function (_ref2) {
 666          var context = _ref2.context,
 667              Plugin = _ref2.Plugin;
 668          return Object(external_this_wp_element_["createElement"])(Provider, {
 669            key: context.name,
 670            value: context
 671          }, Object(external_this_wp_element_["createElement"])(Plugin, null));
 672        }));
 673      }
 674    }]);
 675  
 676    return PluginArea;
 677  }(external_this_wp_element_["Component"]);
 678  
 679  /* harmony default export */ var plugin_area = (plugin_area_PluginArea);
 680  
 681  // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/index.js
 682  
 683  
 684  
 685  // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/index.js
 686  /* concated harmony reexport PluginArea */__webpack_require__.d(__webpack_exports__, "PluginArea", function() { return plugin_area; });
 687  /* concated harmony reexport withPluginContext */__webpack_require__.d(__webpack_exports__, "withPluginContext", function() { return plugin_context_withPluginContext; });
 688  /* concated harmony reexport registerPlugin */__webpack_require__.d(__webpack_exports__, "registerPlugin", function() { return registerPlugin; });
 689  /* concated harmony reexport unregisterPlugin */__webpack_require__.d(__webpack_exports__, "unregisterPlugin", function() { return unregisterPlugin; });
 690  /* concated harmony reexport getPlugin */__webpack_require__.d(__webpack_exports__, "getPlugin", function() { return getPlugin; });
 691  /* concated harmony reexport getPlugins */__webpack_require__.d(__webpack_exports__, "getPlugins", function() { return getPlugins; });
 692  
 693  
 694  
 695  
 696  /***/ }),
 697  
 698  /***/ 6:
 699  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 700  
 701  "use strict";
 702  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
 703  function _assertThisInitialized(self) {
 704    if (self === void 0) {
 705      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 706    }
 707  
 708    return self;
 709  }
 710  
 711  /***/ }),
 712  
 713  /***/ 7:
 714  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 715  
 716  "use strict";
 717  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
 718  /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
 719  
 720  function _objectSpread(target) {
 721    for (var i = 1; i < arguments.length; i++) {
 722      var source = arguments[i] != null ? arguments[i] : {};
 723      var ownKeys = Object.keys(Object(source));
 724  
 725      if (typeof Object.getOwnPropertySymbols === 'function') {
 726        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
 727          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
 728        }));
 729      }
 730  
 731      ownKeys.forEach(function (key) {
 732        Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
 733      });
 734    }
 735  
 736    return target;
 737  }
 738  
 739  /***/ }),
 740  
 741  /***/ 8:
 742  /***/ (function(module, exports) {
 743  
 744  (function() { module.exports = this["wp"]["compose"]; }());
 745  
 746  /***/ }),
 747  
 748  /***/ 9:
 749  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 750  
 751  "use strict";
 752  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
 753  function _defineProperty(obj, key, value) {
 754    if (key in obj) {
 755      Object.defineProperty(obj, key, {
 756        value: value,
 757        enumerable: true,
 758        configurable: true,
 759        writable: true
 760      });
 761    } else {
 762      obj[key] = value;
 763    }
 764  
 765    return obj;
 766  }
 767  
 768  /***/ })
 769  
 770  /******/ });


Generated: Tue Jan 21 01:00:03 2020 Cross-referenced by PHPXref 0.7.1