[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> edit-post.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["editPost"] =
   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 = 461);
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ 0:
  91  /***/ (function(module, exports) {
  92  
  93  (function() { module.exports = this["wp"]["element"]; }());
  94  
  95  /***/ }),
  96  
  97  /***/ 1:
  98  /***/ (function(module, exports) {
  99  
 100  (function() { module.exports = this["wp"]["i18n"]; }());
 101  
 102  /***/ }),
 103  
 104  /***/ 10:
 105  /***/ (function(module, exports) {
 106  
 107  (function() { module.exports = this["wp"]["compose"]; }());
 108  
 109  /***/ }),
 110  
 111  /***/ 101:
 112  /***/ (function(module, exports) {
 113  
 114  (function() { module.exports = this["wp"]["viewport"]; }());
 115  
 116  /***/ }),
 117  
 118  /***/ 103:
 119  /***/ (function(module, exports) {
 120  
 121  // shim for using process in browser
 122  var process = module.exports = {};
 123  
 124  // cached from whatever global is present so that test runners that stub it
 125  // don't break things.  But we need to wrap it in a try catch in case it is
 126  // wrapped in strict mode code which doesn't define any globals.  It's inside a
 127  // function because try/catches deoptimize in certain engines.
 128  
 129  var cachedSetTimeout;
 130  var cachedClearTimeout;
 131  
 132  function defaultSetTimout() {
 133      throw new Error('setTimeout has not been defined');
 134  }
 135  function defaultClearTimeout () {
 136      throw new Error('clearTimeout has not been defined');
 137  }
 138  (function () {
 139      try {
 140          if (typeof setTimeout === 'function') {
 141              cachedSetTimeout = setTimeout;
 142          } else {
 143              cachedSetTimeout = defaultSetTimout;
 144          }
 145      } catch (e) {
 146          cachedSetTimeout = defaultSetTimout;
 147      }
 148      try {
 149          if (typeof clearTimeout === 'function') {
 150              cachedClearTimeout = clearTimeout;
 151          } else {
 152              cachedClearTimeout = defaultClearTimeout;
 153          }
 154      } catch (e) {
 155          cachedClearTimeout = defaultClearTimeout;
 156      }
 157  } ())
 158  function runTimeout(fun) {
 159      if (cachedSetTimeout === setTimeout) {
 160          //normal enviroments in sane situations
 161          return setTimeout(fun, 0);
 162      }
 163      // if setTimeout wasn't available but was latter defined
 164      if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
 165          cachedSetTimeout = setTimeout;
 166          return setTimeout(fun, 0);
 167      }
 168      try {
 169          // when when somebody has screwed with setTimeout but no I.E. maddness
 170          return cachedSetTimeout(fun, 0);
 171      } catch(e){
 172          try {
 173              // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
 174              return cachedSetTimeout.call(null, fun, 0);
 175          } catch(e){
 176              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
 177              return cachedSetTimeout.call(this, fun, 0);
 178          }
 179      }
 180  
 181  
 182  }
 183  function runClearTimeout(marker) {
 184      if (cachedClearTimeout === clearTimeout) {
 185          //normal enviroments in sane situations
 186          return clearTimeout(marker);
 187      }
 188      // if clearTimeout wasn't available but was latter defined
 189      if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
 190          cachedClearTimeout = clearTimeout;
 191          return clearTimeout(marker);
 192      }
 193      try {
 194          // when when somebody has screwed with setTimeout but no I.E. maddness
 195          return cachedClearTimeout(marker);
 196      } catch (e){
 197          try {
 198              // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
 199              return cachedClearTimeout.call(null, marker);
 200          } catch (e){
 201              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
 202              // Some versions of I.E. have different rules for clearTimeout vs setTimeout
 203              return cachedClearTimeout.call(this, marker);
 204          }
 205      }
 206  
 207  
 208  
 209  }
 210  var queue = [];
 211  var draining = false;
 212  var currentQueue;
 213  var queueIndex = -1;
 214  
 215  function cleanUpNextTick() {
 216      if (!draining || !currentQueue) {
 217          return;
 218      }
 219      draining = false;
 220      if (currentQueue.length) {
 221          queue = currentQueue.concat(queue);
 222      } else {
 223          queueIndex = -1;
 224      }
 225      if (queue.length) {
 226          drainQueue();
 227      }
 228  }
 229  
 230  function drainQueue() {
 231      if (draining) {
 232          return;
 233      }
 234      var timeout = runTimeout(cleanUpNextTick);
 235      draining = true;
 236  
 237      var len = queue.length;
 238      while(len) {
 239          currentQueue = queue;
 240          queue = [];
 241          while (++queueIndex < len) {
 242              if (currentQueue) {
 243                  currentQueue[queueIndex].run();
 244              }
 245          }
 246          queueIndex = -1;
 247          len = queue.length;
 248      }
 249      currentQueue = null;
 250      draining = false;
 251      runClearTimeout(timeout);
 252  }
 253  
 254  process.nextTick = function (fun) {
 255      var args = new Array(arguments.length - 1);
 256      if (arguments.length > 1) {
 257          for (var i = 1; i < arguments.length; i++) {
 258              args[i - 1] = arguments[i];
 259          }
 260      }
 261      queue.push(new Item(fun, args));
 262      if (queue.length === 1 && !draining) {
 263          runTimeout(drainQueue);
 264      }
 265  };
 266  
 267  // v8 likes predictible objects
 268  function Item(fun, array) {
 269      this.fun = fun;
 270      this.array = array;
 271  }
 272  Item.prototype.run = function () {
 273      this.fun.apply(null, this.array);
 274  };
 275  process.title = 'browser';
 276  process.browser = true;
 277  process.env = {};
 278  process.argv = [];
 279  process.version = ''; // empty string to avoid regexp issues
 280  process.versions = {};
 281  
 282  function noop() {}
 283  
 284  process.on = noop;
 285  process.addListener = noop;
 286  process.once = noop;
 287  process.off = noop;
 288  process.removeListener = noop;
 289  process.removeAllListeners = noop;
 290  process.emit = noop;
 291  process.prependListener = noop;
 292  process.prependOnceListener = noop;
 293  
 294  process.listeners = function (name) { return [] }
 295  
 296  process.binding = function (name) {
 297      throw new Error('process.binding is not supported');
 298  };
 299  
 300  process.cwd = function () { return '/' };
 301  process.chdir = function (dir) {
 302      throw new Error('process.chdir is not supported');
 303  };
 304  process.umask = function() { return 0; };
 305  
 306  
 307  /***/ }),
 308  
 309  /***/ 11:
 310  /***/ (function(module, exports) {
 311  
 312  (function() { module.exports = this["wp"]["blocks"]; }());
 313  
 314  /***/ }),
 315  
 316  /***/ 116:
 317  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 318  
 319  "use strict";
 320  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 321  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 322  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
 323  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
 324  
 325  
 326  /**
 327   * WordPress dependencies
 328   */
 329  
 330  
 331  function BaseOption(_ref) {
 332    var help = _ref.help,
 333        label = _ref.label,
 334        isChecked = _ref.isChecked,
 335        onChange = _ref.onChange,
 336        children = _ref.children;
 337    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
 338      className: "edit-post-preferences-modal__option"
 339    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["CheckboxControl"], {
 340      help: help,
 341      label: label,
 342      checked: isChecked,
 343      onChange: onChange
 344    }), children);
 345  }
 346  
 347  /* harmony default export */ __webpack_exports__["a"] = (BaseOption);
 348  
 349  
 350  /***/ }),
 351  
 352  /***/ 12:
 353  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 354  
 355  "use strict";
 356  
 357  // EXPORTS
 358  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
 359  
 360  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
 361  var arrayWithHoles = __webpack_require__(38);
 362  
 363  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
 364  function _iterableToArrayLimit(arr, i) {
 365    if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
 366    var _arr = [];
 367    var _n = true;
 368    var _d = false;
 369    var _e = undefined;
 370  
 371    try {
 372      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 373        _arr.push(_s.value);
 374  
 375        if (i && _arr.length === i) break;
 376      }
 377    } catch (err) {
 378      _d = true;
 379      _e = err;
 380    } finally {
 381      try {
 382        if (!_n && _i["return"] != null) _i["return"]();
 383      } finally {
 384        if (_d) throw _e;
 385      }
 386    }
 387  
 388    return _arr;
 389  }
 390  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
 391  var unsupportedIterableToArray = __webpack_require__(31);
 392  
 393  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
 394  var nonIterableRest = __webpack_require__(39);
 395  
 396  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
 397  
 398  
 399  
 400  
 401  function _slicedToArray(arr, i) {
 402    return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
 403  }
 404  
 405  /***/ }),
 406  
 407  /***/ 121:
 408  /***/ (function(module, exports) {
 409  
 410  (function() { module.exports = this["wp"]["reusableBlocks"]; }());
 411  
 412  /***/ }),
 413  
 414  /***/ 14:
 415  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 416  
 417  "use strict";
 418  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
 419  /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
 420  
 421  function _objectWithoutProperties(source, excluded) {
 422    if (source == null) return {};
 423    var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
 424    var key, i;
 425  
 426    if (Object.getOwnPropertySymbols) {
 427      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 428  
 429      for (i = 0; i < sourceSymbolKeys.length; i++) {
 430        key = sourceSymbolKeys[i];
 431        if (excluded.indexOf(key) >= 0) continue;
 432        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 433        target[key] = source[key];
 434      }
 435    }
 436  
 437    return target;
 438  }
 439  
 440  /***/ }),
 441  
 442  /***/ 149:
 443  /***/ (function(module, exports, __webpack_require__) {
 444  
 445  "use strict";
 446  
 447  
 448  function flattenIntoMap( map, effects ) {
 449      var i;
 450      if ( Array.isArray( effects ) ) {
 451          for ( i = 0; i < effects.length; i++ ) {
 452              flattenIntoMap( map, effects[ i ] );
 453          }
 454      } else {
 455          for ( i in effects ) {
 456              map[ i ] = ( map[ i ] || [] ).concat( effects[ i ] );
 457          }
 458      }
 459  }
 460  
 461  function refx( effects ) {
 462      var map = {},
 463          middleware;
 464  
 465      flattenIntoMap( map, effects );
 466  
 467      middleware = function( store ) {
 468          return function( next ) {
 469              return function( action ) {
 470                  var handlers = map[ action.type ],
 471                      result = next( action ),
 472                      i, handlerAction;
 473  
 474                  if ( handlers ) {
 475                      for ( i = 0; i < handlers.length; i++ ) {
 476                          handlerAction = handlers[ i ]( action, store );
 477                          if ( handlerAction ) {
 478                              store.dispatch( handlerAction );
 479                          }
 480                      }
 481                  }
 482  
 483                  return result;
 484              };
 485          };
 486      };
 487  
 488      middleware.effects = map;
 489  
 490      return middleware;
 491  }
 492  
 493  module.exports = refx;
 494  
 495  
 496  /***/ }),
 497  
 498  /***/ 155:
 499  /***/ (function(module, exports) {
 500  
 501  (function() { module.exports = this["wp"]["mediaUtils"]; }());
 502  
 503  /***/ }),
 504  
 505  /***/ 159:
 506  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 507  
 508  "use strict";
 509  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 510  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 511  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 512  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 513  
 514  
 515  /**
 516   * WordPress dependencies
 517   */
 518  
 519  var closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 520    xmlns: "http://www.w3.org/2000/svg",
 521    viewBox: "0 0 24 24"
 522  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 523    d: "M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"
 524  }));
 525  /* harmony default export */ __webpack_exports__["a"] = (closeSmall);
 526  
 527  
 528  /***/ }),
 529  
 530  /***/ 16:
 531  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 532  
 533  "use strict";
 534  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
 535  function _assertThisInitialized(self) {
 536    if (self === void 0) {
 537      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 538    }
 539  
 540    return self;
 541  }
 542  
 543  /***/ }),
 544  
 545  /***/ 160:
 546  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 547  
 548  "use strict";
 549  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 550  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 551  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 552  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 553  
 554  
 555  /**
 556   * WordPress dependencies
 557   */
 558  
 559  var close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 560    xmlns: "http://www.w3.org/2000/svg",
 561    viewBox: "0 0 24 24"
 562  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 563    d: "M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
 564  }));
 565  /* harmony default export */ __webpack_exports__["a"] = (close);
 566  
 567  
 568  /***/ }),
 569  
 570  /***/ 161:
 571  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 572  
 573  "use strict";
 574  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 575  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 576  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 577  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 578  
 579  
 580  /**
 581   * WordPress dependencies
 582   */
 583  
 584  var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 585    xmlns: "http://www.w3.org/2000/svg",
 586    viewBox: "0 0 24 24"
 587  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 588    d: "M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
 589  }));
 590  /* harmony default export */ __webpack_exports__["a"] = (check);
 591  
 592  
 593  /***/ }),
 594  
 595  /***/ 169:
 596  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 597  
 598  "use strict";
 599  /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export Fill */
 600  /* unused harmony export Slot */
 601  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 602  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 603  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
 604  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
 605  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10);
 606  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
 607  /* harmony import */ var _wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77);
 608  /* harmony import */ var _wordpress_plugins__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__);
 609  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
 610  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
 611  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(90);
 612  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_5__);
 613  /* harmony import */ var _preferences_modal_options__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(494);
 614  
 615  
 616  /**
 617   * Defines as extensibility slot for the Settings sidebar
 618   */
 619  
 620  /**
 621   * WordPress dependencies
 622   */
 623  
 624  
 625  
 626  
 627  
 628  /**
 629   * Internal dependencies
 630   */
 631  
 632  
 633  
 634  var _createSlotFill = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["createSlotFill"])('PluginDocumentSettingPanel'),
 635      Fill = _createSlotFill.Fill,
 636      Slot = _createSlotFill.Slot;
 637  
 638  
 639  
 640  var PluginDocumentSettingFill = function PluginDocumentSettingFill(_ref) {
 641    var isEnabled = _ref.isEnabled,
 642        panelName = _ref.panelName,
 643        opened = _ref.opened,
 644        onToggle = _ref.onToggle,
 645        className = _ref.className,
 646        title = _ref.title,
 647        icon = _ref.icon,
 648        children = _ref.children;
 649    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_preferences_modal_options__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
 650      label: title,
 651      panelName: panelName
 652    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Fill, null, isEnabled && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["PanelBody"], {
 653      className: className,
 654      title: title,
 655      icon: icon,
 656      opened: opened,
 657      onToggle: onToggle
 658    }, children)));
 659  };
 660  /**
 661   * Renders items below the Status & Availability panel in the Document Sidebar.
 662   *
 663   * @param {Object} props Component properties.
 664   * @param {string} [props.name] The machine-friendly name for the panel.
 665   * @param {string} [props.className] An optional class name added to the row.
 666   * @param {string} [props.title] The title of the panel
 667   * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
 668   *
 669   * @example
 670   * <caption>ES5</caption>
 671   * ```js
 672   * // Using ES5 syntax
 673   * var el = wp.element.createElement;
 674   * var __ = wp.i18n.__;
 675   * var registerPlugin = wp.plugins.registerPlugin;
 676   * var PluginDocumentSettingPanel = wp.editPost.PluginDocumentSettingPanel;
 677   *
 678   * function MyDocumentSettingPlugin() {
 679   *     return el(
 680   *         PluginDocumentSettingPanel,
 681   *         {
 682   *             className: 'my-document-setting-plugin',
 683   *             title: 'My Panel',
 684   *         },
 685   *         __( 'My Document Setting Panel' )
 686   *     );
 687   * }
 688   *
 689   * registerPlugin( 'my-document-setting-plugin', {
 690   *         render: MyDocumentSettingPlugin
 691   * } );
 692   * ```
 693   *
 694   * @example
 695   * <caption>ESNext</caption>
 696   * ```jsx
 697   * // Using ESNext syntax
 698   * import { registerPlugin } from '@wordpress/plugins';
 699   * import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
 700   *
 701   * const MyDocumentSettingTest = () => (
 702   *         <PluginDocumentSettingPanel className="my-document-setting-plugin" title="My Panel">
 703   *            <p>My Document Setting Panel</p>
 704   *        </PluginDocumentSettingPanel>
 705   *    );
 706   *
 707   *  registerPlugin( 'document-setting-test', { render: MyDocumentSettingTest } );
 708   * ```
 709   *
 710   * @return {WPComponent} The component to be rendered.
 711   */
 712  
 713  
 714  var PluginDocumentSettingPanel = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__["compose"])(Object(_wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__["withPluginContext"])(function (context, ownProps) {
 715    if (undefined === ownProps.name) {
 716      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default()('PluginDocumentSettingPanel requires a name property.') : void 0;
 717    }
 718  
 719    return {
 720      icon: ownProps.icon || context.icon,
 721      panelName: "".concat(context.name, "/").concat(ownProps.name)
 722    };
 723  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(function (select, _ref2) {
 724    var panelName = _ref2.panelName;
 725    return {
 726      opened: select('core/edit-post').isEditorPanelOpened(panelName),
 727      isEnabled: select('core/edit-post').isEditorPanelEnabled(panelName)
 728    };
 729  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch, _ref3) {
 730    var panelName = _ref3.panelName;
 731    return {
 732      onToggle: function onToggle() {
 733        return dispatch('core/edit-post').toggleEditorPanelOpened(panelName);
 734      }
 735    };
 736  }))(PluginDocumentSettingFill);
 737  PluginDocumentSettingPanel.Slot = Slot;
 738  /* harmony default export */ __webpack_exports__["a"] = (PluginDocumentSettingPanel);
 739  
 740  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(103)))
 741  
 742  /***/ }),
 743  
 744  /***/ 17:
 745  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 746  
 747  "use strict";
 748  
 749  // EXPORTS
 750  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
 751  
 752  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
 753  var arrayLikeToArray = __webpack_require__(27);
 754  
 755  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
 756  
 757  function _arrayWithoutHoles(arr) {
 758    if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
 759  }
 760  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
 761  var iterableToArray = __webpack_require__(37);
 762  
 763  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
 764  var unsupportedIterableToArray = __webpack_require__(31);
 765  
 766  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
 767  function _nonIterableSpread() {
 768    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 769  }
 770  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
 771  
 772  
 773  
 774  
 775  function _toConsumableArray(arr) {
 776    return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
 777  }
 778  
 779  /***/ }),
 780  
 781  /***/ 18:
 782  /***/ (function(module, exports) {
 783  
 784  (function() { module.exports = this["wp"]["keycodes"]; }());
 785  
 786  /***/ }),
 787  
 788  /***/ 19:
 789  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 790  
 791  "use strict";
 792  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
 793  function _getPrototypeOf(o) {
 794    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 795      return o.__proto__ || Object.getPrototypeOf(o);
 796    };
 797    return _getPrototypeOf(o);
 798  }
 799  
 800  /***/ }),
 801  
 802  /***/ 2:
 803  /***/ (function(module, exports) {
 804  
 805  (function() { module.exports = this["lodash"]; }());
 806  
 807  /***/ }),
 808  
 809  /***/ 20:
 810  /***/ (function(module, exports) {
 811  
 812  (function() { module.exports = this["regeneratorRuntime"]; }());
 813  
 814  /***/ }),
 815  
 816  /***/ 209:
 817  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 818  
 819  "use strict";
 820  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 821  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 822  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 823  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 824  
 825  
 826  /**
 827   * WordPress dependencies
 828   */
 829  
 830  var plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 831    xmlns: "http://www.w3.org/2000/svg",
 832    viewBox: "0 0 24 24"
 833  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 834    d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
 835  }));
 836  /* harmony default export */ __webpack_exports__["a"] = (plus);
 837  
 838  
 839  /***/ }),
 840  
 841  /***/ 21:
 842  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 843  
 844  "use strict";
 845  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
 846  function _classCallCheck(instance, Constructor) {
 847    if (!(instance instanceof Constructor)) {
 848      throw new TypeError("Cannot call a class as a function");
 849    }
 850  }
 851  
 852  /***/ }),
 853  
 854  /***/ 22:
 855  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 856  
 857  "use strict";
 858  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
 859  function _defineProperties(target, props) {
 860    for (var i = 0; i < props.length; i++) {
 861      var descriptor = props[i];
 862      descriptor.enumerable = descriptor.enumerable || false;
 863      descriptor.configurable = true;
 864      if ("value" in descriptor) descriptor.writable = true;
 865      Object.defineProperty(target, descriptor.key, descriptor);
 866    }
 867  }
 868  
 869  function _createClass(Constructor, protoProps, staticProps) {
 870    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 871    if (staticProps) _defineProperties(Constructor, staticProps);
 872    return Constructor;
 873  }
 874  
 875  /***/ }),
 876  
 877  /***/ 23:
 878  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 879  
 880  "use strict";
 881  
 882  // EXPORTS
 883  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
 884  
 885  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
 886  function _setPrototypeOf(o, p) {
 887    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 888      o.__proto__ = p;
 889      return o;
 890    };
 891  
 892    return _setPrototypeOf(o, p);
 893  }
 894  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
 895  
 896  function _inherits(subClass, superClass) {
 897    if (typeof superClass !== "function" && superClass !== null) {
 898      throw new TypeError("Super expression must either be null or a function");
 899    }
 900  
 901    subClass.prototype = Object.create(superClass && superClass.prototype, {
 902      constructor: {
 903        value: subClass,
 904        writable: true,
 905        configurable: true
 906      }
 907    });
 908    if (superClass) _setPrototypeOf(subClass, superClass);
 909  }
 910  
 911  /***/ }),
 912  
 913  /***/ 24:
 914  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 915  
 916  "use strict";
 917  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
 918  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
 919  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
 920  
 921  
 922  function _possibleConstructorReturn(self, call) {
 923    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
 924      return call;
 925    }
 926  
 927    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
 928  }
 929  
 930  /***/ }),
 931  
 932  /***/ 27:
 933  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 934  
 935  "use strict";
 936  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
 937  function _arrayLikeToArray(arr, len) {
 938    if (len == null || len > arr.length) len = arr.length;
 939  
 940    for (var i = 0, arr2 = new Array(len); i < len; i++) {
 941      arr2[i] = arr[i];
 942    }
 943  
 944    return arr2;
 945  }
 946  
 947  /***/ }),
 948  
 949  /***/ 292:
 950  /***/ (function(module, exports) {
 951  
 952  (function() { module.exports = this["wp"]["blockLibrary"]; }());
 953  
 954  /***/ }),
 955  
 956  /***/ 3:
 957  /***/ (function(module, exports) {
 958  
 959  (function() { module.exports = this["wp"]["components"]; }());
 960  
 961  /***/ }),
 962  
 963  /***/ 30:
 964  /***/ (function(module, exports) {
 965  
 966  (function() { module.exports = this["wp"]["url"]; }());
 967  
 968  /***/ }),
 969  
 970  /***/ 302:
 971  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 972  
 973  "use strict";
 974  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 975  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 976  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 977  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 978  
 979  
 980  /**
 981   * WordPress dependencies
 982   */
 983  
 984  var starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 985    xmlns: "http://www.w3.org/2000/svg",
 986    viewBox: "0 0 24 24"
 987  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 988    d: "M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"
 989  }));
 990  /* harmony default export */ __webpack_exports__["a"] = (starFilled);
 991  
 992  
 993  /***/ }),
 994  
 995  /***/ 303:
 996  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 997  
 998  "use strict";
 999  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1000  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1001  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
