[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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