1002  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1003  
1004  
1005  /**
1006   * WordPress dependencies
1007   */
1008  
1009  var starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1010    xmlns: "http://www.w3.org/2000/svg",
1011    viewBox: "0 0 24 24"
1012  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1013    fillRule: "evenodd",
1014    d: "M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",
1015    clipRule: "evenodd"
1016  }));
1017  /* harmony default export */ __webpack_exports__["a"] = (starEmpty);
1018  
1019  
1020  /***/ }),
1021  
1022  /***/ 31:
1023  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1024  
1025  "use strict";
1026  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
1027  /* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27);
1028  
1029  function _unsupportedIterableToArray(o, minLen) {
1030    if (!o) return;
1031    if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
1032    var n = Object.prototype.toString.call(o).slice(8, -1);
1033    if (n === "Object" && o.constructor) n = o.constructor.name;
1034    if (n === "Map" || n === "Set") return Array.from(o);
1035    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
1036  }
1037  
1038  /***/ }),
1039  
1040  /***/ 317:
1041  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1042  
1043  "use strict";
1044  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1045  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1046  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
1047  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1048  
1049  
1050  /**
1051   * WordPress dependencies
1052   */
1053  
1054  var moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1055    xmlns: "http://www.w3.org/2000/svg",
1056    viewBox: "0 0 24 24"
1057  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1058    d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
1059  }));
1060  /* harmony default export */ __webpack_exports__["a"] = (moreVertical);
1061  
1062  
1063  /***/ }),
1064  
1065  /***/ 32:
1066  /***/ (function(module, exports) {
1067  
1068  (function() { module.exports = this["wp"]["dataControls"]; }());
1069  
1070  /***/ }),
1071  
1072  /***/ 33:
1073  /***/ (function(module, exports) {
1074  
1075  (function() { module.exports = this["wp"]["hooks"]; }());
1076  
1077  /***/ }),
1078  
1079  /***/ 34:
1080  /***/ (function(module, exports) {
1081  
1082  (function() { module.exports = this["wp"]["editor"]; }());
1083  
1084  /***/ }),
1085  
1086  /***/ 37:
1087  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1088  
1089  "use strict";
1090  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
1091  function _iterableToArray(iter) {
1092    if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
1093  }
1094  
1095  /***/ }),
1096  
1097  /***/ 38:
1098  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1099  
1100  "use strict";
1101  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
1102  function _arrayWithHoles(arr) {
1103    if (Array.isArray(arr)) return arr;
1104  }
1105  
1106  /***/ }),
1107  
1108  /***/ 39:
1109  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1110  
1111  "use strict";
1112  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
1113  function _nonIterableRest() {
1114    throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1115  }
1116  
1117  /***/ }),
1118  
1119  /***/ 4:
1120  /***/ (function(module, exports) {
1121  
1122  (function() { module.exports = this["wp"]["data"]; }());
1123  
1124  /***/ }),
1125  
1126  /***/ 40:
1127  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1128  
1129  "use strict";
1130  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
1131  function _typeof(obj) {
1132    "@babel/helpers - typeof";
1133  
1134    if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1135      _typeof = function _typeof(obj) {
1136        return typeof obj;
1137      };
1138    } else {
1139      _typeof = function _typeof(obj) {
1140        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1141      };
1142    }
1143  
1144    return _typeof(obj);
1145  }
1146  
1147  /***/ }),
1148  
1149  /***/ 42:
1150  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1151  
1152  "use strict";
1153  
1154  
1155  var LEAF_KEY, hasWeakMap;
1156  
1157  /**
1158   * Arbitrary value used as key for referencing cache object in WeakMap tree.
1159   *
1160   * @type {Object}
1161   */
1162  LEAF_KEY = {};
1163  
1164  /**
1165   * Whether environment supports WeakMap.
1166   *
1167   * @type {boolean}
1168   */
1169  hasWeakMap = typeof WeakMap !== 'undefined';
1170  
1171  /**
1172   * Returns the first argument as the sole entry in an array.
1173   *
1174   * @param {*} value Value to return.
1175   *
1176   * @return {Array} Value returned as entry in array.
1177   */
1178  function arrayOf( value ) {
1179      return [ value ];
1180  }
1181  
1182  /**
1183   * Returns true if the value passed is object-like, or false otherwise. A value
1184   * is object-like if it can support property assignment, e.g. object or array.
1185   *
1186   * @param {*} value Value to test.
1187   *
1188   * @return {boolean} Whether value is object-like.
1189   */
1190  function isObjectLike( value ) {
1191      return !! value && 'object' === typeof value;
1192  }
1193  
1194  /**
1195   * Creates and returns a new cache object.
1196   *
1197   * @return {Object} Cache object.
1198   */
1199  function createCache() {
1200      var cache = {
1201          clear: function() {
1202              cache.head = null;
1203          },
1204      };
1205  
1206      return cache;
1207  }
1208  
1209  /**
1210   * Returns true if entries within the two arrays are strictly equal by
1211   * reference from a starting index.
1212   *
1213   * @param {Array}  a         First array.
1214   * @param {Array}  b         Second array.
1215   * @param {number} fromIndex Index from which to start comparison.
1216   *
1217   * @return {boolean} Whether arrays are shallowly equal.
1218   */
1219  function isShallowEqual( a, b, fromIndex ) {
1220      var i;
1221  
1222      if ( a.length !== b.length ) {
1223          return false;
1224      }
1225  
1226      for ( i = fromIndex; i < a.length; i++ ) {
1227          if ( a[ i ] !== b[ i ] ) {
1228              return false;
1229          }
1230      }
1231  
1232      return true;
1233  }
1234  
1235  /**
1236   * Returns a memoized selector function. The getDependants function argument is
1237   * called before the memoized selector and is expected to return an immutable
1238   * reference or array of references on which the selector depends for computing
1239   * its own return value. The memoize cache is preserved only as long as those
1240   * dependant references remain the same. If getDependants returns a different
1241   * reference(s), the cache is cleared and the selector value regenerated.
1242   *
1243   * @param {Function} selector      Selector function.
1244   * @param {Function} getDependants Dependant getter returning an immutable
1245   *                                 reference or array of reference used in
1246   *                                 cache bust consideration.
1247   *
1248   * @return {Function} Memoized selector.
1249   */
1250  /* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
1251      var rootCache, getCache;
1252  
1253      // Use object source as dependant if getter not provided
1254      if ( ! getDependants ) {
1255          getDependants = arrayOf;
1256      }
1257  
1258      /**
1259       * Returns the root cache. If WeakMap is supported, this is assigned to the
1260       * root WeakMap cache set, otherwise it is a shared instance of the default
1261       * cache object.
1262       *
1263       * @return {(WeakMap|Object)} Root cache object.
1264       */
1265  	function getRootCache() {
1266          return rootCache;
1267      }
1268  
1269      /**
1270       * Returns the cache for a given dependants array. When possible, a WeakMap
1271       * will be used to create a unique cache for each set of dependants. This
1272       * is feasible due to the nature of WeakMap in allowing garbage collection
1273       * to occur on entries where the key object is no longer referenced. Since
1274       * WeakMap requires the key to be an object, this is only possible when the
1275       * dependant is object-like. The root cache is created as a hierarchy where
1276       * each top-level key is the first entry in a dependants set, the value a
1277       * WeakMap where each key is the next dependant, and so on. This continues
1278       * so long as the dependants are object-like. If no dependants are object-
1279       * like, then the cache is shared across all invocations.
1280       *
1281       * @see isObjectLike
1282       *
1283       * @param {Array} dependants Selector dependants.
1284       *
1285       * @return {Object} Cache object.
1286       */
1287  	function getWeakMapCache( dependants ) {
1288          var caches = rootCache,
1289              isUniqueByDependants = true,
1290              i, dependant, map, cache;
1291  
1292          for ( i = 0; i < dependants.length; i++ ) {
1293              dependant = dependants[ i ];
1294  
1295              // Can only compose WeakMap from object-like key.
1296              if ( ! isObjectLike( dependant ) ) {
1297                  isUniqueByDependants = false;
1298                  break;
1299              }
1300  
1301              // Does current segment of cache already have a WeakMap?
1302              if ( caches.has( dependant ) ) {
1303                  // Traverse into nested WeakMap.
1304                  caches = caches.get( dependant );
1305              } else {
1306                  // Create, set, and traverse into a new one.
1307                  map = new WeakMap();
1308                  caches.set( dependant, map );
1309                  caches = map;
1310              }
1311          }
1312  
1313          // We use an arbitrary (but consistent) object as key for the last item
1314          // in the WeakMap to serve as our running cache.
1315          if ( ! caches.has( LEAF_KEY ) ) {
1316              cache = createCache();
1317              cache.isUniqueByDependants = isUniqueByDependants;
1318              caches.set( LEAF_KEY, cache );
1319          }
1320  
1321          return caches.get( LEAF_KEY );
1322      }
1323  
1324      // Assign cache handler by availability of WeakMap
1325      getCache = hasWeakMap ? getWeakMapCache : getRootCache;
1326  
1327      /**
1328       * Resets root memoization cache.
1329       */
1330  	function clear() {
1331          rootCache = hasWeakMap ? new WeakMap() : createCache();
1332      }
1333  
1334      // eslint-disable-next-line jsdoc/check-param-names
1335      /**
1336       * The augmented selector call, considering first whether dependants have
1337       * changed before passing it to underlying memoize function.
1338       *
1339       * @param {Object} source    Source object for derivation.
1340       * @param {...*}   extraArgs Additional arguments to pass to selector.
1341       *
1342       * @return {*} Selector result.
1343       */
1344  	function callSelector( /* source, ...extraArgs */ ) {
1345          var len = arguments.length,
1346              cache, node, i, args, dependants;
1347  
1348          // Create copy of arguments (avoid leaking deoptimization).
1349          args = new Array( len );
1350          for ( i = 0; i < len; i++ ) {
1351              args[ i ] = arguments[ i ];
1352          }
1353  
1354          dependants = getDependants.apply( null, args );
1355          cache = getCache( dependants );
1356  
1357          // If not guaranteed uniqueness by dependants (primitive type or lack
1358          // of WeakMap support), shallow compare against last dependants and, if
1359          // references have changed, destroy cache to recalculate result.
1360          if ( ! cache.isUniqueByDependants ) {
1361              if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
1362                  cache.clear();
1363              }
1364  
1365              cache.lastDependants = dependants;
1366          }
1367  
1368          node = cache.head;
1369          while ( node ) {
1370              // Check whether node arguments match arguments
1371              if ( ! isShallowEqual( node.args, args, 1 ) ) {
1372                  node = node.next;
1373                  continue;
1374              }
1375  
1376              // At this point we can assume we've found a match
1377  
1378              // Surface matched node to head if not already
1379              if ( node !== cache.head ) {
1380                  // Adjust siblings to point to each other.
1381                  node.prev.next = node.next;
1382                  if ( node.next ) {
1383                      node.next.prev = node.prev;
1384                  }
1385  
1386                  node.next = cache.head;
1387                  node.prev = null;
1388                  cache.head.prev = node;
1389                  cache.head = node;
1390              }
1391  
1392              // Return immediately
1393              return node.val;
1394          }
1395  
1396          // No cached value found. Continue to insertion phase:
1397  
1398          node = {
1399              // Generate the result from original function
1400              val: selector.apply( null, args ),
1401          };
1402  
1403          // Avoid including the source object in the cache.
1404          args[ 0 ] = null;
1405          node.args = args;
1406  
1407          // Don't need to check whether node is already head, since it would
1408          // have been returned above already if it was
1409  
1410          // Shift existing head down list
1411          if ( cache.head ) {
1412              cache.head.prev = node;
1413              node.next = cache.head;
1414          }
1415  
1416          cache.head = node;
1417  
1418          return node.val;
1419      }
1420  
1421      callSelector.getDependants = getDependants;
1422      callSelector.clear = clear;
1423      clear();
1424  
1425      return callSelector;
1426  });
1427  
1428  
1429  /***/ }),
1430  
1431  /***/ 43:
1432  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1433  
1434  "use strict";
1435  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
1436  function _objectWithoutPropertiesLoose(source, excluded) {
1437    if (source == null) return {};
1438    var target = {};
1439    var sourceKeys = Object.keys(source);
1440    var key, i;
1441  
1442    for (i = 0; i < sourceKeys.length; i++) {
1443      key = sourceKeys[i];
1444      if (excluded.indexOf(key) >= 0) continue;
1445      target[key] = source[key];
1446    }
1447  
1448    return target;
1449  }
1450  
1451  /***/ }),
1452  
1453  /***/ 432:
1454  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1455  
1456  "use strict";
1457  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1458  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1459  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
1460  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1461  
1462  
1463  /**
1464   * WordPress dependencies
1465   */
1466  
1467  var external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1468    xmlns: "http://www.w3.org/2000/svg",
1469    viewBox: "0 0 24 24"
1470  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1471    d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
1472  }));
1473  /* harmony default export */ __webpack_exports__["a"] = (external);
1474  
1475  
1476  /***/ }),
1477  
1478  /***/ 443:
1479  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1480  
1481  "use strict";
1482  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1483  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1484  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
1485  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1486  
1487  
1488  /**
1489   * WordPress dependencies
1490   */
1491  
1492  var plugins = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1493    xmlns: "http://www.w3.org/2000/svg",
1494    viewBox: "0 0 24 24"
1495  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1496    d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"
1497  }));
1498  /* harmony default export */ __webpack_exports__["a"] = (plugins);
1499  
1500  
1501  /***/ }),
1502  
1503  /***/ 46:
1504  /***/ (function(module, exports) {
1505  
1506  (function() { module.exports = this["wp"]["a11y"]; }());
1507  
1508  /***/ }),
1509  
1510  /***/ 461:
1511  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1512  
1513  "use strict";
1514  // ESM COMPAT FLAG
1515  __webpack_require__.r(__webpack_exports__);
1516  
1517  // EXPORTS
1518  __webpack_require__.d(__webpack_exports__, "reinitializeEditor", function() { return /* binding */ reinitializeEditor; });
1519  __webpack_require__.d(__webpack_exports__, "initializeEditor", function() { return /* binding */ initializeEditor; });
1520  __webpack_require__.d(__webpack_exports__, "PluginBlockSettingsMenuItem", function() { return /* reexport */ plugin_block_settings_menu_item; });
1521  __webpack_require__.d(__webpack_exports__, "PluginDocumentSettingPanel", function() { return /* reexport */ plugin_document_setting_panel["a" /* default */]; });
1522  __webpack_require__.d(__webpack_exports__, "PluginMoreMenuItem", function() { return /* reexport */ plugin_more_menu_item; });
1523  __webpack_require__.d(__webpack_exports__, "PluginPostPublishPanel", function() { return /* reexport */ plugin_post_publish_panel; });
1524  __webpack_require__.d(__webpack_exports__, "PluginPostStatusInfo", function() { return /* reexport */ plugin_post_status_info; });
1525  __webpack_require__.d(__webpack_exports__, "PluginPrePublishPanel", function() { return /* reexport */ plugin_pre_publish_panel; });
1526  __webpack_require__.d(__webpack_exports__, "PluginSidebar", function() { return /* reexport */ PluginSidebarEditPost; });
1527  __webpack_require__.d(__webpack_exports__, "PluginSidebarMoreMenuItem", function() { return /* reexport */ PluginSidebarMoreMenuItem; });
1528  __webpack_require__.d(__webpack_exports__, "__experimentalFullscreenModeClose", function() { return /* reexport */ fullscreen_mode_close; });
1529  
1530  // NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
1531  var actions_namespaceObject = {};
1532  __webpack_require__.r(actions_namespaceObject);
1533  __webpack_require__.d(actions_namespaceObject, "openGeneralSidebar", function() { return actions_openGeneralSidebar; });
1534  __webpack_require__.d(actions_namespaceObject, "closeGeneralSidebar", function() { return actions_closeGeneralSidebar; });
1535  __webpack_require__.d(actions_namespaceObject, "openModal", function() { return actions_openModal; });
1536  __webpack_require__.d(actions_namespaceObject, "closeModal", function() { return actions_closeModal; });
1537  __webpack_require__.d(actions_namespaceObject, "openPublishSidebar", function() { return openPublishSidebar; });
1538  __webpack_require__.d(actions_namespaceObject, "closePublishSidebar", function() { return actions_closePublishSidebar; });
1539  __webpack_require__.d(actions_namespaceObject, "togglePublishSidebar", function() { return actions_togglePublishSidebar; });
1540  __webpack_require__.d(actions_namespaceObject, "toggleEditorPanelEnabled", function() { return toggleEditorPanelEnabled; });
1541  __webpack_require__.d(actions_namespaceObject, "toggleEditorPanelOpened", function() { return actions_toggleEditorPanelOpened; });
1542  __webpack_require__.d(actions_namespaceObject, "removeEditorPanel", function() { return removeEditorPanel; });
1543  __webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
1544  __webpack_require__.d(actions_namespaceObject, "switchEditorMode", function() { return actions_switchEditorMode; });
1545  __webpack_require__.d(actions_namespaceObject, "togglePinnedPluginItem", function() { return togglePinnedPluginItem; });
1546  __webpack_require__.d(actions_namespaceObject, "hideBlockTypes", function() { return actions_hideBlockTypes; });
1547  __webpack_require__.d(actions_namespaceObject, "updatePreferredStyleVariations", function() { return actions_updatePreferredStyleVariations; });
1548  __webpack_require__.d(actions_namespaceObject, "__experimentalUpdateLocalAutosaveInterval", function() { return __experimentalUpdateLocalAutosaveInterval; });
1549  __webpack_require__.d(actions_namespaceObject, "showBlockTypes", function() { return actions_showBlockTypes; });
1550  __webpack_require__.d(actions_namespaceObject, "setAvailableMetaBoxesPerLocation", function() { return setAvailableMetaBoxesPerLocation; });
1551  __webpack_require__.d(actions_namespaceObject, "requestMetaBoxUpdates", function() { return requestMetaBoxUpdates; });
1552  __webpack_require__.d(actions_namespaceObject, "metaBoxUpdatesSuccess", function() { return metaBoxUpdatesSuccess; });
1553  __webpack_require__.d(actions_namespaceObject, "__experimentalSetPreviewDeviceType", function() { return __experimentalSetPreviewDeviceType; });
1554  __webpack_require__.d(actions_namespaceObject, "setIsInserterOpened", function() { return actions_setIsInserterOpened; });
1555  
1556  // NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
1557  var selectors_namespaceObject = {};
1558  __webpack_require__.r(selectors_namespaceObject);
1559  __webpack_require__.d(selectors_namespaceObject, "getEditorMode", function() { return selectors_getEditorMode; });
1560  __webpack_require__.d(selectors_namespaceObject, "isEditorSidebarOpened", function() { return selectors_isEditorSidebarOpened; });
1561  __webpack_require__.d(selectors_namespaceObject, "isPluginSidebarOpened", function() { return isPluginSidebarOpened; });
1562  __webpack_require__.d(selectors_namespaceObject, "getActiveGeneralSidebarName", function() { return getActiveGeneralSidebarName; });
1563  __webpack_require__.d(selectors_namespaceObject, "getPreferences", function() { return getPreferences; });
1564  __webpack_require__.d(selectors_namespaceObject, "getPreference", function() { return selectors_getPreference; });
1565  __webpack_require__.d(selectors_namespaceObject, "isPublishSidebarOpened", function() { return selectors_isPublishSidebarOpened; });
1566  __webpack_require__.d(selectors_namespaceObject, "isEditorPanelRemoved", function() { return isEditorPanelRemoved; });
1567  __webpack_require__.d(selectors_namespaceObject, "isEditorPanelEnabled", function() { return selectors_isEditorPanelEnabled; });
1568  __webpack_require__.d(selectors_namespaceObject, "isEditorPanelOpened", function() { return selectors_isEditorPanelOpened; });
1569  __webpack_require__.d(selectors_namespaceObject, "isModalActive", function() { return selectors_isModalActive; });
1570  __webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
1571  __webpack_require__.d(selectors_namespaceObject, "isPluginItemPinned", function() { return isPluginItemPinned; });
1572  __webpack_require__.d(selectors_namespaceObject, "getActiveMetaBoxLocations", function() { return getActiveMetaBoxLocations; });
1573  __webpack_require__.d(selectors_namespaceObject, "isMetaBoxLocationVisible", function() { return isMetaBoxLocationVisible; });
1574  __webpack_require__.d(selectors_namespaceObject, "isMetaBoxLocationActive", function() { return isMetaBoxLocationActive; });
1575  __webpack_require__.d(selectors_namespaceObject, "getMetaBoxesPerLocation", function() { return getMetaBoxesPerLocation; });
1576  __webpack_require__.d(selectors_namespaceObject, "getAllMetaBoxes", function() { return getAllMetaBoxes; });
1577  __webpack_require__.d(selectors_namespaceObject, "hasMetaBoxes", function() { return hasMetaBoxes; });
1578  __webpack_require__.d(selectors_namespaceObject, "isSavingMetaBoxes", function() { return selectors_isSavingMetaBoxes; });
1579  __webpack_require__.d(selectors_namespaceObject, "__experimentalGetPreviewDeviceType", function() { return __experimentalGetPreviewDeviceType; });
1580  __webpack_require__.d(selectors_namespaceObject, "isInserterOpened", function() { return selectors_isInserterOpened; });
1581  
1582  // NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
1583  var store_actions_namespaceObject = {};
1584  __webpack_require__.r(store_actions_namespaceObject);
1585  __webpack_require__.d(store_actions_namespaceObject, "enableComplementaryArea", function() { return actions_enableComplementaryArea; });
1586  __webpack_require__.d(store_actions_namespaceObject, "disableComplementaryArea", function() { return actions_disableComplementaryArea; });
1587  __webpack_require__.d(store_actions_namespaceObject, "pinItem", function() { return actions_pinItem; });
1588  __webpack_require__.d(store_actions_namespaceObject, "unpinItem", function() { return actions_unpinItem; });
1589  
1590  // NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
1591  var store_selectors_namespaceObject = {};
1592  __webpack_require__.r(store_selectors_namespaceObject);
1593  __webpack_require__.d(store_selectors_namespaceObject, "getActiveComplementaryArea", function() { return getActiveComplementaryArea; });
1594  __webpack_require__.d(store_selectors_namespaceObject, "isItemPinned", function() { return isItemPinned; });
1595  
1596  // EXTERNAL MODULE: external {"this":["wp","element"]}
1597  var external_this_wp_element_ = __webpack_require__(0);
1598  
1599  // EXTERNAL MODULE: external {"this":["wp","coreData"]}
1600  var external_this_wp_coreData_ = __webpack_require__(83);
1601  
1602  // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
1603  var external_this_wp_blockEditor_ = __webpack_require__(6);
1604  
1605  // EXTERNAL MODULE: external {"this":["wp","editor"]}
1606  var external_this_wp_editor_ = __webpack_require__(34);
1607  
1608  // EXTERNAL MODULE: external {"this":["wp","keyboardShortcuts"]}
1609  var external_this_wp_keyboardShortcuts_ = __webpack_require__(53);
1610  
1611  // EXTERNAL MODULE: external {"this":["wp","reusableBlocks"]}
1612  var external_this_wp_reusableBlocks_ = __webpack_require__(121);
1613  
1614  // EXTERNAL MODULE: external {"this":["wp","viewport"]}
1615  var external_this_wp_viewport_ = __webpack_require__(101);
1616  
1617  // EXTERNAL MODULE: external {"this":["wp","notices"]}
1618  var external_this_wp_notices_ = __webpack_require__(92);
1619  
1620  // EXTERNAL MODULE: external {"this":["wp","blockLibrary"]}
1621  var external_this_wp_blockLibrary_ = __webpack_require__(292);
1622  
1623  // EXTERNAL MODULE: external {"this":["wp","hooks"]}
1624  var external_this_wp_hooks_ = __webpack_require__(33);
1625  
1626  // EXTERNAL MODULE: external {"this":["wp","mediaUtils"]}
1627  var external_this_wp_mediaUtils_ = __webpack_require__(155);
1628  
1629  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/components/index.js
1630  /**
1631   * WordPress dependencies
1632   */
1633  
1634  
1635  
1636  var components_replaceMediaUpload = function replaceMediaUpload() {
1637    return external_this_wp_mediaUtils_["MediaUpload"];
1638  };
1639  
1640  Object(external_this_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-post/replace-media-upload', components_replaceMediaUpload);
1641  
1642  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
1643  var esm_extends = __webpack_require__(8);
1644  
1645  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
1646  var objectWithoutProperties = __webpack_require__(14);
1647  
1648  // EXTERNAL MODULE: external {"this":"lodash"}
1649  var external_this_lodash_ = __webpack_require__(2);
1650  
1651  // EXTERNAL MODULE: external {"this":["wp","blocks"]}
1652  var external_this_wp_blocks_ = __webpack_require__(11);
1653  
1654  // EXTERNAL MODULE: external {"this":["wp","components"]}
1655  var external_this_wp_components_ = __webpack_require__(3);
1656  
1657  // EXTERNAL MODULE: external {"this":["wp","data"]}
1658  var external_this_wp_data_ = __webpack_require__(4);
1659  
1660  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
1661  var external_this_wp_i18n_ = __webpack_require__(1);
1662  
1663  // EXTERNAL MODULE: external {"this":["wp","compose"]}
1664  var external_this_wp_compose_ = __webpack_require__(10);
1665  
1666  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/validate-multiple-use/index.js
1667  
1668  
1669  
1670  
1671  /**
1672   * External dependencies
1673   */
1674  
1675  /**
1676   * WordPress dependencies
1677   */
1678  
1679  
1680  
1681  
1682  
1683  
1684  
1685  
1686  var enhance = Object(external_this_wp_compose_["compose"])(
1687  /**
1688   * For blocks whose block type doesn't support `multiple`, provides the
1689   * wrapped component with `originalBlockClientId` -- a reference to the
1690   * first block of the same type in the content -- if and only if that
1691   * "original" block is not the current one. Thus, an inexisting
1692   * `originalBlockClientId` prop signals that the block is valid.
1693   *
1694   * @param {WPComponent} WrappedBlockEdit A filtered BlockEdit instance.
1695   *
1696   * @return {WPComponent} Enhanced component with merged state data props.
1697   */
1698  Object(external_this_wp_data_["withSelect"])(function (select, block) {
1699    var multiple = Object(external_this_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true); // For block types with `multiple` support, there is no "original
1700    // block" to be found in the content, as the block itself is valid.
1701  
1702    if (multiple) {
1703      return {};
1704    } // Otherwise, only pass `originalBlockClientId` if it refers to a different
1705    // block from the current one.
1706  
1707  
1708    var blocks = select('core/block-editor').getBlocks();
1709    var firstOfSameType = Object(external_this_lodash_["find"])(blocks, function (_ref) {
1710      var name = _ref.name;
1711      return block.name === name;
1712    });
1713    var isInvalid = firstOfSameType && firstOfSameType.clientId !== block.clientId;
1714    return {
1715      originalBlockClientId: isInvalid && firstOfSameType.clientId
1716    };
1717  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) {
1718    var originalBlockClientId = _ref2.originalBlockClientId;
1719    return {
1720      selectFirst: function selectFirst() {
1721        return dispatch('core/block-editor').selectBlock(originalBlockClientId);
1722      }
1723    };
1724  }));
1725  var withMultipleValidation = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (BlockEdit) {
1726    return enhance(function (_ref3) {
1727      var originalBlockClientId = _ref3.originalBlockClientId,
1728          selectFirst = _ref3.selectFirst,
1729          props = Object(objectWithoutProperties["a" /* default */])(_ref3, ["originalBlockClientId", "selectFirst"]);
1730  
1731      if (!originalBlockClientId) {
1732        return Object(external_this_wp_element_["createElement"])(BlockEdit, props);
1733      }
1734  
1735      var blockType = Object(external_this_wp_blocks_["getBlockType"])(props.name);
1736      var outboundType = getOutboundType(props.name);
1737      return [Object(external_this_wp_element_["createElement"])("div", {
1738        key: "invalid-preview",
1739        style: {
1740          minHeight: '60px'
1741        }
1742      }, Object(external_this_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
1743        key: "block-edit"
1744      }, props))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Warning"], {
1745        key: "multiple-use-warning",
1746        actions: [Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
1747          key: "find-original",
1748          isSecondary: true,
1749          onClick: selectFirst
1750        }, Object(external_this_wp_i18n_["__"])('Find original')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
1751          key: "remove",
1752          isSecondary: true,
1753          onClick: function onClick() {
1754            return props.onReplace([]);
1755          }
1756        }, Object(external_this_wp_i18n_["__"])('Remove')), outboundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
1757          key: "transform",
1758          isSecondary: true,
1759          onClick: function onClick() {
1760            return props.onReplace(Object(external_this_wp_blocks_["createBlock"])(outboundType.name, props.attributes));
1761          }
1762        }, Object(external_this_wp_i18n_["__"])('Transform into:'), " ", outboundType.title)]
1763      }, Object(external_this_wp_element_["createElement"])("strong", null, blockType.title, ": "), Object(external_this_wp_i18n_["__"])('This block can only be used once.'))];
1764    });
1765  }, 'withMultipleValidation');
1766  /**
1767   * Given a base block name, returns the default block type to which to offer
1768   * transforms.
1769   *
1770   * @param {string} blockName Base block name.
1771   *
1772   * @return {?Object} The chosen default block type.
1773   */
1774  
1775  function getOutboundType(blockName) {
1776    // Grab the first outbound transform
1777    var transform = Object(external_this_wp_blocks_["findTransform"])(Object(external_this_wp_blocks_["getBlockTransforms"])('to', blockName), function (_ref4) {
1778      var type = _ref4.type,
1779          blocks = _ref4.blocks;
1780      return type === 'block' && blocks.length === 1;
1781    } // What about when .length > 1?
1782    );
1783  
1784    if (!transform) {
1785      return null;
1786    }
1787  
1788    return Object(external_this_wp_blocks_["getBlockType"])(transform.blocks[0]);
1789  }
1790  
1791  Object(external_this_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post/validate-multiple-use/with-multiple-validation', withMultipleValidation);
1792  
1793  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/index.js
1794  /**
1795   * Internal dependencies
1796   */
1797  
1798  
1799  
1800  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
1801  var external = __webpack_require__(432);
1802  
1803  // EXTERNAL MODULE: external {"this":["wp","plugins"]}
1804  var external_this_wp_plugins_ = __webpack_require__(77);
1805  
1806  // EXTERNAL MODULE: external {"this":["wp","url"]}
1807  var external_this_wp_url_ = __webpack_require__(30);
1808  
1809  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js
1810  
1811  
1812  /**
1813   * WordPress dependencies
1814   */
1815  
1816  
1817  
1818  
1819  
1820  
1821  function CopyContentMenuItem(_ref) {
1822    var createNotice = _ref.createNotice,
1823        editedPostContent = _ref.editedPostContent;
1824    var ref = Object(external_this_wp_element_["useRef"])();
1825    var hasCopied = Object(external_this_wp_compose_["useCopyOnClick"])(ref, editedPostContent);
1826    Object(external_this_wp_element_["useEffect"])(function () {
1827      if (!hasCopied) {
1828        return;
1829      }
1830  
1831      createNotice('info', Object(external_this_wp_i18n_["__"])('All content copied.'), {
1832        isDismissible: true,
1833        type: 'snackbar'
1834      });
1835    }, [hasCopied]);
1836    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1837      ref: ref
1838    }, hasCopied ? Object(external_this_wp_i18n_["__"])('Copied!') : Object(external_this_wp_i18n_["__"])('Copy all content'));
1839  }
1840  
1841  /* harmony default export */ var copy_content_menu_item = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
1842    return {
1843      editedPostContent: select('core/editor').getEditedPostAttribute('content')
1844    };
1845  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
1846    var _dispatch = dispatch('core/notices'),
1847        createNotice = _dispatch.createNotice;
1848  
1849    return {
1850      createNotice: createNotice
1851    };
1852  }), Object(external_this_wp_compose_["ifCondition"])(function (_ref2) {
1853    var editedPostContent = _ref2.editedPostContent;
1854    return editedPostContent.length > 0;
1855  }))(CopyContentMenuItem));
1856  
1857  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/manage-blocks-menu-item/index.js
1858  
1859  
1860  /**
1861   * WordPress dependencies
1862   */
1863  
1864  
1865  
1866  function ManageBlocksMenuItem(_ref) {
1867    var openModal = _ref.openModal;
1868    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1869      onClick: function onClick() {
1870        openModal('edit-post/manage-blocks');
1871      }
1872    }, Object(external_this_wp_i18n_["__"])('Block Manager'));
1873  }
1874  /* harmony default export */ var manage_blocks_menu_item = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
1875    var _dispatch = dispatch('core/edit-post'),
1876        openModal = _dispatch.openModal;
1877  
1878    return {
1879      openModal: openModal
1880    };
1881  })(ManageBlocksMenuItem));
1882  
1883  // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
1884  var external_this_wp_keycodes_ = __webpack_require__(18);
1885  
1886  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js
1887  
1888  
1889  /**
1890   * WordPress dependencies
1891   */
1892  
1893  
1894  
1895  
1896  function KeyboardShortcutsHelpMenuItem(_ref) {
1897    var openModal = _ref.openModal;
1898    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1899      onClick: function onClick() {
1900        openModal('edit-post/keyboard-shortcut-help');
1901      },
1902      shortcut: external_this_wp_keycodes_["displayShortcut"].access('h')
1903    }, Object(external_this_wp_i18n_["__"])('Keyboard shortcuts'));
1904  }
1905  /* harmony default export */ var keyboard_shortcuts_help_menu_item = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
1906    var _dispatch = dispatch('core/edit-post'),
1907        openModal = _dispatch.openModal;
1908  
1909    return {
1910      openModal: openModal
1911    };
1912  })(KeyboardShortcutsHelpMenuItem));
1913  
1914  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/tools-more-menu-group/index.js
1915  
1916  
1917  /**
1918   * External dependencies
1919   */
1920  
1921  /**
1922   * WordPress dependencies
1923   */
1924  
1925  
1926  
1927  
1928  var _createSlotFill = Object(external_this_wp_components_["createSlotFill"])('ToolsMoreMenuGroup'),
1929      ToolsMoreMenuGroup = _createSlotFill.Fill,
1930      tools_more_menu_group_Slot = _createSlotFill.Slot;
1931  
1932  ToolsMoreMenuGroup.Slot = function (_ref) {
1933    var fillProps = _ref.fillProps;
1934    return Object(external_this_wp_element_["createElement"])(tools_more_menu_group_Slot, {
1935      fillProps: fillProps
1936    }, function (fills) {
1937      return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
1938        label: Object(external_this_wp_i18n_["__"])('Tools')
1939      }, fills);
1940    });
1941  };
1942  
1943  /* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup);
1944  
1945  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/welcome-guide-menu-item/index.js
1946  
1947  
1948  /**
1949   * WordPress dependencies
1950   */
1951  
1952  
1953  
1954  function WelcomeGuideMenuItem() {
1955    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
1956        toggleFeature = _useDispatch.toggleFeature;
1957  
1958    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1959      onClick: function onClick() {
1960        return toggleFeature('welcomeGuide');
1961      }
1962    }, Object(external_this_wp_i18n_["__"])('Welcome Guide'));
1963  }
1964  
1965  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/index.js
1966  
1967  
1968  /**
1969   * WordPress dependencies
1970   */
1971  
1972  
1973  
1974  
1975  
1976  /**
1977   * Internal dependencies
1978   */
1979  
1980  
1981  
1982  
1983  
1984  
1985  Object(external_this_wp_plugins_["registerPlugin"])('edit-post', {
1986    render: function render() {
1987      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(tools_more_menu_group, null, function (_ref) {
1988        var onClose = _ref.onClose;
1989        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(manage_blocks_menu_item, {
1990          onSelect: onClose
1991        }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1992          role: "menuitem",
1993          href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', {
1994            post_type: 'wp_block'
1995          })
1996        }, Object(external_this_wp_i18n_["__"])('Manage all reusable blocks')), Object(external_this_wp_element_["createElement"])(keyboard_shortcuts_help_menu_item, {
1997          onSelect: onClose
1998        }), Object(external_this_wp_element_["createElement"])(WelcomeGuideMenuItem, null), Object(external_this_wp_element_["createElement"])(copy_content_menu_item, null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
1999          role: "menuitem",
2000          icon: external["a" /* default */],
2001          href: Object(external_this_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/'),
2002          target: "_blank",
2003          rel: "noopener noreferrer"
2004        }, Object(external_this_wp_i18n_["__"])('Help'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["VisuallyHidden"], {
2005          as: "span"
2006        },
2007        /* translators: accessibility text */
2008        Object(external_this_wp_i18n_["__"])('(opens in a new tab)'))));
2009      }));
2010    }
2011  });
2012  
2013  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
2014  var defineProperty = __webpack_require__(5);
2015  
2016  // EXTERNAL MODULE: external {"this":["wp","dataControls"]}
2017  var external_this_wp_dataControls_ = __webpack_require__(32);
2018  
2019  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
2020  var toConsumableArray = __webpack_require__(17);
2021  
2022  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/defaults.js
2023  var PREFERENCES_DEFAULTS = {
2024    editorMode: 'visual',
2025    panels: {
2026      'post-status': {
2027        opened: true
2028      }
2029    },
2030    features: {
2031      fixedToolbar: false,
2032      welcomeGuide: true,
2033      fullscreenMode: true,
2034      showIconLabels: false,
2035      themeStyles: true
2036    },
2037    hiddenBlockTypes: [],
2038    preferredStyleVariations: {},
2039    localAutosaveInterval: 15
2040  };
2041  
2042  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
2043  
2044  
2045  
2046  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
2047  
2048  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
2049  
2050  /**
2051   * External dependencies
2052   */
2053  
2054  /**
2055   * WordPress dependencies
2056   */
2057  
2058  
2059  /**
2060   * Internal dependencies
2061   */
2062  
2063  
2064  /**
2065   * Higher-order reducer creator which provides the given initial state for the
2066   * original reducer.
2067   *
2068   * @param {*} initialState Initial state to provide to reducer.
2069   *
2070   * @return {Function} Higher-order reducer.
2071   */
2072  
2073  var createWithInitialState = function createWithInitialState(initialState) {
2074    return function (reducer) {
2075      return function () {
2076        var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
2077        var action = arguments.length > 1 ? arguments[1] : undefined;
2078        return reducer(state, action);
2079      };
2080    };
2081  };
2082  /**
2083   * Reducer returning the user preferences.
2084   *
2085   * @param {Object}  state                           Current state.
2086   * @param {string}  state.mode                      Current editor mode, either
2087   *                                                  "visual" or "text".
2088   * @param {boolean} state.isGeneralSidebarDismissed Whether general sidebar is
2089   *                                                  dismissed. False by default
2090   *                                                  or when closing general
2091   *                                                  sidebar, true when opening
2092   *                                                  sidebar.
2093   * @param {boolean} state.isSidebarOpened           Whether the sidebar is
2094   *                                                  opened or closed.
2095   * @param {Object}  state.panels                    The state of the different
2096   *                                                  sidebar panels.
2097   * @param {Object}  action                          Dispatched action.
2098   *
2099   * @return {Object} Updated state.
2100   */
2101  
2102  
2103  var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_["combineReducers"], createWithInitialState(PREFERENCES_DEFAULTS)])({
2104    panels: function panels(state, action) {
2105      switch (action.type) {
2106        case 'TOGGLE_PANEL_ENABLED':
2107          {
2108            var panelName = action.panelName;
2109            return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, panelName, _objectSpread(_objectSpread({}, state[panelName]), {}, {
2110              enabled: !Object(external_this_lodash_["get"])(state, [panelName, 'enabled'], true)
2111            })));
2112          }
2113  
2114        case 'TOGGLE_PANEL_OPENED':
2115          {
2116            var _panelName = action.panelName;
2117            var isOpen = state[_panelName] === true || Object(external_this_lodash_["get"])(state, [_panelName, 'opened'], false);
2118            return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, _panelName, _objectSpread(_objectSpread({}, state[_panelName]), {}, {
2119              opened: !isOpen
2120            })));
2121          }
2122      }
2123  
2124      return state;
2125    },
2126    features: function features(state, action) {
2127      if (action.type === 'TOGGLE_FEATURE') {
2128        return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, action.feature, !state[action.feature]));
2129      }
2130  
2131      return state;
2132    },
2133    editorMode: function editorMode(state, action) {
2134      if (action.type === 'SWITCH_MODE') {
2135        return action.mode;
2136      }
2137  
2138      return state;
2139    },
2140    hiddenBlockTypes: function hiddenBlockTypes(state, action) {
2141      switch (action.type) {
2142        case 'SHOW_BLOCK_TYPES':
2143          return external_this_lodash_["without"].apply(void 0, [state].concat(Object(toConsumableArray["a" /* default */])(action.blockNames)));
2144  
2145        case 'HIDE_BLOCK_TYPES':
2146          return Object(external_this_lodash_["union"])(state, action.blockNames);
2147      }
2148  
2149      return state;
2150    },
2151    preferredStyleVariations: function preferredStyleVariations(state, action) {
2152      switch (action.type) {
2153        case 'UPDATE_PREFERRED_STYLE_VARIATIONS':
2154          {
2155            if (!action.blockName) {
2156              return state;
2157            }
2158  
2159            if (!action.blockStyle) {
2160              return Object(external_this_lodash_["omit"])(state, [action.blockName]);
2161            }
2162  
2163            return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, action.blockName, action.blockStyle));
2164          }
2165      }
2166  
2167      return state;
2168    },
2169    localAutosaveInterval: function localAutosaveInterval(state, action) {
2170      switch (action.type) {
2171        case 'UPDATE_LOCAL_AUTOSAVE_INTERVAL':
2172          return action.interval;
2173      }
2174  
2175      return state;
2176    }
2177  });
2178  /**
2179   * Reducer storing the list of all programmatically removed panels.
2180   *
2181   * @param {Array}  state  Current state.
2182   * @param {Object} action Action object.
2183   *
2184   * @return {Array} Updated state.
2185   */
2186  
2187  function removedPanels() {
2188    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
2189    var action = arguments.length > 1 ? arguments[1] : undefined;
2190  
2191    switch (action.type) {
2192      case 'REMOVE_PANEL':
2193        if (!Object(external_this_lodash_["includes"])(state, action.panelName)) {
2194          return [].concat(Object(toConsumableArray["a" /* default */])(state), [action.panelName]);
2195        }
2196  
2197    }
2198  
2199    return state;
2200  }
2201  /**
2202   * Reducer for storing the name of the open modal, or null if no modal is open.
2203   *
2204   * @param {Object} state  Previous state.
2205   * @param {Object} action Action object containing the `name` of the modal
2206   *
2207   * @return {Object} Updated state
2208   */
2209  
2210  function activeModal() {
2211    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
2212    var action = arguments.length > 1 ? arguments[1] : undefined;
2213  
2214    switch (action.type) {
2215      case 'OPEN_MODAL':
2216        return action.name;
2217  
2218      case 'CLOSE_MODAL':
2219        return null;
2220    }
2221  
2222    return state;
2223  }
2224  function publishSidebarActive() {
2225    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
2226    var action = arguments.length > 1 ? arguments[1] : undefined;
2227  
2228    switch (action.type) {
2229      case 'OPEN_PUBLISH_SIDEBAR':
2230        return true;
2231  
2232      case 'CLOSE_PUBLISH_SIDEBAR':
2233        return false;
2234  
2235      case 'TOGGLE_PUBLISH_SIDEBAR':
2236        return !state;
2237    }
2238  
2239    return state;
2240  }
2241  /**
2242   * Reducer keeping track of the meta boxes isSaving state.
2243   * A "true" value means the meta boxes saving request is in-flight.
2244   *
2245   *
2246   * @param {boolean}  state   Previous state.
2247   * @param {Object}   action  Action Object.
2248   *
2249   * @return {Object} Updated state.
2250   */
2251  
2252  function reducer_isSavingMetaBoxes() {
2253    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
2254    var action = arguments.length > 1 ? arguments[1] : undefined;
2255  
2256    switch (action.type) {
2257      case 'REQUEST_META_BOX_UPDATES':
2258        return true;
2259  
2260      case 'META_BOX_UPDATES_SUCCESS':
2261        return false;
2262  
2263      default:
2264        return state;
2265    }
2266  }
2267  /**
2268   * Reducer keeping track of the meta boxes per location.
2269   *
2270   * @param {boolean}  state   Previous state.
2271   * @param {Object}   action  Action Object.
2272   *
2273   * @return {Object} Updated state.
2274   */
2275  
2276  function metaBoxLocations() {
2277    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2278    var action = arguments.length > 1 ? arguments[1] : undefined;
2279  
2280    switch (action.type) {
2281      case 'SET_META_BOXES_PER_LOCATIONS':
2282        return action.metaBoxesPerLocation;
2283    }
2284  
2285    return state;
2286  }
2287  /**
2288   * Reducer returning the editing canvas device type.
2289   *
2290   * @param {Object} state  Current state.
2291   * @param {Object} action Dispatched action.
2292   *
2293   * @return {Object} Updated state.
2294   */
2295  
2296  function reducer_deviceType() {
2297    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Desktop';
2298    var action = arguments.length > 1 ? arguments[1] : undefined;
2299  
2300    switch (action.type) {
2301      case 'SET_PREVIEW_DEVICE_TYPE':
2302        return action.deviceType;
2303    }
2304  
2305    return state;
2306  }
2307  /**
2308   * Reducer tracking whether the inserter is open.
2309   *
2310   * @param {boolean} state
2311   * @param {Object}  action
2312   */
2313  
2314  function reducer_isInserterOpened() {
2315    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
2316    var action = arguments.length > 1 ? arguments[1] : undefined;
2317  
2318    switch (action.type) {
2319      case 'SET_IS_INSERTER_OPENED':
2320        return action.value;
2321    }
2322  
2323    return state;
2324  }
2325  
2326  var reducer_metaBoxes = Object(external_this_wp_data_["combineReducers"])({
2327    isSaving: reducer_isSavingMetaBoxes,
2328    locations: metaBoxLocations
2329  });
2330  /* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({
2331    activeModal: activeModal,
2332    metaBoxes: reducer_metaBoxes,
2333    preferences: preferences,
2334    publishSidebarActive: publishSidebarActive,
2335    removedPanels: removedPanels,
2336    deviceType: reducer_deviceType,
2337    isInserterOpened: reducer_isInserterOpened
2338  }));
2339  
2340  // EXTERNAL MODULE: ./node_modules/refx/refx.js
2341  var refx = __webpack_require__(149);
2342  var refx_default = /*#__PURE__*/__webpack_require__.n(refx);
2343  
2344  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
2345  var slicedToArray = __webpack_require__(12);
2346  
2347  // EXTERNAL MODULE: external {"this":["wp","a11y"]}
2348  var external_this_wp_a11y_ = __webpack_require__(46);
2349  
2350  // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
2351  var external_this_wp_apiFetch_ = __webpack_require__(47);
2352  var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
2353  
2354  // EXTERNAL MODULE: external {"this":"regeneratorRuntime"}
2355  var external_this_regeneratorRuntime_ = __webpack_require__(20);
2356  var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
2357  
2358  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
2359  
2360  
2361  var _marked = /*#__PURE__*/external_this_regeneratorRuntime_default.a.mark(actions_openGeneralSidebar),
2362      _marked2 = /*#__PURE__*/external_this_regeneratorRuntime_default.a.mark(actions_closeGeneralSidebar);
2363  
2364  /**
2365   * External dependencies
2366   */
2367  
2368  /**
2369   * WordPress dependencies
2370   */
2371  
2372  
2373  /**
2374   * Returns an action object used in signalling that the user opened an editor sidebar.
2375   *
2376   * @param {?string} name Sidebar name to be opened.
2377   *
2378   * @yield {Object} Action object.
2379   */
2380  
2381  function actions_openGeneralSidebar(name) {
2382    return external_this_regeneratorRuntime_default.a.wrap(function openGeneralSidebar$(_context) {
2383      while (1) {
2384        switch (_context.prev = _context.next) {
2385          case 0:
2386            _context.next = 2;
2387            return Object(external_this_wp_dataControls_["dispatch"])('core/interface', 'enableComplementaryArea', 'core/edit-post', name);
2388  
2389          case 2:
2390          case "end":
2391            return _context.stop();
2392        }
2393      }
2394    }, _marked);
2395  }
2396  /**
2397   * Returns an action object signalling that the user closed the sidebar.
2398   *
2399   * @yield {Object} Action object.
2400   */
2401  
2402  function actions_closeGeneralSidebar() {
2403    return external_this_regeneratorRuntime_default.a.wrap(function closeGeneralSidebar$(_context2) {
2404      while (1) {
2405        switch (_context2.prev = _context2.next) {
2406          case 0:
2407            _context2.next = 2;
2408            return Object(external_this_wp_dataControls_["dispatch"])('core/interface', 'disableComplementaryArea', 'core/edit-post');
2409  
2410          case 2:
2411          case "end":
2412            return _context2.stop();
2413        }
2414      }
2415    }, _marked2);
2416  }
2417  /**
2418   * Returns an action object used in signalling that the user opened a modal.
2419   *
2420   * @param {string} name A string that uniquely identifies the modal.
2421   *
2422   * @return {Object} Action object.
2423   */
2424  
2425  function actions_openModal(name) {
2426    return {
2427      type: 'OPEN_MODAL',
2428      name: name
2429    };
2430  }
2431  /**
2432   * Returns an action object signalling that the user closed a modal.
2433   *
2434   * @return {Object} Action object.
2435   */
2436  
2437  function actions_closeModal() {
2438    return {
2439      type: 'CLOSE_MODAL'
2440    };
2441  }
2442  /**
2443   * Returns an action object used in signalling that the user opened the publish
2444   * sidebar.
2445   *
2446   * @return {Object} Action object
2447   */
2448  
2449  function openPublishSidebar() {
2450    return {
2451      type: 'OPEN_PUBLISH_SIDEBAR'
2452    };
2453  }
2454  /**
2455   * Returns an action object used in signalling that the user closed the
2456   * publish sidebar.
2457   *
2458   * @return {Object} Action object.
2459   */
2460  
2461  function actions_closePublishSidebar() {
2462    return {
2463      type: 'CLOSE_PUBLISH_SIDEBAR'
2464    };
2465  }
2466  /**
2467   * Returns an action object used in signalling that the user toggles the publish sidebar.
2468   *
2469   * @return {Object} Action object
2470   */
2471  
2472  function actions_togglePublishSidebar() {
2473    return {
2474      type: 'TOGGLE_PUBLISH_SIDEBAR'
2475    };
2476  }
2477  /**
2478   * Returns an action object used to enable or disable a panel in the editor.
2479   *
2480   * @param {string} panelName A string that identifies the panel to enable or disable.
2481   *
2482   * @return {Object} Action object.
2483   */
2484  
2485  function toggleEditorPanelEnabled(panelName) {
2486    return {
2487      type: 'TOGGLE_PANEL_ENABLED',
2488      panelName: panelName
2489    };
2490  }
2491  /**
2492   * Returns an action object used to open or close a panel in the editor.
2493   *
2494   * @param {string} panelName A string that identifies the panel to open or close.
2495   *
2496   * @return {Object} Action object.
2497   */
2498  
2499  function actions_toggleEditorPanelOpened(panelName) {
2500    return {
2501      type: 'TOGGLE_PANEL_OPENED',
2502      panelName: panelName
2503    };
2504  }
2505  /**
2506   * Returns an action object used to remove a panel from the editor.
2507   *
2508   * @param {string} panelName A string that identifies the panel to remove.
2509   *
2510   * @return {Object} Action object.
2511   */
2512  
2513  function removeEditorPanel(panelName) {
2514    return {
2515      type: 'REMOVE_PANEL',
2516      panelName: panelName
2517    };
2518  }
2519  /**
2520   * Returns an action object used to toggle a feature flag.
2521   *
2522   * @param {string} feature Feature name.
2523   *
2524   * @return {Object} Action object.
2525   */
2526  
2527  function actions_toggleFeature(feature) {
2528    return {
2529      type: 'TOGGLE_FEATURE',
2530      feature: feature
2531    };
2532  }
2533  function actions_switchEditorMode(mode) {
2534    return {
2535      type: 'SWITCH_MODE',
2536      mode: mode
2537    };
2538  }
2539  /**
2540   * Returns an action object used to toggle a plugin name flag.
2541   *
2542   * @param {string} pluginName Plugin name.
2543   *
2544   * @return {Object} Action object.
2545   */
2546  
2547  function togglePinnedPluginItem(pluginName) {
2548    return {
2549      type: 'TOGGLE_PINNED_PLUGIN_ITEM',
2550      pluginName: pluginName
2551    };
2552  }
2553  /**
2554   * Returns an action object used in signalling that block types by the given
2555   * name(s) should be hidden.
2556   *
2557   * @param {string[]} blockNames Names of block types to hide.
2558   *
2559   * @return {Object} Action object.
2560   */
2561  
2562  function actions_hideBlockTypes(blockNames) {
2563    return {
2564      type: 'HIDE_BLOCK_TYPES',
2565      blockNames: Object(external_this_lodash_["castArray"])(blockNames)
2566    };
2567  }
2568  /**
2569   * Returns an action object used in signaling that a style should be auto-applied when a block is created.
2570   *
2571   * @param {string}  blockName  Name of the block.
2572   * @param {?string} blockStyle Name of the style that should be auto applied. If undefined, the "auto apply" setting of the block is removed.
2573   *
2574   * @return {Object} Action object.
2575   */
2576  
2577  function actions_updatePreferredStyleVariations(blockName, blockStyle) {
2578    return {
2579      type: 'UPDATE_PREFERRED_STYLE_VARIATIONS',
2580      blockName: blockName,
2581      blockStyle: blockStyle
2582    };
2583  }
2584  /**
2585   * Returns an action object used in signalling that the editor should attempt
2586   * to locally autosave the current post every `interval` seconds.
2587   *
2588   * @param {number} interval The new interval, in seconds.
2589   * @return {Object} Action object.
2590   */
2591  
2592  function __experimentalUpdateLocalAutosaveInterval(interval) {
2593    return {
2594      type: 'UPDATE_LOCAL_AUTOSAVE_INTERVAL',
2595      interval: interval
2596    };
2597  }
2598  /**
2599   * Returns an action object used in signalling that block types by the given
2600   * name(s) should be shown.
2601   *
2602   * @param {string[]} blockNames Names of block types to show.
2603   *
2604   * @return {Object} Action object.
2605   */
2606  
2607  function actions_showBlockTypes(blockNames) {
2608    return {
2609      type: 'SHOW_BLOCK_TYPES',
2610      blockNames: Object(external_this_lodash_["castArray"])(blockNames)
2611    };
2612  }
2613  /**
2614   * Returns an action object used in signaling
2615   * what Meta boxes are available in which location.
2616   *
2617   * @param {Object} metaBoxesPerLocation Meta boxes per location.
2618   *
2619   * @return {Object} Action object.
2620   */
2621  
2622  function setAvailableMetaBoxesPerLocation(metaBoxesPerLocation) {
2623    return {
2624      type: 'SET_META_BOXES_PER_LOCATIONS',
2625      metaBoxesPerLocation: metaBoxesPerLocation
2626    };
2627  }
2628  /**
2629   * Returns an action object used to request meta box update.
2630   *
2631   * @return {Object} Action object.
2632   */
2633  
2634  function requestMetaBoxUpdates() {
2635    return {
2636      type: 'REQUEST_META_BOX_UPDATES'
2637    };
2638  }
2639  /**
2640   * Returns an action object used signal a successful meta box update.
2641   *
2642   * @return {Object} Action object.
2643   */
2644  
2645  function metaBoxUpdatesSuccess() {
2646    return {
2647      type: 'META_BOX_UPDATES_SUCCESS'
2648    };
2649  }
2650  /**
2651   * Returns an action object used to toggle the width of the editing canvas.
2652   *
2653   * @param {string} deviceType
2654   *
2655   * @return {Object} Action object.
2656   */
2657  
2658  function __experimentalSetPreviewDeviceType(deviceType) {
2659    return {
2660      type: 'SET_PREVIEW_DEVICE_TYPE',
2661      deviceType: deviceType
2662    };
2663  }
2664  /**
2665   * Returns an action object used to open/close the inserter.
2666   *
2667   * @param {boolean} value A boolean representing whether the inserter should be opened or closed.
2668   * @return {Object} Action object.
2669   */
2670  
2671  function actions_setIsInserterOpened(value) {
2672    return {
2673      type: 'SET_IS_INSERTER_OPENED',
2674      value: value
2675    };
2676  }
2677  
2678  // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
2679  var rememo = __webpack_require__(42);
2680  
2681  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
2682  /**
2683   * External dependencies
2684   */
2685  
2686  
2687  /**
2688   * WordPress dependencies
2689   */
2690  
2691  
2692  /**
2693   * Returns the current editing mode.
2694   *
2695   * @param {Object} state Global application state.
2696   *
2697   * @return {string} Editing mode.
2698   */
2699  
2700  function selectors_getEditorMode(state) {
2701    return selectors_getPreference(state, 'editorMode', 'visual');
2702  }
2703  /**
2704   * Returns true if the editor sidebar is opened.
2705   *
2706   * @param {Object} state Global application state
2707   *
2708   * @return {boolean} Whether the editor sidebar is opened.
2709   */
2710  
2711  var selectors_isEditorSidebarOpened = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
2712    return function () {
2713      var activeGeneralSidebar = select('core/interface').getActiveComplementaryArea('core/edit-post');
2714      return Object(external_this_lodash_["includes"])(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
2715    };
2716  });
2717  /**
2718   * Returns true if the plugin sidebar is opened.
2719   *
2720   * @param {Object} state Global application state
2721   * @return {boolean}     Whether the plugin sidebar is opened.
2722   */
2723  
2724  var isPluginSidebarOpened = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
2725    return function () {
2726      var activeGeneralSidebar = select('core/interface').getActiveComplementaryArea('core/edit-post');
2727      return !!activeGeneralSidebar && !Object(external_this_lodash_["includes"])(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
2728    };
2729  });
2730  /**
2731   * Returns the current active general sidebar name, or null if there is no
2732   * general sidebar active. The active general sidebar is a unique name to
2733   * identify either an editor or plugin sidebar.
2734   *
2735   * Examples:
2736   *
2737   *  - `edit-post/document`
2738   *  - `my-plugin/insert-image-sidebar`
2739   *
2740   * @param {Object} state Global application state.
2741   *
2742   * @return {?string} Active general sidebar name.
2743   */
2744  
2745  var getActiveGeneralSidebarName = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
2746    return function () {
2747      return select('core/interface').getActiveComplementaryArea('core/edit-post');
2748    };
2749  });
2750  /**
2751   * Returns the preferences (these preferences are persisted locally).
2752   *
2753   * @param {Object} state Global application state.
2754   *
2755   * @return {Object} Preferences Object.
2756   */
2757  
2758  function getPreferences(state) {
2759    return state.preferences;
2760  }
2761  /**
2762   *
2763   * @param {Object} state         Global application state.
2764   * @param {string} preferenceKey Preference Key.
2765   * @param {*}      defaultValue  Default Value.
2766   *
2767   * @return {*} Preference Value.
2768   */
2769  
2770  function selectors_getPreference(state, preferenceKey, defaultValue) {
2771    var preferences = getPreferences(state);
2772    var value = preferences[preferenceKey];
2773    return value === undefined ? defaultValue : value;
2774  }
2775  /**
2776   * Returns true if the publish sidebar is opened.
2777   *
2778   * @param {Object} state Global application state
2779   *
2780   * @return {boolean} Whether the publish sidebar is open.
2781   */
2782  
2783  function selectors_isPublishSidebarOpened(state) {
2784    return state.publishSidebarActive;
2785  }
2786  /**
2787   * Returns true if the given panel was programmatically removed, or false otherwise.
2788   * All panels are not removed by default.
2789   *
2790   * @param {Object} state     Global application state.
2791   * @param {string} panelName A string that identifies the panel.
2792   *
2793   * @return {boolean} Whether or not the panel is removed.
2794   */
2795  
2796  function isEditorPanelRemoved(state, panelName) {
2797    return Object(external_this_lodash_["includes"])(state.removedPanels, panelName);
2798  }
2799  /**
2800   * Returns true if the given panel is enabled, or false otherwise. Panels are
2801   * enabled by default.
2802   *
2803   * @param {Object} state     Global application state.
2804   * @param {string} panelName A string that identifies the panel.
2805   *
2806   * @return {boolean} Whether or not the panel is enabled.
2807   */
2808  
2809  function selectors_isEditorPanelEnabled(state, panelName) {
2810    var panels = selectors_getPreference(state, 'panels');
2811    return !isEditorPanelRemoved(state, panelName) && Object(external_this_lodash_["get"])(panels, [panelName, 'enabled'], true);
2812  }
2813  /**
2814   * Returns true if the given panel is open, or false otherwise. Panels are
2815   * closed by default.
2816   *
2817   * @param  {Object}  state     Global application state.
2818   * @param  {string}  panelName A string that identifies the panel.
2819   *
2820   * @return {boolean} Whether or not the panel is open.
2821   */
2822  
2823  function selectors_isEditorPanelOpened(state, panelName) {
2824    var panels = selectors_getPreference(state, 'panels');
2825    return Object(external_this_lodash_["get"])(panels, [panelName]) === true || Object(external_this_lodash_["get"])(panels, [panelName, 'opened']) === true;
2826  }
2827  /**
2828   * Returns true if a modal is active, or false otherwise.
2829   *
2830   * @param  {Object}  state        Global application state.
2831   * @param  {string}  modalName A string that uniquely identifies the modal.
2832   *
2833   * @return {boolean} Whether the modal is active.
2834   */
2835  
2836  function selectors_isModalActive(state, modalName) {
2837    return state.activeModal === modalName;
2838  }
2839  /**
2840   * Returns whether the given feature is enabled or not.
2841   *
2842   * @param {Object} state   Global application state.
2843   * @param {string} feature Feature slug.
2844   *
2845   * @return {boolean} Is active.
2846   */
2847  
2848  function isFeatureActive(state, feature) {
2849    return Object(external_this_lodash_["get"])(state.preferences.features, [feature], false);
2850  }
2851  /**
2852   * Returns true if the plugin item is pinned to the header.
2853   * When the value is not set it defaults to true.
2854   *
2855   * @param  {Object}  state      Global application state.
2856   * @param  {string}  pluginName Plugin item name.
2857   *
2858   * @return {boolean} Whether the plugin item is pinned.
2859   */
2860  
2861  var isPluginItemPinned = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
2862    return function (pluginName) {
2863      return select('core/interface').isItemPinned('core/edit-post', pluginName);
2864    };
2865  });
2866  /**
2867   * Returns an array of active meta box locations.
2868   *
2869   * @param {Object} state Post editor state.
2870   *
2871   * @return {string[]} Active meta box locations.
2872   */
2873  
2874  var getActiveMetaBoxLocations = Object(rememo["a" /* default */])(function (state) {
2875    return Object.keys(state.metaBoxes.locations).filter(function (location) {
2876      return isMetaBoxLocationActive(state, location);
2877    });
2878  }, function (state) {
2879    return [state.metaBoxes.locations];
2880  });
2881  /**
2882   * Returns true if a metabox location is active and visible
2883   *
2884   * @param {Object} state    Post editor state.
2885   * @param {string} location Meta box location to test.
2886   *
2887   * @return {boolean} Whether the meta box location is active and visible.
2888   */
2889  
2890  function isMetaBoxLocationVisible(state, location) {
2891    return isMetaBoxLocationActive(state, location) && Object(external_this_lodash_["some"])(getMetaBoxesPerLocation(state, location), function (_ref) {
2892      var id = _ref.id;
2893      return selectors_isEditorPanelEnabled(state, "meta-box-".concat(id));
2894    });
2895  }
2896  /**
2897   * Returns true if there is an active meta box in the given location, or false
2898   * otherwise.
2899   *
2900   * @param {Object} state    Post editor state.
2901   * @param {string} location Meta box location to test.
2902   *
2903   * @return {boolean} Whether the meta box location is active.
2904   */
2905  
2906  function isMetaBoxLocationActive(state, location) {
2907    var metaBoxes = getMetaBoxesPerLocation(state, location);
2908    return !!metaBoxes && metaBoxes.length !== 0;
2909  }
2910  /**
2911   * Returns the list of all the available meta boxes for a given location.
2912   *
2913   * @param {Object} state    Global application state.
2914   * @param {string} location Meta box location to test.
2915   *
2916   * @return {?Array} List of meta boxes.
2917   */
2918  
2919  function getMetaBoxesPerLocation(state, location) {
2920    return state.metaBoxes.locations[location];
2921  }
2922  /**
2923   * Returns the list of all the available meta boxes.
2924   *
2925   * @param {Object} state Global application state.
2926   *
2927   * @return {Array} List of meta boxes.
2928   */
2929  
2930  var getAllMetaBoxes = Object(rememo["a" /* default */])(function (state) {
2931    return Object(external_this_lodash_["flatten"])(Object(external_this_lodash_["values"])(state.metaBoxes.locations));
2932  }, function (state) {
2933    return [state.metaBoxes.locations];
2934  });
2935  /**
2936   * Returns true if the post is using Meta Boxes
2937   *
2938   * @param  {Object} state Global application state
2939   *
2940   * @return {boolean} Whether there are metaboxes or not.
2941   */
2942  
2943  function hasMetaBoxes(state) {
2944    return getActiveMetaBoxLocations(state).length > 0;
2945  }
2946  /**
2947   * Returns true if the Meta Boxes are being saved.
2948   *
2949   * @param   {Object}  state Global application state.
2950   *
2951   * @return {boolean} Whether the metaboxes are being saved.
2952   */
2953  
2954  function selectors_isSavingMetaBoxes(state) {
2955    return state.metaBoxes.isSaving;
2956  }
2957  /**
2958   * Returns the current editing canvas device type.
2959   *
2960   * @param {Object} state Global application state.
2961   *
2962   * @return {string} Device type.
2963   */
2964  
2965  function __experimentalGetPreviewDeviceType(state) {
2966    return state.deviceType;
2967  }
2968  /**
2969   * Returns true if the inserter is opened.
2970   *
2971   * @param  {Object}  state Global application state.
2972   *
2973   * @return {boolean} Whether the inserter is opened.
2974   */
2975  
2976  function selectors_isInserterOpened(state) {
2977    return state.isInserterOpened;
2978  }
2979  
2980  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
2981  /**
2982   * Function returning the current Meta Boxes DOM Node in the editor
2983   * whether the meta box area is opened or not.
2984   * If the MetaBox Area is visible returns it, and returns the original container instead.
2985   *
2986   * @param   {string} location Meta Box location.
2987   * @return {string}          HTML content.
2988   */
2989  var getMetaBoxContainer = function getMetaBoxContainer(location) {
2990    var area = document.querySelector(".edit-post-meta-boxes-area.is-".concat(location, " .metabox-location-").concat(location));
2991  
2992    if (area) {
2993      return area;
2994    }
2995  
2996    return document.querySelector('#metaboxes .metabox-location-' + location);
2997  };
2998  
2999  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/effects.js
3000  
3001  
3002  
3003  function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
3004  
3005  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
3006  
3007  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
3008  
3009  /**
3010   * External dependencies
3011   */
3012  
3013  /**
3014   * WordPress dependencies
3015   */
3016  
3017  
3018  
3019  
3020  
3021  /**
3022   * Internal dependencies
3023   */
3024  
3025  
3026  
3027  
3028  var saveMetaboxUnsubscribe;
3029  var effects = {
3030    SET_META_BOXES_PER_LOCATIONS: function SET_META_BOXES_PER_LOCATIONS(action, store) {
3031      // Allow toggling metaboxes panels
3032      // We need to wait for all scripts to load
3033      // If the meta box loads the post script, it will already trigger this.
3034      // After merge in Core, make sure to drop the timeout and update the postboxes script
3035      // to avoid the double binding.
3036      setTimeout(function () {
3037        var postType = Object(external_this_wp_data_["select"])('core/editor').getCurrentPostType();
3038  
3039        if (window.postboxes.page !== postType) {
3040          window.postboxes.add_postbox_toggles(postType);
3041        }
3042      });
3043      var wasSavingPost = Object(external_this_wp_data_["select"])('core/editor').isSavingPost();
3044      var wasAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); // Meta boxes are initialized once at page load. It is not necessary to
3045      // account for updates on each state change.
3046      //
3047      // See: https://github.com/WordPress/WordPress/blob/5.1.1/wp-admin/includes/post.php#L2307-L2309
3048  
3049      var hasActiveMetaBoxes = Object(external_this_wp_data_["select"])('core/edit-post').hasMetaBoxes(); // First remove any existing subscription in order to prevent multiple saves
3050  
3051      if (!!saveMetaboxUnsubscribe) {
3052        saveMetaboxUnsubscribe();
3053      } // Save metaboxes when performing a full save on the post.
3054  
3055  
3056      saveMetaboxUnsubscribe = Object(external_this_wp_data_["subscribe"])(function () {
3057        var isSavingPost = Object(external_this_wp_data_["select"])('core/editor').isSavingPost();
3058        var isAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); // Save metaboxes on save completion, except for autosaves that are not a post preview.
3059  
3060        var shouldTriggerMetaboxesSave = hasActiveMetaBoxes && wasSavingPost && !isSavingPost && !wasAutosavingPost; // Save current state for next inspection.
3061  
3062        wasSavingPost = isSavingPost;
3063        wasAutosavingPost = isAutosavingPost;
3064  
3065        if (shouldTriggerMetaboxesSave) {
3066          store.dispatch(requestMetaBoxUpdates());
3067        }
3068      });
3069    },
3070    REQUEST_META_BOX_UPDATES: function REQUEST_META_BOX_UPDATES(action, store) {
3071      // Saves the wp_editor fields
3072      if (window.tinyMCE) {
3073        window.tinyMCE.triggerSave();
3074      }
3075  
3076      var state = store.getState(); // Additional data needed for backward compatibility.
3077      // If we do not provide this data, the post will be overridden with the default values.
3078  
3079      var post = Object(external_this_wp_data_["select"])('core/editor').getCurrentPost(state);
3080      var additionalData = [post.comment_status ? ['comment_status', post.comment_status] : false, post.ping_status ? ['ping_status', post.ping_status] : false, post.sticky ? ['sticky', post.sticky] : false, post.author ? ['post_author', post.author] : false].filter(Boolean); // We gather all the metaboxes locations data and the base form data
3081  
3082      var baseFormData = new window.FormData(document.querySelector('.metabox-base-form'));
3083      var formDataToMerge = [baseFormData].concat(Object(toConsumableArray["a" /* default */])(getActiveMetaBoxLocations(state).map(function (location) {
3084        return new window.FormData(getMetaBoxContainer(location));
3085      }))); // Merge all form data objects into a single one.
3086  
3087      var formData = Object(external_this_lodash_["reduce"])(formDataToMerge, function (memo, currentFormData) {
3088        var _iterator = _createForOfIteratorHelper(currentFormData),
3089            _step;
3090  
3091        try {
3092          for (_iterator.s(); !(_step = _iterator.n()).done;) {
3093            var _step$value = Object(slicedToArray["a" /* default */])(_step.value, 2),
3094                key = _step$value[0],
3095                value = _step$value[1];
3096  
3097            memo.append(key, value);
3098          }
3099        } catch (err) {
3100          _iterator.e(err);
3101        } finally {
3102          _iterator.f();
3103        }
3104  
3105        return memo;
3106      }, new window.FormData());
3107      additionalData.forEach(function (_ref) {
3108        var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 2),
3109            key = _ref2[0],
3110            value = _ref2[1];
3111  
3112        return formData.append(key, value);
3113      }); // Save the metaboxes
3114  
3115      external_this_wp_apiFetch_default()({
3116        url: window._wpMetaBoxUrl,
3117        method: 'POST',
3118        body: formData,
3119        parse: false
3120      }).then(function () {
3121        return store.dispatch(metaBoxUpdatesSuccess());
3122      });
3123    },
3124    SWITCH_MODE: function SWITCH_MODE(action) {
3125      // Unselect blocks when we switch to the code editor.
3126      if (action.mode !== 'visual') {
3127        Object(external_this_wp_data_["dispatch"])('core/block-editor').clearSelectedBlock();
3128      }
3129  
3130      var message = action.mode === 'visual' ? Object(external_this_wp_i18n_["__"])('Visual editor selected') : Object(external_this_wp_i18n_["__"])('Code editor selected');
3131      Object(external_this_wp_a11y_["speak"])(message, 'assertive');
3132    }
3133  };
3134  /* harmony default export */ var store_effects = (effects);
3135  
3136  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/middlewares.js
3137  
3138  
3139  /**
3140   * External dependencies
3141   */
3142  
3143  
3144  /**
3145   * Internal dependencies
3146   */
3147  
3148  
3149  /**
3150   * Applies the custom middlewares used specifically in the editor module.
3151   *
3152   * @param {Object} store Store Object.
3153   *
3154   * @return {Object} Update Store Object.
3155   */
3156  
3157  function applyMiddlewares(store) {
3158    var middlewares = [refx_default()(store_effects)];
3159  
3160    var enhancedDispatch = function enhancedDispatch() {
3161      throw new Error('Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');
3162    };
3163  
3164    var chain = [];
3165    var middlewareAPI = {
3166      getState: store.getState,
3167      dispatch: function dispatch() {
3168        return enhancedDispatch.apply(void 0, arguments);
3169      }
3170    };
3171    chain = middlewares.map(function (middleware) {
3172      return middleware(middlewareAPI);
3173    });
3174    enhancedDispatch = external_this_lodash_["flowRight"].apply(void 0, Object(toConsumableArray["a" /* default */])(chain))(store.dispatch);
3175    store.dispatch = enhancedDispatch;
3176    return store;
3177  }
3178  
3179  /* harmony default export */ var store_middlewares = (applyMiddlewares);
3180  
3181  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/controls.js
3182  
3183  
3184  /**
3185   * WordPress dependencies
3186   */
3187  
3188  /**
3189   * Calls a selector using the current state.
3190   *
3191   * @param {string} storeName    Store name.
3192   * @param {string} selectorName Selector name.
3193   * @param  {Array} args         Selector arguments.
3194   *
3195   * @return {Object} control descriptor.
3196   */
3197  
3198  function controls_select(storeName, selectorName) {
3199    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
3200      args[_key - 2] = arguments[_key];
3201    }
3202  
3203    return {
3204      type: 'SELECT',
3205      storeName: storeName,
3206      selectorName: selectorName,
3207      args: args
3208    };
3209  }
3210  var controls = {
3211    SELECT: Object(external_this_wp_data_["createRegistryControl"])(function (registry) {
3212      return function (_ref) {
3213        var _registry$select;
3214  
3215        var storeName = _ref.storeName,
3216            selectorName = _ref.selectorName,
3217            args = _ref.args;
3218        return (_registry$select = registry.select(storeName))[selectorName].apply(_registry$select, Object(toConsumableArray["a" /* default */])(args));
3219      };
3220    })
3221  };
3222  /* harmony default export */ var store_controls = (controls);
3223  
3224  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/constants.js
3225  /**
3226   * The identifier for the data store.
3227   *
3228   * @type {string}
3229   */
3230  var STORE_KEY = 'core/edit-post';
3231  /**
3232   * CSS selector string for the admin bar view post link anchor tag.
3233   *
3234   * @type {string}
3235   */
3236  
3237  var VIEW_AS_LINK_SELECTOR = '#wp-admin-bar-view a';
3238  /**
3239   * CSS selector string for the admin bar preview post link anchor tag.
3240   *
3241   * @type {string}
3242   */
3243  
3244  var VIEW_AS_PREVIEW_LINK_SELECTOR = '#wp-admin-bar-preview a';
3245  
3246  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js
3247  
3248  
3249  function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
3250  
3251  function store_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { store_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { store_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
3252  
3253  /**
3254   * WordPress dependencies
3255   */
3256  
3257  
3258  /**
3259   * Internal dependencies
3260   */
3261  
3262  
3263  
3264  
3265  
3266  
3267  
3268  var store_store = Object(external_this_wp_data_["registerStore"])(STORE_KEY, {
3269    reducer: reducer,
3270    actions: actions_namespaceObject,
3271    selectors: selectors_namespaceObject,
3272    controls: store_objectSpread(store_objectSpread({}, external_this_wp_dataControls_["controls"]), store_controls),
3273    persist: ['preferences']
3274  });
3275  store_middlewares(store_store);
3276  /* harmony default export */ var build_module_store = (store_store);
3277  
3278  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
3279  var classCallCheck = __webpack_require__(21);
3280  
3281  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
3282  var createClass = __webpack_require__(22);
3283  
3284  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
3285  var inherits = __webpack_require__(23);
3286  
3287  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
3288  var possibleConstructorReturn = __webpack_require__(24);
3289  
3290  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
3291  var getPrototypeOf = __webpack_require__(19);
3292  
3293  // EXTERNAL MODULE: ./node_modules/memize/index.js
3294  var memize = __webpack_require__(60);
3295  var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
3296  
3297  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/prevent-event-discovery.js
3298  /* harmony default export */ var prevent_event_discovery = ({
3299    't a l e s o f g u t e n b e r g': function tALESOFGUTENBERG(event) {
3300      var ownerDocument = event.target.ownerDocument;
3301  
3302      if (!ownerDocument.activeElement.classList.contains('edit-post-visual-editor') && ownerDocument.activeElement !== ownerDocument.body) {
3303        return;
3304      }
3305  
3306      event.preventDefault();
3307      window.wp.data.dispatch('core/block-editor').insertBlock(window.wp.blocks.createBlock('core/paragraph', {
3308        content: '🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️'
3309      }));
3310    }
3311  });
3312  
3313  // EXTERNAL MODULE: ./node_modules/classnames/index.js
3314  var classnames = __webpack_require__(9);
3315  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
3316  
3317  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
3318  
3319  
3320  function reducer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
3321  
3322  function reducer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { reducer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { reducer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
3323  
3324  /**
3325   * External dependencies
3326   */
3327  
3328  /**
3329   * WordPress dependencies
3330   */
3331  
3332  
3333  /**
3334   * Reducer to keep tract of the active area per scope.
3335   *
3336   * @param {boolean} state           Previous state.
3337   * @param {Object}  action          Action object.
3338   * @param {string}  action.type     Action type.
3339   * @param {string}  action.itemType Type of item.
3340   * @param {string}  action.scope    Item scope.
3341   * @param {string}  action.item     Item name.
3342   *
3343   * @return {Object} Updated state.
3344   */
3345  
3346  function singleEnableItems() {
3347    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3348  
3349    var _ref = arguments.length > 1 ? arguments[1] : undefined,
3350        type = _ref.type,
3351        itemType = _ref.itemType,
3352        scope = _ref.scope,
3353        item = _ref.item;
3354  
3355    if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
3356      return state;
3357    }
3358  
3359    return reducer_objectSpread(reducer_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, itemType, reducer_objectSpread(reducer_objectSpread({}, state[itemType]), {}, Object(defineProperty["a" /* default */])({}, scope, item || null))));
3360  }
3361  /**
3362   * Reducer keeping track of the "pinned" items per scope.
3363   *
3364   * @param {boolean} state           Previous state.
3365   * @param {Object}  action          Action object.
3366   * @param {string}  action.type     Action type.
3367   * @param {string}  action.itemType Type of item.
3368   * @param {string}  action.scope    Item scope.
3369   * @param {string}  action.item     Item name.
3370   * @param {boolean} action.isEnable Whether the item is pinned.
3371   *
3372   * @return {Object} Updated state.
3373   */
3374  
3375  function multipleEnableItems() {
3376    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3377  
3378    var _ref2 = arguments.length > 1 ? arguments[1] : undefined,
3379        type = _ref2.type,
3380        itemType = _ref2.itemType,
3381        scope = _ref2.scope,
3382        item = _ref2.item,
3383        isEnable = _ref2.isEnable;
3384  
3385    if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || Object(external_this_lodash_["get"])(state, [itemType, scope, item]) === isEnable) {
3386      return state;
3387    }
3388  
3389    var currentTypeState = state[itemType] || {};
3390    var currentScopeState = currentTypeState[scope] || {};
3391    return reducer_objectSpread(reducer_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, itemType, reducer_objectSpread(reducer_objectSpread({}, currentTypeState), {}, Object(defineProperty["a" /* default */])({}, scope, reducer_objectSpread(reducer_objectSpread({}, currentScopeState), {}, Object(defineProperty["a" /* default */])({}, item, isEnable || false))))));
3392  }
3393  var enableItems = Object(external_this_wp_data_["combineReducers"])({
3394    singleEnableItems: singleEnableItems,
3395    multipleEnableItems: multipleEnableItems
3396  });
3397  /* harmony default export */ var store_reducer = (Object(external_this_wp_data_["combineReducers"])({
3398    enableItems: enableItems
3399  }));
3400  
3401  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
3402  /**
3403   * Returns an action object used in signalling that an active area should be changed.
3404   *
3405   * @param {string} itemType Type of item.
3406   * @param {string} scope    Item scope.
3407   * @param {string} item     Item identifier.
3408   *
3409   * @return {Object} Action object.
3410   */
3411  function setSingleEnableItem(itemType, scope, item) {
3412    return {
3413      type: 'SET_SINGLE_ENABLE_ITEM',
3414      itemType: itemType,
3415      scope: scope,
3416      item: item
3417    };
3418  }
3419  /**
3420   * Returns an action object used in signalling that a complementary item should be enabled.
3421   *
3422   * @param {string} scope Complementary area scope.
3423   * @param {string} area  Area identifier.
3424   *
3425   * @return {Object} Action object.
3426   */
3427  
3428  
3429  function actions_enableComplementaryArea(scope, area) {
3430    return setSingleEnableItem('complementaryArea', scope, area);
3431  }
3432  /**
3433   * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
3434   *
3435   * @param {string} scope Complementary area scope.
3436   *
3437   * @return {Object} Action object.
3438   */
3439  
3440  function actions_disableComplementaryArea(scope) {
3441    return setSingleEnableItem('complementaryArea', scope, undefined);
3442  }
3443  /**
3444   * Returns an action object to make an area enabled/disabled.
3445   *
3446   * @param {string}  itemType Type of item.
3447   * @param {string}  scope    Item scope.
3448   * @param {string}  item     Item identifier.
3449   * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
3450   *
3451   * @return {Object} Action object.
3452   */
3453  
3454  function setMultipleEnableItem(itemType, scope, item, isEnable) {
3455    return {
3456      type: 'SET_MULTIPLE_ENABLE_ITEM',
3457      itemType: itemType,
3458      scope: scope,
3459      item: item,
3460      isEnable: isEnable
3461    };
3462  }
3463  /**
3464   * Returns an action object used in signalling that an item should be pinned.
3465   *
3466   * @param {string} scope  Item scope.
3467   * @param {string} itemId Item identifier.
3468   *
3469   * @return {Object} Action object.
3470   */
3471  
3472  
3473  function actions_pinItem(scope, itemId) {
3474    return setMultipleEnableItem('pinnedItems', scope, itemId, true);
3475  }
3476  /**
3477   * Returns an action object used in signalling that an item should be unpinned.
3478   *
3479   * @param {string} scope  Item scope.
3480   * @param {string} itemId Item identifier.
3481   *
3482   * @return {Object} Action object.
3483   */
3484  
3485  function actions_unpinItem(scope, itemId) {
3486    return setMultipleEnableItem('pinnedItems', scope, itemId, false);
3487  }
3488  
3489  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
3490  /**
3491   * External dependencies
3492   */
3493  
3494  /**
3495   * Returns the item that is enabled in a given scope.
3496   *
3497   * @param {Object} state    Global application state.
3498   * @param {string} itemType Type of item.
3499   * @param {string} scope    Item scope.
3500   *
3501   * @return {?string|null} The item that is enabled in the passed scope and type.
3502   */
3503  
3504  function getSingleEnableItem(state, itemType, scope) {
3505    return Object(external_this_lodash_["get"])(state.enableItems.singleEnableItems, [itemType, scope]);
3506  }
3507  /**
3508   * Returns the complementary area that is active in a given scope.
3509   *
3510   * @param {Object} state    Global application state.
3511   * @param {string} scope    Item scope.
3512   *
3513   * @return {string} The complementary area that is active in the given scope.
3514   */
3515  
3516  
3517  function getActiveComplementaryArea(state, scope) {
3518    return getSingleEnableItem(state, 'complementaryArea', scope);
3519  }
3520  /**
3521   * Returns a boolean indicating if an item is enabled or not in a given scope.
3522   *
3523   * @param {Object} state    Global application state.
3524   * @param {string} itemType Type of item.
3525   * @param {string} scope    Scope.
3526   * @param {string} item     Item to check.
3527   *
3528   * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
3529   */
3530  
3531  function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
3532    return Object(external_this_lodash_["get"])(state.enableItems.multipleEnableItems, [itemType, scope, item]);
3533  }
3534  /**
3535   * Returns a boolean indicating if an item is pinned or not.
3536   *
3537   * @param {Object} state    Global application state.
3538   * @param {string} scope    Scope.
3539   * @param {string} item     Item to check.
3540   *
3541   * @return {boolean} True if the item is pinned and false otherwise.
3542   */
3543  
3544  
3545  function isItemPinned(state, scope, item) {
3546    return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
3547  }
3548  
3549  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
3550  /**
3551   * The identifier for the data store.
3552   *
3553   * @type {string}
3554   */
3555  var constants_STORE_KEY = 'core/interface';
3556  
3557  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
3558  /**
3559   * WordPress dependencies
3560   */
3561  
3562  /**
3563   * Internal dependencies
3564   */
3565  
3566  
3567  
3568  
3569  
3570  var build_module_store_store = Object(external_this_wp_data_["registerStore"])(constants_STORE_KEY, {
3571    reducer: store_reducer,
3572    actions: store_actions_namespaceObject,
3573    selectors: store_selectors_namespaceObject,
3574    persist: ['enableItems']
3575  });
3576  /* harmony default export */ var interface_build_module_store = (build_module_store_store);
3577  
3578  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
3579  var check = __webpack_require__(161);
3580  
3581  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
3582  var star_filled = __webpack_require__(302);
3583  
3584  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
3585  var star_empty = __webpack_require__(303);
3586  
3587  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
3588  var close_small = __webpack_require__(159);
3589  
3590  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
3591  /**
3592   * WordPress dependencies
3593   */
3594  
3595  /* harmony default export */ var complementary_area_context = (Object(external_this_wp_plugins_["withPluginContext"])(function (context, ownProps) {
3596    return {
3597      icon: ownProps.icon || context.icon,
3598      identifier: ownProps.identifier || "".concat(context.name, "/").concat(ownProps.name)
3599    };
3600  }));
3601  
3602  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js
3603  
3604  
3605  
3606  
3607  /**
3608   * External dependencies
3609   */
3610  
3611  /**
3612   * WordPress dependencies
3613   */
3614  
3615  
3616  
3617  /**
3618   * Internal dependencies
3619   */
3620  
3621  
3622  
3623  function ComplementaryAreaToggle(_ref) {
3624    var _ref$as = _ref.as,
3625        as = _ref$as === void 0 ? external_this_wp_components_["Button"] : _ref$as,
3626        scope = _ref.scope,
3627        identifier = _ref.identifier,
3628        icon = _ref.icon,
3629        selectedIcon = _ref.selectedIcon,
3630        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as", "scope", "identifier", "icon", "selectedIcon"]);
3631  
3632    var ComponentToUse = as;
3633    var isSelected = Object(external_this_wp_data_["useSelect"])(function (select) {
3634      return select('core/interface').getActiveComplementaryArea(scope) === identifier;
3635    }, [identifier]);
3636  
3637    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/interface'),
3638        enableComplementaryArea = _useDispatch.enableComplementaryArea,
3639        disableComplementaryArea = _useDispatch.disableComplementaryArea;
3640  
3641    return Object(external_this_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({
3642      icon: selectedIcon && isSelected ? selectedIcon : icon,
3643      onClick: function onClick() {
3644        if (isSelected) {
3645          disableComplementaryArea(scope);
3646        } else {
3647          enableComplementaryArea(scope, identifier);
3648        }
3649      }
3650    }, Object(external_this_lodash_["omit"])(props, ['name'])));
3651  }
3652  
3653  /* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));
3654  
3655  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js
3656  
3657  
3658  
3659  /**
3660   * External dependencies
3661   */
3662  
3663  /**
3664   * WordPress dependencies
3665   */
3666  
3667  
3668  /**
3669   * Internal dependencies
3670   */
3671  
3672  
3673  
3674  var complementary_area_header_ComplementaryAreaHeader = function ComplementaryAreaHeader(_ref) {
3675    var smallScreenTitle = _ref.smallScreenTitle,
3676        children = _ref.children,
3677        className = _ref.className,
3678        toggleButtonProps = _ref.toggleButtonProps;
3679    var toggleButton = Object(external_this_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
3680      icon: close_small["a" /* default */]
3681    }, toggleButtonProps));
3682    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
3683      className: "components-panel__header interface-complementary-area-header__small"
3684    }, smallScreenTitle && Object(external_this_wp_element_["createElement"])("span", {
3685      className: "interface-complementary-area-header__small-title"
3686    }, smallScreenTitle), toggleButton), Object(external_this_wp_element_["createElement"])("div", {
3687      className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
3688      tabIndex: -1
3689    }, children, toggleButton));
3690  };
3691  
3692  /* harmony default export */ var complementary_area_header = (complementary_area_header_ComplementaryAreaHeader);
3693  
3694  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
3695  
3696  
3697  
3698  
3699  /**
3700   * External dependencies
3701   */
3702  
3703  
3704  /**
3705   * WordPress dependencies
3706   */
3707  
3708  
3709  
3710  function PinnedItems(_ref) {
3711    var scope = _ref.scope,
3712        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["scope"]);
3713  
3714    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Fill"], Object(esm_extends["a" /* default */])({
3715      name: "PinnedItems/".concat(scope)
3716    }, props));
3717  }
3718  
3719  function PinnedItemsSlot(_ref2) {
3720    var scope = _ref2.scope,
3721        className = _ref2.className,
3722        props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["scope", "className"]);
3723  
3724    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
3725      name: "PinnedItems/".concat(scope)
3726    }, props), function (fills) {
3727      return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])("div", {
3728        className: classnames_default()(className, 'interface-pinned-items')
3729      }, fills);
3730    });
3731  }
3732  
3733  PinnedItems.Slot = PinnedItemsSlot;
3734  /* harmony default export */ var pinned_items = (PinnedItems);
3735  
3736  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
3737  
3738  
3739  
3740  
3741  /**
3742   * External dependencies
3743   */
3744  
3745  /**
3746   * WordPress dependencies
3747   */
3748  
3749  
3750  
3751  
3752  
3753  
3754  /**
3755   * Internal dependencies
3756   */
3757  
3758  
3759  
3760  
3761  
3762  
3763  function ComplementaryAreaSlot(_ref) {
3764    var scope = _ref.scope,
3765        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["scope"]);
3766  
3767    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
3768      name: "ComplementaryArea/".concat(scope)
3769    }, props));
3770  }
3771  
3772  function ComplementaryAreaFill(_ref2) {
3773    var scope = _ref2.scope,
3774        children = _ref2.children,
3775        className = _ref2.className;
3776    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Fill"], {
3777      name: "ComplementaryArea/".concat(scope)
3778    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Animate"], {
3779      type: "slide-in",
3780      options: {
3781        origin: 'left'
3782      }
3783    }, function () {
3784      return Object(external_this_wp_element_["createElement"])("div", {
3785        className: className
3786      }, children);
3787    }));
3788  }
3789  
3790  function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
3791    var previousIsSmall = Object(external_this_wp_element_["useRef"])(false);
3792    var shouldOpenWhenNotSmall = Object(external_this_wp_element_["useRef"])(false);
3793  
3794    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/interface'),
3795        enableComplementaryArea = _useDispatch.enableComplementaryArea,
3796        disableComplementaryArea = _useDispatch.disableComplementaryArea;
3797  
3798    Object(external_this_wp_element_["useEffect"])(function () {
3799      // If the complementary area is active and the editor is switching from a big to a small window size.
3800      if (isActive && isSmall && !previousIsSmall.current) {
3801        // Disable the complementary area.
3802        disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.
3803  
3804        shouldOpenWhenNotSmall.current = true;
3805      } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
3806      // and we are going from a small to big window size.
3807      shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
3808        // Remove the flag indicating the complementary area should be enabled.
3809        shouldOpenWhenNotSmall.current = false; // Enable the complementary area.
3810  
3811        enableComplementaryArea(scope, identifier);
3812      } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
3813      // remove the flag.
3814      shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
3815        shouldOpenWhenNotSmall.current = false;
3816      }
3817  
3818      if (isSmall !== previousIsSmall.current) {
3819        previousIsSmall.current = isSmall;
3820      }
3821    }, [isActive, isSmall, scope, identifier, activeArea]);
3822  }
3823  
3824  function ComplementaryArea(_ref3) {
3825    var children = _ref3.children,
3826        className = _ref3.className,
3827        _ref3$closeLabel = _ref3.closeLabel,
3828        closeLabel = _ref3$closeLabel === void 0 ? Object(external_this_wp_i18n_["__"])('Close plugin') : _ref3$closeLabel,
3829        identifier = _ref3.identifier,
3830        header = _ref3.header,
3831        headerClassName = _ref3.headerClassName,
3832        icon = _ref3.icon,
3833        _ref3$isPinnable = _ref3.isPinnable,
3834        isPinnable = _ref3$isPinnable === void 0 ? true : _ref3$isPinnable,
3835        panelClassName = _ref3.panelClassName,
3836        scope = _ref3.scope,
3837        smallScreenTitle = _ref3.smallScreenTitle,
3838        title = _ref3.title,
3839        toggleShortcut = _ref3.toggleShortcut,
3840        isActiveByDefault = _ref3.isActiveByDefault,
3841        _ref3$showIconLabels = _ref3.showIconLabels,
3842        showIconLabels = _ref3$showIconLabels === void 0 ? false : _ref3$showIconLabels;
3843  
3844    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
3845      var _select = select('core/interface'),
3846          getActiveComplementaryArea = _select.getActiveComplementaryArea,
3847          isItemPinned = _select.isItemPinned;
3848  
3849      var _activeArea = getActiveComplementaryArea(scope);
3850  
3851      return {
3852        isActive: _activeArea === identifier,
3853        isPinned: isItemPinned(scope, identifier),
3854        activeArea: _activeArea,
3855        isSmall: select('core/viewport').isViewportMatch('< medium'),
3856        isLarge: select('core/viewport').isViewportMatch('large')
3857      };
3858    }, [identifier, scope]),
3859        isActive = _useSelect.isActive,
3860        isPinned = _useSelect.isPinned,
3861        activeArea = _useSelect.activeArea,
3862        isSmall = _useSelect.isSmall,
3863        isLarge = _useSelect.isLarge;
3864  
3865    useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
3866  
3867    var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/interface'),
3868        enableComplementaryArea = _useDispatch2.enableComplementaryArea,
3869        disableComplementaryArea = _useDispatch2.disableComplementaryArea,
3870        pinItem = _useDispatch2.pinItem,
3871        unpinItem = _useDispatch2.unpinItem;
3872  
3873    Object(external_this_wp_element_["useEffect"])(function () {
3874      if (isActiveByDefault && activeArea === undefined && !isSmall) {
3875        enableComplementaryArea(scope, identifier);
3876      }
3877    }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
3878    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isPinned && isPinnable && Object(external_this_wp_element_["createElement"])(pinned_items, {
3879      scope: scope
3880    }, Object(external_this_wp_element_["createElement"])(complementary_area_toggle, {
3881      scope: scope,
3882      identifier: identifier,
3883      isPressed: isActive && (!showIconLabels || isLarge),
3884      "aria-expanded": isActive,
3885      label: title,
3886      icon: showIconLabels ? check["a" /* default */] : icon,
3887      showTooltip: !showIconLabels,
3888      isTertiary: showIconLabels
3889    })), isActive && Object(external_this_wp_element_["createElement"])(ComplementaryAreaFill, {
3890      className: classnames_default()('interface-complementary-area', className),
3891      scope: scope
3892    }, Object(external_this_wp_element_["createElement"])(complementary_area_header, {
3893      className: headerClassName,
3894      closeLabel: closeLabel,
3895      onClose: function onClose() {
3896        return disableComplementaryArea(scope);
3897      },
3898      smallScreenTitle: smallScreenTitle,
3899      toggleButtonProps: {
3900        label: closeLabel,
3901        shortcut: toggleShortcut,
3902        scope: scope,
3903        identifier: identifier
3904      }
3905    }, header || Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
3906      className: "interface-complementary-area__pin-unpin-item",
3907      icon: isPinned ? star_filled["a" /* default */] : star_empty["a" /* default */],
3908      label: isPinned ? Object(external_this_wp_i18n_["__"])('Unpin from toolbar') : Object(external_this_wp_i18n_["__"])('Pin to toolbar'),
3909      onClick: function onClick() {
3910        return (isPinned ? unpinItem : pinItem)(scope, identifier);
3911      },
3912      isPressed: isPinned,
3913      "aria-expanded": isPinned
3914    }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Panel"], {
3915      className: panelClassName
3916    }, children)));
3917  }
3918  
3919  var ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
3920  ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
3921  /* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);
3922  
3923  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js
3924  
3925  
3926  
3927  
3928  
3929  
3930  function action_item_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
3931  
3932  function action_item_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { action_item_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { action_item_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
3933  
3934  /**
3935   * External dependencies
3936   */
3937  
3938  /**
3939   * WordPress dependencies
3940   */
3941  
3942  
3943  
3944  function ActionItemSlot(_ref) {
3945    var name = _ref.name,
3946        _ref$as = _ref.as,
3947        as = _ref$as === void 0 ? [external_this_wp_components_["ButtonGroup"], external_this_wp_components_["Button"]] : _ref$as,
3948        _ref$fillProps = _ref.fillProps,
3949        fillProps = _ref$fillProps === void 0 ? {} : _ref$fillProps,
3950        bubblesVirtually = _ref.bubblesVirtually,
3951        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["name", "as", "fillProps", "bubblesVirtually"]);
3952  
3953    var _as = Object(slicedToArray["a" /* default */])(as, 2),
3954        Container = _as[0],
3955        Item = _as[1];
3956  
3957    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], {
3958      name: name,
3959      bubblesVirtually: bubblesVirtually,
3960      fillProps: action_item_objectSpread({
3961        as: Item
3962      }, fillProps)
3963    }, function (fills) {
3964      return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])(Container, props, fills);
3965    });
3966  }
3967  
3968  function ActionItem(_ref2) {
3969    var name = _ref2.name,
3970        as = _ref2.as,
3971        onClick = _ref2.onClick,
3972        props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["name", "as", "onClick"]);
3973  
3974    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Fill"], {
3975      name: name
3976    }, function (fillProps) {
3977      var fpOnClick = fillProps.onClick,
3978          fpAs = fillProps.as;
3979      var Item = as || fpAs || external_this_wp_components_["Button"];
3980      return Object(external_this_wp_element_["createElement"])(Item, Object(esm_extends["a" /* default */])({
3981        onClick: onClick || fpOnClick ? function () {
3982          (onClick || external_this_lodash_["noop"]).apply(void 0, arguments);
3983          (fpOnClick || external_this_lodash_["noop"]).apply(void 0, arguments);
3984        } : undefined
3985      }, props));
3986    });
3987  }
3988  
3989  ActionItem.Slot = ActionItemSlot;
3990  /* harmony default export */ var action_item = (ActionItem);
3991  
3992  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js
3993  
3994  
3995  
3996  
3997  /**
3998   * WordPress dependencies
3999   */
4000  
4001  /**
4002   * Internal dependencies
4003   */
4004  
4005  
4006  
4007  function ComplementaryAreaMoreMenuItem(_ref) {
4008    var scope = _ref.scope,
4009        target = _ref.target,
4010        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["scope", "target"]);
4011  
4012    return Object(external_this_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
4013      as: function as(toggleProps) {
4014        return Object(external_this_wp_element_["createElement"])(action_item, Object(esm_extends["a" /* default */])({
4015          name: "".concat(scope, "/plugin-more-menu")
4016        }, toggleProps));
4017      },
4018      role: "menuitemcheckbox",
4019      selectedIcon: check["a" /* default */],
4020      name: target,
4021      scope: scope
4022    }, props));
4023  }
4024  
4025  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
4026  
4027  
4028  
4029  
4030  
4031  
4032  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
4033  
4034  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4035  
4036  /**
4037   * WordPress dependencies
4038   */
4039  
4040  var fullscreen_mode_FullscreenMode = /*#__PURE__*/function (_Component) {
4041    Object(inherits["a" /* default */])(FullscreenMode, _Component);
4042  
4043    var _super = _createSuper(FullscreenMode);
4044  
4045    function FullscreenMode() {
4046      Object(classCallCheck["a" /* default */])(this, FullscreenMode);
4047  
4048      return _super.apply(this, arguments);
4049    }
4050  
4051    Object(createClass["a" /* default */])(FullscreenMode, [{
4052      key: "componentDidMount",
4053      value: function componentDidMount() {
4054        this.isSticky = false;
4055        this.sync(); // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
4056        // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
4057        // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
4058        // a consequence of the FullscreenMode setup
4059  
4060        if (document.body.classList.contains('sticky-menu')) {
4061          this.isSticky = true;
4062          document.body.classList.remove('sticky-menu');
4063        }
4064      }
4065    }, {
4066      key: "componentWillUnmount",
4067      value: function componentWillUnmount() {
4068        if (this.isSticky) {
4069          document.body.classList.add('sticky-menu');
4070        }
4071  
4072        if (this.props.isActive) {
4073          document.body.classList.remove('is-fullscreen-mode');
4074        }
4075      }
4076    }, {
4077      key: "componentDidUpdate",
4078      value: function componentDidUpdate(prevProps) {
4079        if (this.props.isActive !== prevProps.isActive) {
4080          this.sync();
4081        }
4082      }
4083    }, {
4084      key: "sync",
4085      value: function sync() {
4086        var isActive = this.props.isActive;
4087  
4088        if (isActive) {
4089          document.body.classList.add('is-fullscreen-mode');
4090        } else {
4091          document.body.classList.remove('is-fullscreen-mode');
4092        }
4093      }
4094    }, {
4095      key: "render",
4096      value: function render() {
4097        return null;
4098      }
4099    }]);
4100  
4101    return FullscreenMode;
4102  }(external_this_wp_element_["Component"]);
4103  /* harmony default export */ var fullscreen_mode = (fullscreen_mode_FullscreenMode);
4104  
4105  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js
4106  
4107  
4108  
4109  function interface_skeleton_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
4110  
4111  function interface_skeleton_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { interface_skeleton_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { interface_skeleton_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
4112  
4113  /**
4114   * External dependencies
4115   */
4116  
4117  /**
4118   * WordPress dependencies
4119   */
4120  
4121  
4122  
4123  
4124  
4125  function useHTMLClass(className) {
4126    Object(external_this_wp_element_["useEffect"])(function () {
4127      var element = document && document.querySelector("html:not(.".concat(className, ")"));
4128  
4129      if (!element) {
4130        return;
4131      }
4132  
4133      element.classList.toggle(className);
4134      return function () {
4135        element.classList.toggle(className);
4136      };
4137    }, [className]);
4138  }
4139  
4140  function InterfaceSkeleton(_ref) {
4141    var footer = _ref.footer,
4142        header = _ref.header,
4143        sidebar = _ref.sidebar,
4144        leftSidebar = _ref.leftSidebar,
4145        content = _ref.content,
4146        drawer = _ref.drawer,
4147        actions = _ref.actions,
4148        labels = _ref.labels,
4149        className = _ref.className;
4150    useHTMLClass('interface-interface-skeleton__html-container');
4151    var defaultLabels = {
4152      /* translators: accessibility text for the nav bar landmark region. */
4153      drawer: Object(external_this_wp_i18n_["__"])('Drawer'),
4154  
4155      /* translators: accessibility text for the top bar landmark region. */
4156      header: Object(external_this_wp_i18n_["__"])('Header'),
4157  
4158      /* translators: accessibility text for the content landmark region. */
4159      body: Object(external_this_wp_i18n_["__"])('Content'),
4160  
4161      /* translators: accessibility text for the left sidebar landmark region. */
4162      leftSidebar: Object(external_this_wp_i18n_["__"])('Left sidebar'),
4163  
4164      /* translators: accessibility text for the settings landmark region. */
4165      sidebar: Object(external_this_wp_i18n_["__"])('Settings'),
4166  
4167      /* translators: accessibility text for the publish landmark region. */
4168      actions: Object(external_this_wp_i18n_["__"])('Publish'),
4169  
4170      /* translators: accessibility text for the footer landmark region. */
4171      footer: Object(external_this_wp_i18n_["__"])('Footer')
4172    };
4173  
4174    var mergedLabels = interface_skeleton_objectSpread(interface_skeleton_objectSpread({}, defaultLabels), labels);
4175  
4176    return Object(external_this_wp_element_["createElement"])("div", {
4177      className: classnames_default()(className, 'interface-interface-skeleton')
4178    }, !!drawer && Object(external_this_wp_element_["createElement"])("div", {
4179      className: "interface-interface-skeleton__drawer",
4180      role: "region",
4181      "aria-label": mergedLabels.drawer
4182    }, drawer), Object(external_this_wp_element_["createElement"])("div", {
4183      className: "interface-interface-skeleton__editor"
4184    }, !!header && Object(external_this_wp_element_["createElement"])("div", {
4185      className: "interface-interface-skeleton__header",
4186      role: "region",
4187      "aria-label": mergedLabels.header,
4188      tabIndex: "-1"
4189    }, header), Object(external_this_wp_element_["createElement"])("div", {
4190      className: "interface-interface-skeleton__body"
4191    }, !!leftSidebar && Object(external_this_wp_element_["createElement"])("div", {
4192      className: "interface-interface-skeleton__left-sidebar",
4193      role: "region",
4194      "aria-label": mergedLabels.leftSidebar,
4195      tabIndex: "-1"
4196    }, leftSidebar), Object(external_this_wp_element_["createElement"])("div", {
4197      className: "interface-interface-skeleton__content",
4198      role: "region",
4199      "aria-label": mergedLabels.body,
4200      tabIndex: "-1"
4201    }, content), !!sidebar && Object(external_this_wp_element_["createElement"])("div", {
4202      className: "interface-interface-skeleton__sidebar",
4203      role: "region",
4204      "aria-label": mergedLabels.sidebar,
4205      tabIndex: "-1"
4206    }, sidebar), !!actions && Object(external_this_wp_element_["createElement"])("div", {
4207      className: "interface-interface-skeleton__actions",
4208      role: "region",
4209      "aria-label": mergedLabels.actions,
4210      tabIndex: "-1"
4211    }, actions))), !!footer && Object(external_this_wp_element_["createElement"])("div", {
4212      className: "interface-interface-skeleton__footer",
4213      role: "region",
4214      "aria-label": mergedLabels.footer,
4215      tabIndex: "-1"
4216    }, footer));
4217  }
4218  
4219  /* harmony default export */ var interface_skeleton = (Object(external_this_wp_components_["navigateRegions"])(InterfaceSkeleton));
4220  
4221  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/main-dashboard-button/index.js
4222  
4223  
4224  /**
4225   * WordPress dependencies
4226   */
4227  
4228  var slotName = '__experimentalMainDashboardButton';
4229  
4230  var main_dashboard_button_createSlotFill = Object(external_this_wp_components_["createSlotFill"])(slotName),
4231      Fill = main_dashboard_button_createSlotFill.Fill,
4232      MainDashboardButtonSlot = main_dashboard_button_createSlotFill.Slot;
4233  
4234  var MainDashboardButton = Fill;
4235  
4236  var main_dashboard_button_Slot = function Slot(_ref) {
4237    var children = _ref.children;
4238    var slot = Object(external_this_wp_components_["__experimentalUseSlot"])(slotName);
4239    var hasFills = Boolean(slot.fills && slot.fills.length);
4240  
4241    if (!hasFills) {
4242      return children;
4243    }
4244  
4245    return Object(external_this_wp_element_["createElement"])(MainDashboardButtonSlot, {
4246      bubblesVirtually: true
4247    });
4248  };
4249  
4250  MainDashboardButton.Slot = main_dashboard_button_Slot;
4251  /* harmony default export */ var main_dashboard_button = (MainDashboardButton);
4252  
4253  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
4254  
4255  
4256  
4257  
4258  
4259  
4260  
4261  
4262  // CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
4263  /**
4264   * Internal dependencies
4265   */
4266  
4267  
4268  
4269  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
4270  var library_close = __webpack_require__(160);
4271  
4272  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/text-editor/index.js
4273  
4274  
4275  /**
4276   * WordPress dependencies
4277   */
4278  
4279  
4280  
4281  
4282  
4283  
4284  
4285  function TextEditor(_ref) {
4286    var onExit = _ref.onExit,
4287        isRichEditingEnabled = _ref.isRichEditingEnabled;
4288    return Object(external_this_wp_element_["createElement"])("div", {
4289      className: "edit-post-text-editor"
4290    }, isRichEditingEnabled && Object(external_this_wp_element_["createElement"])("div", {
4291      className: "edit-post-text-editor__toolbar"
4292    }, Object(external_this_wp_element_["createElement"])("h2", null, Object(external_this_wp_i18n_["__"])('Editing code')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
4293      isTertiary: true,
4294      onClick: onExit,
4295      shortcut: external_this_wp_keycodes_["displayShortcut"].secondary('m')
4296    }, Object(external_this_wp_i18n_["__"])('Exit code editor')), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["TextEditorGlobalKeyboardShortcuts"], null)), Object(external_this_wp_element_["createElement"])("div", {
4297      className: "edit-post-text-editor__body"
4298    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTitle"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTextEditor"], null)));
4299  }
4300  
4301  /* harmony default export */ var text_editor = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
4302    return {
4303      isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled
4304    };
4305  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
4306    return {
4307      onExit: function onExit() {
4308        dispatch('core/edit-post').switchEditorMode('visual');
4309      }
4310    };
4311  }))(TextEditor));
4312  
4313  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/block-inspector-button.js
4314  
4315  
4316  /**
4317   * External dependencies
4318   */
4319  
4320  /**
4321   * WordPress dependencies
4322   */
4323  
4324  
4325  
4326  
4327  
4328  function BlockInspectorButton(_ref) {
4329    var _ref$onClick = _ref.onClick,
4330        _onClick = _ref$onClick === void 0 ? external_this_lodash_["noop"] : _ref$onClick,
4331        _ref$small = _ref.small,
4332        small = _ref$small === void 0 ? false : _ref$small;
4333  
4334    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
4335      return {
4336        shortcut: select('core/keyboard-shortcuts').getShortcutRepresentation('core/edit-post/toggle-sidebar'),
4337        areAdvancedSettingsOpened: select('core/edit-post').getActiveGeneralSidebarName() === 'edit-post/block'
4338      };
4339    }, []),
4340        shortcut = _useSelect.shortcut,
4341        areAdvancedSettingsOpened = _useSelect.areAdvancedSettingsOpened;
4342  
4343    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
4344        openGeneralSidebar = _useDispatch.openGeneralSidebar,
4345        closeGeneralSidebar = _useDispatch.closeGeneralSidebar;
4346  
4347    var speakMessage = function speakMessage() {
4348      if (areAdvancedSettingsOpened) {
4349        Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('Block settings closed'));
4350      } else {
4351        Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('Additional settings are now available in the Editor block settings sidebar'));
4352      }
4353    };
4354  
4355    var label = areAdvancedSettingsOpened ? Object(external_this_wp_i18n_["__"])('Hide More Settings') : Object(external_this_wp_i18n_["__"])('Show More Settings');
4356    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
4357      onClick: function onClick() {
4358        if (areAdvancedSettingsOpened) {
4359          closeGeneralSidebar();
4360        } else {
4361          openGeneralSidebar('edit-post/block');
4362          speakMessage();
4363  
4364          _onClick();
4365        }
4366      },
4367      shortcut: shortcut
4368    }, !small && label);
4369  }
4370  /* harmony default export */ var block_inspector_button = (BlockInspectorButton);
4371  
4372  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/index.js
4373  
4374  
4375  /**
4376   * WordPress dependencies
4377   */
4378  
4379  
4380  
4381  /**
4382   * Internal dependencies
4383   */
4384  
4385  
4386  
4387  
4388  function VisualEditor() {
4389    var deviceType = Object(external_this_wp_data_["useSelect"])(function (select) {
4390      return select('core/edit-post').__experimentalGetPreviewDeviceType();
4391    }, []);
4392    var inlineStyles = Object(external_this_wp_blockEditor_["__experimentalUseResizeCanvas"])(deviceType);
4393    return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockSelectionClearer"], {
4394      className: "edit-post-visual-editor editor-styles-wrapper",
4395      style: inlineStyles
4396    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["VisualEditorGlobalKeyboardShortcuts"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MultiSelectScrollIntoView"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"].Slot, {
4397      name: "block-toolbar"
4398    }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Typewriter"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["CopyHandler"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["WritingFlow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ObserveTyping"], null, Object(external_this_wp_element_["createElement"])("div", {
4399      className: "edit-post-visual-editor__post-title-wrapper"
4400    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTitle"], null)), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockList"], null))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockSettingsMenuFirstItem"], null, function (_ref) {
4401      var onClose = _ref.onClose;
4402      return Object(external_this_wp_element_["createElement"])(block_inspector_button, {
4403        onClick: onClose
4404      });
4405    }));
4406  }
4407  
4408  /* harmony default export */ var visual_editor = (VisualEditor);
4409  
4410  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js
4411  /**
4412   * WordPress dependencies
4413   */
4414  
4415  
4416  
4417  
4418  
4419  function KeyboardShortcuts() {
4420    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
4421      var settings = select('core/editor').getEditorSettings();
4422      return {
4423        getBlockSelectionStart: select('core/block-editor').getBlockSelectionStart,
4424        getEditorMode: select('core/edit-post').getEditorMode,
4425        isEditorSidebarOpened: select('core/edit-post').isEditorSidebarOpened,
4426        richEditingEnabled: settings.richEditingEnabled,
4427        codeEditingEnabled: settings.codeEditingEnabled
4428      };
4429    }),
4430        getBlockSelectionStart = _useSelect.getBlockSelectionStart,
4431        getEditorMode = _useSelect.getEditorMode,
4432        isEditorSidebarOpened = _useSelect.isEditorSidebarOpened,
4433        richEditingEnabled = _useSelect.richEditingEnabled,
4434        codeEditingEnabled = _useSelect.codeEditingEnabled;
4435  
4436    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
4437        switchEditorMode = _useDispatch.switchEditorMode,
4438        openGeneralSidebar = _useDispatch.openGeneralSidebar,
4439        closeGeneralSidebar = _useDispatch.closeGeneralSidebar,
4440        toggleFeature = _useDispatch.toggleFeature;
4441  
4442    var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/keyboard-shortcuts'),
4443        registerShortcut = _useDispatch2.registerShortcut;
4444  
4445    Object(external_this_wp_element_["useEffect"])(function () {
4446      registerShortcut({
4447        name: 'core/edit-post/toggle-mode',
4448        category: 'global',
4449        description: Object(external_this_wp_i18n_["__"])('Switch between visual editor and code editor.'),
4450        keyCombination: {
4451          modifier: 'secondary',
4452          character: 'm'
4453        }
4454      });
4455      registerShortcut({
4456        name: 'core/edit-post/toggle-fullscreen',
4457        category: 'global',
4458        description: Object(external_this_wp_i18n_["__"])('Toggle fullscreen mode.'),
4459        keyCombination: {
4460          modifier: 'secondary',
4461          character: 'f'
4462        }
4463      });
4464      registerShortcut({
4465        name: 'core/edit-post/toggle-block-navigation',
4466        category: 'global',
4467        description: Object(external_this_wp_i18n_["__"])('Open the block list view.'),
4468        keyCombination: {
4469          modifier: 'access',
4470          character: 'o'
4471        }
4472      });
4473      registerShortcut({
4474        name: 'core/edit-post/toggle-sidebar',
4475        category: 'global',
4476        description: Object(external_this_wp_i18n_["__"])('Show or hide the settings sidebar.'),
4477        keyCombination: {
4478          modifier: 'primaryShift',
4479          character: ','
4480        }
4481      });
4482      registerShortcut({
4483        name: 'core/edit-post/next-region',
4484        category: 'global',
4485        description: Object(external_this_wp_i18n_["__"])('Navigate to the next part of the editor.'),
4486        keyCombination: {
4487          modifier: 'ctrl',
4488          character: '`'
4489        },
4490        aliases: [{
4491          modifier: 'access',
4492          character: 'n'
4493        }]
4494      });
4495      registerShortcut({
4496        name: 'core/edit-post/previous-region',
4497        category: 'global',
4498        description: Object(external_this_wp_i18n_["__"])('Navigate to the previous part of the editor.'),
4499        keyCombination: {
4500          modifier: 'ctrlShift',
4501          character: '`'
4502        },
4503        aliases: [{
4504          modifier: 'access',
4505          character: 'p'
4506        }]
4507      });
4508      registerShortcut({
4509        name: 'core/edit-post/keyboard-shortcuts',
4510        category: 'main',
4511        description: Object(external_this_wp_i18n_["__"])('Display these keyboard shortcuts.'),
4512        keyCombination: {
4513          modifier: 'access',
4514          character: 'h'
4515        }
4516      });
4517    }, []);
4518    Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-mode', function () {
4519      switchEditorMode(getEditorMode() === 'visual' ? 'text' : 'visual');
4520    }, {
4521      bindGlobal: true,
4522      isDisabled: !richEditingEnabled || !codeEditingEnabled
4523    });
4524    Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-fullscreen', function () {
4525      toggleFeature('fullscreenMode');
4526    }, {
4527      bindGlobal: true
4528    });
4529    Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-sidebar', function (event) {
4530      // This shortcut has no known clashes, but use preventDefault to prevent any
4531      // obscure shortcuts from triggering.
4532      event.preventDefault();
4533  
4534      if (isEditorSidebarOpened()) {
4535        closeGeneralSidebar();
4536      } else {
4537        var sidebarToOpen = getBlockSelectionStart() ? 'edit-post/block' : 'edit-post/document';
4538        openGeneralSidebar(sidebarToOpen);
4539      }
4540    }, {
4541      bindGlobal: true
4542    });
4543    return null;
4544  }
4545  
4546  /* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
4547  
4548  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/config.js
4549  /**
4550   * WordPress dependencies
4551   */
4552  
4553  var textFormattingShortcuts = [{
4554    keyCombination: {
4555      modifier: 'primary',
4556      character: 'b'
4557    },
4558    description: Object(external_this_wp_i18n_["__"])('Make the selected text bold.')
4559  }, {
4560    keyCombination: {
4561      modifier: 'primary',
4562      character: 'i'
4563    },
4564    description: Object(external_this_wp_i18n_["__"])('Make the selected text italic.')
4565  }, {
4566    keyCombination: {
4567      modifier: 'primary',
4568      character: 'k'
4569    },
4570    description: Object(external_this_wp_i18n_["__"])('Convert the selected text into a link.')
4571  }, {
4572    keyCombination: {
4573      modifier: 'primaryShift',
4574      character: 'k'
4575    },
4576    description: Object(external_this_wp_i18n_["__"])('Remove a link.')
4577  }, {
4578    keyCombination: {
4579      modifier: 'primary',
4580      character: 'u'
4581    },
4582    description: Object(external_this_wp_i18n_["__"])('Underline the selected text.')
4583  }];
4584  
4585  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/shortcut.js
4586  
4587  
4588  /**
4589   * External dependencies
4590   */
4591  
4592  /**
4593   * WordPress dependencies
4594   */
4595  
4596  
4597  
4598  
4599  function KeyCombination(_ref) {
4600    var keyCombination = _ref.keyCombination,
4601        forceAriaLabel = _ref.forceAriaLabel;
4602    var shortcut = keyCombination.modifier ? external_this_wp_keycodes_["displayShortcutList"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
4603    var ariaLabel = keyCombination.modifier ? external_this_wp_keycodes_["shortcutAriaLabel"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
4604    return Object(external_this_wp_element_["createElement"])("kbd", {
4605      className: "edit-post-keyboard-shortcut-help-modal__shortcut-key-combination",
4606      "aria-label": forceAriaLabel || ariaLabel
4607    }, Object(external_this_lodash_["castArray"])(shortcut).map(function (character, index) {
4608      if (character === '+') {
4609        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], {
4610          key: index
4611        }, character);
4612      }
4613  
4614      return Object(external_this_wp_element_["createElement"])("kbd", {
4615        key: index,
4616        className: "edit-post-keyboard-shortcut-help-modal__shortcut-key"
4617      }, character);
4618    }));
4619  }
4620  
4621  function Shortcut(_ref2) {
4622    var description = _ref2.description,
4623        keyCombination = _ref2.keyCombination,
4624        _ref2$aliases = _ref2.aliases,
4625        aliases = _ref2$aliases === void 0 ? [] : _ref2$aliases,
4626        ariaLabel = _ref2.ariaLabel;
4627    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
4628      className: "edit-post-keyboard-shortcut-help-modal__shortcut-description"
4629    }, description), Object(external_this_wp_element_["createElement"])("div", {
4630      className: "edit-post-keyboard-shortcut-help-modal__shortcut-term"
4631    }, Object(external_this_wp_element_["createElement"])(KeyCombination, {
4632      keyCombination: keyCombination,
4633      forceAriaLabel: ariaLabel
4634    }), aliases.map(function (alias, index) {
4635      return Object(external_this_wp_element_["createElement"])(KeyCombination, {
4636        keyCombination: alias,
4637        forceAriaLabel: ariaLabel,
4638        key: index
4639      });
4640    })));
4641  }
4642  
4643  /* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);
4644  
4645  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
4646  
4647  
4648  /**
4649   * WordPress dependencies
4650   */
4651  
4652  /**
4653   * Internal dependencies
4654   */
4655  
4656  
4657  
4658  function DynamicShortcut(_ref) {
4659    var name = _ref.name;
4660  
4661    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
4662      var _select = select('core/keyboard-shortcuts'),
4663          getShortcutKeyCombination = _select.getShortcutKeyCombination,
4664          getShortcutDescription = _select.getShortcutDescription,
4665          getShortcutAliases = _select.getShortcutAliases;
4666  
4667      return {
4668        keyCombination: getShortcutKeyCombination(name),
4669        aliases: getShortcutAliases(name),
4670        description: getShortcutDescription(name)
4671      };
4672    }),
4673        keyCombination = _useSelect.keyCombination,
4674        description = _useSelect.description,
4675        aliases = _useSelect.aliases;
4676  
4677    if (!keyCombination) {
4678      return null;
4679    }
4680  
4681    return Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, {
4682      keyCombination: keyCombination,
4683      description: description,
4684      aliases: aliases
4685    });
4686  }
4687  
4688  /* harmony default export */ var dynamic_shortcut = (DynamicShortcut);
4689  
4690  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/index.js
4691  
4692  
4693  /**
4694   * External dependencies
4695   */
4696  
4697  
4698  /**
4699   * WordPress dependencies
4700   */
4701  
4702  
4703  
4704  
4705  
4706  
4707  /**
4708   * Internal dependencies
4709   */
4710  
4711  
4712  
4713  
4714  var MODAL_NAME = 'edit-post/keyboard-shortcut-help';
4715  
4716  var keyboard_shortcut_help_modal_ShortcutList = function ShortcutList(_ref) {
4717    var shortcuts = _ref.shortcuts;
4718    return (
4719      /*
4720       * Disable reason: The `list` ARIA role is redundant but
4721       * Safari+VoiceOver won't announce the list otherwise.
4722       */
4723  
4724      /* eslint-disable jsx-a11y/no-redundant-roles */
4725      Object(external_this_wp_element_["createElement"])("ul", {
4726        className: "edit-post-keyboard-shortcut-help-modal__shortcut-list",
4727        role: "list"
4728      }, shortcuts.map(function (shortcut, index) {
4729        return Object(external_this_wp_element_["createElement"])("li", {
4730          className: "edit-post-keyboard-shortcut-help-modal__shortcut",
4731          key: index
4732        }, Object(external_this_lodash_["isString"])(shortcut) ? Object(external_this_wp_element_["createElement"])(dynamic_shortcut, {
4733          name: shortcut
4734        }) : Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, shortcut));
4735      }))
4736      /* eslint-enable jsx-a11y/no-redundant-roles */
4737  
4738    );
4739  };
4740  
4741  var keyboard_shortcut_help_modal_ShortcutSection = function ShortcutSection(_ref2) {
4742    var title = _ref2.title,
4743        shortcuts = _ref2.shortcuts,
4744        className = _ref2.className;
4745    return Object(external_this_wp_element_["createElement"])("section", {
4746      className: classnames_default()('edit-post-keyboard-shortcut-help-modal__section', className)
4747    }, !!title && Object(external_this_wp_element_["createElement"])("h2", {
4748      className: "edit-post-keyboard-shortcut-help-modal__section-title"
4749    }, title), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutList, {
4750      shortcuts: shortcuts
4751    }));
4752  };
4753  
4754  var keyboard_shortcut_help_modal_ShortcutCategorySection = function ShortcutCategorySection(_ref3) {
4755    var title = _ref3.title,
4756        categoryName = _ref3.categoryName,
4757        _ref3$additionalShort = _ref3.additionalShortcuts,
4758        additionalShortcuts = _ref3$additionalShort === void 0 ? [] : _ref3$additionalShort;
4759    var categoryShortcuts = Object(external_this_wp_data_["useSelect"])(function (select) {
4760      return select('core/keyboard-shortcuts').getCategoryShortcuts(categoryName);
4761    }, [categoryName]);
4762    return Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutSection, {
4763      title: title,
4764      shortcuts: categoryShortcuts.concat(additionalShortcuts)
4765    });
4766  };
4767  
4768  function KeyboardShortcutHelpModal(_ref4) {
4769    var isModalActive = _ref4.isModalActive,
4770        toggleModal = _ref4.toggleModal;
4771    Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/keyboard-shortcuts', toggleModal, {
4772      bindGlobal: true
4773    });
4774  
4775    if (!isModalActive) {
4776      return null;
4777    }
4778  
4779    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], {
4780      className: "edit-post-keyboard-shortcut-help-modal",
4781      title: Object(external_this_wp_i18n_["__"])('Keyboard shortcuts'),
4782      closeLabel: Object(external_this_wp_i18n_["__"])('Close'),
4783      onRequestClose: toggleModal
4784    }, Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutSection, {
4785      className: "edit-post-keyboard-shortcut-help-modal__main-shortcuts",
4786      shortcuts: ['core/edit-post/keyboard-shortcuts']
4787    }), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutCategorySection, {
4788      title: Object(external_this_wp_i18n_["__"])('Global shortcuts'),
4789      categoryName: "global"
4790    }), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutCategorySection, {
4791      title: Object(external_this_wp_i18n_["__"])('Selection shortcuts'),
4792      categoryName: "selection"
4793    }), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutCategorySection, {
4794      title: Object(external_this_wp_i18n_["__"])('Block shortcuts'),
4795      categoryName: "block",
4796      additionalShortcuts: [{
4797        keyCombination: {
4798          character: '/'
4799        },
4800        description: Object(external_this_wp_i18n_["__"])('Change the block type after adding a new paragraph.'),
4801  
4802        /* translators: The forward-slash character. e.g. '/'. */
4803        ariaLabel: Object(external_this_wp_i18n_["__"])('Forward-slash')
4804      }]
4805    }), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal_ShortcutSection, {
4806      title: Object(external_this_wp_i18n_["__"])('Text formatting'),
4807      shortcuts: textFormattingShortcuts
4808    }));
4809  }
4810  /* harmony default export */ var keyboard_shortcut_help_modal = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
4811    return {
4812      isModalActive: select('core/edit-post').isModalActive(MODAL_NAME)
4813    };
4814  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref5) {
4815    var isModalActive = _ref5.isModalActive;
4816  
4817    var _dispatch = dispatch('core/edit-post'),
4818        openModal = _dispatch.openModal,
4819        closeModal = _dispatch.closeModal;
4820  
4821    return {
4822      toggleModal: function toggleModal() {
4823        return isModalActive ? closeModal() : openModal(MODAL_NAME);
4824      }
4825    };
4826  })])(KeyboardShortcutHelpModal));
4827  
4828  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/manage-blocks-modal/checklist.js
4829  
4830  
4831  /**
4832   * External dependencies
4833   */
4834  
4835  /**
4836   * WordPress dependencies
4837   */
4838  
4839  
4840  
4841  
4842  function BlockTypesChecklist(_ref) {
4843    var blockTypes = _ref.blockTypes,
4844        value = _ref.value,
4845        onItemChange = _ref.onItemChange;
4846    return Object(external_this_wp_element_["createElement"])("ul", {
4847      className: "edit-post-manage-blocks-modal__checklist"
4848    }, blockTypes.map(function (blockType) {
4849      return Object(external_this_wp_element_["createElement"])("li", {
4850        key: blockType.name,
4851        className: "edit-post-manage-blocks-modal__checklist-item"
4852      }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["CheckboxControl"], {
4853        label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, blockType.title, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
4854          icon: blockType.icon
4855        })),
4856        checked: value.includes(blockType.name),
4857        onChange: Object(external_this_lodash_["partial"])(onItemChange, blockType.name)
4858      }));
4859    }));
4860  }
4861  
4862  /* harmony default export */ var checklist = (BlockTypesChecklist);
4863  
4864  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/edit-post-settings/index.js
4865  /**
4866   * WordPress dependencies
4867   */
4868  
4869  var EditPostSettings = Object(external_this_wp_element_["createContext"])({});
4870  /* harmony default export */ var edit_post_settings = (EditPostSettings);
4871  
4872  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/manage-blocks-modal/category.js
4873  
4874  
4875  
4876  /**
4877   * External dependencies
4878   */
4879  
4880  /**
4881   * WordPress dependencies
4882   */
4883  
4884  
4885  
4886  
4887  
4888  /**
4889   * Internal dependencies
4890   */
4891  
4892  
4893  
4894  
4895  function BlockManagerCategory(_ref) {
4896    var instanceId = _ref.instanceId,
4897        title = _ref.title,
4898        blockTypes = _ref.blockTypes,
4899        hiddenBlockTypes = _ref.hiddenBlockTypes,
4900        toggleVisible = _ref.toggleVisible,
4901        toggleAllVisible = _ref.toggleAllVisible;
4902    var settings = Object(external_this_wp_element_["useContext"])(edit_post_settings);
4903    var allowedBlockTypes = settings.allowedBlockTypes;
4904    var filteredBlockTypes = Object(external_this_wp_element_["useMemo"])(function () {
4905      if (allowedBlockTypes === true) {
4906        return blockTypes;
4907      }
4908  
4909      return blockTypes.filter(function (_ref2) {
4910        var name = _ref2.name;
4911        return Object(external_this_lodash_["includes"])(allowedBlockTypes || [], name);
4912      });
4913    }, [allowedBlockTypes, blockTypes]);
4914  
4915    if (!filteredBlockTypes.length) {
4916      return null;
4917    }
4918  
4919    var checkedBlockNames = external_this_lodash_["without"].apply(void 0, [Object(external_this_lodash_["map"])(filteredBlockTypes, 'name')].concat(Object(toConsumableArray["a" /* default */])(hiddenBlockTypes)));
4920    var titleId = 'edit-post-manage-blocks-modal__category-title-' + instanceId;
4921    var isAllChecked = checkedBlockNames.length === filteredBlockTypes.length;
4922    var ariaChecked;
4923  
4924    if (isAllChecked) {
4925      ariaChecked = 'true';
4926    } else if (checkedBlockNames.length > 0) {
4927      ariaChecked = 'mixed';
4928    } else {
4929      ariaChecked = 'false';
4930    }
4931  
4932    return Object(external_this_wp_element_["createElement"])("div", {
4933      role: "group",
4934      "aria-labelledby": titleId,
4935      className: "edit-post-manage-blocks-modal__category"
4936    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["CheckboxControl"], {
4937      checked: isAllChecked,
4938      onChange: toggleAllVisible,
4939      className: "edit-post-manage-blocks-modal__category-title",
4940      "aria-checked": ariaChecked,
4941      label: Object(external_this_wp_element_["createElement"])("span", {
4942        id: titleId
4943      }, title)
4944    }), Object(external_this_wp_element_["createElement"])(checklist, {
4945      blockTypes: filteredBlockTypes,
4946      value: checkedBlockNames,
4947      onItemChange: toggleVisible
4948    }));
4949  }
4950  
4951  /* harmony default export */ var manage_blocks_modal_category = (Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select) {
4952    var _select = select('core/edit-post'),
4953        getPreference = _select.getPreference;
4954  
4955    return {
4956      hiddenBlockTypes: getPreference('hiddenBlockTypes')
4957    };
4958  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
4959    var _dispatch = dispatch('core/edit-post'),
4960        showBlockTypes = _dispatch.showBlockTypes,
4961        hideBlockTypes = _dispatch.hideBlockTypes;
4962  
4963    return {
4964      toggleVisible: function toggleVisible(blockName, nextIsChecked) {
4965        if (nextIsChecked) {
4966          showBlockTypes(blockName);
4967        } else {
4968          hideBlockTypes(blockName);
4969        }
4970      },
4971      toggleAllVisible: function toggleAllVisible(nextIsChecked) {
4972        var blockNames = Object(external_this_lodash_["map"])(ownProps.blockTypes, 'name');
4973  
4974        if (nextIsChecked) {
4975          showBlockTypes(blockNames);
4976        } else {
4977          hideBlockTypes(blockNames);
4978        }
4979      }
4980    };
4981  })])(BlockManagerCategory));
4982  
4983  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/manage-blocks-modal/manager.js
4984  
4985  
4986  /**
4987   * External dependencies
4988   */
4989  
4990  /**
4991   * WordPress dependencies
4992   */
4993  
4994  
4995  
4996  
4997  
4998  /**
4999   * Internal dependencies
5000   */
5001  
5002  
5003  
5004  function BlockManager(_ref) {
5005    var search = _ref.search,
5006        setState = _ref.setState,
5007        blockTypes = _ref.blockTypes,
5008        categories = _ref.categories,
5009        hasBlockSupport = _ref.hasBlockSupport,
5010        isMatchingSearchTerm = _ref.isMatchingSearchTerm,
5011        numberOfHiddenBlocks = _ref.numberOfHiddenBlocks;
5012    // Filtering occurs here (as opposed to `withSelect`) to avoid wasted
5013    // wasted renders by consequence of `Array#filter` producing a new
5014    // value reference on each call.
5015    blockTypes = blockTypes.filter(function (blockType) {
5016      return hasBlockSupport(blockType, 'inserter', true) && (!search || isMatchingSearchTerm(blockType, search)) && (!blockType.parent || Object(external_this_lodash_["includes"])(blockType.parent, 'core/post-content'));
5017    });
5018    return Object(external_this_wp_element_["createElement"])("div", {
5019      className: "edit-post-manage-blocks-modal__content"
5020    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
5021      type: "search",
5022      label: Object(external_this_wp_i18n_["__"])('Search for a block'),
5023      value: search,
5024      onChange: function onChange(nextSearch) {
5025        return setState({
5026          search: nextSearch
5027        });
5028      },
5029      className: "edit-post-manage-blocks-modal__search"
5030    }), !!numberOfHiddenBlocks && Object(external_this_wp_element_["createElement"])("div", {
5031      className: "edit-post-manage-blocks-modal__disabled-blocks-count"
5032    }, Object(external_this_wp_i18n_["sprintf"])(
5033    /* translators: %d: number of blocks. */
5034    Object(external_this_wp_i18n_["_n"])('%d block is disabled.', '%d blocks are disabled.', numberOfHiddenBlocks), numberOfHiddenBlocks)), Object(external_this_wp_element_["createElement"])("div", {
5035      tabIndex: "0",
5036      role: "region",
5037      "aria-label": Object(external_this_wp_i18n_["__"])('Available block types'),
5038      className: "edit-post-manage-blocks-modal__results"
5039    }, blockTypes.length === 0 && Object(external_this_wp_element_["createElement"])("p", {
5040      className: "edit-post-manage-blocks-modal__no-results"
5041    }, Object(external_this_wp_i18n_["__"])('No blocks found.')), categories.map(function (category) {
5042      return Object(external_this_wp_element_["createElement"])(manage_blocks_modal_category, {
5043        key: category.slug,
5044        title: category.title,
5045        blockTypes: Object(external_this_lodash_["filter"])(blockTypes, {
5046          category: category.slug
5047        })
5048      });
5049    }), Object(external_this_wp_element_["createElement"])(manage_blocks_modal_category, {
5050      title: Object(external_this_wp_i18n_["__"])('Uncategorized'),
5051      blockTypes: Object(external_this_lodash_["filter"])(blockTypes, function (_ref2) {
5052        var category = _ref2.category;
5053        return !category;
5054      })
5055    })));
5056  }
5057  
5058  /* harmony default export */ var manager = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_compose_["withState"])({
5059    search: ''
5060  }), Object(external_this_wp_data_["withSelect"])(function (select) {
5061    var _select = select('core/blocks'),
5062        getBlockTypes = _select.getBlockTypes,
5063        getCategories = _select.getCategories,
5064        hasBlockSupport = _select.hasBlockSupport,
5065        isMatchingSearchTerm = _select.isMatchingSearchTerm;
5066  
5067    var _select2 = select('core/edit-post'),
5068        getPreference = _select2.getPreference;
5069  
5070    var hiddenBlockTypes = getPreference('hiddenBlockTypes');
5071    var numberOfHiddenBlocks = Object(external_this_lodash_["isArray"])(hiddenBlockTypes) && hiddenBlockTypes.length;
5072    return {
5073      blockTypes: getBlockTypes(),
5074      categories: getCategories(),
5075      hasBlockSupport: hasBlockSupport,
5076      isMatchingSearchTerm: isMatchingSearchTerm,
5077      numberOfHiddenBlocks: numberOfHiddenBlocks
5078    };
5079  })])(BlockManager));
5080  
5081  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/manage-blocks-modal/index.js
5082  
5083  
5084  /**
5085   * WordPress dependencies
5086   */
5087  
5088  
5089  
5090  
5091  /**
5092   * Internal dependencies
5093   */
5094  
5095  
5096  /**
5097   * Unique identifier for Manage Blocks modal.
5098   *
5099   * @type {string}
5100   */
5101  
5102  var manage_blocks_modal_MODAL_NAME = 'edit-post/manage-blocks';
5103  function ManageBlocksModal(_ref) {
5104    var isActive = _ref.isActive,
5105        closeModal = _ref.closeModal;
5106  
5107    if (!isActive) {
5108      return null;
5109    }
5110  
5111    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], {
5112      className: "edit-post-manage-blocks-modal",
5113      title: Object(external_this_wp_i18n_["__"])('Block Manager'),
5114      closeLabel: Object(external_this_wp_i18n_["__"])('Close'),
5115      onRequestClose: closeModal
5116    }, Object(external_this_wp_element_["createElement"])(manager, null));
5117  }
5118  /* harmony default export */ var manage_blocks_modal = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
5119    var _select = select('core/edit-post'),
5120        isModalActive = _select.isModalActive;
5121  
5122    return {
5123      isActive: isModalActive(manage_blocks_modal_MODAL_NAME)
5124    };
5125  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
5126    var _dispatch = dispatch('core/edit-post'),
5127        closeModal = _dispatch.closeModal;
5128  
5129    return {
5130      closeModal: closeModal
5131    };
5132  })])(ManageBlocksModal));
5133  
5134  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/section.js
5135  
5136  
5137  var section_Section = function Section(_ref) {
5138    var description = _ref.description,
5139        title = _ref.title,
5140        children = _ref.children;
5141    return Object(external_this_wp_element_["createElement"])("section", {
5142      className: "edit-post-preferences-modal__section"
5143    }, Object(external_this_wp_element_["createElement"])("h2", {
5144      className: "edit-post-preferences-modal__section-title"
5145    }, title), description && Object(external_this_wp_element_["createElement"])("p", {
5146      className: "edit-post-preferences-modal__section-description"
5147    }, description), children);
5148  };
5149  
5150  /* harmony default export */ var section = (section_Section);
5151  
5152  // EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/base.js
5153  var base = __webpack_require__(116);
5154  
5155  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-publish-sidebar.js
5156  /**
5157   * WordPress dependencies
5158   */
5159  
5160  
5161  
5162  /**
5163   * Internal dependencies
5164   */
5165  
5166  
5167  /* harmony default export */ var enable_publish_sidebar = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
5168    return {
5169      isChecked: select('core/editor').isPublishSidebarEnabled()
5170    };
5171  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
5172    var _dispatch = dispatch('core/editor'),
5173        enablePublishSidebar = _dispatch.enablePublishSidebar,
5174        disablePublishSidebar = _dispatch.disablePublishSidebar;
5175  
5176    return {
5177      onChange: function onChange(isEnabled) {
5178        return isEnabled ? enablePublishSidebar() : disablePublishSidebar();
5179      }
5180    };
5181  }), // In < medium viewports we override this option and always show the publish sidebar.
5182  // See the edit-post's header component for the specific logic.
5183  Object(external_this_wp_viewport_["ifViewportMatches"])('medium'))(base["a" /* default */]));
5184  
5185  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-feature.js
5186  /**
5187   * WordPress dependencies
5188   */
5189  
5190  
5191  /**
5192   * Internal dependencies
5193   */
5194  
5195  
5196  /* harmony default export */ var enable_feature = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
5197    var featureName = _ref.featureName;
5198  
5199    var _select = select('core/edit-post'),
5200        isFeatureActive = _select.isFeatureActive;
5201  
5202    return {
5203      isChecked: isFeatureActive(featureName)
5204    };
5205  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) {
5206    var featureName = _ref2.featureName;
5207    return {
5208      onChange: function onChange() {
5209        return dispatch('core/edit-post').toggleFeature(featureName);
5210      }
5211    };
5212  }))(base["a" /* default */]));
5213  
5214  // EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-plugin-document-setting-panel.js
5215  var enable_plugin_document_setting_panel = __webpack_require__(494);
5216  
5217  // EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-panel.js
5218  var enable_panel = __webpack_require__(495);
5219  
5220  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-custom-fields.js
5221  
5222  
5223  
5224  /**
5225   * WordPress dependencies
5226   */
5227  
5228  
5229  
5230  
5231  /**
5232   * Internal dependencies
5233   */
5234  
5235  
5236  function CustomFieldsConfirmation(_ref) {
5237    var willEnable = _ref.willEnable;
5238  
5239    var _useState = Object(external_this_wp_element_["useState"])(false),
5240        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
5241        isReloading = _useState2[0],
5242        setIsReloading = _useState2[1];
5243  
5244    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("p", {
5245      className: "edit-post-preferences-modal__custom-fields-confirmation-message"
5246    }, Object(external_this_wp_i18n_["__"])('A page reload is required for this change. Make sure your content is saved before reloading.')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
5247      className: "edit-post-preferences-modal__custom-fields-confirmation-button",
5248      isSecondary: true,
5249      isBusy: isReloading,
5250      disabled: isReloading,
5251      onClick: function onClick() {
5252        setIsReloading(true);
5253        document.getElementById('toggle-custom-fields-form').submit();
5254      }
5255    }, willEnable ? Object(external_this_wp_i18n_["__"])('Enable & Reload') : Object(external_this_wp_i18n_["__"])('Disable & Reload')));
5256  }
5257  function EnableCustomFieldsOption(_ref2) {
5258    var label = _ref2.label,
5259        areCustomFieldsEnabled = _ref2.areCustomFieldsEnabled;
5260  
5261    var _useState3 = Object(external_this_wp_element_["useState"])(areCustomFieldsEnabled),
5262        _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
5263        isChecked = _useState4[0],
5264        setIsChecked = _useState4[1];
5265  
5266    return Object(external_this_wp_element_["createElement"])(base["a" /* default */], {
5267      label: label,
5268      isChecked: isChecked,
5269      onChange: setIsChecked
5270    }, isChecked !== areCustomFieldsEnabled && Object(external_this_wp_element_["createElement"])(CustomFieldsConfirmation, {
5271      willEnable: isChecked
5272    }));
5273  }
5274  /* harmony default export */ var enable_custom_fields = (Object(external_this_wp_data_["withSelect"])(function (select) {
5275    return {
5276      areCustomFieldsEnabled: !!select('core/editor').getEditorSettings().enableCustomFields
5277    };
5278  })(EnableCustomFieldsOption));
5279  
5280  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/meta-boxes-section.js
5281  
5282  
5283  
5284  /**
5285   * External dependencies
5286   */
5287  
5288  /**
5289   * WordPress dependencies
5290   */
5291  
5292  
5293  
5294  /**
5295   * Internal dependencies
5296   */
5297  
5298  
5299  
5300  function MetaBoxesSection(_ref) {
5301    var areCustomFieldsRegistered = _ref.areCustomFieldsRegistered,
5302        metaBoxes = _ref.metaBoxes,
5303        sectionProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["areCustomFieldsRegistered", "metaBoxes"]);
5304  
5305    // The 'Custom Fields' meta box is a special case that we handle separately.
5306    var thirdPartyMetaBoxes = Object(external_this_lodash_["filter"])(metaBoxes, function (_ref2) {
5307      var id = _ref2.id;
5308      return id !== 'postcustom';
5309    });
5310  
5311    if (!areCustomFieldsRegistered && thirdPartyMetaBoxes.length === 0) {
5312      return null;
5313    }
5314  
5315    return Object(external_this_wp_element_["createElement"])(section, sectionProps, areCustomFieldsRegistered && Object(external_this_wp_element_["createElement"])(enable_custom_fields, {
5316      label: Object(external_this_wp_i18n_["__"])('Custom fields')
5317    }), Object(external_this_lodash_["map"])(thirdPartyMetaBoxes, function (_ref3) {
5318      var id = _ref3.id,
5319          title = _ref3.title;
5320      return Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5321        key: id,
5322        label: title,
5323        panelName: "meta-box-".concat(id)
5324      });
5325    }));
5326  }
5327  /* harmony default export */ var meta_boxes_section = (Object(external_this_wp_data_["withSelect"])(function (select) {
5328    var _select = select('core/editor'),
5329        getEditorSettings = _select.getEditorSettings;
5330  
5331    var _select2 = select('core/edit-post'),
5332        getAllMetaBoxes = _select2.getAllMetaBoxes;
5333  
5334    return {
5335      // This setting should not live in the block editor's store.
5336      areCustomFieldsRegistered: getEditorSettings().enableCustomFields !== undefined,
5337      metaBoxes: getAllMetaBoxes()
5338    };
5339  })(MetaBoxesSection));
5340  
5341  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/index.js
5342  
5343  
5344  /**
5345   * External dependencies
5346   */
5347  
5348  /**
5349   * WordPress dependencies
5350   */
5351  
5352  
5353  
5354  
5355  
5356  
5357  /**
5358   * Internal dependencies
5359   */
5360  
5361  
5362  
5363  
5364  var preferences_modal_MODAL_NAME = 'edit-post/preferences';
5365  function PreferencesModal(_ref) {
5366    var isModalActive = _ref.isModalActive,
5367        isViewable = _ref.isViewable,
5368        closeModal = _ref.closeModal;
5369  
5370    if (!isModalActive) {
5371      return null;
5372    }
5373  
5374    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], {
5375      className: "edit-post-preferences-modal",
5376      title: Object(external_this_wp_i18n_["__"])('Preferences'),
5377      closeLabel: Object(external_this_wp_i18n_["__"])('Close'),
5378      onRequestClose: closeModal
5379    }, Object(external_this_wp_element_["createElement"])(section, {
5380      title: Object(external_this_wp_i18n_["__"])('General')
5381    }, Object(external_this_wp_element_["createElement"])(enable_publish_sidebar, {
5382      help: Object(external_this_wp_i18n_["__"])('Review settings such as categories and tags.'),
5383      label: Object(external_this_wp_i18n_["__"])('Include pre-publish checklist')
5384    }), Object(external_this_wp_element_["createElement"])(enable_feature, {
5385      featureName: "mostUsedBlocks",
5386      help: Object(external_this_wp_i18n_["__"])('Places the most frequent blocks in the block library.'),
5387      label: Object(external_this_wp_i18n_["__"])('Show most used blocks')
5388    })), Object(external_this_wp_element_["createElement"])(section, {
5389      title: Object(external_this_wp_i18n_["__"])('Keyboard')
5390    }, Object(external_this_wp_element_["createElement"])(enable_feature, {
5391      featureName: "keepCaretInsideBlock",
5392      help: Object(external_this_wp_i18n_["__"])('Aids screen readers by stopping text caret from leaving blocks.'),
5393      label: Object(external_this_wp_i18n_["__"])('Contain text cursor inside block')
5394    })), Object(external_this_wp_element_["createElement"])(section, {
5395      title: Object(external_this_wp_i18n_["__"])('Appearance')
5396    }, Object(external_this_wp_element_["createElement"])(enable_feature, {
5397      featureName: "reducedUI",
5398      help: Object(external_this_wp_i18n_["__"])('Compacts options and outlines in the toolbar.'),
5399      label: Object(external_this_wp_i18n_["__"])('Reduce the interface')
5400    }), Object(external_this_wp_element_["createElement"])(enable_feature, {
5401      featureName: "focusMode",
5402      help: Object(external_this_wp_i18n_["__"])('Highlights the current block and fades other content.'),
5403      label: Object(external_this_wp_i18n_["__"])('Spotlight mode')
5404    }), Object(external_this_wp_element_["createElement"])(enable_feature, {
5405      featureName: "showIconLabels",
5406      help: Object(external_this_wp_i18n_["__"])('Shows text instead of icons in toolbar.'),
5407      label: Object(external_this_wp_i18n_["__"])('Display button labels')
5408    }), Object(external_this_wp_element_["createElement"])(enable_feature, {
5409      featureName: "themeStyles",
5410      help: Object(external_this_wp_i18n_["__"])('Make the editor look like your theme.'),
5411      label: Object(external_this_wp_i18n_["__"])('Use theme styles')
5412    })), Object(external_this_wp_element_["createElement"])(section, {
5413      title: Object(external_this_wp_i18n_["__"])('Document settings'),
5414      description: Object(external_this_wp_i18n_["__"])('Choose what displays in the panel.')
5415    }, Object(external_this_wp_element_["createElement"])(enable_plugin_document_setting_panel["a" /* default */].Slot, null), isViewable && Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5416      label: Object(external_this_wp_i18n_["__"])('Permalink'),
5417      panelName: "post-link"
5418    }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTaxonomies"], {
5419      taxonomyWrapper: function taxonomyWrapper(content, taxonomy) {
5420        return Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5421          label: Object(external_this_lodash_["get"])(taxonomy, ['labels', 'menu_name']),
5422          panelName: "taxonomy-panel-".concat(taxonomy.slug)
5423        });
5424      }
5425    }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostFeaturedImageCheck"], null, Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5426      label: Object(external_this_wp_i18n_["__"])('Featured image'),
5427      panelName: "featured-image"
5428    })), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostExcerptCheck"], null, Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5429      label: Object(external_this_wp_i18n_["__"])('Excerpt'),
5430      panelName: "post-excerpt"
5431    })), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTypeSupportCheck"], {
5432      supportKeys: ['comments', 'trackbacks']
5433    }, Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5434      label: Object(external_this_wp_i18n_["__"])('Discussion'),
5435      panelName: "discussion-panel"
5436    })), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PageAttributesCheck"], null, Object(external_this_wp_element_["createElement"])(enable_panel["a" /* default */], {
5437      label: Object(external_this_wp_i18n_["__"])('Page attributes'),
5438      panelName: "page-attributes"
5439    }))), Object(external_this_wp_element_["createElement"])(meta_boxes_section, {
5440      title: Object(external_this_wp_i18n_["__"])('Additional panels'),
5441      description: Object(external_this_wp_i18n_["__"])('Add extra areas to the editor.')
5442    }));
5443  }
5444  /* harmony default export */ var preferences_modal = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
5445    var _select = select('core/editor'),
5446        getEditedPostAttribute = _select.getEditedPostAttribute;
5447  
5448    var _select2 = select('core'),
5449        getPostType = _select2.getPostType;
5450  
5451    var postType = getPostType(getEditedPostAttribute('type'));
5452    return {
5453      isModalActive: select('core/edit-post').isModalActive(preferences_modal_MODAL_NAME),
5454      isViewable: Object(external_this_lodash_["get"])(postType, ['viewable'], false)
5455    };
5456  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
5457    return {
5458      closeModal: function closeModal() {
5459        return dispatch('core/edit-post').closeModal();
5460      }
5461    };
5462  }))(PreferencesModal));
5463  
5464  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js
5465  
5466  
5467  
5468  
5469  
5470  
5471  function browser_url_createSuper(Derived) { var hasNativeReflectConstruct = browser_url_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
5472  
5473  function browser_url_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5474  
5475  /**
5476   * WordPress dependencies
5477   */
5478  
5479  
5480  
5481  /**
5482   * Returns the Post's Edit URL.
5483   *
5484   * @param {number} postId Post ID.
5485   *
5486   * @return {string} Post edit URL.
5487   */
5488  
5489  function getPostEditURL(postId) {
5490    return Object(external_this_wp_url_["addQueryArgs"])('post.php', {
5491      post: postId,
5492      action: 'edit'
5493    });
5494  }
5495  /**
5496   * Returns the Post's Trashed URL.
5497   *
5498   * @param {number} postId    Post ID.
5499   * @param {string} postType Post Type.
5500   *
5501   * @return {string} Post trashed URL.
5502   */
5503  
5504  function getPostTrashedURL(postId, postType) {
5505    return Object(external_this_wp_url_["addQueryArgs"])('edit.php', {
5506      trashed: 1,
5507      post_type: postType,
5508      ids: postId
5509    });
5510  }
5511  var browser_url_BrowserURL = /*#__PURE__*/function (_Component) {
5512    Object(inherits["a" /* default */])(BrowserURL, _Component);
5513  
5514    var _super = browser_url_createSuper(BrowserURL);
5515  
5516    function BrowserURL() {
5517      var _this;
5518  
5519      Object(classCallCheck["a" /* default */])(this, BrowserURL);
5520  
5521      _this = _super.apply(this, arguments);
5522      _this.state = {
5523        historyId: null
5524      };
5525      return _this;
5526    }
5527  
5528    Object(createClass["a" /* default */])(BrowserURL, [{
5529      key: "componentDidUpdate",
5530      value: function componentDidUpdate(prevProps) {
5531        var _this$props = this.props,
5532            postId = _this$props.postId,
5533            postStatus = _this$props.postStatus,
5534            postType = _this$props.postType,
5535            isSavingPost = _this$props.isSavingPost;
5536        var historyId = this.state.historyId; // Posts are still dirty while saving so wait for saving to finish
5537        // to avoid the unsaved changes warning when trashing posts.
5538  
5539        if (postStatus === 'trash' && !isSavingPost) {
5540          this.setTrashURL(postId, postType);
5541          return;
5542        }
5543  
5544        if ((postId !== prevProps.postId || postId !== historyId) && postStatus !== 'auto-draft') {
5545          this.setBrowserURL(postId);
5546        }
5547      }
5548      /**
5549       * Navigates the browser to the post trashed URL to show a notice about the trashed post.
5550       *
5551       * @param {number} postId    Post ID.
5552       * @param {string} postType  Post Type.
5553       */
5554  
5555    }, {
5556      key: "setTrashURL",
5557      value: function setTrashURL(postId, postType) {
5558        window.location.href = getPostTrashedURL(postId, postType);
5559      }
5560      /**
5561       * Replaces the browser URL with a post editor link for the given post ID.
5562       *
5563       * Note it is important that, since this function may be called when the
5564       * editor first loads, the result generated `getPostEditURL` matches that
5565       * produced by the server. Otherwise, the URL will change unexpectedly.
5566       *
5567       * @param {number} postId Post ID for which to generate post editor URL.
5568       */
5569  
5570    }, {
5571      key: "setBrowserURL",
5572      value: function setBrowserURL(postId) {
5573        window.history.replaceState({
5574          id: postId
5575        }, 'Post ' + postId, getPostEditURL(postId));
5576        this.setState(function () {
5577          return {
5578            historyId: postId
5579          };
5580        });
5581      }
5582    }, {
5583      key: "render",
5584      value: function render() {
5585        return null;
5586      }
5587    }]);
5588  
5589    return BrowserURL;
5590  }(external_this_wp_element_["Component"]);
5591  /* harmony default export */ var browser_url = (Object(external_this_wp_data_["withSelect"])(function (select) {
5592    var _select = select('core/editor'),
5593        getCurrentPost = _select.getCurrentPost,
5594        isSavingPost = _select.isSavingPost;
5595  
5596    var _getCurrentPost = getCurrentPost(),
5597        id = _getCurrentPost.id,
5598        status = _getCurrentPost.status,
5599        type = _getCurrentPost.type;
5600  
5601    return {
5602      postId: id,
5603      postStatus: status,
5604      postType: type,
5605      isSavingPost: isSavingPost()
5606    };
5607  })(browser_url_BrowserURL));
5608  
5609  // EXTERNAL MODULE: external {"this":["wp","primitives"]}
5610  var external_this_wp_primitives_ = __webpack_require__(7);
5611  
5612  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
5613  
5614  
5615  /**
5616   * WordPress dependencies
5617   */
5618  
5619  var wordpress = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
5620    xmlns: "http://www.w3.org/2000/svg",
5621    viewBox: "-2 -2 24 24"
5622  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
5623    d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
5624  }));
5625  /* harmony default export */ var library_wordpress = (wordpress);
5626  
5627  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/fullscreen-mode-close/index.js
5628  
5629  
5630  /**
5631   * External dependencies
5632   */
5633  
5634  /**
5635   * WordPress dependencies
5636   */
5637  
5638  
5639  
5640  
5641  
5642  
5643  
5644  function FullscreenModeClose(_ref) {
5645    var showTooltip = _ref.showTooltip;
5646  
5647    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
5648      var _select = select('core/editor'),
5649          getCurrentPostType = _select.getCurrentPostType;
5650  
5651      var _select2 = select('core/edit-post'),
5652          isFeatureActive = _select2.isFeatureActive;
5653  
5654      var _select3 = select('core/data'),
5655          isResolving = _select3.isResolving;
5656  
5657      var _select4 = select('core'),
5658          getEntityRecord = _select4.getEntityRecord,
5659          getPostType = _select4.getPostType;
5660  
5661      var siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
5662      return {
5663        isActive: isFeatureActive('fullscreenMode'),
5664        isRequestingSiteIcon: isResolving('core', 'getEntityRecord', ['root', '__unstableBase', undefined]),
5665        postType: getPostType(getCurrentPostType()),
5666        siteIconUrl: siteData.site_icon_url
5667      };
5668    }, []),
5669        isActive = _useSelect.isActive,
5670        isRequestingSiteIcon = _useSelect.isRequestingSiteIcon,
5671        postType = _useSelect.postType,
5672        siteIconUrl = _useSelect.siteIconUrl;
5673  
5674    if (!isActive || !postType) {
5675      return null;
5676    }
5677  
5678    var buttonIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], {
5679      size: "36px",
5680      icon: library_wordpress
5681    });
5682  
5683    if (siteIconUrl) {
5684      buttonIcon = Object(external_this_wp_element_["createElement"])("img", {
5685        alt: Object(external_this_wp_i18n_["__"])('Site Icon'),
5686        className: "edit-post-fullscreen-mode-close_site-icon",
5687        src: siteIconUrl
5688      });
5689    } else if (isRequestingSiteIcon) {
5690      buttonIcon = null;
5691    }
5692  
5693    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
5694      className: "edit-post-fullscreen-mode-close has-icon",
5695      href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', {
5696        post_type: postType.slug
5697      }),
5698      label: Object(external_this_lodash_["get"])(postType, ['labels', 'view_items'], Object(external_this_wp_i18n_["__"])('Back')),
5699      showTooltip: showTooltip
5700    }, buttonIcon);
5701  }
5702  
5703  /* harmony default export */ var fullscreen_mode_close = (FullscreenModeClose);
5704  
5705  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
5706  var plus = __webpack_require__(209);
5707  
5708  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js
5709  
5710  
5711  /**
5712   * WordPress dependencies
5713   */
5714  
5715  
5716  
5717  
5718  
5719  
5720  
5721  
5722  
5723  function HeaderToolbar() {
5724    var inserterButton = Object(external_this_wp_element_["useRef"])();
5725  
5726    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
5727        setIsInserterOpened = _useDispatch.setIsInserterOpened;
5728  
5729    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
5730      var _select = select('core/block-editor'),
5731          hasInserterItems = _select.hasInserterItems,
5732          getBlockRootClientId = _select.getBlockRootClientId,
5733          getBlockSelectionEnd = _select.getBlockSelectionEnd;
5734  
5735      return {
5736        hasFixedToolbar: select('core/edit-post').isFeatureActive('fixedToolbar'),
5737        // This setting (richEditingEnabled) should not live in the block editor's setting.
5738        isInserterEnabled: select('core/edit-post').getEditorMode() === 'visual' && select('core/editor').getEditorSettings().richEditingEnabled && hasInserterItems(getBlockRootClientId(getBlockSelectionEnd())),
5739        isInserterOpened: select('core/edit-post').isInserterOpened(),
5740        isTextModeEnabled: select('core/edit-post').getEditorMode() === 'text',
5741        previewDeviceType: select('core/edit-post').__experimentalGetPreviewDeviceType(),
5742        showIconLabels: select('core/edit-post').isFeatureActive('showIconLabels'),
5743        isNavigationTool: select('core/block-editor').isNavigationMode(),
5744        hasReducedUI: select('core/edit-post').isFeatureActive('reducedUI')
5745      };
5746    }, []),
5747        hasReducedUI = _useSelect.hasReducedUI,
5748        hasFixedToolbar = _useSelect.hasFixedToolbar,
5749        isInserterEnabled = _useSelect.isInserterEnabled,
5750        isInserterOpened = _useSelect.isInserterOpened,
5751        isTextModeEnabled = _useSelect.isTextModeEnabled,
5752        previewDeviceType = _useSelect.previewDeviceType,
5753        showIconLabels = _useSelect.showIconLabels,
5754        isNavigationTool = _useSelect.isNavigationTool;
5755  
5756    var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium');
5757    var isWideViewport = Object(external_this_wp_compose_["useViewportMatch"])('wide');
5758    var isSmallViewport = Object(external_this_wp_compose_["useViewportMatch"])('small', '<');
5759  
5760    var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
5761        setNavigationMode = _useDispatch2.setNavigationMode;
5762  
5763    var displayBlockToolbar = !isLargeViewport || previewDeviceType !== 'Desktop' || hasFixedToolbar;
5764    var toolbarAriaLabel = displayBlockToolbar ?
5765    /* translators: accessibility text for the editor toolbar when Top Toolbar is on */
5766    Object(external_this_wp_i18n_["__"])('Document and block tools') :
5767    /* translators: accessibility text for the editor toolbar when Top Toolbar is off */
5768    Object(external_this_wp_i18n_["__"])('Document tools');
5769  
5770    var onSwitchMode = function onSwitchMode(mode) {
5771      setNavigationMode(mode === 'edit' ? false : true);
5772    };
5773  
5774    var overflowItems = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5775      as: external_this_wp_editor_["TableOfContents"],
5776      hasOutlineItemsDisabled: isTextModeEnabled,
5777      repositionDropdown: showIconLabels && !isWideViewport,
5778      showTooltip: !showIconLabels,
5779      isTertiary: showIconLabels
5780    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5781      as: external_this_wp_blockEditor_["BlockNavigationDropdown"],
5782      isDisabled: isTextModeEnabled,
5783      showTooltip: !showIconLabels,
5784      isTertiary: showIconLabels
5785    }));
5786    return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["NavigableToolbar"], {
5787      className: "edit-post-header-toolbar",
5788      "aria-label": toolbarAriaLabel
5789    }, Object(external_this_wp_element_["createElement"])("div", {
5790      className: "edit-post-header-toolbar__left"
5791    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5792      ref: inserterButton,
5793      as: external_this_wp_components_["Button"],
5794      className: "edit-post-header-toolbar__inserter-toggle",
5795      isPrimary: true,
5796      isPressed: isInserterOpened,
5797      onMouseDown: function onMouseDown(event) {
5798        event.preventDefault();
5799      },
5800      onClick: function onClick() {
5801        if (isInserterOpened) {
5802          // Focusing the inserter button closes the inserter popover
5803          inserterButton.current.focus();
5804        } else {
5805          setIsInserterOpened(true);
5806        }
5807      },
5808      disabled: !isInserterEnabled,
5809      icon: plus["a" /* default */]
5810      /* translators: button label text should, if possible, be under 16
5811      characters. */
5812      ,
5813      label: Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'),
5814      showTooltip: !showIconLabels
5815    }, showIconLabels && Object(external_this_wp_i18n_["__"])('Add')), !hasReducedUI && (isWideViewport || !showIconLabels) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isLargeViewport && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5816      as: external_this_wp_blockEditor_["ToolSelector"],
5817      showTooltip: !showIconLabels,
5818      isTertiary: showIconLabels,
5819      disabled: isTextModeEnabled
5820    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5821      as: external_this_wp_editor_["EditorHistoryUndo"],
5822      showTooltip: !showIconLabels,
5823      isTertiary: showIconLabels
5824    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarItem"], {
5825      as: external_this_wp_editor_["EditorHistoryRedo"],
5826      showTooltip: !showIconLabels,
5827      isTertiary: showIconLabels
5828    }), overflowItems), !hasReducedUI && !isWideViewport && !isSmallViewport && showIconLabels && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
5829      position: "bottom right",
5830      label:
5831      /* translators: button label text should, if possible, be under 16
5832      characters. */
5833      Object(external_this_wp_i18n_["__"])('Tools')
5834    }, function () {
5835      return Object(external_this_wp_element_["createElement"])("div", {
5836        className: "edit-post-header__dropdown"
5837      }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
5838        label: Object(external_this_wp_i18n_["__"])('Modes')
5839      }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], {
5840        value: isNavigationTool ? 'select' : 'edit',
5841        onSelect: onSwitchMode,
5842        choices: [{
5843          value: 'edit',
5844          label: Object(external_this_wp_i18n_["__"])('Edit')
5845        }, {
5846          value: 'select',
5847          label: Object(external_this_wp_i18n_["__"])('Select')
5848        }]
5849      })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
5850        label: Object(external_this_wp_i18n_["__"])('Edit')
5851      }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryUndo"], {
5852        showTooltip: !showIconLabels,
5853        isTertiary: showIconLabels
5854      }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryRedo"], {
5855        showTooltip: !showIconLabels,
5856        isTertiary: showIconLabels
5857      })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, overflowItems));
5858    })), displayBlockToolbar && Object(external_this_wp_element_["createElement"])("div", {
5859      className: "edit-post-header-toolbar__block-toolbar"
5860    }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockToolbar"], {
5861      hideDragHandle: true
5862    })));
5863  }
5864  
5865  /* harmony default export */ var header_toolbar = (HeaderToolbar);
5866  
5867  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
5868  var more_vertical = __webpack_require__(317);
5869  
5870  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/mode-switcher/index.js
5871  
5872  
5873  
5874  function mode_switcher_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
5875  
5876  function mode_switcher_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { mode_switcher_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { mode_switcher_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5877  
5878  /**
5879   * WordPress dependencies
5880   */
5881  
5882  
5883  
5884  /**
5885   * Set of available mode options.
5886   *
5887   * @type {Array}
5888   */
5889  
5890  var MODES = [{
5891    value: 'visual',
5892    label: Object(external_this_wp_i18n_["__"])('Visual editor')
5893  }, {
5894    value: 'text',
5895    label: Object(external_this_wp_i18n_["__"])('Code editor')
5896  }];
5897  
5898  function ModeSwitcher() {
5899    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
5900      return {
5901        shortcut: select('core/keyboard-shortcuts').getShortcutRepresentation('core/edit-post/toggle-mode'),
5902        isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled,
5903        isCodeEditingEnabled: select('core/editor').getEditorSettings().codeEditingEnabled,
5904        mode: select('core/edit-post').getEditorMode()
5905      };
5906    }, []),
5907        shortcut = _useSelect.shortcut,
5908        isRichEditingEnabled = _useSelect.isRichEditingEnabled,
5909        isCodeEditingEnabled = _useSelect.isCodeEditingEnabled,
5910        mode = _useSelect.mode;
5911  
5912    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
5913        switchEditorMode = _useDispatch.switchEditorMode;
5914  
5915    if (!isRichEditingEnabled || !isCodeEditingEnabled) {
5916      return null;
5917    }
5918  
5919    var choices = MODES.map(function (choice) {
5920      if (choice.value !== mode) {
5921        return mode_switcher_objectSpread(mode_switcher_objectSpread({}, choice), {}, {
5922          shortcut: shortcut
5923        });
5924      }
5925  
5926      return choice;
5927    });
5928    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
5929      label: Object(external_this_wp_i18n_["__"])('Editor')
5930    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], {
5931      choices: choices,
5932      value: mode,
5933      onSelect: switchEditorMode
5934    }));
5935  }
5936  
5937  /* harmony default export */ var mode_switcher = (ModeSwitcher);
5938  
5939  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/preferences-menu-item/index.js
5940  
5941  
5942  /**
5943   * WordPress dependencies
5944   */
5945  
5946  
5947  
5948  function PreferencesMenuItem(_ref) {
5949    var openModal = _ref.openModal;
5950    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
5951      onClick: function onClick() {
5952        openModal('edit-post/preferences');
5953      }
5954    }, Object(external_this_wp_i18n_["__"])('Preferences'));
5955  }
5956  /* harmony default export */ var preferences_menu_item = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
5957    var _dispatch = dispatch('core/edit-post'),
5958        openModal = _dispatch.openModal;
5959  
5960    return {
5961      openModal: openModal
5962    };
5963  })(PreferencesMenuItem));
5964  
5965  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/feature-toggle/index.js
5966  
5967  
5968  /**
5969   * External dependencies
5970   */
5971  
5972  /**
5973   * WordPress dependencies
5974   */
5975  
5976  
5977  
5978  
5979  
5980  
5981  
5982  
5983  function FeatureToggle(_ref) {
5984    var onToggle = _ref.onToggle,
5985        isActive = _ref.isActive,
5986        label = _ref.label,
5987        info = _ref.info,
5988        messageActivated = _ref.messageActivated,
5989        messageDeactivated = _ref.messageDeactivated,
5990        shortcut = _ref.shortcut;
5991  
5992    var speakMessage = function speakMessage() {
5993      if (isActive) {
5994        Object(external_this_wp_a11y_["speak"])(messageDeactivated || Object(external_this_wp_i18n_["__"])('Feature deactivated'));
5995      } else {
5996        Object(external_this_wp_a11y_["speak"])(messageActivated || Object(external_this_wp_i18n_["__"])('Feature activated'));
5997      }
5998    };
5999  
6000    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
6001      icon: isActive && check["a" /* default */],
6002      isSelected: isActive,
6003      onClick: Object(external_this_lodash_["flow"])(onToggle, speakMessage),
6004      role: "menuitemcheckbox",
6005      info: info,
6006      shortcut: shortcut
6007    }, label);
6008  }
6009  
6010  /* harmony default export */ var feature_toggle = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) {
6011    var feature = _ref2.feature;
6012    return {
6013      isActive: select('core/edit-post').isFeatureActive(feature)
6014    };
6015  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
6016    return {
6017      onToggle: function onToggle() {
6018        dispatch('core/edit-post').toggleFeature(ownProps.feature);
6019      }
6020    };
6021  })])(FeatureToggle));
6022  
6023  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/writing-menu/index.js
6024  
6025  
6026  /**
6027   * WordPress dependencies
6028   */
6029  
6030  
6031  
6032  
6033  /**
6034   * Internal dependencies
6035   */
6036  
6037  
6038  
6039  function WritingMenu() {
6040    var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium');
6041  
6042    if (!isLargeViewport) {
6043      return null;
6044    }
6045  
6046    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
6047      label: Object(external_this_wp_i18n_["_x"])('View', 'noun')
6048    }, Object(external_this_wp_element_["createElement"])(feature_toggle, {
6049      feature: "fixedToolbar",
6050      label: Object(external_this_wp_i18n_["__"])('Top toolbar'),
6051      info: Object(external_this_wp_i18n_["__"])('Access all block and document tools in a single place'),
6052      messageActivated: Object(external_this_wp_i18n_["__"])('Top toolbar activated'),
6053      messageDeactivated: Object(external_this_wp_i18n_["__"])('Top toolbar deactivated')
6054    }), Object(external_this_wp_element_["createElement"])(feature_toggle, {
6055      feature: "focusMode",
6056      label: Object(external_this_wp_i18n_["__"])('Spotlight mode'),
6057      info: Object(external_this_wp_i18n_["__"])('Focus on one block at a time'),
6058      messageActivated: Object(external_this_wp_i18n_["__"])('Spotlight mode activated'),
6059      messageDeactivated: Object(external_this_wp_i18n_["__"])('Spotlight mode deactivated')
6060    }), Object(external_this_wp_element_["createElement"])(feature_toggle, {
6061      feature: "fullscreenMode",
6062      label: Object(external_this_wp_i18n_["__"])('Fullscreen mode'),
6063      info: Object(external_this_wp_i18n_["__"])('Work without distraction'),
6064      messageActivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode activated'),
6065      messageDeactivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode deactivated'),
6066      shortcut: external_this_wp_keycodes_["displayShortcut"].secondary('f')
6067    }));
6068  }
6069  
6070  /* harmony default export */ var writing_menu = (WritingMenu);
6071  
6072  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/more-menu/index.js
6073  
6074  
6075  
6076  function more_menu_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
6077  
6078  function more_menu_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { more_menu_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { more_menu_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6079  
6080  /**
6081   * WordPress dependencies
6082   */
6083  
6084  
6085  
6086  
6087  
6088  /**
6089   * Internal dependencies
6090   */
6091  
6092  
6093  
6094  
6095  
6096  var POPOVER_PROPS = {
6097    className: 'edit-post-more-menu__content',
6098    position: 'bottom left'
6099  };
6100  var TOGGLE_PROPS = {
6101    tooltipPosition: 'bottom'
6102  };
6103  
6104  var more_menu_MoreMenu = function MoreMenu(_ref) {
6105    var showIconLabels = _ref.showIconLabels;
6106    var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('large');
6107    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
6108      className: "edit-post-more-menu",
6109      icon: more_vertical["a" /* default */]
6110      /* translators: button label text should, if possible, be under 16 characters. */
6111      ,
6112      label: Object(external_this_wp_i18n_["__"])('Options'),
6113      popoverProps: POPOVER_PROPS,
6114      toggleProps: more_menu_objectSpread({
6115        showTooltip: !showIconLabels,
6116        isTertiary: showIconLabels
6117      }, TOGGLE_PROPS)
6118    }, function (_ref2) {
6119      var onClose = _ref2.onClose;
6120      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, showIconLabels && !isLargeViewport && Object(external_this_wp_element_["createElement"])(pinned_items.Slot, {
6121        className: showIconLabels && 'show-icon-labels',
6122        scope: "core/edit-post"
6123      }), Object(external_this_wp_element_["createElement"])(writing_menu, null), Object(external_this_wp_element_["createElement"])(mode_switcher, null), Object(external_this_wp_element_["createElement"])(action_item.Slot, {
6124        name: "core/edit-post/plugin-more-menu",
6125        label: Object(external_this_wp_i18n_["__"])('Plugins'),
6126        as: [external_this_wp_components_["MenuGroup"], external_this_wp_components_["MenuItem"]],
6127        fillProps: {
6128          onClick: onClose
6129        }
6130      }), Object(external_this_wp_element_["createElement"])(tools_more_menu_group.Slot, {
6131        fillProps: {
6132          onClose: onClose
6133        }
6134      }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, Object(external_this_wp_element_["createElement"])(preferences_menu_item, null)));
6135    });
6136  };
6137  
6138  /* harmony default export */ var more_menu = (more_menu_MoreMenu);
6139  
6140  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/post-publish-button-or-toggle.js
6141  
6142  
6143  /**
6144   * External dependencies
6145   */
6146  
6147  /**
6148   * WordPress dependencies
6149   */
6150  
6151  
6152  
6153  
6154  function PostPublishButtonOrToggle(_ref) {
6155    var forceIsDirty = _ref.forceIsDirty,
6156        forceIsSaving = _ref.forceIsSaving,
6157        hasPublishAction = _ref.hasPublishAction,
6158        isBeingScheduled = _ref.isBeingScheduled,
6159        isPending = _ref.isPending,
6160        isPublished = _ref.isPublished,
6161        isPublishSidebarEnabled = _ref.isPublishSidebarEnabled,
6162        isPublishSidebarOpened = _ref.isPublishSidebarOpened,
6163        isScheduled = _ref.isScheduled,
6164        togglePublishSidebar = _ref.togglePublishSidebar,
6165        setEntitiesSavedStatesCallback = _ref.setEntitiesSavedStatesCallback;
6166    var IS_TOGGLE = 'toggle';
6167    var IS_BUTTON = 'button';
6168    var isSmallerThanMediumViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium', '<');
6169    var component;
6170    /**
6171     * Conditions to show a BUTTON (publish directly) or a TOGGLE (open publish sidebar):
6172     *
6173     * 1) We want to show a BUTTON when the post status is at the _final stage_
6174     * for a particular role (see https://wordpress.org/support/article/post-status/):
6175     *
6176     * - is published
6177     * - is scheduled to be published
6178     * - is pending and can't be published (but only for viewports >= medium).
6179     *      Originally, we considered showing a button for pending posts that couldn't be published
6180     *      (for example, for an author with the contributor role). Some languages can have
6181     *      long translations for "Submit for review", so given the lack of UI real estate available
6182     *      we decided to take into account the viewport in that case.
6183     *       See: https://github.com/WordPress/gutenberg/issues/10475
6184     *
6185     * 2) Then, in small viewports, we'll show a TOGGLE.
6186     *
6187     * 3) Finally, we'll use the publish sidebar status to decide:
6188     *
6189     * - if it is enabled, we show a TOGGLE
6190     * - if it is disabled, we show a BUTTON
6191     */
6192  
6193    if (isPublished || isScheduled && isBeingScheduled || isPending && !hasPublishAction && !isSmallerThanMediumViewport) {
6194      component = IS_BUTTON;
6195    } else if (isSmallerThanMediumViewport) {
6196      component = IS_TOGGLE;
6197    } else if (isPublishSidebarEnabled) {
6198      component = IS_TOGGLE;
6199    } else {
6200      component = IS_BUTTON;
6201    }
6202  
6203    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPublishButton"], {
6204      forceIsDirty: forceIsDirty,
6205      forceIsSaving: forceIsSaving,
6206      isOpen: isPublishSidebarOpened,
6207      isToggle: component === IS_TOGGLE,
6208      onToggle: togglePublishSidebar,
6209      setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
6210    });
6211  }
6212  /* harmony default export */ var post_publish_button_or_toggle = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
6213    return {
6214      hasPublishAction: Object(external_this_lodash_["get"])(select('core/editor').getCurrentPost(), ['_links', 'wp:action-publish'], false),
6215      isBeingScheduled: select('core/editor').isEditedPostBeingScheduled(),
6216      isPending: select('core/editor').isCurrentPostPending(),
6217      isPublished: select('core/editor').isCurrentPostPublished(),
6218      isPublishSidebarEnabled: select('core/editor').isPublishSidebarEnabled(),
6219      isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(),
6220      isScheduled: select('core/editor').isCurrentPostScheduled()
6221    };
6222  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
6223    var _dispatch = dispatch('core/edit-post'),
6224        togglePublishSidebar = _dispatch.togglePublishSidebar;
6225  
6226    return {
6227      togglePublishSidebar: togglePublishSidebar
6228    };
6229  }))(PostPublishButtonOrToggle));
6230  
6231  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/device-preview/index.js
6232  
6233  
6234  /**
6235   * WordPress dependencies
6236   */
6237  
6238  
6239  
6240  
6241  
6242  
6243  function DevicePreview() {
6244    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
6245      return {
6246        hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(),
6247        isSaving: select('core/edit-post').isSavingMetaBoxes(),
6248        isPostSaveable: select('core/editor').isEditedPostSaveable(),
6249        deviceType: select('core/edit-post').__experimentalGetPreviewDeviceType()
6250      };
6251    }, []),
6252        hasActiveMetaboxes = _useSelect.hasActiveMetaboxes,
6253        isPostSaveable = _useSelect.isPostSaveable,
6254        isSaving = _useSelect.isSaving,
6255        deviceType = _useSelect.deviceType;
6256  
6257    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
6258        setPreviewDeviceType = _useDispatch.__experimentalSetPreviewDeviceType;
6259  
6260    return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPreviewOptions"], {
6261      isEnabled: isPostSaveable,
6262      className: "edit-post-post-preview-dropdown",
6263      deviceType: deviceType,
6264      setDeviceType: setPreviewDeviceType
6265    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, Object(external_this_wp_element_["createElement"])("div", {
6266      className: "edit-post-header-preview__grouping-external"
6267    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPreviewButton"], {
6268      className: 'edit-post-header-preview__button-external',
6269      role: "menuitem",
6270      forceIsAutosaveable: hasActiveMetaboxes,
6271      forcePreviewLink: isSaving ? null : undefined,
6272      textContent: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Preview in new tab'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], {
6273        icon: external["a" /* default */]
6274      }))
6275    }))));
6276  }
6277  
6278  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/index.js
6279  
6280  
6281  /**
6282   * WordPress dependencies
6283   */
6284  
6285  
6286  
6287  
6288  /**
6289   * Internal dependencies
6290   */
6291  
6292  
6293  
6294  
6295  
6296  
6297  
6298  function Header(_ref) {
6299    var setEntitiesSavedStatesCallback = _ref.setEntitiesSavedStatesCallback;
6300  
6301    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
6302      return {
6303        hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(),
6304        isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(),
6305        isSaving: select('core/edit-post').isSavingMetaBoxes(),
6306        showIconLabels: select('core/edit-post').isFeatureActive('showIconLabels'),
6307        hasReducedUI: select('core/edit-post').isFeatureActive('reducedUI')
6308      };
6309    }, []),
6310        hasActiveMetaboxes = _useSelect.hasActiveMetaboxes,
6311        isPublishSidebarOpened = _useSelect.isPublishSidebarOpened,
6312        isSaving = _useSelect.isSaving,
6313        showIconLabels = _useSelect.showIconLabels,
6314        hasReducedUI = _useSelect.hasReducedUI;
6315  
6316    var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('large');
6317    return Object(external_this_wp_element_["createElement"])("div", {
6318      className: "edit-post-header"
6319    }, Object(external_this_wp_element_["createElement"])(main_dashboard_button.Slot, null, Object(external_this_wp_element_["createElement"])(fullscreen_mode_close, null)), Object(external_this_wp_element_["createElement"])("div", {
6320      className: "edit-post-header__toolbar"
6321    }, Object(external_this_wp_element_["createElement"])(header_toolbar, null)), Object(external_this_wp_element_["createElement"])("div", {
6322      className: "edit-post-header__settings"
6323    }, !hasReducedUI && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !isPublishSidebarOpened && // This button isn't completely hidden by the publish sidebar.
6324    // We can't hide the whole toolbar when the publish sidebar is open because
6325    // we want to prevent mounting/unmounting the PostPublishButtonOrToggle DOM node.
6326    // We track that DOM node to return focus to the PostPublishButtonOrToggle
6327    // when the publish sidebar has been closed.
6328    Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSavedState"], {
6329      forceIsDirty: hasActiveMetaboxes,
6330      forceIsSaving: isSaving,
6331      showIconLabels: showIconLabels
6332    }), Object(external_this_wp_element_["createElement"])(DevicePreview, null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPreviewButton"], {
6333      forceIsAutosaveable: hasActiveMetaboxes,
6334      forcePreviewLink: isSaving ? null : undefined
6335    })), Object(external_this_wp_element_["createElement"])(post_publish_button_or_toggle, {
6336      forceIsDirty: hasActiveMetaboxes,
6337      forceIsSaving: isSaving,
6338      setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
6339    }), (isLargeViewport || !showIconLabels) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(pinned_items.Slot, {
6340      scope: "core/edit-post"
6341    }), Object(external_this_wp_element_["createElement"])(more_menu, {
6342      showIconLabels: showIconLabels
6343    })), showIconLabels && !isLargeViewport && Object(external_this_wp_element_["createElement"])(more_menu, {
6344      showIconLabels: showIconLabels
6345    })));
6346  }
6347  
6348  /* harmony default export */ var components_header = (Header);
6349  
6350  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js
6351  
6352  
6353  /**
6354   * WordPress dependencies
6355   */
6356  
6357  var cog = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
6358    xmlns: "http://www.w3.org/2000/svg",
6359    viewBox: "0 0 24 24"
6360  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
6361    fillRule: "evenodd",
6362    d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
6363    clipRule: "evenodd"
6364  }));
6365  /* harmony default export */ var library_cog = (cog);
6366  
6367  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-header/index.js
6368  
6369  
6370  
6371  /**
6372   * WordPress dependencies
6373   */
6374  
6375  
6376  
6377  
6378  var settings_header_SettingsHeader = function SettingsHeader(_ref) {
6379    var sidebarName = _ref.sidebarName;
6380  
6381    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'),
6382        openGeneralSidebar = _useDispatch.openGeneralSidebar;
6383  
6384    var openDocumentSettings = function openDocumentSettings() {
6385      return openGeneralSidebar('edit-post/document');
6386    };
6387  
6388    var openBlockSettings = function openBlockSettings() {
6389      return openGeneralSidebar('edit-post/block');
6390    };
6391  
6392    var documentLabel = Object(external_this_wp_data_["useSelect"])(function (select) {
6393      var _postType$labels$sing, _postType$labels;
6394  
6395      var currentPostType = select('core/editor').getCurrentPostType();
6396      var postType = select('core').getPostType(currentPostType);
6397      return (// Disable reason: Post type labels object is shaped like this.
6398        // eslint-disable-next-line camelcase
6399        (_postType$labels$sing = postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.singular_name) !== null && _postType$labels$sing !== void 0 ? _postType$labels$sing : // translators: Default label for the Document sidebar tab, not selected.
6400        Object(external_this_wp_i18n_["__"])('Document')
6401      );
6402    });
6403  
6404    var _ref2 = sidebarName === 'edit-post/document' ? // translators: ARIA label for the Document sidebar tab, selected. %s: Document label.
6405    [Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s (selected)'), documentLabel), 'is-active'] : [documentLabel, ''],
6406        _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 2),
6407        documentAriaLabel = _ref3[0],
6408        documentActiveClass = _ref3[1];
6409  
6410    var _ref4 = sidebarName === 'edit-post/block' ? // translators: ARIA label for the Block Settings Sidebar tab, selected.
6411    [Object(external_this_wp_i18n_["__"])('Block (selected)'), 'is-active'] : // translators: ARIA label for the Block Settings Sidebar tab, not selected.
6412    [Object(external_this_wp_i18n_["__"])('Block'), ''],
6413        _ref5 = Object(slicedToArray["a" /* default */])(_ref4, 2),
6414        blockAriaLabel = _ref5[0],
6415        blockActiveClass = _ref5[1];
6416    /* Use a list so screen readers will announce how many tabs there are. */
6417  
6418  
6419    return Object(external_this_wp_element_["createElement"])("ul", null, Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
6420      onClick: openDocumentSettings,
6421      className: "edit-post-sidebar__panel-tab ".concat(documentActiveClass),
6422      "aria-label": documentAriaLabel,
6423      "data-label": documentLabel
6424    }, documentLabel)), Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
6425      onClick: openBlockSettings,
6426      className: "edit-post-sidebar__panel-tab ".concat(blockActiveClass),
6427      "aria-label": blockAriaLabel // translators: Data label for the Block Settings Sidebar tab.
6428      ,
6429      "data-label": Object(external_this_wp_i18n_["__"])('Block')
6430    }, // translators: Text label for the Block Settings Sidebar tab.
6431    Object(external_this_wp_i18n_["__"])('Block'))));
6432  };
6433  
6434  /* harmony default export */ var settings_header = (settings_header_SettingsHeader);
6435  
6436  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-visibility/index.js
6437  
6438  
6439  /**
6440   * WordPress dependencies
6441   */
6442  
6443  
6444  
6445  function PostVisibility() {
6446    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostVisibilityCheck"], {
6447      render: function render(_ref) {
6448        var canEdit = _ref.canEdit;
6449        return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], {
6450          className: "edit-post-post-visibility"
6451        }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Visibility')), !canEdit && Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostVisibilityLabel"], null)), canEdit && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
6452          position: "bottom left",
6453          contentClassName: "edit-post-post-visibility__dialog",
6454          renderToggle: function renderToggle(_ref2) {
6455            var isOpen = _ref2.isOpen,
6456                onToggle = _ref2.onToggle;
6457            return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
6458              "aria-expanded": isOpen,
6459              className: "edit-post-post-visibility__toggle",
6460              onClick: onToggle,
6461              isTertiary: true
6462            }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostVisibilityLabel"], null));
6463          },
6464          renderContent: function renderContent() {
6465            return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostVisibility"], null);
6466          }
6467        }));
6468      }
6469    });
6470  }
6471  /* harmony default export */ var post_visibility = (PostVisibility);
6472  
6473  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-trash/index.js
6474  
6475  
6476  /**
6477   * WordPress dependencies
6478   */
6479  
6480  
6481  function PostTrash() {
6482    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTrashCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTrash"], null)));
6483  }
6484  
6485  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-schedule/index.js
6486  
6487  
6488  /**
6489   * WordPress dependencies
6490   */
6491  
6492  
6493  
6494  function PostSchedule() {
6495    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostScheduleCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], {
6496      className: "edit-post-post-schedule"
6497    }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Publish')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
6498      position: "bottom left",
6499      contentClassName: "edit-post-post-schedule__dialog",
6500      renderToggle: function renderToggle(_ref) {
6501        var onToggle = _ref.onToggle,
6502            isOpen = _ref.isOpen;
6503        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
6504          className: "edit-post-post-schedule__toggle",
6505          onClick: onToggle,
6506          "aria-expanded": isOpen,
6507          isTertiary: true
6508        }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostScheduleLabel"], null)));
6509      },
6510      renderContent: function renderContent() {
6511        return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSchedule"], null);
6512      }
6513    })));
6514  }
6515  /* harmony default export */ var post_schedule = (PostSchedule);
6516  
6517  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-sticky/index.js
6518  
6519  
6520  /**
6521   * WordPress dependencies
6522   */
6523  
6524  
6525  function PostSticky() {
6526    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostStickyCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSticky"], null)));
6527  }
6528  /* harmony default export */ var post_sticky = (PostSticky);
6529  
6530  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-author/index.js
6531  
6532  
6533  /**
6534   * WordPress dependencies
6535   */
6536  
6537  
6538  function PostAuthor() {
6539    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostAuthorCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostAuthor"], null)));
6540  }
6541  /* harmony default export */ var post_author = (PostAuthor);
6542  
6543  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-slug/index.js
6544  
6545  
6546  /**
6547   * WordPress dependencies
6548   */
6549  
6550  
6551  function PostSlug() {
6552    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSlugCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSlug"], null)));
6553  }
6554  /* harmony default export */ var post_slug = (PostSlug);
6555  
6556  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-format/index.js
6557  
6558  
6559  /**
6560   * WordPress dependencies
6561   */
6562  
6563  
6564  function PostFormat() {
6565    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostFormatCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostFormat"], null)));
6566  }
6567  /* harmony default export */ var post_format = (PostFormat);
6568  
6569  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-pending-status/index.js
6570  
6571  
6572  /**
6573   * WordPress dependencies
6574   */
6575  
6576  
6577  function PostPendingStatus() {
6578    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPendingStatusCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPendingStatus"], null)));
6579  }
6580  /* harmony default export */ var post_pending_status = (PostPendingStatus);
6581  
6582  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-post-status-info/index.js
6583  
6584  
6585  /**
6586   * Defines as extensibility slot for the Status & visibility panel.
6587   */
6588  
6589  /**
6590   * WordPress dependencies
6591   */
6592  
6593  
6594  var plugin_post_status_info_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('PluginPostStatusInfo'),
6595      plugin_post_status_info_Fill = plugin_post_status_info_createSlotFill.Fill,
6596      plugin_post_status_info_Slot = plugin_post_status_info_createSlotFill.Slot;
6597  /**
6598   * Renders a row in the Status & visibility panel of the Document sidebar.
6599   * It should be noted that this is named and implemented around the function it serves
6600   * and not its location, which may change in future iterations.
6601   *
6602   * @param {Object}    props             Component properties.
6603   * @param {string}    [props.className] An optional class name added to the row.
6604   * @param {WPElement} props.children    Children to be rendered.
6605   *
6606   * @example
6607   * <caption>ES5</caption>
6608   * ```js
6609   * // Using ES5 syntax
6610   * var __ = wp.i18n.__;
6611   * var PluginPostStatusInfo = wp.editPost.PluginPostStatusInfo;
6612   *
6613   * function MyPluginPostStatusInfo() {
6614   *     return wp.element.createElement(
6615   *         PluginPostStatusInfo,
6616   *         {
6617   *             className: 'my-plugin-post-status-info',
6618   *         },
6619   *         __( 'My post status info' )
6620   *     )
6621   * }
6622   * ```
6623   *
6624   * @example
6625   * <caption>ESNext</caption>
6626   * ```jsx
6627   * // Using ESNext syntax
6628   * import { __ } from '@wordpress/i18n';
6629   * import { PluginPostStatusInfo } from '@wordpress/edit-post';
6630   *
6631   * const MyPluginPostStatusInfo = () => (
6632   *     <PluginPostStatusInfo
6633   *         className="my-plugin-post-status-info"
6634   *     >
6635   *         { __( 'My post status info' ) }
6636   *     </PluginPostStatusInfo>
6637   * );
6638   * ```
6639   *
6640   * @return {WPComponent} The component to be rendered.
6641   */
6642  
6643  
6644  
6645  
6646  var plugin_post_status_info_PluginPostStatusInfo = function PluginPostStatusInfo(_ref) {
6647    var children = _ref.children,
6648        className = _ref.className;
6649    return Object(external_this_wp_element_["createElement"])(plugin_post_status_info_Fill, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], {
6650      className: className
6651    }, children));
6652  };
6653  
6654  plugin_post_status_info_PluginPostStatusInfo.Slot = plugin_post_status_info_Slot;
6655  /* harmony default export */ var plugin_post_status_info = (plugin_post_status_info_PluginPostStatusInfo);
6656  
6657  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-status/index.js
6658  
6659  
6660  /**
6661   * WordPress dependencies
6662   */
6663  
6664  
6665  
6666  
6667  /**
6668   * Internal dependencies
6669   */
6670  
6671  
6672  
6673  
6674  
6675  
6676  
6677  
6678  
6679  
6680  /**
6681   * Module Constants
6682   */
6683  
6684  var PANEL_NAME = 'post-status';
6685  
6686  function PostStatus(_ref) {
6687    var isOpened = _ref.isOpened,
6688        onTogglePanel = _ref.onTogglePanel;
6689    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6690      className: "edit-post-post-status",
6691      title: Object(external_this_wp_i18n_["__"])('Status & visibility'),
6692      opened: isOpened,
6693      onToggle: onTogglePanel
6694    }, Object(external_this_wp_element_["createElement"])(plugin_post_status_info.Slot, null, function (fills) {
6695      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(post_visibility, null), Object(external_this_wp_element_["createElement"])(post_schedule, null), Object(external_this_wp_element_["createElement"])(post_format, null), Object(external_this_wp_element_["createElement"])(post_sticky, null), Object(external_this_wp_element_["createElement"])(post_pending_status, null), Object(external_this_wp_element_["createElement"])(post_slug, null), Object(external_this_wp_element_["createElement"])(post_author, null), fills, Object(external_this_wp_element_["createElement"])(PostTrash, null));
6696    }));
6697  }
6698  
6699  /* harmony default export */ var post_status = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
6700    // We use isEditorPanelRemoved to hide the panel if it was programatically removed. We do
6701    // not use isEditorPanelEnabled since this panel should not be disabled through the UI.
6702    var _select = select('core/edit-post'),
6703        isEditorPanelRemoved = _select.isEditorPanelRemoved,
6704        isEditorPanelOpened = _select.isEditorPanelOpened;
6705  
6706    return {
6707      isRemoved: isEditorPanelRemoved(PANEL_NAME),
6708      isOpened: isEditorPanelOpened(PANEL_NAME)
6709    };
6710  }), Object(external_this_wp_compose_["ifCondition"])(function (_ref2) {
6711    var isRemoved = _ref2.isRemoved;
6712    return !isRemoved;
6713  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
6714    return {
6715      onTogglePanel: function onTogglePanel() {
6716        return dispatch('core/edit-post').toggleEditorPanelOpened(PANEL_NAME);
6717      }
6718    };
6719  })])(PostStatus));
6720  
6721  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/last-revision/index.js
6722  
6723  
6724  /**
6725   * WordPress dependencies
6726   */
6727  
6728  
6729  
6730  function LastRevision() {
6731    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostLastRevisionCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6732      className: "edit-post-last-revision__panel"
6733    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostLastRevision"], null)));
6734  }
6735  
6736  /* harmony default export */ var last_revision = (LastRevision);
6737  
6738  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/taxonomy-panel.js
6739  
6740  
6741  /**
6742   * External dependencies
6743   */
6744  
6745  /**
6746   * WordPress dependencies
6747   */
6748  
6749  
6750  
6751  
6752  
6753  function TaxonomyPanel(_ref) {
6754    var isEnabled = _ref.isEnabled,
6755        taxonomy = _ref.taxonomy,
6756        isOpened = _ref.isOpened,
6757        onTogglePanel = _ref.onTogglePanel,
6758        children = _ref.children;
6759  
6760    if (!isEnabled) {
6761      return null;
6762    }
6763  
6764    var taxonomyMenuName = Object(external_this_lodash_["get"])(taxonomy, ['labels', 'menu_name']);
6765  
6766    if (!taxonomyMenuName) {
6767      return null;
6768    }
6769  
6770    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6771      title: taxonomyMenuName,
6772      opened: isOpened,
6773      onToggle: onTogglePanel
6774    }, children);
6775  }
6776  
6777  /* harmony default export */ var taxonomy_panel = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
6778    var slug = Object(external_this_lodash_["get"])(ownProps.taxonomy, ['slug']);
6779    var panelName = slug ? "taxonomy-panel-".concat(slug) : '';
6780    return {
6781      panelName: panelName,
6782      isEnabled: slug ? select('core/edit-post').isEditorPanelEnabled(panelName) : false,
6783      isOpened: slug ? select('core/edit-post').isEditorPanelOpened(panelName) : false
6784    };
6785  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
6786    return {
6787      onTogglePanel: function onTogglePanel() {
6788        dispatch('core/edit-post').toggleEditorPanelOpened(ownProps.panelName);
6789      }
6790    };
6791  }))(TaxonomyPanel));
6792  
6793  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/index.js
6794  
6795  
6796  /**
6797   * WordPress dependencies
6798   */
6799  
6800  /**
6801   * Internal dependencies
6802   */
6803  
6804  
6805  
6806  function PostTaxonomies() {
6807    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTaxonomiesCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTaxonomies"], {
6808      taxonomyWrapper: function taxonomyWrapper(content, taxonomy) {
6809        return Object(external_this_wp_element_["createElement"])(taxonomy_panel, {
6810          taxonomy: taxonomy
6811        }, content);
6812      }
6813    }));
6814  }
6815  
6816  /* harmony default export */ var post_taxonomies = (PostTaxonomies);
6817  
6818  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/featured-image/index.js
6819  
6820  
6821  /**
6822   * External dependencies
6823   */
6824  
6825  /**
6826   * WordPress dependencies
6827   */
6828  
6829  
6830  
6831  
6832  
6833  
6834  /**
6835   * Module Constants
6836   */
6837  
6838  var featured_image_PANEL_NAME = 'featured-image';
6839  
6840  function FeaturedImage(_ref) {
6841    var isEnabled = _ref.isEnabled,
6842        isOpened = _ref.isOpened,
6843        postType = _ref.postType,
6844        onTogglePanel = _ref.onTogglePanel;
6845  
6846    if (!isEnabled) {
6847      return null;
6848    }
6849  
6850    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostFeaturedImageCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6851      title: Object(external_this_lodash_["get"])(postType, ['labels', 'featured_image'], Object(external_this_wp_i18n_["__"])('Featured image')),
6852      opened: isOpened,
6853      onToggle: onTogglePanel
6854    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostFeaturedImage"], null)));
6855  }
6856  
6857  var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select) {
6858    var _select = select('core/editor'),
6859        getEditedPostAttribute = _select.getEditedPostAttribute;
6860  
6861    var _select2 = select('core'),
6862        getPostType = _select2.getPostType;
6863  
6864    var _select3 = select('core/edit-post'),
6865        isEditorPanelEnabled = _select3.isEditorPanelEnabled,
6866        isEditorPanelOpened = _select3.isEditorPanelOpened;
6867  
6868    return {
6869      postType: getPostType(getEditedPostAttribute('type')),
6870      isEnabled: isEditorPanelEnabled(featured_image_PANEL_NAME),
6871      isOpened: isEditorPanelOpened(featured_image_PANEL_NAME)
6872    };
6873  });
6874  var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
6875    var _dispatch = dispatch('core/edit-post'),
6876        toggleEditorPanelOpened = _dispatch.toggleEditorPanelOpened;
6877  
6878    return {
6879      onTogglePanel: Object(external_this_lodash_["partial"])(toggleEditorPanelOpened, featured_image_PANEL_NAME)
6880    };
6881  });
6882  /* harmony default export */ var featured_image = (Object(external_this_wp_compose_["compose"])(applyWithSelect, applyWithDispatch)(FeaturedImage));
6883  
6884  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-excerpt/index.js
6885  
6886  
6887  /**
6888   * WordPress dependencies
6889   */
6890  
6891  
6892  
6893  
6894  
6895  /**
6896   * Module Constants
6897   */
6898  
6899  var post_excerpt_PANEL_NAME = 'post-excerpt';
6900  
6901  function PostExcerpt(_ref) {
6902    var isEnabled = _ref.isEnabled,
6903        isOpened = _ref.isOpened,
6904        onTogglePanel = _ref.onTogglePanel;
6905  
6906    if (!isEnabled) {
6907      return null;
6908    }
6909  
6910    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostExcerptCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6911      title: Object(external_this_wp_i18n_["__"])('Excerpt'),
6912      opened: isOpened,
6913      onToggle: onTogglePanel
6914    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostExcerpt"], null)));
6915  }
6916  
6917  /* harmony default export */ var post_excerpt = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
6918    return {
6919      isEnabled: select('core/edit-post').isEditorPanelEnabled(post_excerpt_PANEL_NAME),
6920      isOpened: select('core/edit-post').isEditorPanelOpened(post_excerpt_PANEL_NAME)
6921    };
6922  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
6923    return {
6924      onTogglePanel: function onTogglePanel() {
6925        return dispatch('core/edit-post').toggleEditorPanelOpened(post_excerpt_PANEL_NAME);
6926      }
6927    };
6928  })])(PostExcerpt));
6929  
6930  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js
6931  
6932  
6933  /**
6934   * External dependencies
6935   */
6936  
6937  /**
6938   * WordPress dependencies
6939   */
6940  
6941  
6942  
6943  
6944  
6945  
6946  
6947  /**
6948   * Module Constants
6949   */
6950  
6951  var post_link_PANEL_NAME = 'post-link';
6952  
6953  function PostLink(_ref) {
6954    var isOpened = _ref.isOpened,
6955        onTogglePanel = _ref.onTogglePanel,
6956        isEditable = _ref.isEditable,
6957        postLink = _ref.postLink,
6958        permalinkPrefix = _ref.permalinkPrefix,
6959        permalinkSuffix = _ref.permalinkSuffix,
6960        editPermalink = _ref.editPermalink,
6961        forceEmptyField = _ref.forceEmptyField,
6962        setState = _ref.setState,
6963        postSlug = _ref.postSlug,
6964        postTypeLabel = _ref.postTypeLabel;
6965    var prefixElement, postNameElement, suffixElement;
6966  
6967    if (isEditable) {
6968      prefixElement = permalinkPrefix && Object(external_this_wp_element_["createElement"])("span", {
6969        className: "edit-post-post-link__link-prefix"
6970      }, permalinkPrefix);
6971      postNameElement = postSlug && Object(external_this_wp_element_["createElement"])("span", {
6972        className: "edit-post-post-link__link-post-name"
6973      }, postSlug);
6974      suffixElement = permalinkSuffix && Object(external_this_wp_element_["createElement"])("span", {
6975        className: "edit-post-post-link__link-suffix"
6976      }, permalinkSuffix);
6977    }
6978  
6979    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
6980      title: Object(external_this_wp_i18n_["__"])('Permalink'),
6981      opened: isOpened,
6982      onToggle: onTogglePanel
6983    }, isEditable && Object(external_this_wp_element_["createElement"])("div", {
6984      className: "editor-post-link"
6985    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
6986      label: Object(external_this_wp_i18n_["__"])('URL Slug'),
6987      value: forceEmptyField ? '' : postSlug,
6988      onChange: function onChange(newValue) {
6989        editPermalink(newValue); // When we delete the field the permalink gets
6990        // reverted to the original value.
6991        // The forceEmptyField logic allows the user to have
6992        // the field temporarily empty while typing.
6993  
6994        if (!newValue) {
6995          if (!forceEmptyField) {
6996            setState({
6997              forceEmptyField: true
6998            });
6999          }
7000  
7001          return;
7002        }
7003  
7004        if (forceEmptyField) {
7005          setState({
7006            forceEmptyField: false
7007          });
7008        }
7009      },
7010      onBlur: function onBlur(event) {
7011        editPermalink(Object(external_this_wp_editor_["cleanForSlug"])(event.target.value));
7012  
7013        if (forceEmptyField) {
7014          setState({
7015            forceEmptyField: false
7016          });
7017        }
7018      }
7019    }), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('The last part of the URL.'), ' ', Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
7020      href: "https://wordpress.org/support/article/writing-posts/#post-field-descriptions"
7021    }, Object(external_this_wp_i18n_["__"])('Read about permalinks')))), Object(external_this_wp_element_["createElement"])("h3", {
7022      className: "edit-post-post-link__preview-label"
7023    }, postTypeLabel || Object(external_this_wp_i18n_["__"])('View post')), Object(external_this_wp_element_["createElement"])("div", {
7024      className: "edit-post-post-link__preview-link-container"
7025    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
7026      className: "edit-post-post-link__link",
7027      href: postLink,
7028      target: "_blank"
7029    }, isEditable ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, prefixElement, postNameElement, suffixElement) : postLink)));
7030  }
7031  
7032  /* harmony default export */ var post_link = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
7033    var _select = select('core/editor'),
7034        isPermalinkEditable = _select.isPermalinkEditable,
7035        getCurrentPost = _select.getCurrentPost,
7036        isCurrentPostPublished = _select.isCurrentPostPublished,
7037        getPermalinkParts = _select.getPermalinkParts,
7038        getEditedPostAttribute = _select.getEditedPostAttribute,
7039        getEditedPostSlug = _select.getEditedPostSlug;
7040  
7041    var _select2 = select('core/edit-post'),
7042        isEditorPanelEnabled = _select2.isEditorPanelEnabled,
7043        isEditorPanelOpened = _select2.isEditorPanelOpened;
7044  
7045    var _select3 = select('core'),
7046        getPostType = _select3.getPostType;
7047  
7048    var _getCurrentPost = getCurrentPost(),
7049        link = _getCurrentPost.link;
7050  
7051    var postTypeName = getEditedPostAttribute('type');
7052    var postType = getPostType(postTypeName);
7053    var permalinkParts = getPermalinkParts();
7054    return {
7055      postLink: link,
7056      isEditable: isPermalinkEditable(),
7057      isPublished: isCurrentPostPublished(),
7058      isOpened: isEditorPanelOpened(post_link_PANEL_NAME),
7059      isEnabled: isEditorPanelEnabled(post_link_PANEL_NAME),
7060      isViewable: Object(external_this_lodash_["get"])(postType, ['viewable'], false),
7061      postSlug: Object(external_this_wp_url_["safeDecodeURIComponent"])(getEditedPostSlug()),
7062      postTypeLabel: Object(external_this_lodash_["get"])(postType, ['labels', 'view_item']),
7063      hasPermalinkParts: !!permalinkParts,
7064      permalinkPrefix: permalinkParts === null || permalinkParts === void 0 ? void 0 : permalinkParts.prefix,
7065      permalinkSuffix: permalinkParts === null || permalinkParts === void 0 ? void 0 : permalinkParts.suffix
7066    };
7067  }), Object(external_this_wp_compose_["ifCondition"])(function (_ref2) {
7068    var isEnabled = _ref2.isEnabled,
7069        postLink = _ref2.postLink,
7070        isViewable = _ref2.isViewable,
7071        hasPermalinkParts = _ref2.hasPermalinkParts;
7072    return isEnabled && postLink && isViewable && hasPermalinkParts;
7073  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
7074    var _dispatch = dispatch('core/edit-post'),
7075        toggleEditorPanelOpened = _dispatch.toggleEditorPanelOpened;
7076  
7077    var _dispatch2 = dispatch('core/editor'),
7078        editPost = _dispatch2.editPost;
7079  
7080    return {
7081      onTogglePanel: function onTogglePanel() {
7082        return toggleEditorPanelOpened(post_link_PANEL_NAME);
7083      },
7084      editPermalink: function editPermalink(newSlug) {
7085        editPost({
7086          slug: newSlug
7087        });
7088      }
7089    };
7090  }), Object(external_this_wp_compose_["withState"])({
7091    forceEmptyField: false
7092  })])(PostLink));
7093  
7094  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/discussion-panel/index.js
7095  
7096  
7097  /**
7098   * WordPress dependencies
7099   */
7100  
7101  
7102  
7103  
7104  
7105  /**
7106   * Module Constants
7107   */
7108  
7109  var discussion_panel_PANEL_NAME = 'discussion-panel';
7110  
7111  function DiscussionPanel(_ref) {
7112    var isEnabled = _ref.isEnabled,
7113        isOpened = _ref.isOpened,
7114        onTogglePanel = _ref.onTogglePanel;
7115  
7116    if (!isEnabled) {
7117      return null;
7118    }
7119  
7120    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTypeSupportCheck"], {
7121      supportKeys: ['comments', 'trackbacks']
7122    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
7123      title: Object(external_this_wp_i18n_["__"])('Discussion'),
7124      opened: isOpened,
7125      onToggle: onTogglePanel
7126    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTypeSupportCheck"], {
7127      supportKeys: "comments"
7128    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostComments"], null))), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTypeSupportCheck"], {
7129      supportKeys: "trackbacks"
7130    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPingbacks"], null)))));
7131  }
7132  
7133  /* harmony default export */ var discussion_panel = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
7134    return {
7135      isEnabled: select('core/edit-post').isEditorPanelEnabled(discussion_panel_PANEL_NAME),
7136      isOpened: select('core/edit-post').isEditorPanelOpened(discussion_panel_PANEL_NAME)
7137    };
7138  }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
7139    return {
7140      onTogglePanel: function onTogglePanel() {
7141        return dispatch('core/edit-post').toggleEditorPanelOpened(discussion_panel_PANEL_NAME);
7142      }
7143    };
7144  })])(DiscussionPanel));
7145  
7146  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/page-attributes/index.js
7147  
7148  
7149  /**
7150   * External dependencies
7151   */
7152  
7153  /**
7154   * WordPress dependencies
7155   */
7156  
7157  
7158  
7159  
7160  
7161  
7162  /**
7163   * Module Constants
7164   */
7165  
7166  var page_attributes_PANEL_NAME = 'page-attributes';
7167  function PageAttributes(_ref) {
7168    var isEnabled = _ref.isEnabled,
7169        isOpened = _ref.isOpened,
7170        onTogglePanel = _ref.onTogglePanel,
7171        postType = _ref.postType;
7172  
7173    if (!isEnabled || !postType) {
7174      return null;
7175    }
7176  
7177    return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PageAttributesCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
7178      title: Object(external_this_lodash_["get"])(postType, ['labels', 'attributes'], Object(external_this_wp_i18n_["__"])('Page attributes')),
7179      opened: isOpened,
7180      onToggle: onTogglePanel
7181    }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PageTemplate"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PageAttributesParent"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PageAttributesOrder"], null))));
7182  }
7183  var page_attributes_applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select) {
7184    var _select = select('core/editor'),
7185        getEditedPostAttribute = _select.getEditedPostAttribute;
7186  
7187    var _select2 = select('core/edit-post'),
7188        isEditorPanelEnabled = _select2.isEditorPanelEnabled,
7189        isEditorPanelOpened = _select2.isEditorPanelOpened;
7190  
7191    var _select3 = select('core'),
7192        getPostType = _select3.getPostType;
7193  
7194    return {
7195      isEnabled: isEditorPanelEnabled(page_attributes_PANEL_NAME),
7196      isOpened: isEditorPanelOpened(page_attributes_PANEL_NAME),
7197      postType: getPostType(getEditedPostAttribute('type'))
7198    };
7199  });
7200  var page_attributes_applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
7201    var _dispatch = dispatch('core/edit-post'),
7202        toggleEditorPanelOpened = _dispatch.toggleEditorPanelOpened;
7203  
7204    return {
7205      onTogglePanel: Object(external_this_lodash_["partial"])(toggleEditorPanelOpened, page_attributes_PANEL_NAME)
7206    };
7207  });
7208  /* harmony default export */ var page_attributes = (Object(external_this_wp_compose_["compose"])(page_attributes_applyWithSelect, page_attributes_applyWithDispatch)(PageAttributes));
7209  
7210  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
7211  var assertThisInitialized = __webpack_require__(16);
7212  
7213  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js
7214  
7215  
7216  
7217  
7218  
7219  
7220  
7221  
7222  function meta_boxes_area_createSuper(Derived) { var hasNativeReflectConstruct = meta_boxes_area_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
7223  
7224  function meta_boxes_area_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
7225  
7226  /**
7227   * External dependencies
7228   */
7229  
7230  /**
7231   * WordPress dependencies
7232   */
7233  
7234  
7235  
7236  
7237  
7238  var meta_boxes_area_MetaBoxesArea = /*#__PURE__*/function (_Component) {
7239    Object(inherits["a" /* default */])(MetaBoxesArea, _Component);
7240  
7241    var _super = meta_boxes_area_createSuper(MetaBoxesArea);
7242  
7243    /**
7244     * @inheritdoc
7245     */
7246    function MetaBoxesArea() {
7247      var _this;
7248  
7249      Object(classCallCheck["a" /* default */])(this, MetaBoxesArea);
7250  
7251      _this = _super.apply(this, arguments);
7252      _this.bindContainerNode = _this.bindContainerNode.bind(Object(assertThisInitialized["a" /* default */])(_this));
7253      return _this;
7254    }
7255    /**
7256     * @inheritdoc
7257     */
7258  
7259  
7260    Object(createClass["a" /* default */])(MetaBoxesArea, [{
7261      key: "componentDidMount",
7262      value: function componentDidMount() {
7263        this.form = document.querySelector('.metabox-location-' + this.props.location);
7264  
7265        if (this.form) {
7266          this.container.appendChild(this.form);
7267        }
7268      }
7269      /**
7270       * Get the meta box location form from the original location.
7271       */
7272  
7273    }, {
7274      key: "componentWillUnmount",
7275      value: function componentWillUnmount() {
7276        if (this.form) {
7277          document.querySelector('#metaboxes').appendChild(this.form);
7278        }
7279      }
7280      /**
7281       * Binds the metabox area container node.
7282       *
7283       * @param {Element} node DOM Node.
7284       */
7285  
7286    }, {
7287      key: "bindContainerNode",
7288      value: function bindContainerNode(node) {
7289        this.container = node;
7290      }
7291      /**
7292       * @inheritdoc
7293       */
7294  
7295    }, {
7296      key: "render",
7297      value: function render() {
7298        var _this$props = this.props,
7299            location = _this$props.location,
7300            isSaving = _this$props.isSaving;
7301        var classes = classnames_default()('edit-post-meta-boxes-area', "is-".concat(location), {
7302          'is-loading': isSaving
7303        });
7304        return Object(external_this_wp_element_["createElement"])("div", {
7305          className: classes
7306        }, isSaving && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("div", {
7307          className: "edit-post-meta-boxes-area__container",
7308          ref: this.bindContainerNode
7309        }), Object(external_this_wp_element_["createElement"])("div", {
7310          className: "edit-post-meta-boxes-area__clear"
7311        }));
7312      }
7313    }]);
7314  
7315    return MetaBoxesArea;
7316  }(external_this_wp_element_["Component"]);
7317  
7318  /* harmony default export */ var meta_boxes_area = (Object(external_this_wp_data_["withSelect"])(function (select) {
7319    return {
7320      isSaving: select('core/edit-post').isSavingMetaBoxes()
7321    };
7322  })(meta_boxes_area_MetaBoxesArea));
7323  
7324  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js
7325  
7326  
7327  
7328  
7329  
7330  
7331  function meta_box_visibility_createSuper(Derived) { var hasNativeReflectConstruct = meta_box_visibility_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
7332  
7333  function meta_box_visibility_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
7334  
7335  /**
7336   * WordPress dependencies
7337   */
7338  
7339  
7340  
7341  var meta_box_visibility_MetaBoxVisibility = /*#__PURE__*/function (_Component) {
7342    Object(inherits["a" /* default */])(MetaBoxVisibility, _Component);
7343  
7344    var _super = meta_box_visibility_createSuper(MetaBoxVisibility);
7345  
7346    function MetaBoxVisibility() {
7347      Object(classCallCheck["a" /* default */])(this, MetaBoxVisibility);
7348  
7349      return _super.apply(this, arguments);
7350    }
7351  
7352    Object(createClass["a" /* default */])(MetaBoxVisibility, [{
7353      key: "componentDidMount",
7354      value: function componentDidMount() {
7355        this.updateDOM();
7356      }
7357    }, {
7358      key: "componentDidUpdate",
7359      value: function componentDidUpdate(prevProps) {
7360        if (this.props.isVisible !== prevProps.isVisible) {
7361          this.updateDOM();
7362        }
7363      }
7364    }, {
7365      key: "updateDOM",
7366      value: function updateDOM() {
7367        var _this$props = this.props,
7368            id = _this$props.id,
7369            isVisible = _this$props.isVisible;
7370        var element = document.getElementById(id);
7371  
7372        if (!element) {
7373          return;
7374        }
7375  
7376        if (isVisible) {
7377          element.classList.remove('is-hidden');
7378        } else {
7379          element.classList.add('is-hidden');
7380        }
7381      }
7382    }, {
7383      key: "render",
7384      value: function render() {
7385        return null;
7386      }
7387    }]);
7388  
7389    return MetaBoxVisibility;
7390  }(external_this_wp_element_["Component"]);
7391  
7392  /* harmony default export */ var meta_box_visibility = (Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
7393    var id = _ref.id;
7394    return {
7395      isVisible: select('core/edit-post').isEditorPanelEnabled("meta-box-".concat(id))
7396    };
7397  })(meta_box_visibility_MetaBoxVisibility));
7398  
7399  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js
7400  
7401  
7402  /**
7403   * External dependencies
7404   */
7405  
7406  /**
7407   * WordPress dependencies
7408   */
7409  
7410  
7411  /**
7412   * Internal dependencies
7413   */
7414  
7415  
7416  
7417  
7418  function MetaBoxes(_ref) {
7419    var location = _ref.location,
7420        isVisible = _ref.isVisible,
7421        metaBoxes = _ref.metaBoxes;
7422    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_lodash_["map"])(metaBoxes, function (_ref2) {
7423      var id = _ref2.id;
7424      return Object(external_this_wp_element_["createElement"])(meta_box_visibility, {
7425        key: id,
7426        id: id
7427      });
7428    }), isVisible && Object(external_this_wp_element_["createElement"])(meta_boxes_area, {
7429      location: location
7430    }));
7431  }
7432  
7433  /* harmony default export */ var meta_boxes = (Object(external_this_wp_data_["withSelect"])(function (select, _ref3) {
7434    var location = _ref3.location;
7435  
7436    var _select = select('core/edit-post'),
7437        isMetaBoxLocationVisible = _select.isMetaBoxLocationVisible,
7438        getMetaBoxesPerLocation = _select.getMetaBoxesPerLocation;
7439  
7440    return {
7441      metaBoxes: getMetaBoxesPerLocation(location),
7442      isVisible: isMetaBoxLocationVisible(location)
7443    };
7444  })(MetaBoxes));
7445  
7446  // EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-document-setting-panel/index.js
7447  var plugin_document_setting_panel = __webpack_require__(169);
7448  
7449  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-sidebar/index.js
7450  
7451  
7452  
7453  
7454  /**
7455   * WordPress dependencies
7456   */
7457  
7458  
7459  
7460  /**
7461   * Renders a sidebar when activated. The contents within the `PluginSidebar` will appear as content within the sidebar.
7462   * If you wish to display the sidebar, you can with use the `PluginSidebarMoreMenuItem` component or the `wp.data.dispatch` API:
7463   *
7464   * ```js
7465   * wp.data.dispatch( 'core/edit-post' ).openGeneralSidebar( 'plugin-name/sidebar-name' );
7466   * ```
7467   *
7468   * @see PluginSidebarMoreMenuItem
7469   *
7470   * @param {Object} props Element props.
7471   * @param {string} props.name A string identifying the sidebar. Must be unique for every sidebar registered within the scope of your plugin.
7472   * @param {string} [props.className] An optional class name added to the sidebar body.
7473   * @param {string} props.title Title displayed at the top of the sidebar.
7474   * @param {boolean} [props.isPinnable=true] Whether to allow to pin sidebar to toolbar.
7475   * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
7476   *
7477   * @example
7478   * <caption>ES5</caption>
7479   * ```js
7480   * // Using ES5 syntax
7481   * var __ = wp.i18n.__;
7482   * var el = wp.element.createElement;
7483   * var PanelBody = wp.components.PanelBody;
7484   * var PluginSidebar = wp.editPost.PluginSidebar;
7485   * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
7486   *
7487   * function MyPluginSidebar() {
7488   *     return el(
7489   *             PluginSidebar,
7490   *             {
7491   *                 name: 'my-sidebar',
7492   *                 title: 'My sidebar title',
7493   *                 icon: moreIcon,
7494   *             },
7495   *             el(
7496   *                 PanelBody,
7497   *                 {},
7498   *                 __( 'My sidebar content' )
7499   *             )
7500   *     );
7501   * }
7502   * ```
7503   *
7504   * @example
7505   * <caption>ESNext</caption>
7506   * ```jsx
7507   * // Using ESNext syntax
7508   * import { __ } from '@wordpress/i18n';
7509   * import { PanelBody } from '@wordpress/components';
7510   * import { PluginSidebar } from '@wordpress/edit-post';
7511   * import { more } from '@wordpress/icons';
7512   *
7513   * const MyPluginSidebar = () => (
7514   *     <PluginSidebar
7515   *         name="my-sidebar"
7516   *         title="My sidebar title"
7517   *         icon={ more }
7518   *     >
7519   *         <PanelBody>
7520   *             { __( 'My sidebar content' ) }
7521   *         </PanelBody>
7522   *     </PluginSidebar>
7523   * );
7524   * ```
7525   */
7526  
7527  function PluginSidebarEditPost(_ref) {
7528    var className = _ref.className,
7529        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className"]);
7530  
7531    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
7532      return {
7533        postTitle: select('core/editor').getEditedPostAttribute('title'),
7534        shortcut: select('core/keyboard-shortcuts').getShortcutRepresentation('core/edit-post/toggle-sidebar'),
7535        showIconLabels: select('core/edit-post').isFeatureActive('showIconLabels')
7536      };
7537    }),
7538        postTitle = _useSelect.postTitle,
7539        shortcut = _useSelect.shortcut,
7540        showIconLabels = _useSelect.showIconLabels;
7541  
7542    return Object(external_this_wp_element_["createElement"])(complementary_area, Object(esm_extends["a" /* default */])({
7543      panelClassName: className,
7544      className: "edit-post-sidebar",
7545      smallScreenTitle: postTitle || Object(external_this_wp_i18n_["__"])('(no title)'),
7546      scope: "core/edit-post",
7547      toggleShortcut: shortcut,
7548      showIconLabels: showIconLabels
7549    }, props));
7550  }
7551  
7552  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-sidebar/index.js
7553  
7554  
7555  /**
7556   * WordPress dependencies
7557   */
7558  
7559  
7560  
7561  /**
7562   * Internal dependencies
7563   */
7564  
7565  
7566  
7567  
7568  
7569  
7570  
7571  
7572  
7573  
7574  
7575  
7576  
7577  
7578  
7579  var SIDEBAR_ACTIVE_BY_DEFAULT = external_this_wp_element_["Platform"].select({
7580    web: true,
7581    native: false
7582  });
7583  
7584  var settings_sidebar_SettingsSidebar = function SettingsSidebar() {
7585    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
7586      // The settings sidebar is used by the edit-post/document and edit-post/block sidebars.
7587      // sidebarName represents the sidebar that is active or that should be active when the SettingsSidebar toggle button is pressed.
7588      // If one of the two sidebars is active the component will contain the content of that sidebar.
7589      // When neither of the the two sidebars is active we can not simply return null, because the PluginSidebarEditPost
7590      // component, besides being used to render the sidebar, also renders the toggle button. In that case sidebarName
7591      // should contain the sidebar that will be active when the toggle button is pressed. If a block
7592      // is selected, that should be edit-post/block otherwise it's edit-post/document.
7593      var sidebar = select('core/interface').getActiveComplementaryArea('core/edit-post');
7594  
7595      if (!['edit-post/document', 'edit-post/block'].includes(sidebar)) {
7596        if (select('core/block-editor').getBlockSelectionStart()) {
7597          sidebar = 'edit-post/block';
7598        }
7599  
7600        sidebar = 'edit-post/document';
7601      }
7602  
7603      var shortcut = select('core/keyboard-shortcuts').getShortcutRepresentation('core/edit-post/toggle-sidebar');
7604      return {
7605        sidebarName: sidebar,
7606        keyboardShortcut: shortcut
7607      };
7608    }, []),
7609        sidebarName = _useSelect.sidebarName,
7610        keyboardShortcut = _useSelect.keyboardShortcut;
7611  
7612    return Object(external_this_wp_element_["createElement"])(PluginSidebarEditPost, {
7613      identifier: sidebarName,
7614      header: Object(external_this_wp_element_["createElement"])(settings_header, {
7615        sidebarName: sidebarName
7616      }),
7617      closeLabel: Object(external_this_wp_i18n_["__"])('Close settings'),
7618      headerClassName: "edit-post-sidebar__panel-tabs"
7619      /* translators: button label text should, if possible, be under 16 characters. */
7620      ,
7621      title: Object(external_this_wp_i18n_["__"])('Settings'),
7622      toggleShortcut: keyboardShortcut,
7623      icon: library_cog,
7624      isActiveByDefault: SIDEBAR_ACTIVE_BY_DEFAULT
7625    }, sidebarName === 'edit-post/document' && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(post_status, null), Object(external_this_wp_element_["createElement"])(plugin_document_setting_panel["a" /* default */].Slot, null), Object(external_this_wp_element_["createElement"])(last_revision, null), Object(external_this_wp_element_["createElement"])(post_link, null), Object(external_this_wp_element_["createElement"])(post_taxonomies, null), Object(external_this_wp_element_["createElement"])(featured_image, null), Object(external_this_wp_element_["createElement"])(post_excerpt, null), Object(external_this_wp_element_["createElement"])(discussion_panel, null), Object(external_this_wp_element_["createElement"])(page_attributes, null), Object(external_this_wp_element_["createElement"])(meta_boxes, {
7626      location: "side"
7627    })), sidebarName === 'edit-post/block' && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockInspector"], null));
7628  };
7629  
7630  /* harmony default export */ var settings_sidebar = (settings_sidebar_SettingsSidebar);
7631  
7632  // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/images.js
7633  
7634  
7635  
7636  /**
7637   * WordPress dependencies
7638   */
7639  
7640  var images_CanvasImage = function CanvasImage(props) {
7641    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({
7642      className: "edit-post-welcome-guide__image edit-post-welcome-guide__image__prm-np",
7643      alt: "",
7644      src: "data:image/gif;base64,R0lGODlhcALgAfYAAOfn58PDw//+/9zc3ODg4IqKiujo6N3d3erq6uTk5N7e3jExMURERGFhYdnZ2dXV1dDQ0M/Pz/f39wAAAOzs7FNTU25ubrS0tOLi4uPj4wwMDPn5+fz8/P///xsbG319fe7u7qioqJiYmP39/fHx8fX19ePh4OXj4ReXwRmWwACg0A+ax/T//+7//wCh1gCg0tze3f/+/Mrt+P/9++nh3wCg1K3q/kOpyuX//wOf0P3//xmXvrnq+fn//xOZwyOexiajyb7s/AubyVeow9f7/2a2z5DW7uH//5ro/kW12gaezf/9/f///c34/wCi1iSSuGrM663j93rM6LH4/+r//xGcyKHb7p/c7v/+/e/t7Pjv7e7l5JXe9lK93Taqz2DE5N3d36j0//T2+N3e2/P192u/2+Dc3BebxY3O4xmfytfv+eDr7uDq8NTh5cHo87/o9cvj7GrS9XfT8IHa98Pn89Lf5JbK3Eihvvr3+Nze39ne4HnV8f38///7+//7/gAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0MzUyLCAyMDIwLzAxLzMwLTE1OjUwOjM4ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1NUNDQ0Q2Rjg3RTQxMUVBODRBODkxOUNBOEEwNEI0RiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1NUNDQ0Q3MDg3RTQxMUVBODRBODkxOUNBOEEwNEI0RiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU1Q0NDRDZEODdFNDExRUE4NEE4OTE5Q0E4QTA0QjRGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU1Q0NDRDZFODdFNDExRUE4NEE4OTE5Q0E4QTA0QjRGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtK