[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> block-library.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] =
   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 = 432);
  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"]["blocks"]; }());
 108  
 109  /***/ }),
 110  
 111  /***/ 11:
 112  /***/ (function(module, exports, __webpack_require__) {
 113  
 114  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
 115    Copyright (c) 2017 Jed Watson.
 116    Licensed under the MIT License (MIT), see
 117    http://jedwatson.github.io/classnames
 118  */
 119  /* global define */
 120  
 121  (function () {
 122      'use strict';
 123  
 124      var hasOwn = {}.hasOwnProperty;
 125  
 126  	function classNames () {
 127          var classes = [];
 128  
 129          for (var i = 0; i < arguments.length; i++) {
 130              var arg = arguments[i];
 131              if (!arg) continue;
 132  
 133              var argType = typeof arg;
 134  
 135              if (argType === 'string' || argType === 'number') {
 136                  classes.push(arg);
 137              } else if (Array.isArray(arg) && arg.length) {
 138                  var inner = classNames.apply(null, arg);
 139                  if (inner) {
 140                      classes.push(inner);
 141                  }
 142              } else if (argType === 'object') {
 143                  for (var key in arg) {
 144                      if (hasOwn.call(arg, key) && arg[key]) {
 145                          classes.push(key);
 146                      }
 147                  }
 148              }
 149          }
 150  
 151          return classes.join(' ');
 152      }
 153  
 154      if ( true && module.exports) {
 155          classNames.default = classNames;
 156          module.exports = classNames;
 157      } else if (true) {
 158          // register as 'classnames', consistent with npm package name
 159          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
 160              return classNames;
 161          }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
 162                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
 163      } else {}
 164  }());
 165  
 166  
 167  /***/ }),
 168  
 169  /***/ 12:
 170  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 171  
 172  "use strict";
 173  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
 174  function _assertThisInitialized(self) {
 175    if (self === void 0) {
 176      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 177    }
 178  
 179    return self;
 180  }
 181  
 182  /***/ }),
 183  
 184  /***/ 13:
 185  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 186  
 187  "use strict";
 188  
 189  // EXPORTS
 190  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
 191  
 192  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
 193  var arrayWithHoles = __webpack_require__(38);
 194  
 195  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
 196  function _iterableToArrayLimit(arr, i) {
 197    if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
 198    var _arr = [];
 199    var _n = true;
 200    var _d = false;
 201    var _e = undefined;
 202  
 203    try {
 204      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 205        _arr.push(_s.value);
 206  
 207        if (i && _arr.length === i) break;
 208      }
 209    } catch (err) {
 210      _d = true;
 211      _e = err;
 212    } finally {
 213      try {
 214        if (!_n && _i["return"] != null) _i["return"]();
 215      } finally {
 216        if (_d) throw _e;
 217      }
 218    }
 219  
 220    return _arr;
 221  }
 222  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
 223  var unsupportedIterableToArray = __webpack_require__(29);
 224  
 225  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
 226  var nonIterableRest = __webpack_require__(39);
 227  
 228  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
 229  
 230  
 231  
 232  
 233  function _slicedToArray(arr, i) {
 234    return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
 235  }
 236  
 237  /***/ }),
 238  
 239  /***/ 131:
 240  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 241  
 242  "use strict";
 243  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
 244  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
 245  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
 246  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
 247  
 248  
 249  
 250  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; }
 251  
 252  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(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(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; }
 253  
 254  /**
 255   * WordPress dependencies
 256   */
 257   // Disable reason: JSDoc linter doesn't seem to parse the union (`&`) correctly.
 258  
 259  /* eslint-disable jsdoc/valid-types */
 260  
 261  /** @typedef {{icon: JSX.Element, size?: number} & import('react').ComponentPropsWithoutRef<'SVG'>} IconProps */
 262  
 263  /* eslint-enable jsdoc/valid-types */
 264  
 265  /**
 266   * Return an SVG icon.
 267   *
 268   * @param {IconProps} props icon is the SVG component to render
 269   *                          size is a number specifiying the icon size in pixels
 270   *                          Other props will be passed to wrapped SVG component
 271   *
 272   * @return {JSX.Element}  Icon component
 273   */
 274  
 275  function Icon(_ref) {
 276    var icon = _ref.icon,
 277        _ref$size = _ref.size,
 278        size = _ref$size === void 0 ? 24 : _ref$size,
 279        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]);
 280  
 281    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({
 282      width: size,
 283      height: size
 284    }, props));
 285  }
 286  
 287  /* harmony default export */ __webpack_exports__["a"] = (Icon);
 288  
 289  
 290  /***/ }),
 291  
 292  /***/ 14:
 293  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 294  
 295  "use strict";
 296  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
 297  /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
 298  
 299  function _objectWithoutProperties(source, excluded) {
 300    if (source == null) return {};
 301    var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
 302    var key, i;
 303  
 304    if (Object.getOwnPropertySymbols) {
 305      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 306  
 307      for (i = 0; i < sourceSymbolKeys.length; i++) {
 308        key = sourceSymbolKeys[i];
 309        if (excluded.indexOf(key) >= 0) continue;
 310        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 311        target[key] = source[key];
 312      }
 313    }
 314  
 315    return target;
 316  }
 317  
 318  /***/ }),
 319  
 320  /***/ 148:
 321  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 322  
 323  "use strict";
 324  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 325  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 326  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 327  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 328  
 329  
 330  /**
 331   * WordPress dependencies
 332   */
 333  
 334  var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 335    xmlns: "http://www.w3.org/2000/svg",
 336    viewBox: "0 0 24 24"
 337  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 338    d: "M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
 339  }));
 340  /* harmony default export */ __webpack_exports__["a"] = (check);
 341  
 342  
 343  /***/ }),
 344  
 345  /***/ 15:
 346  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 347  
 348  "use strict";
 349  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
 350  function _getPrototypeOf(o) {
 351    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 352      return o.__proto__ || Object.getPrototypeOf(o);
 353    };
 354    return _getPrototypeOf(o);
 355  }
 356  
 357  /***/ }),
 358  
 359  /***/ 16:
 360  /***/ (function(module, exports) {
 361  
 362  (function() { module.exports = this["React"]; }());
 363  
 364  /***/ }),
 365  
 366  /***/ 17:
 367  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 368  
 369  "use strict";
 370  
 371  // EXPORTS
 372  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
 373  
 374  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
 375  var arrayLikeToArray = __webpack_require__(26);
 376  
 377  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
 378  
 379  function _arrayWithoutHoles(arr) {
 380    if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
 381  }
 382  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
 383  var iterableToArray = __webpack_require__(35);
 384  
 385  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
 386  var unsupportedIterableToArray = __webpack_require__(29);
 387  
 388  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
 389  function _nonIterableSpread() {
 390    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 391  }
 392  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
 393  
 394  
 395  
 396  
 397  function _toConsumableArray(arr) {
 398    return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
 399  }
 400  
 401  /***/ }),
 402  
 403  /***/ 171:
 404  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 405  
 406  "use strict";
 407  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 408  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 409  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 410  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 411  
 412  
 413  /**
 414   * WordPress dependencies
 415   */
 416  
 417  var closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 418    xmlns: "http://www.w3.org/2000/svg",
 419    viewBox: "0 0 24 24"
 420  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 421    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"
 422  }));
 423  /* harmony default export */ __webpack_exports__["a"] = (closeSmall);
 424  
 425  
 426  /***/ }),
 427  
 428  /***/ 174:
 429  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 430  
 431  "use strict";
 432  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 433  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 434  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 435  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 436  
 437  
 438  /**
 439   * WordPress dependencies
 440   */
 441  
 442  var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 443    xmlns: "http://www.w3.org/2000/svg",
 444    viewBox: "0 0 24 24"
 445  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 446    d: "M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"
 447  }));
 448  /* harmony default export */ __webpack_exports__["a"] = (link);
 449  
 450  
 451  /***/ }),
 452  
 453  /***/ 18:
 454  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 455  
 456  "use strict";
 457  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
 458  function _defineProperties(target, props) {
 459    for (var i = 0; i < props.length; i++) {
 460      var descriptor = props[i];
 461      descriptor.enumerable = descriptor.enumerable || false;
 462      descriptor.configurable = true;
 463      if ("value" in descriptor) descriptor.writable = true;
 464      Object.defineProperty(target, descriptor.key, descriptor);
 465    }
 466  }
 467  
 468  function _createClass(Constructor, protoProps, staticProps) {
 469    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 470    if (staticProps) _defineProperties(Constructor, staticProps);
 471    return Constructor;
 472  }
 473  
 474  /***/ }),
 475  
 476  /***/ 19:
 477  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 478  
 479  "use strict";
 480  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
 481  function _classCallCheck(instance, Constructor) {
 482    if (!(instance instanceof Constructor)) {
 483      throw new TypeError("Cannot call a class as a function");
 484    }
 485  }
 486  
 487  /***/ }),
 488  
 489  /***/ 197:
 490  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 491  
 492  "use strict";
 493  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 494  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 495  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 496  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 497  
 498  
 499  /**
 500   * WordPress dependencies
 501   */
 502  
 503  var keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 504    xmlns: "http://www.w3.org/2000/svg",
 505    viewBox: "-2 -2 24 24"
 506  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 507    d: "M16 4h2v9H7v3l-5-4 5-4v3h9V4z"
 508  }));
 509  /* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
 510  
 511  
 512  /***/ }),
 513  
 514  /***/ 198:
 515  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 516  
 517  "use strict";
 518  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 519  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 520  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 521  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 522  
 523  
 524  /**
 525   * WordPress dependencies
 526   */
 527  
 528  var upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 529    xmlns: "http://www.w3.org/2000/svg",
 530    viewBox: "0 0 24 24"
 531  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 532    d: "M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"
 533  }));
 534  /* harmony default export */ __webpack_exports__["a"] = (upload);
 535  
 536  
 537  /***/ }),
 538  
 539  /***/ 199:
 540  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 541  
 542  "use strict";
 543  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 544  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 545  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
 546  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 547  
 548  
 549  /**
 550   * WordPress dependencies
 551   */
 552  
 553  var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 554    xmlns: "http://www.w3.org/2000/svg",
 555    viewBox: "0 0 24 24"
 556  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 557    d: "M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"
 558  }));
 559  /* harmony default export */ __webpack_exports__["a"] = (linkOff);
 560  
 561  
 562  /***/ }),
 563  
 564  /***/ 2:
 565  /***/ (function(module, exports) {
 566  
 567  (function() { module.exports = this["lodash"]; }());
 568  
 569  /***/ }),
 570  
 571  /***/ 20:
 572  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 573  
 574  "use strict";
 575  
 576  // EXPORTS
 577  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
 578  
 579  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
 580  function _setPrototypeOf(o, p) {
 581    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 582      o.__proto__ = p;
 583      return o;
 584    };
 585  
 586    return _setPrototypeOf(o, p);
 587  }
 588  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
 589  
 590  function _inherits(subClass, superClass) {
 591    if (typeof superClass !== "function" && superClass !== null) {
 592      throw new TypeError("Super expression must either be null or a function");
 593    }
 594  
 595    subClass.prototype = Object.create(superClass && superClass.prototype, {
 596      constructor: {
 597        value: subClass,
 598        writable: true,
 599        configurable: true
 600      }
 601    });
 602    if (superClass) _setPrototypeOf(subClass, superClass);
 603  }
 604  
 605  /***/ }),
 606  
 607  /***/ 21:
 608  /***/ (function(module, exports) {
 609  
 610  (function() { module.exports = this["wp"]["keycodes"]; }());
 611  
 612  /***/ }),
 613  
 614  /***/ 22:
 615  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 616  
 617  "use strict";
 618  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
 619  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
 620  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
 621  
 622  
 623  function _possibleConstructorReturn(self, call) {
 624    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
 625      return call;
 626    }
 627  
 628    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
 629  }
 630  
 631  /***/ }),
 632  
 633  /***/ 24:
 634  /***/ (function(module, exports) {
 635  
 636  (function() { module.exports = this["wp"]["richText"]; }());
 637  
 638  /***/ }),
 639  
 640  /***/ 26:
 641  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 642  
 643  "use strict";
 644  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
 645  function _arrayLikeToArray(arr, len) {
 646    if (len == null || len > arr.length) len = arr.length;
 647  
 648    for (var i = 0, arr2 = new Array(len); i < len; i++) {
 649      arr2[i] = arr[i];
 650    }
 651  
 652    return arr2;
 653  }
 654  
 655  /***/ }),
 656  
 657  /***/ 261:
 658  /***/ (function(module, exports, __webpack_require__) {
 659  
 660  /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
 661  (function (global, factory) {
 662       true ? module.exports = factory() :
 663      undefined;
 664  }(this, (function () { 'use strict';
 665  
 666  function _classCallCheck(instance, Constructor) {
 667    if (!(instance instanceof Constructor)) {
 668      throw new TypeError("Cannot call a class as a function");
 669    }
 670  }
 671  
 672  function _defineProperties(target, props) {
 673    for (var i = 0; i < props.length; i++) {
 674      var descriptor = props[i];
 675      descriptor.enumerable = descriptor.enumerable || false;
 676      descriptor.configurable = true;
 677      if ("value" in descriptor) descriptor.writable = true;
 678      Object.defineProperty(target, descriptor.key, descriptor);
 679    }
 680  }
 681  
 682  function _createClass(Constructor, protoProps, staticProps) {
 683    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 684    if (staticProps) _defineProperties(Constructor, staticProps);
 685    return Constructor;
 686  }
 687  
 688  function _slicedToArray(arr, i) {
 689    return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
 690  }
 691  
 692  function _arrayWithHoles(arr) {
 693    if (Array.isArray(arr)) return arr;
 694  }
 695  
 696  function _iterableToArrayLimit(arr, i) {
 697    var _arr = [];
 698    var _n = true;
 699    var _d = false;
 700    var _e = undefined;
 701  
 702    try {
 703      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 704        _arr.push(_s.value);
 705  
 706        if (i && _arr.length === i) break;
 707      }
 708    } catch (err) {
 709      _d = true;
 710      _e = err;
 711    } finally {
 712      try {
 713        if (!_n && _i["return"] != null) _i["return"]();
 714      } finally {
 715        if (_d) throw _e;
 716      }
 717    }
 718  
 719    return _arr;
 720  }
 721  
 722  function _nonIterableRest() {
 723    throw new TypeError("Invalid attempt to destructure non-iterable instance");
 724  }
 725  
 726  var FastAverageColor =
 727  /*#__PURE__*/
 728  function () {
 729    function FastAverageColor() {
 730      _classCallCheck(this, FastAverageColor);
 731    }
 732  
 733    _createClass(FastAverageColor, [{
 734      key: "getColorAsync",
 735  
 736      /**
 737       * Get asynchronously the average color from not loaded image.
 738       *
 739       * @param {HTMLImageElement} resource
 740       * @param {Function} callback
 741       * @param {Object|null} [options]
 742       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 743       * @param {*}      [options.data]
 744       * @param {string} [options.mode="speed"] "precision" or "speed"
 745       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 746       * @param {number} [options.step=1]
 747       * @param {number} [options.left=0]
 748       * @param {number} [options.top=0]
 749       * @param {number} [options.width=width of resource]
 750       * @param {number} [options.height=height of resource]
 751       */
 752      value: function getColorAsync(resource, callback, options) {
 753        if (resource.complete) {
 754          callback.call(resource, this.getColor(resource, options), options && options.data);
 755        } else {
 756          this._bindImageEvents(resource, callback, options);
 757        }
 758      }
 759      /**
 760       * Get the average color from images, videos and canvas.
 761       *
 762       * @param {HTMLImageElement|HTMLVideoElement|HTMLCanvasElement} resource
 763       * @param {Object|null} [options]
 764       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 765       * @param {*}      [options.data]
 766       * @param {string} [options.mode="speed"] "precision" or "speed"
 767       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 768       * @param {number} [options.step=1]
 769       * @param {number} [options.left=0]
 770       * @param {number} [options.top=0]
 771       * @param {number} [options.width=width of resource]
 772       * @param {number} [options.height=height of resource]
 773       *
 774       * @returns {Object}
 775       */
 776  
 777    }, {
 778      key: "getColor",
 779      value: function getColor(resource, options) {
 780        options = options || {};
 781  
 782        var defaultColor = this._getDefaultColor(options),
 783            originalSize = this._getOriginalSize(resource),
 784            size = this._prepareSizeAndPosition(originalSize, options);
 785  
 786        var error = null,
 787            value = defaultColor;
 788  
 789        if (!size.srcWidth || !size.srcHeight || !size.destWidth || !size.destHeight) {
 790          return this._prepareResult(defaultColor, new Error('FastAverageColor: Incorrect sizes.'));
 791        }
 792  
 793        if (!this._ctx) {
 794          this._canvas = this._makeCanvas();
 795          this._ctx = this._canvas.getContext && this._canvas.getContext('2d');
 796  
 797          if (!this._ctx) {
 798            return this._prepareResult(defaultColor, new Error('FastAverageColor: Canvas Context 2D is not supported in this browser.'));
 799          }
 800        }
 801  
 802        this._canvas.width = size.destWidth;
 803        this._canvas.height = size.destHeight;
 804  
 805        try {
 806          this._ctx.clearRect(0, 0, size.destWidth, size.destHeight);
 807  
 808          this._ctx.drawImage(resource, size.srcLeft, size.srcTop, size.srcWidth, size.srcHeight, 0, 0, size.destWidth, size.destHeight);
 809  
 810          var bitmapData = this._ctx.getImageData(0, 0, size.destWidth, size.destHeight).data;
 811  
 812          value = this.getColorFromArray4(bitmapData, options);
 813        } catch (e) {
 814          // Security error, CORS
 815          // https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image
 816          error = e;
 817        }
 818  
 819        return this._prepareResult(value, error);
 820      }
 821      /**
 822       * Get the average color from a array when 1 pixel is 4 bytes.
 823       *
 824       * @param {Array|Uint8Array} arr
 825       * @param {Object} [options]
 826       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 827       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 828       * @param {number} [options.step=1]
 829       *
 830       * @returns {Array} [red (0-255), green (0-255), blue (0-255), alpha (0-255)]
 831       */
 832  
 833    }, {
 834      key: "getColorFromArray4",
 835      value: function getColorFromArray4(arr, options) {
 836        options = options || {};
 837        var bytesPerPixel = 4,
 838            arrLength = arr.length;
 839  
 840        if (arrLength < bytesPerPixel) {
 841          return this._getDefaultColor(options);
 842        }
 843  
 844        var len = arrLength - arrLength % bytesPerPixel,
 845            preparedStep = (options.step || 1) * bytesPerPixel,
 846            algorithm = '_' + (options.algorithm || 'sqrt') + 'Algorithm';
 847  
 848        if (typeof this[algorithm] !== 'function') {
 849          throw new Error("FastAverageColor: ".concat(options.algorithm, " is unknown algorithm."));
 850        }
 851  
 852        return this[algorithm](arr, len, preparedStep);
 853      }
 854      /**
 855       * Destroy the instance.
 856       */
 857  
 858    }, {
 859      key: "destroy",
 860      value: function destroy() {
 861        delete this._canvas;
 862        delete this._ctx;
 863      }
 864    }, {
 865      key: "_getDefaultColor",
 866      value: function _getDefaultColor(options) {
 867        return this._getOption(options, 'defaultColor', [255, 255, 255, 255]);
 868      }
 869    }, {
 870      key: "_getOption",
 871      value: function _getOption(options, name, defaultValue) {
 872        return typeof options[name] === 'undefined' ? defaultValue : options[name];
 873      }
 874    }, {
 875      key: "_prepareSizeAndPosition",
 876      value: function _prepareSizeAndPosition(originalSize, options) {
 877        var srcLeft = this._getOption(options, 'left', 0),
 878            srcTop = this._getOption(options, 'top', 0),
 879            srcWidth = this._getOption(options, 'width', originalSize.width),
 880            srcHeight = this._getOption(options, 'height', originalSize.height),
 881            destWidth = srcWidth,
 882            destHeight = srcHeight;
 883  
 884        if (options.mode === 'precision') {
 885          return {
 886            srcLeft: srcLeft,
 887            srcTop: srcTop,
 888            srcWidth: srcWidth,
 889            srcHeight: srcHeight,
 890            destWidth: destWidth,
 891            destHeight: destHeight
 892          };
 893        }
 894  
 895        var maxSize = 100,
 896            minSize = 10;
 897        var factor;
 898  
 899        if (srcWidth > srcHeight) {
 900          factor = srcWidth / srcHeight;
 901          destWidth = maxSize;
 902          destHeight = Math.round(destWidth / factor);
 903        } else {
 904          factor = srcHeight / srcWidth;
 905          destHeight = maxSize;
 906          destWidth = Math.round(destHeight / factor);
 907        }
 908  
 909        if (destWidth > srcWidth || destHeight > srcHeight || destWidth < minSize || destHeight < minSize) {
 910          destWidth = srcWidth;
 911          destHeight = srcHeight;
 912        }
 913  
 914        return {
 915          srcLeft: srcLeft,
 916          srcTop: srcTop,
 917          srcWidth: srcWidth,
 918          srcHeight: srcHeight,
 919          destWidth: destWidth,
 920          destHeight: destHeight
 921        };
 922      }
 923    }, {
 924      key: "_simpleAlgorithm",
 925      value: function _simpleAlgorithm(arr, len, preparedStep) {
 926        var redTotal = 0,
 927            greenTotal = 0,
 928            blueTotal = 0,
 929            alphaTotal = 0,
 930            count = 0;
 931  
 932        for (var i = 0; i < len; i += preparedStep) {
 933          var alpha = arr[i + 3],
 934              red = arr[i] * alpha,
 935              green = arr[i + 1] * alpha,
 936              blue = arr[i + 2] * alpha;
 937          redTotal += red;
 938          greenTotal += green;
 939          blueTotal += blue;
 940          alphaTotal += alpha;
 941          count++;
 942        }
 943  
 944        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
 945      }
 946    }, {
 947      key: "_sqrtAlgorithm",
 948      value: function _sqrtAlgorithm(arr, len, preparedStep) {
 949        var redTotal = 0,
 950            greenTotal = 0,
 951            blueTotal = 0,
 952            alphaTotal = 0,
 953            count = 0;
 954  
 955        for (var i = 0; i < len; i += preparedStep) {
 956          var red = arr[i],
 957              green = arr[i + 1],
 958              blue = arr[i + 2],
 959              alpha = arr[i + 3];
 960          redTotal += red * red * alpha;
 961          greenTotal += green * green * alpha;
 962          blueTotal += blue * blue * alpha;
 963          alphaTotal += alpha;
 964          count++;
 965        }
 966  
 967        return alphaTotal ? [Math.round(Math.sqrt(redTotal / alphaTotal)), Math.round(Math.sqrt(greenTotal / alphaTotal)), Math.round(Math.sqrt(blueTotal / alphaTotal)), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
 968      }
 969    }, {
 970      key: "_dominantAlgorithm",
 971      value: function _dominantAlgorithm(arr, len, preparedStep) {
 972        var colorHash = {},
 973            divider = 24;
 974  
 975        for (var i = 0; i < len; i += preparedStep) {
 976          var red = arr[i],
 977              green = arr[i + 1],
 978              blue = arr[i + 2],
 979              alpha = arr[i + 3],
 980              key = Math.round(red / divider) + ',' + Math.round(green / divider) + ',' + Math.round(blue / divider);
 981  
 982          if (colorHash[key]) {
 983            colorHash[key] = [colorHash[key][0] + red * alpha, colorHash[key][1] + green * alpha, colorHash[key][2] + blue * alpha, colorHash[key][3] + alpha, colorHash[key][4] + 1];
 984          } else {
 985            colorHash[key] = [red * alpha, green * alpha, blue * alpha, alpha, 1];
 986          }
 987        }
 988  
 989        var buffer = Object.keys(colorHash).map(function (key) {
 990          return colorHash[key];
 991        }).sort(function (a, b) {
 992          var countA = a[4],
 993              countB = b[4];
 994          return countA > countB ? -1 : countA === countB ? 0 : 1;
 995        });
 996  
 997        var _buffer$ = _slicedToArray(buffer[0], 5),
 998            redTotal = _buffer$[0],
 999            greenTotal = _buffer$[1],
1000            blueTotal = _buffer$[2],
1001            alphaTotal = _buffer$[3],
1002            count = _buffer$[4];
1003  
1004        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
1005      }
1006    }, {
1007      key: "_bindImageEvents",
1008      value: function _bindImageEvents(resource, callback, options) {
1009        var _this = this;
1010  
1011        options = options || {};
1012  
1013        var data = options && options.data,
1014            defaultColor = this._getDefaultColor(options),
1015            onload = function onload() {
1016          unbindEvents();
1017          callback.call(resource, _this.getColor(resource, options), data);
1018        },
1019            onerror = function onerror() {
1020          unbindEvents();
1021          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image error')), data);
1022        },
1023            onabort = function onabort() {
1024          unbindEvents();
1025          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image abort')), data);
1026        },
1027            unbindEvents = function unbindEvents() {
1028          resource.removeEventListener('load', onload);
1029          resource.removeEventListener('error', onerror);
1030          resource.removeEventListener('abort', onabort);
1031        };
1032  
1033        resource.addEventListener('load', onload);
1034        resource.addEventListener('error', onerror);
1035        resource.addEventListener('abort', onabort);
1036      }
1037    }, {
1038      key: "_prepareResult",
1039      value: function _prepareResult(value, error) {
1040        var rgb = value.slice(0, 3),
1041            rgba = [].concat(rgb, value[3] / 255),
1042            isDark = this._isDark(value);
1043  
1044        return {
1045          error: error,
1046          value: value,
1047          rgb: 'rgb(' + rgb.join(',') + ')',
1048          rgba: 'rgba(' + rgba.join(',') + ')',
1049          hex: this._arrayToHex(rgb),
1050          hexa: this._arrayToHex(value),
1051          isDark: isDark,
1052          isLight: !isDark
1053        };
1054      }
1055    }, {
1056      key: "_getOriginalSize",
1057      value: function _getOriginalSize(resource) {
1058        if (resource instanceof HTMLImageElement) {
1059          return {
1060            width: resource.naturalWidth,
1061            height: resource.naturalHeight
1062          };
1063        }
1064  
1065        if (resource instanceof HTMLVideoElement) {
1066          return {
1067            width: resource.videoWidth,
1068            height: resource.videoHeight
1069          };
1070        }
1071  
1072        return {
1073          width: resource.width,
1074          height: resource.height
1075        };
1076      }
1077    }, {
1078      key: "_toHex",
1079      value: function _toHex(num) {
1080        var str = num.toString(16);
1081        return str.length === 1 ? '0' + str : str;
1082      }
1083    }, {
1084      key: "_arrayToHex",
1085      value: function _arrayToHex(arr) {
1086        return '#' + arr.map(this._toHex).join('');
1087      }
1088    }, {
1089      key: "_isDark",
1090      value: function _isDark(color) {
1091        // http://www.w3.org/TR/AERT#color-contrast
1092        var result = (color[0] * 299 + color[1] * 587 + color[2] * 114) / 1000;
1093        return result < 128;
1094      }
1095    }, {
1096      key: "_makeCanvas",
1097      value: function _makeCanvas() {
1098        return typeof window === 'undefined' ? new OffscreenCanvas(1, 1) : document.createElement('canvas');
1099      }
1100    }]);
1101  
1102    return FastAverageColor;
1103  }();
1104  
1105  return FastAverageColor;
1106  
1107  })));
1108  
1109  
1110  /***/ }),
1111  
1112  /***/ 283:
1113  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1114  
1115  "use strict";
1116  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1117  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1118  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1119  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1120  
1121  
1122  /**
1123   * WordPress dependencies
1124   */
1125  
1126  var alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1127    xmlns: "http://www.w3.org/2000/svg",
1128    viewBox: "0 0 24 24"
1129  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1130    d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
1131  }));
1132  /* harmony default export */ __webpack_exports__["a"] = (alignLeft);
1133  
1134  
1135  /***/ }),
1136  
1137  /***/ 284:
1138  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1139  
1140  "use strict";
1141  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1142  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1143  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1144  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1145  
1146  
1147  /**
1148   * WordPress dependencies
1149   */
1150  
1151  var alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1152    xmlns: "http://www.w3.org/2000/svg",
1153    viewBox: "0 0 24 24"
1154  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1155    d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
1156  }));
1157  /* harmony default export */ __webpack_exports__["a"] = (alignCenter);
1158  
1159  
1160  /***/ }),
1161  
1162  /***/ 285:
1163  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1164  
1165  "use strict";
1166  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1167  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1168  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1169  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1170  
1171  
1172  /**
1173   * WordPress dependencies
1174   */
1175  
1176  var alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1177    xmlns: "http://www.w3.org/2000/svg",
1178    viewBox: "0 0 24 24"
1179  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1180    d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
1181  }));
1182  /* harmony default export */ __webpack_exports__["a"] = (alignRight);
1183  
1184  
1185  /***/ }),
1186  
1187  /***/ 287:
1188  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1189  
1190  "use strict";
1191  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1192  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1193  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1194  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1195  
1196  
1197  /**
1198   * WordPress dependencies
1199   */
1200  
1201  var search = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1202    xmlns: "http://www.w3.org/2000/svg",
1203    viewBox: "0 0 24 24"
1204  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1205    d: "M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"
1206  }));
1207  /* harmony default export */ __webpack_exports__["a"] = (search);
1208  
1209  
1210  /***/ }),
1211  
1212  /***/ 288:
1213  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1214  
1215  "use strict";
1216  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1217  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1218  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1219  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1220  
1221  
1222  /**
1223   * WordPress dependencies
1224   */
1225  
1226  var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1227    xmlns: "http://www.w3.org/2000/svg",
1228    viewBox: "0 0 24 24"
1229  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1230    d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
1231  }));
1232  /* harmony default export */ __webpack_exports__["a"] = (chevronRight);
1233  
1234  
1235  /***/ }),
1236  
1237  /***/ 289:
1238  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1239  
1240  "use strict";
1241  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1242  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1243  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1244  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1245  
1246  
1247  /**
1248   * WordPress dependencies
1249   */
1250  
1251  var chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1252    xmlns: "http://www.w3.org/2000/svg",
1253    viewBox: "0 0 24 24"
1254  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1255    d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
1256  }));
1257  /* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
1258  
1259  
1260  /***/ }),
1261  
1262  /***/ 29:
1263  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1264  
1265  "use strict";
1266  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
1267  /* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
1268  
1269  function _unsupportedIterableToArray(o, minLen) {
1270    if (!o) return;
1271    if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
1272    var n = Object.prototype.toString.call(o).slice(8, -1);
1273    if (n === "Object" && o.constructor) n = o.constructor.name;
1274    if (n === "Map" || n === "Set") return Array.from(o);
1275    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
1276  }
1277  
1278  /***/ }),
1279  
1280  /***/ 295:
1281  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1282  
1283  "use strict";
1284  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1285  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1286  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1287  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1288  
1289  
1290  /**
1291   * WordPress dependencies
1292   */
1293  
1294  var pencil = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1295    xmlns: "http://www.w3.org/2000/svg",
1296    viewBox: "-2 -2 24 24"
1297  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1298    d: "M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"
1299  }));
1300  /* harmony default export */ __webpack_exports__["a"] = (pencil);
1301  
1302  
1303  /***/ }),
1304  
1305  /***/ 296:
1306  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1307  
1308  "use strict";
1309  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1310  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1311  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1312  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1313  
1314  
1315  /**
1316   * WordPress dependencies
1317   */
1318  
1319  var edit = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1320    xmlns: "http://www.w3.org/2000/svg",
1321    viewBox: "0 0 24 24"
1322  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1323    d: "M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"
1324  }));
1325  /* harmony default export */ __webpack_exports__["a"] = (edit);
1326  
1327  
1328  /***/ }),
1329  
1330  /***/ 297:
1331  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1332  
1333  "use strict";
1334  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1335  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1336  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1337  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1338  
1339  
1340  /**
1341   * WordPress dependencies
1342   */
1343  
1344  var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1345    viewBox: "0 0 24 24",
1346    xmlns: "http://www.w3.org/2000/svg"
1347  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1348    d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
1349  }));
1350  /* harmony default export */ __webpack_exports__["a"] = (code);
1351  
1352  
1353  /***/ }),
1354  
1355  /***/ 298:
1356  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1357  
1358  "use strict";
1359  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1360  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1361  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1362  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1363  
1364  
1365  /**
1366   * WordPress dependencies
1367   */
1368  
1369  var grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1370    xmlns: "http://www.w3.org/2000/svg",
1371    viewBox: "-2 -2 24 24"
1372  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1373    d: "M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z"
1374  }));
1375  /* harmony default export */ __webpack_exports__["a"] = (grid);
1376  
1377  
1378  /***/ }),
1379  
1380  /***/ 3:
1381  /***/ (function(module, exports) {
1382  
1383  (function() { module.exports = this["wp"]["components"]; }());
1384  
1385  /***/ }),
1386  
1387  /***/ 30:
1388  /***/ (function(module, exports) {
1389  
1390  (function() { module.exports = this["wp"]["url"]; }());
1391  
1392  /***/ }),
1393  
1394  /***/ 35:
1395  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1396  
1397  "use strict";
1398  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
1399  function _iterableToArray(iter) {
1400    if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
1401  }
1402  
1403  /***/ }),
1404  
1405  /***/ 37:
1406  /***/ (function(module, exports) {
1407  
1408  (function() { module.exports = this["wp"]["deprecated"]; }());
1409  
1410  /***/ }),
1411  
1412  /***/ 38:
1413  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1414  
1415  "use strict";
1416  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
1417  function _arrayWithHoles(arr) {
1418    if (Array.isArray(arr)) return arr;
1419  }
1420  
1421  /***/ }),
1422  
1423  /***/ 39:
1424  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1425  
1426  "use strict";
1427  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
1428  function _nonIterableRest() {
1429    throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1430  }
1431  
1432  /***/ }),
1433  
1434  /***/ 4:
1435  /***/ (function(module, exports) {
1436  
1437  (function() { module.exports = this["wp"]["data"]; }());
1438  
1439  /***/ }),
1440  
1441  /***/ 40:
1442  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1443  
1444  "use strict";
1445  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
1446  function _typeof(obj) {
1447    "@babel/helpers - typeof";
1448  
1449    if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1450      _typeof = function _typeof(obj) {
1451        return typeof obj;
1452      };
1453    } else {
1454      _typeof = function _typeof(obj) {
1455        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1456      };
1457    }
1458  
1459    return _typeof(obj);
1460  }
1461  
1462  /***/ }),
1463  
1464  /***/ 41:
1465  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1466  
1467  "use strict";
1468  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
1469  function _objectWithoutPropertiesLoose(source, excluded) {
1470    if (source == null) return {};
1471    var target = {};
1472    var sourceKeys = Object.keys(source);
1473    var key, i;
1474  
1475    for (i = 0; i < sourceKeys.length; i++) {
1476      key = sourceKeys[i];
1477      if (excluded.indexOf(key) >= 0) continue;
1478      target[key] = source[key];
1479    }
1480  
1481    return target;
1482  }
1483  
1484  /***/ }),
1485  
1486  /***/ 43:
1487  /***/ (function(module, exports) {
1488  
1489  (function() { module.exports = this["moment"]; }());
1490  
1491  /***/ }),
1492  
1493  /***/ 432:
1494  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1495  
1496  "use strict";
1497  // ESM COMPAT FLAG
1498  __webpack_require__.r(__webpack_exports__);
1499  
1500  // EXPORTS
1501  __webpack_require__.d(__webpack_exports__, "registerCoreBlocks", function() { return /* binding */ build_module_registerCoreBlocks; });
1502  __webpack_require__.d(__webpack_exports__, "__experimentalRegisterExperimentalCoreBlocks", function() { return /* binding */ __experimentalRegisterExperimentalCoreBlocks; });
1503  
1504  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
1505  var build_module_paragraph_namespaceObject = {};
1506  __webpack_require__.r(build_module_paragraph_namespaceObject);
1507  __webpack_require__.d(build_module_paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; });
1508  __webpack_require__.d(build_module_paragraph_namespaceObject, "name", function() { return paragraph_name; });
1509  __webpack_require__.d(build_module_paragraph_namespaceObject, "settings", function() { return paragraph_settings; });
1510  
1511  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/image/index.js
1512  var build_module_image_namespaceObject = {};
1513  __webpack_require__.r(build_module_image_namespaceObject);
1514  __webpack_require__.d(build_module_image_namespaceObject, "metadata", function() { return image_metadata; });
1515  __webpack_require__.d(build_module_image_namespaceObject, "name", function() { return image_name; });
1516  __webpack_require__.d(build_module_image_namespaceObject, "settings", function() { return image_settings; });
1517  
1518  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/heading/index.js
1519  var build_module_heading_namespaceObject = {};
1520  __webpack_require__.r(build_module_heading_namespaceObject);
1521  __webpack_require__.d(build_module_heading_namespaceObject, "metadata", function() { return heading_metadata; });
1522  __webpack_require__.d(build_module_heading_namespaceObject, "name", function() { return heading_name; });
1523  __webpack_require__.d(build_module_heading_namespaceObject, "settings", function() { return heading_settings; });
1524  
1525  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/quote/index.js
1526  var build_module_quote_namespaceObject = {};
1527  __webpack_require__.r(build_module_quote_namespaceObject);
1528  __webpack_require__.d(build_module_quote_namespaceObject, "metadata", function() { return quote_metadata; });
1529  __webpack_require__.d(build_module_quote_namespaceObject, "name", function() { return quote_name; });
1530  __webpack_require__.d(build_module_quote_namespaceObject, "settings", function() { return quote_settings; });
1531  
1532  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
1533  var build_module_gallery_namespaceObject = {};
1534  __webpack_require__.r(build_module_gallery_namespaceObject);
1535  __webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; });
1536  __webpack_require__.d(build_module_gallery_namespaceObject, "name", function() { return gallery_name; });
1537  __webpack_require__.d(build_module_gallery_namespaceObject, "settings", function() { return gallery_settings; });
1538  
1539  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/archives/index.js
1540  var archives_namespaceObject = {};
1541  __webpack_require__.r(archives_namespaceObject);
1542  __webpack_require__.d(archives_namespaceObject, "metadata", function() { return archives_metadata; });
1543  __webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; });
1544  __webpack_require__.d(archives_namespaceObject, "settings", function() { return archives_settings; });
1545  
1546  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/audio/index.js
1547  var build_module_audio_namespaceObject = {};
1548  __webpack_require__.r(build_module_audio_namespaceObject);
1549  __webpack_require__.d(build_module_audio_namespaceObject, "metadata", function() { return audio_metadata; });
1550  __webpack_require__.d(build_module_audio_namespaceObject, "name", function() { return audio_name; });
1551  __webpack_require__.d(build_module_audio_namespaceObject, "settings", function() { return audio_settings; });
1552  
1553  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/button/index.js
1554  var build_module_button_namespaceObject = {};
1555  __webpack_require__.r(build_module_button_namespaceObject);
1556  __webpack_require__.d(build_module_button_namespaceObject, "metadata", function() { return button_metadata; });
1557  __webpack_require__.d(build_module_button_namespaceObject, "name", function() { return button_name; });
1558  __webpack_require__.d(build_module_button_namespaceObject, "settings", function() { return button_settings; });
1559  
1560  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
1561  var buttons_namespaceObject = {};
1562  __webpack_require__.r(buttons_namespaceObject);
1563  __webpack_require__.d(buttons_namespaceObject, "metadata", function() { return buttons_metadata; });
1564  __webpack_require__.d(buttons_namespaceObject, "name", function() { return buttons_name; });
1565  __webpack_require__.d(buttons_namespaceObject, "settings", function() { return buttons_settings; });
1566  
1567  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
1568  var build_module_calendar_namespaceObject = {};
1569  __webpack_require__.r(build_module_calendar_namespaceObject);
1570  __webpack_require__.d(build_module_calendar_namespaceObject, "metadata", function() { return calendar_metadata; });
1571  __webpack_require__.d(build_module_calendar_namespaceObject, "name", function() { return calendar_name; });
1572  __webpack_require__.d(build_module_calendar_namespaceObject, "settings", function() { return calendar_settings; });
1573  
1574  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/categories/index.js
1575  var categories_namespaceObject = {};
1576  __webpack_require__.r(categories_namespaceObject);
1577  __webpack_require__.d(categories_namespaceObject, "metadata", function() { return categories_metadata; });
1578  __webpack_require__.d(categories_namespaceObject, "name", function() { return categories_name; });
1579  __webpack_require__.d(categories_namespaceObject, "settings", function() { return categories_settings; });
1580  
1581  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/code/index.js
1582  var code_namespaceObject = {};
1583  __webpack_require__.r(code_namespaceObject);
1584  __webpack_require__.d(code_namespaceObject, "metadata", function() { return code_metadata; });
1585  __webpack_require__.d(code_namespaceObject, "name", function() { return code_name; });
1586  __webpack_require__.d(code_namespaceObject, "settings", function() { return code_settings; });
1587  
1588  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/columns/index.js
1589  var build_module_columns_namespaceObject = {};
1590  __webpack_require__.r(build_module_columns_namespaceObject);
1591  __webpack_require__.d(build_module_columns_namespaceObject, "metadata", function() { return columns_metadata; });
1592  __webpack_require__.d(build_module_columns_namespaceObject, "name", function() { return columns_name; });
1593  __webpack_require__.d(build_module_columns_namespaceObject, "settings", function() { return columns_settings; });
1594  
1595  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/column/index.js
1596  var build_module_column_namespaceObject = {};
1597  __webpack_require__.r(build_module_column_namespaceObject);
1598  __webpack_require__.d(build_module_column_namespaceObject, "metadata", function() { return column_metadata; });
1599  __webpack_require__.d(build_module_column_namespaceObject, "name", function() { return column_name; });
1600  __webpack_require__.d(build_module_column_namespaceObject, "settings", function() { return column_settings; });
1601  
1602  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/cover/index.js
1603  var build_module_cover_namespaceObject = {};
1604  __webpack_require__.r(build_module_cover_namespaceObject);
1605  __webpack_require__.d(build_module_cover_namespaceObject, "metadata", function() { return cover_metadata; });
1606  __webpack_require__.d(build_module_cover_namespaceObject, "name", function() { return cover_name; });
1607  __webpack_require__.d(build_module_cover_namespaceObject, "settings", function() { return cover_settings; });
1608  
1609  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/embed/index.js
1610  var embed_namespaceObject = {};
1611  __webpack_require__.r(embed_namespaceObject);
1612  __webpack_require__.d(embed_namespaceObject, "name", function() { return embed_name; });
1613  __webpack_require__.d(embed_namespaceObject, "settings", function() { return embed_settings; });
1614  __webpack_require__.d(embed_namespaceObject, "common", function() { return embed_common; });
1615  __webpack_require__.d(embed_namespaceObject, "others", function() { return embed_others; });
1616  
1617  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/file/index.js
1618  var build_module_file_namespaceObject = {};
1619  __webpack_require__.r(build_module_file_namespaceObject);
1620  __webpack_require__.d(build_module_file_namespaceObject, "metadata", function() { return file_metadata; });
1621  __webpack_require__.d(build_module_file_namespaceObject, "name", function() { return file_name; });
1622  __webpack_require__.d(build_module_file_namespaceObject, "settings", function() { return file_settings; });
1623  
1624  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/html/index.js
1625  var build_module_html_namespaceObject = {};
1626  __webpack_require__.r(build_module_html_namespaceObject);
1627  __webpack_require__.d(build_module_html_namespaceObject, "metadata", function() { return html_metadata; });
1628  __webpack_require__.d(build_module_html_namespaceObject, "name", function() { return html_name; });
1629  __webpack_require__.d(build_module_html_namespaceObject, "settings", function() { return html_settings; });
1630  
1631  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
1632  var media_text_namespaceObject = {};
1633  __webpack_require__.r(media_text_namespaceObject);
1634  __webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; });
1635  __webpack_require__.d(media_text_namespaceObject, "name", function() { return media_text_name; });
1636  __webpack_require__.d(media_text_namespaceObject, "settings", function() { return media_text_settings; });
1637  
1638  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
1639  var latest_comments_namespaceObject = {};
1640  __webpack_require__.r(latest_comments_namespaceObject);
1641  __webpack_require__.d(latest_comments_namespaceObject, "metadata", function() { return latest_comments_metadata; });
1642  __webpack_require__.d(latest_comments_namespaceObject, "name", function() { return latest_comments_name; });
1643  __webpack_require__.d(latest_comments_namespaceObject, "settings", function() { return latest_comments_settings; });
1644  
1645  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
1646  var latest_posts_namespaceObject = {};
1647  __webpack_require__.r(latest_posts_namespaceObject);
1648  __webpack_require__.d(latest_posts_namespaceObject, "metadata", function() { return latest_posts_metadata; });
1649  __webpack_require__.d(latest_posts_namespaceObject, "name", function() { return latest_posts_name; });
1650  __webpack_require__.d(latest_posts_namespaceObject, "settings", function() { return latest_posts_settings; });
1651  
1652  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/list/index.js
1653  var build_module_list_namespaceObject = {};
1654  __webpack_require__.r(build_module_list_namespaceObject);
1655  __webpack_require__.d(build_module_list_namespaceObject, "metadata", function() { return list_metadata; });
1656  __webpack_require__.d(build_module_list_namespaceObject, "name", function() { return list_name; });
1657  __webpack_require__.d(build_module_list_namespaceObject, "settings", function() { return list_settings; });
1658  
1659  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/missing/index.js
1660  var missing_namespaceObject = {};
1661  __webpack_require__.r(missing_namespaceObject);
1662  __webpack_require__.d(missing_namespaceObject, "metadata", function() { return missing_metadata; });
1663  __webpack_require__.d(missing_namespaceObject, "name", function() { return missing_name; });
1664  __webpack_require__.d(missing_namespaceObject, "settings", function() { return missing_settings; });
1665  
1666  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/more/index.js
1667  var build_module_more_namespaceObject = {};
1668  __webpack_require__.r(build_module_more_namespaceObject);
1669  __webpack_require__.d(build_module_more_namespaceObject, "metadata", function() { return more_metadata; });
1670  __webpack_require__.d(build_module_more_namespaceObject, "name", function() { return more_name; });
1671  __webpack_require__.d(build_module_more_namespaceObject, "settings", function() { return more_settings; });
1672  
1673  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
1674  var nextpage_namespaceObject = {};
1675  __webpack_require__.r(nextpage_namespaceObject);
1676  __webpack_require__.d(nextpage_namespaceObject, "metadata", function() { return nextpage_metadata; });
1677  __webpack_require__.d(nextpage_namespaceObject, "name", function() { return nextpage_name; });
1678  __webpack_require__.d(nextpage_namespaceObject, "settings", function() { return nextpage_settings; });
1679  
1680  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
1681  var build_module_preformatted_namespaceObject = {};
1682  __webpack_require__.r(build_module_preformatted_namespaceObject);
1683  __webpack_require__.d(build_module_preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; });
1684  __webpack_require__.d(build_module_preformatted_namespaceObject, "name", function() { return preformatted_name; });
1685  __webpack_require__.d(build_module_preformatted_namespaceObject, "settings", function() { return preformatted_settings; });
1686  
1687  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
1688  var build_module_pullquote_namespaceObject = {};
1689  __webpack_require__.r(build_module_pullquote_namespaceObject);
1690  __webpack_require__.d(build_module_pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; });
1691  __webpack_require__.d(build_module_pullquote_namespaceObject, "name", function() { return pullquote_name; });
1692  __webpack_require__.d(build_module_pullquote_namespaceObject, "settings", function() { return pullquote_settings; });
1693  
1694  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/block/index.js
1695  var block_namespaceObject = {};
1696  __webpack_require__.r(block_namespaceObject);
1697  __webpack_require__.d(block_namespaceObject, "metadata", function() { return block_metadata; });
1698  __webpack_require__.d(block_namespaceObject, "name", function() { return block_name; });
1699  __webpack_require__.d(block_namespaceObject, "settings", function() { return block_settings; });
1700  
1701  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/rss/index.js
1702  var build_module_rss_namespaceObject = {};
1703  __webpack_require__.r(build_module_rss_namespaceObject);
1704  __webpack_require__.d(build_module_rss_namespaceObject, "metadata", function() { return rss_metadata; });
1705  __webpack_require__.d(build_module_rss_namespaceObject, "name", function() { return rss_name; });
1706  __webpack_require__.d(build_module_rss_namespaceObject, "settings", function() { return rss_settings; });
1707  
1708  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/search/index.js
1709  var search_namespaceObject = {};
1710  __webpack_require__.r(search_namespaceObject);
1711  __webpack_require__.d(search_namespaceObject, "metadata", function() { return search_metadata; });
1712  __webpack_require__.d(search_namespaceObject, "name", function() { return search_name; });
1713  __webpack_require__.d(search_namespaceObject, "settings", function() { return search_settings; });
1714  
1715  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/group/index.js
1716  var build_module_group_namespaceObject = {};
1717  __webpack_require__.r(build_module_group_namespaceObject);
1718  __webpack_require__.d(build_module_group_namespaceObject, "metadata", function() { return group_metadata; });
1719  __webpack_require__.d(build_module_group_namespaceObject, "name", function() { return group_name; });
1720  __webpack_require__.d(build_module_group_namespaceObject, "settings", function() { return group_settings; });
1721  
1722  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/separator/index.js
1723  var build_module_separator_namespaceObject = {};
1724  __webpack_require__.r(build_module_separator_namespaceObject);
1725  __webpack_require__.d(build_module_separator_namespaceObject, "metadata", function() { return separator_metadata; });
1726  __webpack_require__.d(build_module_separator_namespaceObject, "name", function() { return separator_name; });
1727  __webpack_require__.d(build_module_separator_namespaceObject, "settings", function() { return build_module_separator_settings; });
1728  
1729  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
1730  var build_module_shortcode_namespaceObject = {};
1731  __webpack_require__.r(build_module_shortcode_namespaceObject);
1732  __webpack_require__.d(build_module_shortcode_namespaceObject, "metadata", function() { return shortcode_metadata; });
1733  __webpack_require__.d(build_module_shortcode_namespaceObject, "name", function() { return shortcode_name; });
1734  __webpack_require__.d(build_module_shortcode_namespaceObject, "settings", function() { return shortcode_settings; });
1735  
1736  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
1737  var spacer_namespaceObject = {};
1738  __webpack_require__.r(spacer_namespaceObject);
1739  __webpack_require__.d(spacer_namespaceObject, "metadata", function() { return spacer_metadata; });
1740  __webpack_require__.d(spacer_namespaceObject, "name", function() { return spacer_name; });
1741  __webpack_require__.d(spacer_namespaceObject, "settings", function() { return spacer_settings; });
1742  
1743  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/subhead/index.js
1744  var subhead_namespaceObject = {};
1745  __webpack_require__.r(subhead_namespaceObject);
1746  __webpack_require__.d(subhead_namespaceObject, "metadata", function() { return subhead_metadata; });
1747  __webpack_require__.d(subhead_namespaceObject, "name", function() { return subhead_name; });
1748  __webpack_require__.d(subhead_namespaceObject, "settings", function() { return subhead_settings; });
1749  
1750  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/table/index.js
1751  var build_module_table_namespaceObject = {};
1752  __webpack_require__.r(build_module_table_namespaceObject);
1753  __webpack_require__.d(build_module_table_namespaceObject, "metadata", function() { return table_metadata; });
1754  __webpack_require__.d(build_module_table_namespaceObject, "name", function() { return table_name; });
1755  __webpack_require__.d(build_module_table_namespaceObject, "settings", function() { return table_settings; });
1756  
1757  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
1758  var text_columns_namespaceObject = {};
1759  __webpack_require__.r(text_columns_namespaceObject);
1760  __webpack_require__.d(text_columns_namespaceObject, "metadata", function() { return text_columns_metadata; });
1761  __webpack_require__.d(text_columns_namespaceObject, "name", function() { return text_columns_name; });
1762  __webpack_require__.d(text_columns_namespaceObject, "settings", function() { return text_columns_settings; });
1763  
1764  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/verse/index.js
1765  var build_module_verse_namespaceObject = {};
1766  __webpack_require__.r(build_module_verse_namespaceObject);
1767  __webpack_require__.d(build_module_verse_namespaceObject, "metadata", function() { return verse_metadata; });
1768  __webpack_require__.d(build_module_verse_namespaceObject, "name", function() { return verse_name; });
1769  __webpack_require__.d(build_module_verse_namespaceObject, "settings", function() { return verse_settings; });
1770  
1771  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/video/index.js
1772  var build_module_video_namespaceObject = {};
1773  __webpack_require__.r(build_module_video_namespaceObject);
1774  __webpack_require__.d(build_module_video_namespaceObject, "metadata", function() { return video_metadata; });
1775  __webpack_require__.d(build_module_video_namespaceObject, "name", function() { return video_name; });
1776  __webpack_require__.d(build_module_video_namespaceObject, "settings", function() { return video_settings; });
1777  
1778  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
1779  var tag_cloud_namespaceObject = {};
1780  __webpack_require__.r(tag_cloud_namespaceObject);
1781  __webpack_require__.d(tag_cloud_namespaceObject, "metadata", function() { return tag_cloud_metadata; });
1782  __webpack_require__.d(tag_cloud_namespaceObject, "name", function() { return tag_cloud_name; });
1783  __webpack_require__.d(tag_cloud_namespaceObject, "settings", function() { return tag_cloud_settings; });
1784  
1785  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/classic/index.js
1786  var build_module_classic_namespaceObject = {};
1787  __webpack_require__.r(build_module_classic_namespaceObject);
1788  __webpack_require__.d(build_module_classic_namespaceObject, "metadata", function() { return classic_metadata; });
1789  __webpack_require__.d(build_module_classic_namespaceObject, "name", function() { return classic_name; });
1790  __webpack_require__.d(build_module_classic_namespaceObject, "settings", function() { return classic_settings; });
1791  
1792  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
1793  var social_links_namespaceObject = {};
1794  __webpack_require__.r(social_links_namespaceObject);
1795  __webpack_require__.d(social_links_namespaceObject, "metadata", function() { return social_links_metadata; });
1796  __webpack_require__.d(social_links_namespaceObject, "name", function() { return social_links_name; });
1797  __webpack_require__.d(social_links_namespaceObject, "settings", function() { return social_links_settings; });
1798  
1799  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
1800  var social_link_namespaceObject = {};
1801  __webpack_require__.r(social_link_namespaceObject);
1802  __webpack_require__.d(social_link_namespaceObject, "metadata", function() { return social_link_metadata; });
1803  __webpack_require__.d(social_link_namespaceObject, "name", function() { return social_link_name; });
1804  __webpack_require__.d(social_link_namespaceObject, "settings", function() { return social_link_settings; });
1805  
1806  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
1807  var toConsumableArray = __webpack_require__(17);
1808  
1809  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
1810  var defineProperty = __webpack_require__(5);
1811  
1812  // EXTERNAL MODULE: external {"this":["wp","coreData"]}
1813  var external_this_wp_coreData_ = __webpack_require__(89);
1814  
1815  // EXTERNAL MODULE: external {"this":["wp","notices"]}
1816  var external_this_wp_notices_ = __webpack_require__(92);
1817  
1818  // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
1819  var external_this_wp_blockEditor_ = __webpack_require__(7);
1820  
1821  // EXTERNAL MODULE: external {"this":["wp","blocks"]}
1822  var external_this_wp_blocks_ = __webpack_require__(10);
1823  
1824  // EXTERNAL MODULE: external {"this":"lodash"}
1825  var external_this_lodash_ = __webpack_require__(2);
1826  
1827  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
1828  var external_this_wp_i18n_ = __webpack_require__(1);
1829  
1830  // EXTERNAL MODULE: external {"this":["wp","element"]}
1831  var external_this_wp_element_ = __webpack_require__(0);
1832  
1833  // EXTERNAL MODULE: external {"this":["wp","primitives"]}
1834  var external_this_wp_primitives_ = __webpack_require__(6);
1835  
1836  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/paragraph.js
1837  
1838  
1839  /**
1840   * WordPress dependencies
1841   */
1842  
1843  var paragraph = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
1844    xmlns: "http://www.w3.org/2000/svg",
1845    viewBox: "0 0 24 24"
1846  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
1847    d: "M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"
1848  }));
1849  /* harmony default export */ var library_paragraph = (paragraph);
1850  
1851  // EXTERNAL MODULE: ./node_modules/classnames/index.js
1852  var classnames = __webpack_require__(11);
1853  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
1854  
1855  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/deprecated.js
1856  
1857  
1858  
1859  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; }
1860  
1861  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; }
1862  
1863  /**
1864   * External dependencies
1865   */
1866  
1867  
1868  /**
1869   * WordPress dependencies
1870   */
1871  
1872  
1873  
1874  var deprecated_supports = {
1875    className: false
1876  };
1877  var deprecated_blockAttributes = {
1878    align: {
1879      type: 'string'
1880    },
1881    content: {
1882      type: 'string',
1883      source: 'html',
1884      selector: 'p',
1885      default: ''
1886    },
1887    dropCap: {
1888      type: 'boolean',
1889      default: false
1890    },
1891    placeholder: {
1892      type: 'string'
1893    },
1894    textColor: {
1895      type: 'string'
1896    },
1897    backgroundColor: {
1898      type: 'string'
1899    },
1900    fontSize: {
1901      type: 'string'
1902    },
1903    direction: {
1904      type: 'string',
1905      enum: ['ltr', 'rtl']
1906    },
1907    style: {
1908      type: 'object'
1909    }
1910  };
1911  
1912  var deprecated_migrateCustomColorsAndFontSizes = function migrateCustomColorsAndFontSizes(attributes) {
1913    if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customFontSize) {
1914      return attributes;
1915    }
1916  
1917    var style = {};
1918  
1919    if (attributes.customTextColor || attributes.customBackgroundColor) {
1920      style.color = {};
1921    }
1922  
1923    if (attributes.customTextColor) {
1924      style.color.text = attributes.customTextColor;
1925    }
1926  
1927    if (attributes.customBackgroundColor) {
1928      style.color.background = attributes.customBackgroundColor;
1929    }
1930  
1931    if (attributes.customFontSize) {
1932      style.typography = {
1933        fontSize: attributes.customFontSize
1934      };
1935    }
1936  
1937    return _objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customFontSize']), {
1938      style: style
1939    });
1940  };
1941  
1942  var deprecated = [{
1943    supports: deprecated_supports,
1944    attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
1945      customTextColor: {
1946        type: 'string'
1947      },
1948      customBackgroundColor: {
1949        type: 'string'
1950      },
1951      customFontSize: {
1952        type: 'number'
1953      }
1954    }),
1955    migrate: deprecated_migrateCustomColorsAndFontSizes,
1956    save: function save(_ref) {
1957      var _classnames;
1958  
1959      var attributes = _ref.attributes;
1960      var align = attributes.align,
1961          content = attributes.content,
1962          dropCap = attributes.dropCap,
1963          backgroundColor = attributes.backgroundColor,
1964          textColor = attributes.textColor,
1965          customBackgroundColor = attributes.customBackgroundColor,
1966          customTextColor = attributes.customTextColor,
1967          fontSize = attributes.fontSize,
1968          customFontSize = attributes.customFontSize,
1969          direction = attributes.direction;
1970      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
1971      var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
1972      var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
1973      var className = classnames_default()((_classnames = {
1974        'has-text-color': textColor || customTextColor,
1975        'has-background': backgroundColor || customBackgroundColor,
1976        'has-drop-cap': dropCap
1977      }, Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), _classnames));
1978      var styles = {
1979        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
1980        color: textClass ? undefined : customTextColor,
1981        fontSize: fontSizeClass ? undefined : customFontSize
1982      };
1983      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
1984        tagName: "p",
1985        style: styles,
1986        className: className ? className : undefined,
1987        value: content,
1988        dir: direction
1989      });
1990    }
1991  }, {
1992    supports: deprecated_supports,
1993    attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
1994      customTextColor: {
1995        type: 'string'
1996      },
1997      customBackgroundColor: {
1998        type: 'string'
1999      },
2000      customFontSize: {
2001        type: 'number'
2002      }
2003    }),
2004    migrate: deprecated_migrateCustomColorsAndFontSizes,
2005    save: function save(_ref2) {
2006      var _classnames2;
2007  
2008      var attributes = _ref2.attributes;
2009      var align = attributes.align,
2010          content = attributes.content,
2011          dropCap = attributes.dropCap,
2012          backgroundColor = attributes.backgroundColor,
2013          textColor = attributes.textColor,
2014          customBackgroundColor = attributes.customBackgroundColor,
2015          customTextColor = attributes.customTextColor,
2016          fontSize = attributes.fontSize,
2017          customFontSize = attributes.customFontSize,
2018          direction = attributes.direction;
2019      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
2020      var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
2021      var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
2022      var className = classnames_default()((_classnames2 = {
2023        'has-text-color': textColor || customTextColor,
2024        'has-background': backgroundColor || customBackgroundColor,
2025        'has-drop-cap': dropCap
2026      }, Object(defineProperty["a" /* default */])(_classnames2, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames2, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), _classnames2));
2027      var styles = {
2028        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
2029        color: textClass ? undefined : customTextColor,
2030        fontSize: fontSizeClass ? undefined : customFontSize,
2031        textAlign: align
2032      };
2033      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2034        tagName: "p",
2035        style: styles,
2036        className: className ? className : undefined,
2037        value: content,
2038        dir: direction
2039      });
2040    }
2041  }, {
2042    supports: deprecated_supports,
2043    attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
2044      customTextColor: {
2045        type: 'string'
2046      },
2047      customBackgroundColor: {
2048        type: 'string'
2049      },
2050      customFontSize: {
2051        type: 'number'
2052      },
2053      width: {
2054        type: 'string'
2055      }
2056    }),
2057    migrate: deprecated_migrateCustomColorsAndFontSizes,
2058    save: function save(_ref3) {
2059      var _classnames3;
2060  
2061      var attributes = _ref3.attributes;
2062      var width = attributes.width,
2063          align = attributes.align,
2064          content = attributes.content,
2065          dropCap = attributes.dropCap,
2066          backgroundColor = attributes.backgroundColor,
2067          textColor = attributes.textColor,
2068          customBackgroundColor = attributes.customBackgroundColor,
2069          customTextColor = attributes.customTextColor,
2070          fontSize = attributes.fontSize,
2071          customFontSize = attributes.customFontSize;
2072      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
2073      var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
2074      var fontSizeClass = fontSize && "is-".concat(fontSize, "-text");
2075      var className = classnames_default()((_classnames3 = {}, Object(defineProperty["a" /* default */])(_classnames3, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames3, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames3, 'has-drop-cap', dropCap), Object(defineProperty["a" /* default */])(_classnames3, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames3, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), _classnames3));
2076      var styles = {
2077        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
2078        color: textClass ? undefined : customTextColor,
2079        fontSize: fontSizeClass ? undefined : customFontSize,
2080        textAlign: align
2081      };
2082      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2083        tagName: "p",
2084        style: styles,
2085        className: className ? className : undefined,
2086        value: content
2087      });
2088    }
2089  }, {
2090    supports: deprecated_supports,
2091    attributes: Object(external_this_lodash_["omit"])(_objectSpread({}, deprecated_blockAttributes, {
2092      fontSize: {
2093        type: 'number'
2094      }
2095    }), ['style']),
2096    save: function save(_ref4) {
2097      var _classnames4;
2098  
2099      var attributes = _ref4.attributes;
2100      var width = attributes.width,
2101          align = attributes.align,
2102          content = attributes.content,
2103          dropCap = attributes.dropCap,
2104          backgroundColor = attributes.backgroundColor,
2105          textColor = attributes.textColor,
2106          fontSize = attributes.fontSize;
2107      var className = classnames_default()((_classnames4 = {}, Object(defineProperty["a" /* default */])(_classnames4, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames4, 'has-background', backgroundColor), Object(defineProperty["a" /* default */])(_classnames4, 'has-drop-cap', dropCap), _classnames4));
2108      var styles = {
2109        backgroundColor: backgroundColor,
2110        color: textColor,
2111        fontSize: fontSize,
2112        textAlign: align
2113      };
2114      return Object(external_this_wp_element_["createElement"])("p", {
2115        style: styles,
2116        className: className ? className : undefined
2117      }, content);
2118    },
2119    migrate: function migrate(attributes) {
2120      return deprecated_migrateCustomColorsAndFontSizes(Object(external_this_lodash_["omit"])(_objectSpread({}, attributes, {
2121        customFontSize: Object(external_this_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined,
2122        customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
2123        customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined
2124      })), ['fontSize', 'textColor', 'backgroundColor', 'style']);
2125    }
2126  }, {
2127    supports: deprecated_supports,
2128    attributes: _objectSpread({}, deprecated_blockAttributes, {
2129      content: {
2130        type: 'string',
2131        source: 'html',
2132        default: ''
2133      }
2134    }),
2135    save: function save(_ref5) {
2136      var attributes = _ref5.attributes;
2137      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
2138    },
2139    migrate: function migrate(attributes) {
2140      return attributes;
2141    }
2142  }];
2143  /* harmony default export */ var paragraph_deprecated = (deprecated);
2144  
2145  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
2146  var slicedToArray = __webpack_require__(13);
2147  
2148  // EXTERNAL MODULE: external {"this":["wp","components"]}
2149  var external_this_wp_components_ = __webpack_require__(3);
2150  
2151  // EXTERNAL MODULE: external {"this":["wp","data"]}
2152  var external_this_wp_data_ = __webpack_require__(4);
2153  
2154  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-ltr.js
2155  
2156  
2157  /**
2158   * WordPress dependencies
2159   */
2160  
2161  var formatLtr = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
2162    xmlns: "http://www.w3.org/2000/svg",
2163    viewBox: "-2 -2 24 24"
2164  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
2165    d: "M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"
2166  }));
2167  /* harmony default export */ var format_ltr = (formatLtr);
2168  
2169  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js
2170  
2171  
2172  
2173  
2174  function edit_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; }
2175  
2176  function edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { edit_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 { edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
2177  
2178  /**
2179   * External dependencies
2180   */
2181  
2182  /**
2183   * WordPress dependencies
2184   */
2185  
2186  
2187  
2188  
2189  
2190  
2191  
2192  
2193  /**
2194   * Browser dependencies
2195   */
2196  
2197  var edit_window = window,
2198      edit_getComputedStyle = edit_window.getComputedStyle;
2199  var querySelector = window.document.querySelector.bind(document);
2200  var edit_name = 'core/paragraph';
2201  var PARAGRAPH_DROP_CAP_SELECTOR = 'p.has-drop-cap';
2202  
2203  function ParagraphRTLToolbar(_ref) {
2204    var direction = _ref.direction,
2205        setDirection = _ref.setDirection;
2206    var isRTL = Object(external_this_wp_data_["useSelect"])(function (select) {
2207      return !!select('core/block-editor').getSettings().isRTL;
2208    }, []);
2209    return isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
2210      controls: [{
2211        icon: format_ltr,
2212        title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'),
2213        isActive: direction === 'ltr',
2214        onClick: function onClick() {
2215          setDirection(direction === 'ltr' ? undefined : 'ltr');
2216        }
2217      }]
2218    });
2219  }
2220  
2221  function useDropCap(isDropCap, fontSize, styleFontSize) {
2222    var isDisabled = !Object(external_this_wp_blockEditor_["__experimentalUseEditorFeature"])('typography.dropCap');
2223  
2224    var _useState = Object(external_this_wp_element_["useState"])(),
2225        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
2226        minimumHeight = _useState2[0],
2227        setMinimumHeight = _useState2[1];
2228  
2229    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
2230      return select('core/block-editor').getSettings();
2231    }),
2232        fontSizes = _useSelect.fontSizes;
2233  
2234    var fontSizeObject = Object(external_this_wp_blockEditor_["getFontSize"])(fontSizes, fontSize, styleFontSize);
2235    Object(external_this_wp_element_["useEffect"])(function () {
2236      if (isDisabled) {
2237        return;
2238      }
2239  
2240      var element = querySelector(PARAGRAPH_DROP_CAP_SELECTOR);
2241  
2242      if (isDropCap && element) {
2243        setMinimumHeight(edit_getComputedStyle(element, 'first-letter').lineHeight);
2244      } else if (minimumHeight) {
2245        setMinimumHeight(undefined);
2246      }
2247    }, [isDisabled, isDropCap, minimumHeight, setMinimumHeight, fontSizeObject.size]);
2248    return [!isDisabled, minimumHeight];
2249  }
2250  
2251  function ParagraphBlock(_ref2) {
2252    var attributes = _ref2.attributes,
2253        mergeBlocks = _ref2.mergeBlocks,
2254        onReplace = _ref2.onReplace,
2255        onRemove = _ref2.onRemove,
2256        setAttributes = _ref2.setAttributes;
2257    var align = attributes.align,
2258        content = attributes.content,
2259        direction = attributes.direction,
2260        dropCap = attributes.dropCap,
2261        placeholder = attributes.placeholder,
2262        fontSize = attributes.fontSize,
2263        style = attributes.style;
2264    var ref = Object(external_this_wp_element_["useRef"])();
2265  
2266    var _useDropCap = useDropCap(dropCap, fontSize, style === null || style === void 0 ? void 0 : style.fontSize),
2267        _useDropCap2 = Object(slicedToArray["a" /* default */])(_useDropCap, 2),
2268        isDropCapEnabled = _useDropCap2[0],
2269        dropCapMinimumHeight = _useDropCap2[1];
2270  
2271    var styles = {
2272      direction: direction,
2273      minHeight: dropCapMinimumHeight
2274    };
2275    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
2276      value: align,
2277      onChange: function onChange(newAlign) {
2278        return setAttributes({
2279          align: newAlign
2280        });
2281      }
2282    }), Object(external_this_wp_element_["createElement"])(ParagraphRTLToolbar, {
2283      direction: direction,
2284      setDirection: function setDirection(newDirection) {
2285        return setAttributes({
2286          direction: newDirection
2287        });
2288      }
2289    })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, isDropCapEnabled && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
2290      title: Object(external_this_wp_i18n_["__"])('Text settings')
2291    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
2292      label: Object(external_this_wp_i18n_["__"])('Drop cap'),
2293      checked: !!dropCap,
2294      onChange: function onChange() {
2295        return setAttributes({
2296          dropCap: !dropCap
2297        });
2298      },
2299      help: dropCap ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.')
2300    }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
2301      ref: ref,
2302      identifier: "content",
2303      tagName: external_this_wp_blockEditor_["__experimentalBlock"].p,
2304      className: classnames_default()(Object(defineProperty["a" /* default */])({
2305        'has-drop-cap': dropCap
2306      }, "has-text-align-".concat(align), align)),
2307      style: styles,
2308      value: content,
2309      onChange: function onChange(newContent) {
2310        return setAttributes({
2311          content: newContent
2312        });
2313      },
2314      onSplit: function onSplit(value) {
2315        if (!value) {
2316          return Object(external_this_wp_blocks_["createBlock"])(edit_name);
2317        }
2318  
2319        return Object(external_this_wp_blocks_["createBlock"])(edit_name, edit_objectSpread({}, attributes, {
2320          content: value
2321        }));
2322      },
2323      onMerge: mergeBlocks,
2324      onReplace: onReplace,
2325      onRemove: onRemove,
2326      "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'),
2327      placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'),
2328      __unstableEmbedURLOnPaste: true,
2329      __unstableAllowPrefixTransformations: true
2330    }));
2331  }
2332  
2333  /* harmony default export */ var paragraph_edit = (ParagraphBlock);
2334  
2335  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/save.js
2336  
2337  
2338  
2339  /**
2340   * External dependencies
2341   */
2342  
2343  /**
2344   * WordPress dependencies
2345   */
2346  
2347  
2348  function save_save(_ref) {
2349    var attributes = _ref.attributes;
2350    var align = attributes.align,
2351        content = attributes.content,
2352        dropCap = attributes.dropCap,
2353        direction = attributes.direction;
2354    var className = classnames_default()(Object(defineProperty["a" /* default */])({
2355      'has-drop-cap': dropCap
2356    }, "has-text-align-".concat(align), align));
2357    return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2358      tagName: "p",
2359      className: className ? className : undefined,
2360      value: content,
2361      dir: direction
2362    });
2363  }
2364  
2365  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/transforms.js
2366  /**
2367   * WordPress dependencies
2368   */
2369  
2370  /**
2371   * Internal dependencies
2372   */
2373  
2374  var _name$category$attrib = {
2375    name: "core/paragraph",
2376    category: "text",
2377    attributes: {
2378      align: {
2379        type: "string"
2380      },
2381      content: {
2382        type: "string",
2383        source: "html",
2384        selector: "p",
2385        "default": ""
2386      },
2387      dropCap: {
2388        type: "boolean",
2389        "default": false
2390      },
2391      placeholder: {
2392        type: "string"
2393      },
2394      direction: {
2395        type: "string",
2396        "enum": ["ltr", "rtl"]
2397      }
2398    },
2399    supports: {
2400      anchor: true,
2401      className: false,
2402      lightBlockWrapper: true,
2403      __experimentalColor: {
2404        linkColor: true
2405      },
2406      __experimentalFontSize: true,
2407      __experimentalLineHeight: true,
2408      __experimentalFeatures: {
2409        typography: {
2410          dropCap: true
2411        }
2412      },
2413      __experimentalSelector: "p",
2414      __unstablePasteTextInline: true
2415    }
2416  },
2417      transforms_name = _name$category$attrib.name;
2418  var transforms_transforms = {
2419    from: [{
2420      type: 'raw',
2421      // Paragraph is a fallback and should be matched last.
2422      priority: 20,
2423      selector: 'p',
2424      schema: function schema(_ref) {
2425        var phrasingContentSchema = _ref.phrasingContentSchema,
2426            isPaste = _ref.isPaste;
2427        return {
2428          p: {
2429            children: phrasingContentSchema,
2430            attributes: isPaste ? [] : ['style', 'id']
2431          }
2432        };
2433      },
2434      transform: function transform(node) {
2435        var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(transforms_name, node.outerHTML);
2436  
2437        var _ref2 = node.style || {},
2438            textAlign = _ref2.textAlign;
2439  
2440        if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') {
2441          attributes.align = textAlign;
2442        }
2443  
2444        return Object(external_this_wp_blocks_["createBlock"])(transforms_name, attributes);
2445      }
2446    }]
2447  };
2448  /* harmony default export */ var paragraph_transforms = (transforms_transforms);
2449  
2450  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
2451  /**
2452   * External dependencies
2453   */
2454  
2455  /**
2456   * WordPress dependencies
2457   */
2458  
2459  
2460  
2461  /**
2462   * Internal dependencies
2463   */
2464  
2465  
2466  
2467  var paragraph_metadata = {
2468    name: "core/paragraph",
2469    category: "text",
2470    attributes: {
2471      align: {
2472        type: "string"
2473      },
2474      content: {
2475        type: "string",
2476        source: "html",
2477        selector: "p",
2478        "default": ""
2479      },
2480      dropCap: {
2481        type: "boolean",
2482        "default": false
2483      },
2484      placeholder: {
2485        type: "string"
2486      },
2487      direction: {
2488        type: "string",
2489        "enum": ["ltr", "rtl"]
2490      }
2491    },
2492    supports: {
2493      anchor: true,
2494      className: false,
2495      lightBlockWrapper: true,
2496      __experimentalColor: {
2497        linkColor: true
2498      },
2499      __experimentalFontSize: true,
2500      __experimentalLineHeight: true,
2501      __experimentalFeatures: {
2502        typography: {
2503          dropCap: true
2504        }
2505      },
2506      __experimentalSelector: "p",
2507      __unstablePasteTextInline: true
2508    }
2509  };
2510  
2511  
2512  var paragraph_name = paragraph_metadata.name;
2513  
2514  var paragraph_settings = {
2515    title: Object(external_this_wp_i18n_["__"])('Paragraph'),
2516    description: Object(external_this_wp_i18n_["__"])('Start with the building block of all narrative.'),
2517    icon: library_paragraph,
2518    keywords: [Object(external_this_wp_i18n_["__"])('text')],
2519    example: {
2520      attributes: {
2521        content: Object(external_this_wp_i18n_["__"])('In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.'),
2522        style: {
2523          typography: {
2524            fontSize: 28
2525          }
2526        },
2527        dropCap: true
2528      }
2529    },
2530    __experimentalLabel: function __experimentalLabel(attributes, _ref) {
2531      var context = _ref.context;
2532  
2533      if (context === 'accessibility') {
2534        var content = attributes.content;
2535        return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["__"])('Empty') : content;
2536      }
2537    },
2538    transforms: paragraph_transforms,
2539    deprecated: paragraph_deprecated,
2540    merge: function merge(attributes, attributesToMerge) {
2541      return {
2542        content: (attributes.content || '') + (attributesToMerge.content || '')
2543      };
2544    },
2545    edit: paragraph_edit,
2546    save: save_save
2547  };
2548  
2549  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/image.js
2550  
2551  
2552  /**
2553   * WordPress dependencies
2554   */
2555  
2556  var image_image = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
2557    viewBox: "0 0 24 24",
2558    xmlns: "http://www.w3.org/2000/svg"
2559  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
2560    d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"
2561  }));
2562  /* harmony default export */ var library_image = (image_image);
2563  
2564  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
2565  var esm_extends = __webpack_require__(8);
2566  
2567  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js
2568  
2569  
2570  
2571  
2572  /**
2573   * External dependencies
2574   */
2575  
2576  /**
2577   * WordPress dependencies
2578   */
2579  
2580  
2581  var image_deprecated_blockAttributes = {
2582    align: {
2583      type: 'string'
2584    },
2585    url: {
2586      type: 'string',
2587      source: 'attribute',
2588      selector: 'img',
2589      attribute: 'src'
2590    },
2591    alt: {
2592      type: 'string',
2593      source: 'attribute',
2594      selector: 'img',
2595      attribute: 'alt',
2596      default: ''
2597    },
2598    caption: {
2599      type: 'string',
2600      source: 'html',
2601      selector: 'figcaption'
2602    },
2603    href: {
2604      type: 'string',
2605      source: 'attribute',
2606      selector: 'figure > a',
2607      attribute: 'href'
2608    },
2609    rel: {
2610      type: 'string',
2611      source: 'attribute',
2612      selector: 'figure > a',
2613      attribute: 'rel'
2614    },
2615    linkClass: {
2616      type: 'string',
2617      source: 'attribute',
2618      selector: 'figure > a',
2619      attribute: 'class'
2620    },
2621    id: {
2622      type: 'number'
2623    },
2624    width: {
2625      type: 'number'
2626    },
2627    height: {
2628      type: 'number'
2629    },
2630    linkDestination: {
2631      type: 'string',
2632      default: 'none'
2633    },
2634    linkTarget: {
2635      type: 'string',
2636      source: 'attribute',
2637      selector: 'figure > a',
2638      attribute: 'target'
2639    }
2640  };
2641  var deprecated_deprecated = [{
2642    attributes: image_deprecated_blockAttributes,
2643    save: function save(_ref) {
2644      var _classnames;
2645  
2646      var attributes = _ref.attributes;
2647      var url = attributes.url,
2648          alt = attributes.alt,
2649          caption = attributes.caption,
2650          align = attributes.align,
2651          href = attributes.href,
2652          width = attributes.width,
2653          height = attributes.height,
2654          id = attributes.id;
2655      var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames));
2656      var image = Object(external_this_wp_element_["createElement"])("img", {
2657        src: url,
2658        alt: alt,
2659        className: id ? "wp-image-".concat(id) : null,
2660        width: width,
2661        height: height
2662      });
2663      return Object(external_this_wp_element_["createElement"])("figure", {
2664        className: classes
2665      }, href ? Object(external_this_wp_element_["createElement"])("a", {
2666        href: href
2667      }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2668        tagName: "figcaption",
2669        value: caption
2670      }));
2671    }
2672  }, {
2673    attributes: image_deprecated_blockAttributes,
2674    save: function save(_ref2) {
2675      var attributes = _ref2.attributes;
2676      var url = attributes.url,
2677          alt = attributes.alt,
2678          caption = attributes.caption,
2679          align = attributes.align,
2680          href = attributes.href,
2681          width = attributes.width,
2682          height = attributes.height,
2683          id = attributes.id;
2684      var image = Object(external_this_wp_element_["createElement"])("img", {
2685        src: url,
2686        alt: alt,
2687        className: id ? "wp-image-".concat(id) : null,
2688        width: width,
2689        height: height
2690      });
2691      return Object(external_this_wp_element_["createElement"])("figure", {
2692        className: align ? "align".concat(align) : null
2693      }, href ? Object(external_this_wp_element_["createElement"])("a", {
2694        href: href
2695      }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2696        tagName: "figcaption",
2697        value: caption
2698      }));
2699    }
2700  }, {
2701    attributes: image_deprecated_blockAttributes,
2702    save: function save(_ref3) {
2703      var attributes = _ref3.attributes;
2704      var url = attributes.url,
2705          alt = attributes.alt,
2706          caption = attributes.caption,
2707          align = attributes.align,
2708          href = attributes.href,
2709          width = attributes.width,
2710          height = attributes.height;
2711      var extraImageProps = width || height ? {
2712        width: width,
2713        height: height
2714      } : {};
2715      var image = Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({
2716        src: url,
2717        alt: alt
2718      }, extraImageProps));
2719      var figureStyle = {};
2720  
2721      if (width) {
2722        figureStyle = {
2723          width: width
2724        };
2725      } else if (align === 'left' || align === 'right') {
2726        figureStyle = {
2727          maxWidth: '50%'
2728        };
2729      }
2730  
2731      return Object(external_this_wp_element_["createElement"])("figure", {
2732        className: align ? "align".concat(align) : null,
2733        style: figureStyle
2734      }, href ? Object(external_this_wp_element_["createElement"])("a", {
2735        href: href
2736      }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
2737        tagName: "figcaption",
2738        value: caption
2739      }));
2740    }
2741  }];
2742  /* harmony default export */ var image_deprecated = (deprecated_deprecated);
2743  
2744  // EXTERNAL MODULE: external {"this":["wp","blob"]}
2745  var external_this_wp_blob_ = __webpack_require__(44);
2746  
2747  // EXTERNAL MODULE: external {"this":["wp","compose"]}
2748  var external_this_wp_compose_ = __webpack_require__(9);
2749  
2750  // EXTERNAL MODULE: external {"this":["wp","url"]}
2751  var external_this_wp_url_ = __webpack_require__(30);
2752  
2753  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js
2754  
2755  
2756  /**
2757   * WordPress dependencies
2758   */
2759  
2760  var crop_crop = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
2761    xmlns: "http://www.w3.org/2000/svg",
2762    viewBox: "0 0 24 24"
2763  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
2764    d: "M17.5 7v8H19V7c0-1.1-.9-2-2-2H9v1.5h8c.3 0 .5.2.5.5zM7 17.5c-.3 0-.5-.2-.5-.5V1H5v4H1v1.5h4V17c0 1.1.9 2 2 2h10.5v4H19v-4h4v-1.5H7z"
2765  }));
2766  /* harmony default export */ var library_crop = (crop_crop);
2767  
2768  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
2769  var upload = __webpack_require__(198);
2770  
2771  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
2772  
2773  
2774  /**
2775   * WordPress dependencies
2776   */
2777  
2778  var embedContentIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2779    viewBox: "0 0 24 24",
2780    xmlns: "http://www.w3.org/2000/svg"
2781  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2782    d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"
2783  }));
2784  var embedAudioIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2785    viewBox: "0 0 24 24",
2786    xmlns: "http://www.w3.org/2000/svg"
2787  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2788    d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"
2789  }));
2790  var embedPhotoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2791    viewBox: "0 0 24 24",
2792    xmlns: "http://www.w3.org/2000/svg"
2793  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2794    d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"
2795  }));
2796  var embedVideoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2797    viewBox: "0 0 24 24",
2798    xmlns: "http://www.w3.org/2000/svg"
2799  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2800    d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"
2801  }));
2802  var embedTwitterIcon = {
2803    foreground: '#1da1f2',
2804    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2805      xmlns: "http://www.w3.org/2000/svg",
2806      viewBox: "0 0 24 24"
2807    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2808      d: "M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"
2809    })))
2810  };
2811  var embedYouTubeIcon = {
2812    foreground: '#ff0000',
2813    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2814      viewBox: "0 0 24 24"
2815    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2816      d: "M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"
2817    }))
2818  };
2819  var embedFacebookIcon = {
2820    foreground: '#3b5998',
2821    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2822      viewBox: "0 0 24 24"
2823    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2824      d: "M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"
2825    }))
2826  };
2827  var embedInstagramIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2828    viewBox: "0 0 24 24"
2829  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2830    d: "M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"
2831  })));
2832  var embedWordPressIcon = {
2833    foreground: '#0073AA',
2834    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2835      viewBox: "0 0 24 24"
2836    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2837      d: "M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"
2838    })))
2839  };
2840  var embedSpotifyIcon = {
2841    foreground: '#1db954',
2842    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2843      viewBox: "0 0 24 24"
2844    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2845      d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"
2846    }))
2847  };
2848  var embedFlickrIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2849    viewBox: "0 0 24 24"
2850  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2851    d: "m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"
2852  }));
2853  var embedVimeoIcon = {
2854    foreground: '#1ab7ea',
2855    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2856      xmlns: "http://www.w3.org/2000/svg",
2857      viewBox: "0 0 24 24"
2858    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2859      d: "M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"
2860    })))
2861  };
2862  var embedRedditIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2863    viewBox: "0 0 24 24"
2864  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2865    d: "M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"
2866  }));
2867  var embedTumblrIcon = {
2868    foreground: '#35465c',
2869    src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2870      viewBox: "0 0 24 24"
2871    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2872      d: "M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"
2873    }))
2874  };
2875  var embedAmazonIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2876    viewBox: "0 0 24 24"
2877  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2878    d: "M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"
2879  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2880    d: "M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"
2881  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2882    d: "M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"
2883  }));
2884  var embedAnimotoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2885    viewBox: "0 0 24 24"
2886  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2887    d: "m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",
2888    fill: "#4bc7ee"
2889  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2890    d: "m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",
2891    fill: "#d4cdcb"
2892  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2893    d: "m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",
2894    fill: "#c3d82e"
2895  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2896    d: "m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",
2897    fill: "#e4ecb0"
2898  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2899    d: "m.0206909 21 19.5468091-9.063 1.6621 2.8344z",
2900    fill: "#209dbd"
2901  }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2902    d: "m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",
2903    fill: "#7cb3c9"
2904  }));
2905  var embedDailymotionIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
2906    viewBox: "0 0 24 24"
2907  }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
2908    d: "m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",
2909    fill: "#333436"
2910  }));
2911  
2912  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/core-embeds.js
2913  /**
2914   * Internal dependencies
2915   */
2916  
2917  /**
2918   * WordPress dependencies
2919   */
2920  
2921  
2922  
2923  var common = [{
2924    name: 'core-embed/twitter',
2925    settings: {
2926      title: 'Twitter',
2927      icon: embedTwitterIcon,
2928      keywords: ['tweet', Object(external_this_wp_i18n_["__"])('social')],
2929      description: Object(external_this_wp_i18n_["__"])('Embed a tweet.')
2930    },
2931    patterns: [/^https?:\/\/(www\.)?twitter\.com\/.+/i]
2932  }, {
2933    name: 'core-embed/youtube',
2934    settings: {
2935      title: 'YouTube',
2936      icon: embedYouTubeIcon,
2937      keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('video')],
2938      description: Object(external_this_wp_i18n_["__"])('Embed a YouTube video.')
2939    },
2940    patterns: [/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i]
2941  }, {
2942    name: 'core-embed/facebook',
2943    settings: {
2944      title: 'Facebook',
2945      icon: embedFacebookIcon,
2946      keywords: [Object(external_this_wp_i18n_["__"])('social')],
2947      description: Object(external_this_wp_i18n_["__"])('Embed a Facebook post.'),
2948      previewable: false
2949    },
2950    patterns: [/^https?:\/\/www\.facebook.com\/.+/i]
2951  }, {
2952    name: 'core-embed/instagram',
2953    settings: {
2954      title: 'Instagram',
2955      icon: embedInstagramIcon,
2956      keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('social')],
2957      description: Object(external_this_wp_i18n_["__"])('Embed an Instagram post.')
2958    },
2959    patterns: [/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]
2960  }, {
2961    name: 'core-embed/wordpress',
2962    settings: {
2963      title: 'WordPress',
2964      icon: embedWordPressIcon,
2965      keywords: [Object(external_this_wp_i18n_["__"])('post'), Object(external_this_wp_i18n_["__"])('blog')],
2966      responsive: false,
2967      description: Object(external_this_wp_i18n_["__"])('Embed a WordPress post.')
2968    }
2969  }, {
2970    name: 'core-embed/soundcloud',
2971    settings: {
2972      title: 'SoundCloud',
2973      icon: embedAudioIcon,
2974      keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
2975      description: Object(external_this_wp_i18n_["__"])('Embed SoundCloud content.')
2976    },
2977    patterns: [/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]
2978  }, {
2979    name: 'core-embed/spotify',
2980    settings: {
2981      title: 'Spotify',
2982      icon: embedSpotifyIcon,
2983      keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
2984      description: Object(external_this_wp_i18n_["__"])('Embed Spotify content.')
2985    },
2986    patterns: [/^https?:\/\/(open|play)\.spotify\.com\/.+/i]
2987  }, {
2988    name: 'core-embed/flickr',
2989    settings: {
2990      title: 'Flickr',
2991      icon: embedFlickrIcon,
2992      keywords: [Object(external_this_wp_i18n_["__"])('image')],
2993      description: Object(external_this_wp_i18n_["__"])('Embed Flickr content.')
2994    },
2995    patterns: [/^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i]
2996  }, {
2997    name: 'core-embed/vimeo',
2998    settings: {
2999      title: 'Vimeo',
3000      icon: embedVimeoIcon,
3001      keywords: [Object(external_this_wp_i18n_["__"])('video')],
3002      description: Object(external_this_wp_i18n_["__"])('Embed a Vimeo video.')
3003    },
3004    patterns: [/^https?:\/\/(www\.)?vimeo\.com\/.+/i]
3005  }];
3006  var others = [{
3007    name: 'core-embed/animoto',
3008    settings: {
3009      title: 'Animoto',
3010      icon: embedAnimotoIcon,
3011      description: Object(external_this_wp_i18n_["__"])('Embed an Animoto video.')
3012    },
3013    patterns: [/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]
3014  }, {
3015    name: 'core-embed/cloudup',
3016    settings: {
3017      title: 'Cloudup',
3018      icon: embedContentIcon,
3019      description: Object(external_this_wp_i18n_["__"])('Embed Cloudup content.')
3020    },
3021    patterns: [/^https?:\/\/cloudup\.com\/.+/i]
3022  }, {
3023    // Deprecated since CollegeHumor content is now powered by YouTube
3024    name: 'core-embed/collegehumor',
3025    settings: {
3026      title: 'CollegeHumor',
3027      icon: embedVideoIcon,
3028      description: Object(external_this_wp_i18n_["__"])('Embed CollegeHumor content.'),
3029      supports: {
3030        inserter: false
3031      }
3032    },
3033    patterns: []
3034  }, {
3035    name: 'core-embed/crowdsignal',
3036    settings: {
3037      title: 'Crowdsignal',
3038      icon: embedContentIcon,
3039      keywords: ['polldaddy', Object(external_this_wp_i18n_["__"])('survey')],
3040      transform: [{
3041        type: 'block',
3042        blocks: ['core-embed/polldaddy'],
3043        transform: function transform(content) {
3044          return Object(external_this_wp_blocks_["createBlock"])('core-embed/crowdsignal', {
3045            content: content
3046          });
3047        }
3048      }],
3049      description: Object(external_this_wp_i18n_["__"])('Embed Crowdsignal (formerly Polldaddy) content.')
3050    },
3051    patterns: [/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]
3052  }, {
3053    name: 'core-embed/dailymotion',
3054    settings: {
3055      title: 'Dailymotion',
3056      icon: embedDailymotionIcon,
3057      keywords: [Object(external_this_wp_i18n_["__"])('video')],
3058      description: Object(external_this_wp_i18n_["__"])('Embed a Dailymotion video.')
3059    },
3060    patterns: [/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]
3061  }, {
3062    name: 'core-embed/hulu',
3063    settings: {
3064      title: 'Hulu',
3065      icon: embedVideoIcon,
3066      keywords: [Object(external_this_wp_i18n_["__"])('video')],
3067      description: Object(external_this_wp_i18n_["__"])('Embed Hulu content.')
3068    },
3069    patterns: [/^https?:\/\/(www\.)?hulu\.com\/.+/i]
3070  }, {
3071    name: 'core-embed/imgur',
3072    settings: {
3073      title: 'Imgur',
3074      icon: embedPhotoIcon,
3075      description: Object(external_this_wp_i18n_["__"])('Embed Imgur content.')
3076    },
3077    patterns: [/^https?:\/\/(.+\.)?imgur\.com\/.+/i]
3078  }, {
3079    name: 'core-embed/issuu',
3080    settings: {
3081      title: 'Issuu',
3082      icon: embedContentIcon,
3083      description: Object(external_this_wp_i18n_["__"])('Embed Issuu content.')
3084    },
3085    patterns: [/^https?:\/\/(www\.)?issuu\.com\/.+/i]
3086  }, {
3087    name: 'core-embed/kickstarter',
3088    settings: {
3089      title: 'Kickstarter',
3090      icon: embedContentIcon,
3091      description: Object(external_this_wp_i18n_["__"])('Embed Kickstarter content.')
3092    },
3093    patterns: [/^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i]
3094  }, {
3095    name: 'core-embed/meetup-com',
3096    settings: {
3097      title: 'Meetup.com',
3098      icon: embedContentIcon,
3099      description: Object(external_this_wp_i18n_["__"])('Embed Meetup.com content.')
3100    },
3101    patterns: [/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]
3102  }, {
3103    name: 'core-embed/mixcloud',
3104    settings: {
3105      title: 'Mixcloud',
3106      icon: embedAudioIcon,
3107      keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
3108      description: Object(external_this_wp_i18n_["__"])('Embed Mixcloud content.')
3109    },
3110    patterns: [/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]
3111  }, {
3112    // Deprecated in favour of the core-embed/crowdsignal block
3113    name: 'core-embed/polldaddy',
3114    settings: {
3115      title: 'Polldaddy',
3116      icon: embedContentIcon,
3117      description: Object(external_this_wp_i18n_["__"])('Embed Polldaddy content.'),
3118      supports: {
3119        inserter: false
3120      }
3121    },
3122    patterns: []
3123  }, {
3124    name: 'core-embed/reddit',
3125    settings: {
3126      title: 'Reddit',
3127      icon: embedRedditIcon,
3128      description: Object(external_this_wp_i18n_["__"])('Embed a Reddit thread.')
3129    },
3130    patterns: [/^https?:\/\/(www\.)?reddit\.com\/.+/i]
3131  }, {
3132    name: 'core-embed/reverbnation',
3133    settings: {
3134      title: 'ReverbNation',
3135      icon: embedAudioIcon,
3136      description: Object(external_this_wp_i18n_["__"])('Embed ReverbNation content.')
3137    },
3138    patterns: [/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]
3139  }, {
3140    name: 'core-embed/screencast',
3141    settings: {
3142      title: 'Screencast',
3143      icon: embedVideoIcon,
3144      description: Object(external_this_wp_i18n_["__"])('Embed Screencast content.')
3145    },
3146    patterns: [/^https?:\/\/(www\.)?screencast\.com\/.+/i]
3147  }, {
3148    name: 'core-embed/scribd',
3149    settings: {
3150      title: 'Scribd',
3151      icon: embedContentIcon,
3152      description: Object(external_this_wp_i18n_["__"])('Embed Scribd content.')
3153    },
3154    patterns: [/^https?:\/\/(www\.)?scribd\.com\/.+/i]
3155  }, {
3156    name: 'core-embed/slideshare',
3157    settings: {
3158      title: 'Slideshare',
3159      icon: embedContentIcon,
3160      description: Object(external_this_wp_i18n_["__"])('Embed Slideshare content.')
3161    },
3162    patterns: [/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]
3163  }, {
3164    name: 'core-embed/smugmug',
3165    settings: {
3166      title: 'SmugMug',
3167      icon: embedPhotoIcon,
3168      description: Object(external_this_wp_i18n_["__"])('Embed SmugMug content.'),
3169      previewable: false
3170    },
3171    patterns: [/^https?:\/\/(.+\.)?smugmug\.com\/.*/i]
3172  }, {
3173    // Deprecated in favour of the core-embed/speaker-deck block.
3174    name: 'core-embed/speaker',
3175    settings: {
3176      title: 'Speaker',
3177      icon: embedAudioIcon,
3178      supports: {
3179        inserter: false
3180      }
3181    },
3182    patterns: []
3183  }, {
3184    name: 'core-embed/speaker-deck',
3185    settings: {
3186      title: 'Speaker Deck',
3187      icon: embedContentIcon,
3188      transform: [{
3189        type: 'block',
3190        blocks: ['core-embed/speaker'],
3191        transform: function transform(content) {
3192          return Object(external_this_wp_blocks_["createBlock"])('core-embed/speaker-deck', {
3193            content: content
3194          });
3195        }
3196      }],
3197      description: Object(external_this_wp_i18n_["__"])('Embed Speaker Deck content.')
3198    },
3199    patterns: [/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]
3200  }, {
3201    name: 'core-embed/tiktok',
3202    settings: {
3203      title: 'TikTok',
3204      icon: embedVideoIcon,
3205      keywords: [Object(external_this_wp_i18n_["__"])('video')],
3206      description: Object(external_this_wp_i18n_["__"])('Embed a TikTok video.')
3207    },
3208    patterns: [/^https?:\/\/(www\.)?tiktok\.com\/.+/i]
3209  }, {
3210    name: 'core-embed/ted',
3211    settings: {
3212      title: 'TED',
3213      icon: embedVideoIcon,
3214      description: Object(external_this_wp_i18n_["__"])('Embed a TED video.')
3215    },
3216    patterns: [/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]
3217  }, {
3218    name: 'core-embed/tumblr',
3219    settings: {
3220      title: 'Tumblr',
3221      icon: embedTumblrIcon,
3222      keywords: [Object(external_this_wp_i18n_["__"])('social')],
3223      description: Object(external_this_wp_i18n_["__"])('Embed a Tumblr post.')
3224    },
3225    patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i]
3226  }, {
3227    name: 'core-embed/videopress',
3228    settings: {
3229      title: 'VideoPress',
3230      icon: embedVideoIcon,
3231      keywords: [Object(external_this_wp_i18n_["__"])('video')],
3232      description: Object(external_this_wp_i18n_["__"])('Embed a VideoPress video.')
3233    },
3234    patterns: [/^https?:\/\/videopress\.com\/.+/i]
3235  }, {
3236    name: 'core-embed/wordpress-tv',
3237    settings: {
3238      title: 'WordPress.tv',
3239      icon: embedVideoIcon,
3240      description: Object(external_this_wp_i18n_["__"])('Embed a WordPress.tv video.')
3241    },
3242    patterns: [/^https?:\/\/wordpress\.tv\/.+/i]
3243  }, {
3244    name: 'core-embed/amazon-kindle',
3245    settings: {
3246      title: 'Amazon Kindle',
3247      icon: embedAmazonIcon,
3248      keywords: [Object(external_this_wp_i18n_["__"])('ebook')],
3249      responsive: false,
3250      description: Object(external_this_wp_i18n_["__"])('Embed Amazon Kindle content.')
3251    },
3252    patterns: [/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i, /^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]
3253  }];
3254  
3255  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
3256  var ASPECT_RATIOS = [// Common video resolutions.
3257  {
3258    ratio: '2.33',
3259    className: 'wp-embed-aspect-21-9'
3260  }, {
3261    ratio: '2.00',
3262    className: 'wp-embed-aspect-18-9'
3263  }, {
3264    ratio: '1.78',
3265    className: 'wp-embed-aspect-16-9'
3266  }, {
3267    ratio: '1.33',
3268    className: 'wp-embed-aspect-4-3'
3269  }, // Vertical video and instagram square video support.
3270  {
3271    ratio: '1.00',
3272    className: 'wp-embed-aspect-1-1'
3273  }, {
3274    ratio: '0.56',
3275    className: 'wp-embed-aspect-9-16'
3276  }, {
3277    ratio: '0.50',
3278    className: 'wp-embed-aspect-1-2'
3279  }];
3280  var DEFAULT_EMBED_BLOCK = 'core/embed';
3281  var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress';
3282  
3283  // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
3284  var dedupe = __webpack_require__(98);
3285  var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
3286  
3287  // EXTERNAL MODULE: ./node_modules/memize/index.js
3288  var memize = __webpack_require__(50);
3289  var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
3290  
3291  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
3292  
3293  
3294  
3295  
3296  function util_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; }
3297  
3298  function util_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { util_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 { util_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
3299  
3300  /**
3301   * Internal dependencies
3302   */
3303  
3304  
3305  /**
3306   * External dependencies
3307   */
3308  
3309  
3310  
3311  
3312  /**
3313   * WordPress dependencies
3314   */
3315  
3316  
3317  
3318  /**
3319   * Returns true if any of the regular expressions match the URL.
3320   *
3321   * @param {string}   url      The URL to test.
3322   * @param {Array}    patterns The list of regular expressions to test agains.
3323   * @return {boolean} True if any of the regular expressions match the URL.
3324   */
3325  
3326  var matchesPatterns = function matchesPatterns(url) {
3327    var patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
3328    return patterns.some(function (pattern) {
3329      return url.match(pattern);
3330    });
3331  };
3332  /**
3333   * Finds the block name that should be used for the URL, based on the
3334   * structure of the URL.
3335   *
3336   * @param {string}  url The URL to test.
3337   * @return {string} The name of the block that should be used for this URL, e.g. core-embed/twitter
3338   */
3339  
3340  var util_findBlock = function findBlock(url) {
3341    for (var _i = 0, _arr = [].concat(Object(toConsumableArray["a" /* default */])(common), Object(toConsumableArray["a" /* default */])(others)); _i < _arr.length; _i++) {
3342      var block = _arr[_i];
3343  
3344      if (matchesPatterns(url, block.patterns)) {
3345        return block.name;
3346      }
3347    }
3348  
3349    return DEFAULT_EMBED_BLOCK;
3350  };
3351  var util_isFromWordPress = function isFromWordPress(html) {
3352    return Object(external_this_lodash_["includes"])(html, 'class="wp-embedded-content"');
3353  };
3354  var util_getPhotoHtml = function getPhotoHtml(photo) {
3355    // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
3356    // actually the full size photo. If thumbnails not found, use full image.
3357    var imageUrl = photo.thumbnail_url ? photo.thumbnail_url : photo.url;
3358    var photoPreview = Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_element_["createElement"])("img", {
3359      src: imageUrl,
3360      alt: photo.title,
3361      width: "100%"
3362    }));
3363    return Object(external_this_wp_element_["renderToString"])(photoPreview);
3364  };
3365  /**
3366   * Creates a more suitable embed block based on the passed in props
3367   * and attributes generated from an embed block's preview.
3368   *
3369   * We require `attributesFromPreview` to be generated from the latest attributes
3370   * and preview, and because of the way the react lifecycle operates, we can't
3371   * guarantee that the attributes contained in the block's props are the latest
3372   * versions, so we require that these are generated separately.
3373   * See `getAttributesFromPreview` in the generated embed edit component.
3374   *
3375   * @param {Object} props                  The block's props.
3376   * @param {Object} attributesFromPreview  Attributes generated from the block's most up to date preview.
3377   * @return {Object|undefined} A more suitable embed block if one exists.
3378   */
3379  
3380  var util_createUpgradedEmbedBlock = function createUpgradedEmbedBlock(props, attributesFromPreview) {
3381    var preview = props.preview,
3382        name = props.name;
3383    var url = props.attributes.url;
3384  
3385    if (!url) {
3386      return;
3387    }
3388  
3389    var matchingBlock = util_findBlock(url);
3390  
3391    if (!Object(external_this_wp_blocks_["getBlockType"])(matchingBlock)) {
3392      return;
3393    } // WordPress blocks can work on multiple sites, and so don't have patterns,
3394    // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.
3395  
3396  
3397    if (WORDPRESS_EMBED_BLOCK !== name && DEFAULT_EMBED_BLOCK !== matchingBlock) {
3398      // At this point, we have discovered a more suitable block for this url, so transform it.
3399      if (name !== matchingBlock) {
3400        return Object(external_this_wp_blocks_["createBlock"])(matchingBlock, {
3401          url: url
3402        });
3403      }
3404    }
3405  
3406    if (preview) {
3407      var html = preview.html; // We can't match the URL for WordPress embeds, we have to check the HTML instead.
3408  
3409      if (util_isFromWordPress(html)) {
3410        // If this is not the WordPress embed block, transform it into one.
3411        if (WORDPRESS_EMBED_BLOCK !== name) {
3412          return Object(external_this_wp_blocks_["createBlock"])(WORDPRESS_EMBED_BLOCK, util_objectSpread({
3413            url: url
3414          }, attributesFromPreview));
3415        }
3416      }
3417    }
3418  };
3419  /**
3420   * Returns class names with any relevant responsive aspect ratio names.
3421   *
3422   * @param {string}  html               The preview HTML that possibly contains an iframe with width and height set.
3423   * @param {string}  existingClassNames Any existing class names.
3424   * @param {boolean} allowResponsive    If the responsive class names should be added, or removed.
3425   * @return {string} Deduped class names.
3426   */
3427  
3428  function getClassNames(html) {
3429    var existingClassNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
3430    var allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3431  
3432    if (!allowResponsive) {
3433      // Remove all of the aspect ratio related class names.
3434      var aspectRatioClassNames = {
3435        'wp-has-aspect-ratio': false
3436      };
3437  
3438      for (var ratioIndex = 0; ratioIndex < ASPECT_RATIOS.length; ratioIndex++) {
3439        var aspectRatioToRemove = ASPECT_RATIOS[ratioIndex];
3440        aspectRatioClassNames[aspectRatioToRemove.className] = false;
3441      }
3442  
3443      return dedupe_default()(existingClassNames, aspectRatioClassNames);
3444    }
3445  
3446    var previewDocument = document.implementation.createHTMLDocument('');
3447    previewDocument.body.innerHTML = html;
3448    var iframe = previewDocument.body.querySelector('iframe'); // If we have a fixed aspect iframe, and it's a responsive embed block.
3449  
3450    if (iframe && iframe.height && iframe.width) {
3451      var aspectRatio = (iframe.width / iframe.height).toFixed(2); // Given the actual aspect ratio, find the widest ratio to support it.
3452  
3453      for (var _ratioIndex = 0; _ratioIndex < ASPECT_RATIOS.length; _ratioIndex++) {
3454        var potentialRatio = ASPECT_RATIOS[_ratioIndex];
3455  
3456        if (aspectRatio >= potentialRatio.ratio) {
3457          var _classnames;
3458  
3459          return dedupe_default()(existingClassNames, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, potentialRatio.className, allowResponsive), Object(defineProperty["a" /* default */])(_classnames, 'wp-has-aspect-ratio', allowResponsive), _classnames));
3460        }
3461      }
3462    }
3463  
3464    return existingClassNames;
3465  }
3466  /**
3467   * Fallback behaviour for unembeddable URLs.
3468   * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
3469   *
3470   * @param {string}   url       The URL that could not be embedded.
3471   * @param {Function} onReplace Function to call with the created fallback block.
3472   */
3473  
3474  function util_fallback(url, onReplace) {
3475    var link = Object(external_this_wp_element_["createElement"])("a", {
3476      href: url
3477    }, url);
3478    onReplace(Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
3479      content: Object(external_this_wp_element_["renderToString"])(link)
3480    }));
3481  }
3482  /***
3483   * Gets block attributes based on the preview and responsive state.
3484   *
3485   * @param {Object} preview The preview data.
3486   * @param {string} title The block's title, e.g. Twitter.
3487   * @param {Object} currentClassNames The block's current class names.
3488   * @param {boolean} isResponsive Boolean indicating if the block supports responsive content.
3489   * @param {boolean} allowResponsive Apply responsive classes to fixed size content.
3490   * @return {Object} Attributes and values.
3491   */
3492  
3493  var getAttributesFromPreview = memize_default()(function (preview, title, currentClassNames, isResponsive) {
3494    var allowResponsive = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
3495  
3496    if (!preview) {
3497      return {};
3498    }
3499  
3500    var attributes = {}; // Some plugins only return HTML with no type info, so default this to 'rich'.
3501  
3502    var _preview$type = preview.type,
3503        type = _preview$type === void 0 ? 'rich' : _preview$type; // If we got a provider name from the API, use it for the slug, otherwise we use the title,
3504    // because not all embed code gives us a provider name.
3505  
3506    var html = preview.html,
3507        providerName = preview.provider_name;
3508    var providerNameSlug = Object(external_this_lodash_["kebabCase"])(Object(external_this_lodash_["toLower"])('' !== providerName ? providerName : title));
3509  
3510    if (util_isFromWordPress(html)) {
3511      type = 'wp-embed';
3512    }
3513  
3514    if (html || 'photo' === type) {
3515      attributes.type = type;
3516      attributes.providerNameSlug = providerNameSlug;
3517    }
3518  
3519    attributes.className = getClassNames(html, currentClassNames, isResponsive && allowResponsive);
3520    return attributes;
3521  });
3522  
3523  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/use-client-width.js
3524  
3525  
3526  /**
3527   * WordPress dependencies
3528   */
3529  
3530  function useClientWidth(ref, dependencies) {
3531    var _useState = Object(external_this_wp_element_["useState"])(),
3532        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
3533        clientWidth = _useState2[0],
3534        setClientWidth = _useState2[1];
3535  
3536    function calculateClientWidth() {
3537      setClientWidth(ref.current.clientWidth);
3538    }
3539  
3540    Object(external_this_wp_element_["useEffect"])(calculateClientWidth, dependencies);
3541    Object(external_this_wp_element_["useEffect"])(function () {
3542      var defaultView = ref.current.ownerDocument.defaultView;
3543      defaultView.addEventListener('resize', calculateClientWidth);
3544      return function () {
3545        defaultView.removeEventListener('resize', calculateClientWidth);
3546      };
3547    }, []);
3548    return clientWidth;
3549  }
3550  
3551  // CONCATENATED MODULE: ./node_modules/react-easy-crop/node_modules/tslib/tslib.es6.js
3552  /*! *****************************************************************************

3553  Copyright (c) Microsoft Corporation.

3554  

3555  Permission to use, copy, modify, and/or distribute this software for any

3556  purpose with or without fee is hereby granted.

3557  

3558  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH

3559  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY

3560  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,

3561  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM

3562  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR

3563  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR

3564  PERFORMANCE OF THIS SOFTWARE.

3565  ***************************************************************************** */
3566  /* global Reflect, Promise */

3567  
3568  var extendStatics = function(d, b) {
3569      extendStatics = Object.setPrototypeOf ||
3570          ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3571          function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
3572      return extendStatics(d, b);
3573  };
3574  
3575  function __extends(d, b) {
3576      extendStatics(d, b);
3577      function __() { this.constructor = d; }
3578      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3579  }
3580  
3581  var __assign = function() {
3582      __assign = Object.assign || function __assign(t) {
3583          for (var s, i = 1, n = arguments.length; i < n; i++) {
3584              s = arguments[i];
3585              for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3586          }
3587          return t;
3588      }
3589      return __assign.apply(this, arguments);
3590  }
3591  
3592  function __rest(s, e) {
3593      var t = {};
3594      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3595          t[p] = s[p];
3596      if (s != null && typeof Object.getOwnPropertySymbols === "function")
3597          for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3598              if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3599                  t[p[i]] = s[p[i]];
3600          }
3601      return t;
3602  }
3603  
3604  function __decorate(decorators, target, key, desc) {
3605      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3606      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3607      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3608      return c > 3 && r && Object.defineProperty(target, key, r), r;
3609  }
3610  
3611  function __param(paramIndex, decorator) {
3612      return function (target, key) { decorator(target, key, paramIndex); }
3613  }
3614  
3615  function __metadata(metadataKey, metadataValue) {
3616      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
3617  }
3618  
3619  function __awaiter(thisArg, _arguments, P, generator) {
3620      function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3621      return new (P || (P = Promise))(function (resolve, reject) {
3622          function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
3623          function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
3624          function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
3625          step((generator = generator.apply(thisArg, _arguments || [])).next());
3626      });
3627  }
3628  
3629  function __generator(thisArg, body) {
3630      var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
3631      return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
3632      function verb(n) { return function (v) { return step([n, v]); }; }
3633      function step(op) {
3634          if (f) throw new TypeError("Generator is already executing.");
3635          while (_) try {
3636              if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
3637              if (y = 0, t) op = [op[0] & 2, t.value];
3638              switch (op[0]) {
3639                  case 0: case 1: t = op; break;
3640                  case 4: _.label++; return { value: op[1], done: false };
3641                  case 5: _.label++; y = op[1]; op = [0]; continue;
3642                  case 7: op = _.ops.pop(); _.trys.pop(); continue;
3643                  default:
3644                      if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
3645                      if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
3646                      if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
3647                      if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
3648                      if (t[2]) _.ops.pop();
3649                      _.trys.pop(); continue;
3650              }
3651              op = body.call(thisArg, _);
3652          } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
3653          if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
3654      }
3655  }
3656  
3657  function __exportStar(m, exports) {
3658      for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
3659  }
3660  
3661  function __values(o) {
3662      var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
3663      if (m) return m.call(o);
3664      if (o && typeof o.length === "number") return {
3665          next: function () {
3666              if (o && i >= o.length) o = void 0;
3667              return { value: o && o[i++], done: !o };
3668          }
3669      };
3670      throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
3671  }
3672  
3673  function __read(o, n) {
3674      var m = typeof Symbol === "function" && o[Symbol.iterator];
3675      if (!m) return o;
3676      var i = m.call(o), r, ar = [], e;
3677      try {
3678          while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
3679      }
3680      catch (error) { e = { error: error }; }
3681      finally {
3682          try {
3683              if (r && !r.done && (m = i["return"])) m.call(i);
3684          }
3685          finally { if (e) throw e.error; }
3686      }
3687      return ar;
3688  }
3689  
3690  function __spread() {
3691      for (var ar = [], i = 0; i < arguments.length; i++)
3692          ar = ar.concat(__read(arguments[i]));
3693      return ar;
3694  }
3695  
3696  function __spreadArrays() {
3697      for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
3698      for (var r = Array(s), k = 0, i = 0; i < il; i++)
3699          for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
3700              r[k] = a[j];
3701      return r;
3702  };
3703  
3704  function __await(v) {
3705      return this instanceof __await ? (this.v = v, this) : new __await(v);
3706  }
3707  
3708  function __asyncGenerator(thisArg, _arguments, generator) {
3709      if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3710      var g = generator.apply(thisArg, _arguments || []), i, q = [];
3711      return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
3712      function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
3713      function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
3714      function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
3715      function fulfill(value) { resume("next", value); }
3716      function reject(value) { resume("throw", value); }
3717      function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
3718  }
3719  
3720  function __asyncDelegator(o) {
3721      var i, p;
3722      return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
3723      function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
3724  }
3725  
3726  function __asyncValues(o) {
3727      if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3728      var m = o[Symbol.asyncIterator], i;
3729      return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
3730      function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
3731      function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
3732  }
3733  
3734  function __makeTemplateObject(cooked, raw) {
3735      if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3736      return cooked;
3737  };
3738  
3739  function __importStar(mod) {
3740      if (mod && mod.__esModule) return mod;
3741      var result = {};
3742      if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
3743      result.default = mod;
3744      return result;
3745  }
3746  
3747  function __importDefault(mod) {
3748      return (mod && mod.__esModule) ? mod : { default: mod };
3749  }
3750  
3751  function __classPrivateFieldGet(receiver, privateMap) {
3752      if (!privateMap.has(receiver)) {
3753          throw new TypeError("attempted to get private field on non-instance");
3754      }
3755      return privateMap.get(receiver);
3756  }
3757  
3758  function __classPrivateFieldSet(receiver, privateMap, value) {
3759      if (!privateMap.has(receiver)) {
3760          throw new TypeError("attempted to set private field on non-instance");
3761      }
3762      privateMap.set(receiver, value);
3763      return value;
3764  }
3765  
3766  // EXTERNAL MODULE: external {"this":"React"}
3767  var external_this_React_ = __webpack_require__(16);
3768  var external_this_React_default = /*#__PURE__*/__webpack_require__.n(external_this_React_);
3769  
3770  // CONCATENATED MODULE: ./node_modules/react-easy-crop/index.module.js
3771  
3772  
3773  
3774  /**

3775   * Compute the dimension of the crop area based on media size,

3776   * aspect ratio and optionally rotatation

3777   */
3778  
3779  function getCropSize(mediaWidth, mediaHeight, aspect, rotation) {
3780    if (rotation === void 0) {
3781      rotation = 0;
3782    }
3783  
3784    var _a = translateSize(mediaWidth, mediaHeight, rotation),
3785        width = _a.width,
3786        height = _a.height;
3787  
3788    if (mediaWidth >= mediaHeight * aspect && width > mediaHeight * aspect) {
3789      return {
3790        width: mediaHeight * aspect,
3791        height: mediaHeight
3792      };
3793    }
3794  
3795    if (width > mediaHeight * aspect) {
3796      return {
3797        width: mediaWidth,
3798        height: mediaWidth / aspect
3799      };
3800    }
3801  
3802    if (width > height * aspect) {
3803      return {
3804        width: height * aspect,
3805        height: height
3806      };
3807    }
3808  
3809    return {
3810      width: width,
3811      height: width / aspect
3812    };
3813  }
3814  /**

3815   * Ensure a new media position stays in the crop area.

3816   */
3817  
3818  function index_module_restrictPosition(position, mediaSize, cropSize, zoom, rotation) {
3819    if (rotation === void 0) {
3820      rotation = 0;
3821    }
3822  
3823    var _a = translateSize(mediaSize.width, mediaSize.height, rotation),
3824        width = _a.width,
3825        height = _a.height;
3826  
3827    return {
3828      x: restrictPositionCoord(position.x, width, cropSize.width, zoom),
3829      y: restrictPositionCoord(position.y, height, cropSize.height, zoom)
3830    };
3831  }
3832  
3833  function restrictPositionCoord(position, mediaSize, cropSize, zoom) {
3834    var maxPosition = mediaSize * zoom / 2 - cropSize / 2;
3835    return Math.min(maxPosition, Math.max(position, -maxPosition));
3836  }
3837  
3838  function getDistanceBetweenPoints(pointA, pointB) {
3839    return Math.sqrt(Math.pow(pointA.y - pointB.y, 2) + Math.pow(pointA.x - pointB.x, 2));
3840  }
3841  function getRotationBetweenPoints(pointA, pointB) {
3842    return Math.atan2(pointB.y - pointA.y, pointB.x - pointA.x) * 180 / Math.PI;
3843  }
3844  /**

3845   * Compute the output cropped area of the media in percentages and pixels.

3846   * x/y are the top-left coordinates on the src media

3847   */
3848  
3849  function computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition) {
3850    if (rotation === void 0) {
3851      rotation = 0;
3852    }
3853  
3854    if (restrictPosition === void 0) {
3855      restrictPosition = true;
3856    } // if the media is rotated by the user, we cannot limit the position anymore
3857    // as it might need to be negative.
3858  
3859  
3860    var limitAreaFn = restrictPosition && rotation === 0 ? limitArea : noOp;
3861    var croppedAreaPercentages = {
3862      x: limitAreaFn(100, ((mediaSize.width - cropSize.width / zoom) / 2 - crop.x / zoom) / mediaSize.width * 100),
3863      y: limitAreaFn(100, ((mediaSize.height - cropSize.height / zoom) / 2 - crop.y / zoom) / mediaSize.height * 100),
3864      width: limitAreaFn(100, cropSize.width / mediaSize.width * 100 / zoom),
3865      height: limitAreaFn(100, cropSize.height / mediaSize.height * 100 / zoom)
3866    }; // we compute the pixels size naively
3867  
3868    var widthInPixels = Math.round(limitAreaFn(mediaSize.naturalWidth, croppedAreaPercentages.width * mediaSize.naturalWidth / 100));
3869    var heightInPixels = Math.round(limitAreaFn(mediaSize.naturalHeight, croppedAreaPercentages.height * mediaSize.naturalHeight / 100));
3870    var isImgWiderThanHigh = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect; // then we ensure the width and height exactly match the aspect (to avoid rounding approximations)
3871    // if the media is wider than high, when zoom is 0, the crop height will be equals to iamge height
3872    // thus we want to compute the width from the height and aspect for accuracy.
3873    // Otherwise, we compute the height from width and aspect.
3874  
3875    var sizePixels = isImgWiderThanHigh ? {
3876      width: Math.round(heightInPixels * aspect),
3877      height: heightInPixels
3878    } : {
3879      width: widthInPixels,
3880      height: Math.round(widthInPixels / aspect)
3881    };
3882  
3883    var croppedAreaPixels = __assign(__assign({}, sizePixels), {
3884      x: Math.round(limitAreaFn(mediaSize.naturalWidth - sizePixels.width, croppedAreaPercentages.x * mediaSize.naturalWidth / 100)),
3885      y: Math.round(limitAreaFn(mediaSize.naturalHeight - sizePixels.height, croppedAreaPercentages.y * mediaSize.naturalHeight / 100))
3886    });
3887  
3888    return {
3889      croppedAreaPercentages: croppedAreaPercentages,
3890      croppedAreaPixels: croppedAreaPixels
3891    };
3892  }
3893  /**

3894   * Ensure the returned value is between 0 and max

3895   */
3896  
3897  function limitArea(max, value) {
3898    return Math.min(max, Math.max(0, value));
3899  }
3900  
3901  function noOp(_max, value) {
3902    return value;
3903  }
3904  /**

3905   * Compute the crop and zoom from the croppedAreaPixels

3906   */
3907  
3908  
3909  function getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
3910    var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
3911  
3912    if (cropSize) {
3913      var isHeightMaxSize_1 = cropSize.height > cropSize.width;
3914      return isHeightMaxSize_1 ? cropSize.height / mediaZoom / croppedAreaPixels.height : cropSize.width / mediaZoom / croppedAreaPixels.width;
3915    }
3916  
3917    var aspect = croppedAreaPixels.width / croppedAreaPixels.height;
3918    var isHeightMaxSize = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect;
3919    return isHeightMaxSize ? mediaSize.naturalHeight / croppedAreaPixels.height : mediaSize.naturalWidth / croppedAreaPixels.width;
3920  }
3921  /**

3922   * Compute the crop and zoom from the croppedAreaPixels

3923   */
3924  
3925  
3926  function getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
3927    var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
3928    var zoom = getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize);
3929    var cropZoom = mediaZoom * zoom;
3930    var crop = {
3931      x: ((mediaSize.naturalWidth - croppedAreaPixels.width) / 2 - croppedAreaPixels.x) * cropZoom,
3932      y: ((mediaSize.naturalHeight - croppedAreaPixels.height) / 2 - croppedAreaPixels.y) * cropZoom
3933    };
3934    return {
3935      crop: crop,
3936      zoom: zoom
3937    };
3938  }
3939  /**

3940   * Return the point that is the center of point a and b

3941   */
3942  
3943  function getCenter(a, b) {
3944    return {
3945      x: (b.x + a.x) / 2,
3946      y: (b.y + a.y) / 2
3947    };
3948  }
3949  /**

3950   *

3951   * Returns an x,y point once rotated around xMid,yMid

3952   */
3953  
3954  function rotateAroundMidPoint(x, y, xMid, yMid, degrees) {
3955    var cos = Math.cos;
3956    var sin = Math.sin;
3957    var radian = degrees * Math.PI / 180; // Convert to radians
3958    // Subtract midpoints, so that midpoint is translated to origin
3959    // and add it in the end again
3960  
3961    var xr = (x - xMid) * cos(radian) - (y - yMid) * sin(radian) + xMid;
3962    var yr = (x - xMid) * sin(radian) + (y - yMid) * cos(radian) + yMid;
3963    return [xr, yr];
3964  }
3965  /**

3966   * Returns the new bounding area of a rotated rectangle.

3967   */
3968  
3969  function translateSize(width, height, rotation) {
3970    var centerX = width / 2;
3971    var centerY = height / 2;
3972    var outerBounds = [rotateAroundMidPoint(0, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, height, centerX, centerY, rotation), rotateAroundMidPoint(0, height, centerX, centerY, rotation)];
3973    var minX = Math.min.apply(Math, outerBounds.map(function (p) {
3974      return p[0];
3975    }));
3976    var maxX = Math.max.apply(Math, outerBounds.map(function (p) {
3977      return p[0];
3978    }));
3979    var minY = Math.min.apply(Math, outerBounds.map(function (p) {
3980      return p[1];
3981    }));
3982    var maxY = Math.max.apply(Math, outerBounds.map(function (p) {
3983      return p[1];
3984    }));
3985    return {
3986      width: maxX - minX,
3987      height: maxY - minY
3988    };
3989  }
3990  /**

3991   * Combine multiple class names into a single string.

3992   */
3993  
3994  function index_module_classNames() {
3995    var args = [];
3996  
3997    for (var _i = 0; _i < arguments.length; _i++) {
3998      args[_i] = arguments[_i];
3999    }
4000  
4001    return args.filter(function (value) {
4002      if (typeof value === 'string' && value.length > 0) {
4003        return true;
4004      }
4005  
4006      return false;
4007    }).join(' ').trim();
4008  }
4009  
4010  var css = ".reactEasyCrop_Container {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow: hidden;\n  user-select: none;\n  touch-action: none;\n  cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n  max-width: 100%;\n  max-height: 100%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  box-sizing: border-box;\n  box-shadow: 0 0 0 9999em;\n  color: rgba(0, 0, 0, 0.5);\n  overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n  border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 0;\n  bottom: 0;\n  left: 33.33%;\n  right: 33.33%;\n  border-top: 0;\n  border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 33.33%;\n  bottom: 33.33%;\n  left: 0;\n  right: 0;\n  border-left: 0;\n  border-right: 0;\n}\n";
4011  
4012  var MIN_ZOOM = 1;
4013  var MAX_ZOOM = 3;
4014  
4015  var index_module_Cropper =
4016  /** @class */
4017  function (_super) {
4018    __extends(Cropper, _super);
4019  
4020    function Cropper() {
4021      var _this = _super !== null && _super.apply(this, arguments) || this;
4022  
4023      _this.imageRef = null;
4024      _this.videoRef = null;
4025      _this.containerRef = null;
4026      _this.styleRef = null;
4027      _this.containerRect = null;
4028      _this.mediaSize = {
4029        width: 0,
4030        height: 0,
4031        naturalWidth: 0,
4032        naturalHeight: 0
4033      };
4034      _this.dragStartPosition = {
4035        x: 0,
4036        y: 0
4037      };
4038      _this.dragStartCrop = {
4039        x: 0,
4040        y: 0
4041      };
4042      _this.lastPinchDistance = 0;
4043      _this.lastPinchRotation = 0;
4044      _this.rafDragTimeout = null;
4045      _this.rafPinchTimeout = null;
4046      _this.wheelTimer = null;
4047      _this.state = {
4048        cropSize: null,
4049        hasWheelJustStarted: false
4050      }; // this is to prevent Safari on iOS >= 10 to zoom the page
4051  
4052      _this.preventZoomSafari = function (e) {
4053        return e.preventDefault();
4054      };
4055  
4056      _this.cleanEvents = function () {
4057        document.removeEventListener('mousemove', _this.onMouseMove);
4058        document.removeEventListener('mouseup', _this.onDragStopped);
4059        document.removeEventListener('touchmove', _this.onTouchMove);
4060        document.removeEventListener('touchend', _this.onDragStopped);
4061      };
4062  
4063      _this.clearScrollEvent = function () {
4064        if (_this.containerRef) _this.containerRef.removeEventListener('wheel', _this.onWheel);
4065  
4066        if (_this.wheelTimer) {
4067          clearTimeout(_this.wheelTimer);
4068        }
4069      };
4070  
4071      _this.onMediaLoad = function () {
4072        _this.computeSizes();
4073  
4074        _this.emitCropData();
4075  
4076        _this.setInitialCrop();
4077  
4078        if (_this.props.onMediaLoaded) {
4079          _this.props.onMediaLoaded(_this.mediaSize);
4080        }
4081      };
4082  
4083      _this.setInitialCrop = function () {
4084        var _a = _this.props,
4085            initialCroppedAreaPixels = _a.initialCroppedAreaPixels,
4086            cropSize = _a.cropSize;
4087  
4088        if (!initialCroppedAreaPixels) {
4089          return;
4090        }
4091  
4092        var _b = getInitialCropFromCroppedAreaPixels(initialCroppedAreaPixels, _this.mediaSize, cropSize),
4093            crop = _b.crop,
4094            zoom = _b.zoom;
4095  
4096        _this.props.onCropChange(crop);
4097  
4098        _this.props.onZoomChange && _this.props.onZoomChange(zoom);
4099      };
4100  
4101      _this.computeSizes = function () {
4102        var _a, _b, _c, _d;
4103  
4104        var mediaRef = _this.imageRef || _this.videoRef;
4105  
4106        if (mediaRef) {
4107          _this.mediaSize = {
4108            width: mediaRef.offsetWidth,
4109            height: mediaRef.offsetHeight,
4110            naturalWidth: ((_a = _this.imageRef) === null || _a === void 0 ? void 0 : _a.naturalWidth) || ((_b = _this.videoRef) === null || _b === void 0 ? void 0 : _b.videoWidth) || 0,
4111            naturalHeight: ((_c = _this.imageRef) === null || _c === void 0 ? void 0 : _c.naturalHeight) || ((_d = _this.videoRef) === null || _d === void 0 ? void 0 : _d.videoHeight) || 0
4112          };
4113          var cropSize = _this.props.cropSize ? _this.props.cropSize : getCropSize(mediaRef.offsetWidth, mediaRef.offsetHeight, _this.props.aspect, _this.props.rotation);
4114  
4115          _this.setState({
4116            cropSize: cropSize
4117          }, _this.recomputeCropPosition);
4118        }
4119  
4120        if (_this.containerRef) {
4121          _this.containerRect = _this.containerRef.getBoundingClientRect();
4122        }
4123      };
4124  
4125      _this.onMouseDown = function (e) {
4126        e.preventDefault();
4127        document.addEventListener('mousemove', _this.onMouseMove);
4128        document.addEventListener('mouseup', _this.onDragStopped);
4129  
4130        _this.onDragStart(Cropper.getMousePoint(e));
4131      };
4132  
4133      _this.onMouseMove = function (e) {
4134        return _this.onDrag(Cropper.getMousePoint(e));
4135      };
4136  
4137      _this.onTouchStart = function (e) {
4138        e.preventDefault();
4139        document.addEventListener('touchmove', _this.onTouchMove, {
4140          passive: false
4141        }); // iOS 11 now defaults to passive: true
4142  
4143        document.addEventListener('touchend', _this.onDragStopped);
4144  
4145        if (e.touches.length === 2) {
4146          _this.onPinchStart(e);
4147        } else if (e.touches.length === 1) {
4148          _this.onDragStart(Cropper.getTouchPoint(e.touches[0]));
4149        }
4150      };
4151  
4152      _this.onTouchMove = function (e) {
4153        // Prevent whole page from scrolling on iOS.
4154        e.preventDefault();
4155  
4156        if (e.touches.length === 2) {
4157          _this.onPinchMove(e);
4158        } else if (e.touches.length === 1) {
4159          _this.onDrag(Cropper.getTouchPoint(e.touches[0]));
4160        }
4161      };
4162  
4163      _this.onDragStart = function (_a) {
4164        var x = _a.x,
4165            y = _a.y;
4166  
4167        var _b, _c;
4168  
4169        _this.dragStartPosition = {
4170          x: x,
4171          y: y
4172        };
4173        _this.dragStartCrop = __assign({}, _this.props.crop);
4174        (_c = (_b = _this.props).onInteractionStart) === null || _c === void 0 ? void 0 : _c.call(_b);
4175      };
4176  
4177      _this.onDrag = function (_a) {
4178        var x = _a.x,
4179            y = _a.y;
4180        if (_this.rafDragTimeout) window.cancelAnimationFrame(_this.rafDragTimeout);
4181        _this.rafDragTimeout = window.requestAnimationFrame(function () {
4182          if (!_this.state.cropSize) return;
4183          if (x === undefined || y === undefined) return;
4184          var offsetX = x - _this.dragStartPosition.x;
4185          var offsetY = y - _this.dragStartPosition.y;
4186          var requestedPosition = {
4187            x: _this.dragStartCrop.x + offsetX,
4188            y: _this.dragStartCrop.y + offsetY
4189          };
4190          var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : requestedPosition;
4191  
4192          _this.props.onCropChange(newPosition);
4193        });
4194      };
4195  
4196      _this.onDragStopped = function () {
4197        var _a, _b;
4198  
4199        _this.cleanEvents();
4200  
4201        _this.emitCropData();
4202  
4203        (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
4204      };
4205  
4206      _this.onWheel = function (e) {
4207        e.preventDefault();
4208        var point = Cropper.getMousePoint(e);
4209        var newZoom = _this.props.zoom - e.deltaY * _this.props.zoomSpeed / 200;
4210  
4211        _this.setNewZoom(newZoom, point);
4212  
4213        if (!_this.state.hasWheelJustStarted) {
4214          _this.setState({
4215            hasWheelJustStarted: true
4216          }, function () {
4217            var _a, _b;
4218  
4219            return (_b = (_a = _this.props).onInteractionStart) === null || _b === void 0 ? void 0 : _b.call(_a);
4220          });
4221        }
4222  
4223        if (_this.wheelTimer) {
4224          clearTimeout(_this.wheelTimer);
4225        }
4226  
4227        _this.wheelTimer = window.setTimeout(function () {
4228          return _this.setState({
4229            hasWheelJustStarted: false
4230          }, function () {
4231            var _a, _b;
4232  
4233            return (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
4234          });
4235        }, 250);
4236      };
4237  
4238      _this.getPointOnContainer = function (_a) {
4239        var x = _a.x,
4240            y = _a.y;
4241  
4242        if (!_this.containerRect) {
4243          throw new Error('The Cropper is not mounted');
4244        }
4245  
4246        return {
4247          x: _this.containerRect.width / 2 - (x - _this.containerRect.left),
4248          y: _this.containerRect.height / 2 - (y - _this.containerRect.top)
4249        };
4250      };
4251  
4252      _this.getPointOnMedia = function (_a) {
4253        var x = _a.x,
4254            y = _a.y;
4255        var _b = _this.props,
4256            crop = _b.crop,
4257            zoom = _b.zoom;
4258        return {
4259          x: (x + crop.x) / zoom,
4260          y: (y + crop.y) / zoom
4261        };
4262      };
4263  
4264      _this.setNewZoom = function (zoom, point) {
4265        if (!_this.state.cropSize || !_this.props.onZoomChange) return;
4266  
4267        var zoomPoint = _this.getPointOnContainer(point);
4268  
4269        var zoomTarget = _this.getPointOnMedia(zoomPoint);
4270  
4271        var newZoom = Math.min(_this.props.maxZoom, Math.max(zoom, _this.props.minZoom));
4272        var requestedPosition = {
4273          x: zoomTarget.x * newZoom - zoomPoint.x,
4274          y: zoomTarget.y * newZoom - zoomPoint.y
4275        };
4276        var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, newZoom, _this.props.rotation) : requestedPosition;
4277  
4278        _this.props.onCropChange(newPosition);
4279  
4280        _this.props.onZoomChange(newZoom);
4281      };
4282  
4283      _this.emitCropData = function () {
4284        if (!_this.state.cropSize) return; // this is to ensure the crop is correctly restricted after a zoom back (https://github.com/ricardo-ch/react-easy-crop/issues/6)
4285  
4286        var restrictedPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
4287  
4288        var _a = computeCroppedArea(restrictedPosition, _this.mediaSize, _this.state.cropSize, _this.getAspect(), _this.props.zoom, _this.props.rotation, _this.props.restrictPosition),
4289            croppedAreaPercentages = _a.croppedAreaPercentages,
4290            croppedAreaPixels = _a.croppedAreaPixels;
4291  
4292        _this.props.onCropComplete && _this.props.onCropComplete(croppedAreaPercentages, croppedAreaPixels);
4293      };
4294  
4295      _this.recomputeCropPosition = function () {
4296        if (!_this.state.cropSize) return;
4297        var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
4298  
4299        _this.props.onCropChange(newPosition);
4300  
4301        _this.emitCropData();
4302      };
4303  
4304      return _this;
4305    }
4306  
4307    Cropper.prototype.componentDidMount = function () {
4308      window.addEventListener('resize', this.computeSizes);
4309  
4310      if (this.containerRef) {
4311        this.props.zoomWithScroll && this.containerRef.addEventListener('wheel', this.onWheel, {
4312          passive: false
4313        });
4314        this.containerRef.addEventListener('gesturestart', this.preventZoomSafari);
4315        this.containerRef.addEventListener('gesturechange', this.preventZoomSafari);
4316      }
4317  
4318      if (!this.props.disableAutomaticStylesInjection) {
4319        this.styleRef = document.createElement('style');
4320        this.styleRef.setAttribute('type', 'text/css');
4321        this.styleRef.innerHTML = css;
4322        document.head.appendChild(this.styleRef);
4323      } // when rendered via SSR, the image can already be loaded and its onLoad callback will never be called
4324  
4325  
4326      if (this.imageRef && this.imageRef.complete) {
4327        this.onMediaLoad();
4328      }
4329    };
4330  
4331    Cropper.prototype.componentWillUnmount = function () {
4332      window.removeEventListener('resize', this.computeSizes);
4333  
4334      if (this.containerRef) {
4335        this.containerRef.removeEventListener('gesturestart', this.preventZoomSafari);
4336        this.containerRef.removeEventListener('gesturechange', this.preventZoomSafari);
4337      }
4338  
4339      if (this.styleRef) {
4340        this.styleRef.remove();
4341      }
4342  
4343      this.cleanEvents();
4344      this.props.zoomWithScroll && this.clearScrollEvent();
4345    };
4346  
4347    Cropper.prototype.componentDidUpdate = function (prevProps) {
4348      var _a, _b, _c, _d;
4349  
4350      if (prevProps.rotation !== this.props.rotation) {
4351        this.computeSizes();
4352        this.recomputeCropPosition();
4353      } else if (prevProps.aspect !== this.props.aspect) {
4354        this.computeSizes();
4355      } else if (prevProps.zoom !== this.props.zoom) {
4356        this.recomputeCropPosition();
4357      } else if (((_a = prevProps.cropSize) === null || _a === void 0 ? void 0 : _a.height) !== ((_b = this.props.cropSize) === null || _b === void 0 ? void 0 : _b.height) || ((_c = prevProps.cropSize) === null || _c === void 0 ? void 0 : _c.width) !== ((_d = this.props.cropSize) === null || _d === void 0 ? void 0 : _d.width)) {
4358        this.computeSizes();
4359      }
4360  
4361      if (prevProps.zoomWithScroll !== this.props.zoomWithScroll && this.containerRef) {
4362        this.props.zoomWithScroll ? this.containerRef.addEventListener('wheel', this.onWheel, {
4363          passive: false
4364        }) : this.clearScrollEvent();
4365      }
4366    };
4367  
4368    Cropper.prototype.getAspect = function () {
4369      var _a = this.props,
4370          cropSize = _a.cropSize,
4371          aspect = _a.aspect;
4372  
4373      if (cropSize) {
4374        return cropSize.width / cropSize.height;
4375      }
4376  
4377      return aspect;
4378    };
4379  
4380    Cropper.prototype.onPinchStart = function (e) {
4381      var pointA = Cropper.getTouchPoint(e.touches[0]);
4382      var pointB = Cropper.getTouchPoint(e.touches[1]);
4383      this.lastPinchDistance = getDistanceBetweenPoints(pointA, pointB);
4384      this.lastPinchRotation = getRotationBetweenPoints(pointA, pointB);
4385      this.onDragStart(getCenter(pointA, pointB));
4386    };
4387  
4388    Cropper.prototype.onPinchMove = function (e) {
4389      var _this = this;
4390  
4391      var pointA = Cropper.getTouchPoint(e.touches[0]);
4392      var pointB = Cropper.getTouchPoint(e.touches[1]);
4393      var center = getCenter(pointA, pointB);
4394      this.onDrag(center);
4395      if (this.rafPinchTimeout) window.cancelAnimationFrame(this.rafPinchTimeout);
4396      this.rafPinchTimeout = window.requestAnimationFrame(function () {
4397        var distance = getDistanceBetweenPoints(pointA, pointB);
4398        var newZoom = _this.props.zoom * (distance / _this.lastPinchDistance);
4399  
4400        _this.setNewZoom(newZoom, center);
4401  
4402        _this.lastPinchDistance = distance;
4403        var rotation = getRotationBetweenPoints(pointA, pointB);
4404        var newRotation = _this.props.rotation + (rotation - _this.lastPinchRotation);
4405        _this.props.onRotationChange && _this.props.onRotationChange(newRotation);
4406        _this.lastPinchRotation = rotation;
4407      });
4408    };
4409  
4410    Cropper.prototype.render = function () {
4411      var _this = this;
4412  
4413      var _a = this.props,
4414          image = _a.image,
4415          video = _a.video,
4416          mediaProps = _a.mediaProps,
4417          transform = _a.transform,
4418          _b = _a.crop,
4419          x = _b.x,
4420          y = _b.y,
4421          rotation = _a.rotation,
4422          zoom = _a.zoom,
4423          cropShape = _a.cropShape,
4424          showGrid = _a.showGrid,
4425          _c = _a.style,
4426          containerStyle = _c.containerStyle,
4427          cropAreaStyle = _c.cropAreaStyle,
4428          mediaStyle = _c.mediaStyle,
4429          _d = _a.classes,
4430          containerClassName = _d.containerClassName,
4431          cropAreaClassName = _d.cropAreaClassName,
4432          mediaClassName = _d.mediaClassName;
4433      return external_this_React_default.a.createElement("div", {
4434        onMouseDown: this.onMouseDown,
4435        onTouchStart: this.onTouchStart,
4436        ref: function ref(el) {
4437          return _this.containerRef = el;
4438        },
4439        "data-testid": "container",
4440        style: containerStyle,
4441        className: index_module_classNames('reactEasyCrop_Container', containerClassName)
4442      }, image ? external_this_React_default.a.createElement("img", __assign({
4443        alt: "",
4444        className: index_module_classNames('reactEasyCrop_Image', mediaClassName)
4445      }, mediaProps, {
4446        src: image,
4447        ref: function ref(el) {
4448          return _this.imageRef = el;
4449        },
4450        style: __assign(__assign({}, mediaStyle), {
4451          transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
4452        }),
4453        onLoad: this.onMediaLoad
4454      })) : video && external_this_React_default.a.createElement("video", __assign({
4455        autoPlay: true,
4456        loop: true,
4457        muted: true,
4458        className: index_module_classNames('reactEasyCrop_Video', mediaClassName)
4459      }, mediaProps, {
4460        src: video,
4461        ref: function ref(el) {
4462          return _this.videoRef = el;
4463        },
4464        onLoadedMetadata: this.onMediaLoad,
4465        style: __assign(__assign({}, mediaStyle), {
4466          transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
4467        }),
4468        controls: false
4469      })), this.state.cropSize && external_this_React_default.a.createElement("div", {
4470        style: __assign(__assign({}, cropAreaStyle), {
4471          width: this.state.cropSize.width,
4472          height: this.state.cropSize.height
4473        }),
4474        "data-testid": "cropper",
4475        className: index_module_classNames('reactEasyCrop_CropArea', cropShape === 'round' && 'reactEasyCrop_CropAreaRound', showGrid && 'reactEasyCrop_CropAreaGrid', cropAreaClassName)
4476      }));
4477    };
4478  
4479    Cropper.defaultProps = {
4480      zoom: 1,
4481      rotation: 0,
4482      aspect: 4 / 3,
4483      maxZoom: MAX_ZOOM,
4484      minZoom: MIN_ZOOM,
4485      cropShape: 'rect',
4486      showGrid: true,
4487      style: {},
4488      classes: {},
4489      mediaProps: {},
4490      zoomSpeed: 1,
4491      restrictPosition: true,
4492      zoomWithScroll: true
4493    };
4494  
4495    Cropper.getMousePoint = function (e) {
4496      return {
4497        x: Number(e.clientX),
4498        y: Number(e.clientY)
4499      };
4500    };
4501  
4502    Cropper.getTouchPoint = function (touch) {
4503      return {
4504        x: Number(touch.clientX),
4505        y: Number(touch.clientY)
4506      };
4507    };
4508  
4509    return Cropper;
4510  }(external_this_React_default.a.Component);
4511  
4512  /* harmony default export */ var index_module = (index_module_Cropper);
4513  
4514  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
4515  var check = __webpack_require__(148);
4516  
4517  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/aspect-ratio.js
4518  
4519  
4520  /**
4521   * WordPress dependencies
4522   */
4523  
4524  var aspect_ratio_aspectRatio = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
4525    xmlns: "http://www.w3.org/2000/svg",
4526    viewBox: "0 0 24 24"
4527  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
4528    d: "M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"
4529  }));
4530  /* harmony default export */ var aspect_ratio = (aspect_ratio_aspectRatio);
4531  
4532  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
4533  var search = __webpack_require__(287);
4534  
4535  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rotate-right.js
4536  
4537  
4538  /**
4539   * WordPress dependencies
4540   */
4541  
4542  var rotateRight = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
4543    xmlns: "http://www.w3.org/2000/svg",
4544    viewBox: "0 0 24 24"
4545  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
4546    d: "M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"
4547  }));
4548  /* harmony default export */ var rotate_right = (rotateRight);
4549  
4550  // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
4551  var external_this_wp_apiFetch_ = __webpack_require__(45);
4552  var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
4553  
4554  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image-editor.js
4555  
4556  
4557  
4558  /**
4559   * External dependencies
4560   */
4561  
4562  
4563  /**
4564   * WordPress dependencies
4565   */
4566  
4567  
4568  
4569  
4570  
4571  
4572  
4573  
4574  var image_editor_MIN_ZOOM = 100;
4575  var image_editor_MAX_ZOOM = 300;
4576  var POPOVER_PROPS = {
4577    position: 'bottom right',
4578    isAlternate: true
4579  };
4580  
4581  function AspectGroup(_ref) {
4582    var aspectRatios = _ref.aspectRatios,
4583        isDisabled = _ref.isDisabled,
4584        label = _ref.label,
4585        _onClick = _ref.onClick,
4586        value = _ref.value;
4587    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
4588      label: label
4589    }, aspectRatios.map(function (_ref2) {
4590      var title = _ref2.title,
4591          aspect = _ref2.aspect;
4592      return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
4593        key: aspect,
4594        isDisabled: isDisabled,
4595        onClick: function onClick() {
4596          _onClick(aspect);
4597        },
4598        role: "menuitemradio",
4599        isSelected: aspect === value,
4600        icon: aspect === value ? check["a" /* default */] : undefined
4601      }, title);
4602    }));
4603  }
4604  
4605  function AspectMenu(_ref3) {
4606    var isDisabled = _ref3.isDisabled,
4607        _onClick2 = _ref3.onClick,
4608        value = _ref3.value,
4609        defaultValue = _ref3.defaultValue;
4610    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
4611      icon: aspect_ratio,
4612      label: Object(external_this_wp_i18n_["__"])('Aspect Ratio'),
4613      popoverProps: POPOVER_PROPS,
4614      className: "wp-block-image__aspect-ratio"
4615    }, function (_ref4) {
4616      var onClose = _ref4.onClose;
4617      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(AspectGroup, {
4618        isDisabled: isDisabled,
4619        onClick: function onClick(aspect) {
4620          _onClick2(aspect);
4621  
4622          onClose();
4623        },
4624        value: value,
4625        aspectRatios: [{
4626          title: Object(external_this_wp_i18n_["__"])('Original'),
4627          aspect: defaultValue
4628        }, {
4629          title: Object(external_this_wp_i18n_["__"])('Square'),
4630          aspect: 1
4631        }]
4632      }), Object(external_this_wp_element_["createElement"])(AspectGroup, {
4633        label: Object(external_this_wp_i18n_["__"])('Landscape'),
4634        isDisabled: isDisabled,
4635        onClick: function onClick(aspect) {
4636          _onClick2(aspect);
4637  
4638          onClose();
4639        },
4640        value: value,
4641        aspectRatios: [{
4642          title: Object(external_this_wp_i18n_["__"])('16:10'),
4643          aspect: 16 / 10
4644        }, {
4645          title: Object(external_this_wp_i18n_["__"])('16:9'),
4646          aspect: 16 / 9
4647        }, {
4648          title: Object(external_this_wp_i18n_["__"])('4:3'),
4649          aspect: 4 / 3
4650        }, {
4651          title: Object(external_this_wp_i18n_["__"])('3:2'),
4652          aspect: 3 / 2
4653        }]
4654      }), Object(external_this_wp_element_["createElement"])(AspectGroup, {
4655        label: Object(external_this_wp_i18n_["__"])('Portrait'),
4656        isDisabled: isDisabled,
4657        onClick: function onClick(aspect) {
4658          _onClick2(aspect);
4659  
4660          onClose();
4661        },
4662        value: value,
4663        aspectRatios: [{
4664          title: Object(external_this_wp_i18n_["__"])('10:16'),
4665          aspect: 10 / 16
4666        }, {
4667          title: Object(external_this_wp_i18n_["__"])('9:16'),
4668          aspect: 9 / 16
4669        }, {
4670          title: Object(external_this_wp_i18n_["__"])('3:4'),
4671          aspect: 3 / 4
4672        }, {
4673          title: Object(external_this_wp_i18n_["__"])('2:3'),
4674          aspect: 2 / 3
4675        }]
4676      }));
4677    });
4678  }
4679  
4680  function ImageEditor(_ref5) {
4681    var id = _ref5.id,
4682        url = _ref5.url,
4683        setAttributes = _ref5.setAttributes,
4684        naturalWidth = _ref5.naturalWidth,
4685        naturalHeight = _ref5.naturalHeight,
4686        width = _ref5.width,
4687        height = _ref5.height,
4688        clientWidth = _ref5.clientWidth,
4689        setIsEditingImage = _ref5.setIsEditingImage;
4690  
4691    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/notices'),
4692        createErrorNotice = _useDispatch.createErrorNotice;
4693  
4694    var _useState = Object(external_this_wp_element_["useState"])(false),
4695        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
4696        inProgress = _useState2[0],
4697        setIsProgress = _useState2[1];
4698  
4699    var _useState3 = Object(external_this_wp_element_["useState"])(null),
4700        _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
4701        crop = _useState4[0],
4702        setCrop = _useState4[1];
4703  
4704    var _useState5 = Object(external_this_wp_element_["useState"])({
4705      x: 0,
4706      y: 0
4707    }),
4708        _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2),
4709        position = _useState6[0],
4710        setPosition = _useState6[1];
4711  
4712    var _useState7 = Object(external_this_wp_element_["useState"])(100),
4713        _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2),
4714        zoom = _useState8[0],
4715        setZoom = _useState8[1];
4716  
4717    var _useState9 = Object(external_this_wp_element_["useState"])(naturalWidth / naturalHeight),
4718        _useState10 = Object(slicedToArray["a" /* default */])(_useState9, 2),
4719        aspect = _useState10[0],
4720        setAspect = _useState10[1];
4721  
4722    var _useState11 = Object(external_this_wp_element_["useState"])(0),
4723        _useState12 = Object(slicedToArray["a" /* default */])(_useState11, 2),
4724        rotation = _useState12[0],
4725        setRotation = _useState12[1];
4726  
4727    var _useState13 = Object(external_this_wp_element_["useState"])(),
4728        _useState14 = Object(slicedToArray["a" /* default */])(_useState13, 2),
4729        editedUrl = _useState14[0],
4730        setEditedUrl = _useState14[1];
4731  
4732    var editedWidth = width;
4733    var editedHeight = height || clientWidth * naturalHeight / naturalWidth;
4734    var naturalAspectRatio = naturalWidth / naturalHeight;
4735  
4736    if (rotation % 180 === 90) {
4737      editedHeight = clientWidth * naturalWidth / naturalHeight;
4738      naturalAspectRatio = naturalHeight / naturalWidth;
4739    }
4740  
4741    function apply() {
4742      setIsProgress(true);
4743      var attrs = {}; // The crop script may return some very small, sub-pixel values when the image was not cropped.
4744      // Crop only when the new size has changed by more than 0.1%.
4745  
4746      if (crop.width < 99.9 || crop.height < 99.9) {
4747        attrs = crop;
4748      }
4749  
4750      if (rotation > 0) {
4751        attrs.rotation = rotation;
4752      }
4753  
4754      attrs.src = url;
4755      external_this_wp_apiFetch_default()({
4756        path: "wp/v2/media/".concat(id, "/edit"),
4757        method: 'POST',
4758        data: attrs
4759      }).then(function (response) {
4760        setAttributes({
4761          id: response.id,
4762          url: response.source_url,
4763          height: height && width ? width / aspect : undefined
4764        });
4765      }).catch(function (error) {
4766        createErrorNotice(Object(external_this_wp_i18n_["sprintf"])(
4767        /* translators: 1. Error message */
4768        Object(external_this_wp_i18n_["__"])('Could not edit image. %s'), error.message), {
4769          id: 'image-editing-error',
4770          type: 'snackbar'
4771        });
4772      }).finally(function () {
4773        setIsProgress(false);
4774        setIsEditingImage(false);
4775      });
4776    }
4777  
4778    function rotate() {
4779      var angle = (rotation + 90) % 360;
4780  
4781      if (angle === 0) {
4782        setEditedUrl();
4783        setRotation(angle);
4784        setAspect(1 / aspect);
4785        setPosition({
4786          x: -(position.y * naturalAspectRatio),
4787          y: position.x * naturalAspectRatio
4788        });
4789        return;
4790      }
4791  
4792      function editImage(event) {
4793        var canvas = document.createElement('canvas');
4794        var translateX = 0;
4795        var translateY = 0;
4796  
4797        if (angle % 180) {
4798          canvas.width = event.target.height;
4799          canvas.height = event.target.width;
4800        } else {
4801          canvas.width = event.target.width;
4802          canvas.height = event.target.height;
4803        }
4804  
4805        if (angle === 90 || angle === 180) {
4806          translateX = canvas.width;
4807        }
4808  
4809        if (angle === 270 || angle === 180) {
4810          translateY = canvas.height;
4811        }
4812  
4813        var context = canvas.getContext('2d');
4814        context.translate(translateX, translateY);
4815        context.rotate(angle * Math.PI / 180);
4816        context.drawImage(event.target, 0, 0);
4817        canvas.toBlob(function (blob) {
4818          setEditedUrl(URL.createObjectURL(blob));
4819          setRotation(angle);
4820          setAspect(1 / aspect);
4821          setPosition({
4822            x: -(position.y * naturalAspectRatio),
4823            y: position.x * naturalAspectRatio
4824          });
4825        });
4826      }
4827  
4828      var el = new window.Image();
4829      el.src = url;
4830      el.onload = editImage;
4831    }
4832  
4833    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
4834      className: classnames_default()('wp-block-image__crop-area', {
4835        'is-applying': inProgress
4836      }),
4837      style: {
4838        width: editedWidth,
4839        height: editedHeight
4840      }
4841    }, Object(external_this_wp_element_["createElement"])(index_module, {
4842      image: editedUrl || url,
4843      disabled: inProgress,
4844      minZoom: image_editor_MIN_ZOOM / 100,
4845      maxZoom: image_editor_MAX_ZOOM / 100,
4846      crop: position,
4847      zoom: zoom / 100,
4848      aspect: aspect,
4849      onCropChange: setPosition,
4850      onCropComplete: function onCropComplete(newCropPercent) {
4851        setCrop(newCropPercent);
4852      },
4853      onZoomChange: function onZoomChange(newZoom) {
4854        setZoom(newZoom * 100);
4855      }
4856    }), inProgress && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null)), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
4857      contentClassName: "wp-block-image__zoom",
4858      popoverProps: POPOVER_PROPS,
4859      renderToggle: function renderToggle(_ref6) {
4860        var isOpen = _ref6.isOpen,
4861            onToggle = _ref6.onToggle;
4862        return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
4863          icon: search["a" /* default */],
4864          label: Object(external_this_wp_i18n_["__"])('Zoom'),
4865          onClick: onToggle,
4866          "aria-expanded": isOpen,
4867          disabled: inProgress
4868        });
4869      },
4870      renderContent: function renderContent() {
4871        return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
4872          min: image_editor_MIN_ZOOM,
4873          max: image_editor_MAX_ZOOM,
4874          value: Math.round(zoom),
4875          onChange: setZoom
4876        });
4877      }
4878    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], null, function (toggleProps) {
4879      return Object(external_this_wp_element_["createElement"])(AspectMenu, {
4880        toggleProps: toggleProps,
4881        isDisabled: inProgress,
4882        onClick: setAspect,
4883        value: aspect,
4884        defaultValue: naturalWidth / naturalHeight
4885      });
4886    })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
4887      icon: rotate_right,
4888      label: Object(external_this_wp_i18n_["__"])('Rotate'),
4889      onClick: rotate,
4890      disabled: inProgress
4891    })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
4892      onClick: apply,
4893      disabled: inProgress
4894    }, Object(external_this_wp_i18n_["__"])('Apply')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
4895      onClick: function onClick() {
4896        return setIsEditingImage(false);
4897      }
4898    }, Object(external_this_wp_i18n_["__"])('Cancel')))));
4899  }
4900  
4901  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js
4902  var MIN_SIZE = 20;
4903  var LINK_DESTINATION_NONE = 'none';
4904  var LINK_DESTINATION_MEDIA = 'media';
4905  var LINK_DESTINATION_ATTACHMENT = 'attachment';
4906  var LINK_DESTINATION_CUSTOM = 'custom';
4907  var NEW_TAB_REL = ['noreferrer', 'noopener'];
4908  var ALLOWED_MEDIA_TYPES = ['image'];
4909  var DEFAULT_SIZE_SLUG = 'large';
4910  
4911  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js
4912  
4913  
4914  
4915  /**
4916   * External dependencies
4917   */
4918  
4919  /**
4920   * WordPress dependencies
4921   */
4922  
4923  
4924  
4925  
4926  
4927  
4928  
4929  
4930  
4931  
4932  
4933  /**
4934   * Internal dependencies
4935   */
4936  
4937  
4938  
4939  
4940  
4941  /**
4942   * Module constants
4943   */
4944  
4945  
4946  
4947  function getFilename(url) {
4948    var path = Object(external_this_wp_url_["getPath"])(url);
4949  
4950    if (path) {
4951      return Object(external_this_lodash_["last"])(path.split('/'));
4952    }
4953  }
4954  
4955  function Image(_ref) {
4956    var _ref$attributes = _ref.attributes,
4957        _ref$attributes$url = _ref$attributes.url,
4958        url = _ref$attributes$url === void 0 ? '' : _ref$attributes$url,
4959        alt = _ref$attributes.alt,
4960        caption = _ref$attributes.caption,
4961        align = _ref$attributes.align,
4962        id = _ref$attributes.id,
4963        href = _ref$attributes.href,
4964        rel = _ref$attributes.rel,
4965        linkClass = _ref$attributes.linkClass,
4966        linkDestination = _ref$attributes.linkDestination,
4967        title = _ref$attributes.title,
4968        width = _ref$attributes.width,
4969        height = _ref$attributes.height,
4970        linkTarget = _ref$attributes.linkTarget,
4971        sizeSlug = _ref$attributes.sizeSlug,
4972        setAttributes = _ref.setAttributes,
4973        isSelected = _ref.isSelected,
4974        insertBlocksAfter = _ref.insertBlocksAfter,
4975        onReplace = _ref.onReplace,
4976        onSelectImage = _ref.onSelectImage,
4977        onSelectURL = _ref.onSelectURL,
4978        onUploadError = _ref.onUploadError,
4979        containerRef = _ref.containerRef;
4980    var image = Object(external_this_wp_data_["useSelect"])(function (select) {
4981      var _select = select('core'),
4982          getMedia = _select.getMedia;
4983  
4984      return id && isSelected ? getMedia(id) : null;
4985    }, [id, isSelected]);
4986  
4987    var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
4988      var _select2 = select('core/block-editor'),
4989          getSettings = _select2.getSettings;
4990  
4991      return Object(external_this_lodash_["pick"])(getSettings(), ['imageSizes', 'isRTL', 'maxWidth', 'mediaUpload']);
4992    }),
4993        maxWidth = _useSelect.maxWidth,
4994        isRTL = _useSelect.isRTL,
4995        imageSizes = _useSelect.imageSizes,
4996        mediaUpload = _useSelect.mediaUpload;
4997  
4998    var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
4999        toggleSelection = _useDispatch.toggleSelection;
5000  
5001    var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/notices'),
5002        createErrorNotice = _useDispatch2.createErrorNotice,
5003        createSuccessNotice = _useDispatch2.createSuccessNotice;
5004  
5005    var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium');
5006  
5007    var _useState = Object(external_this_wp_element_["useState"])(false),
5008        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
5009        captionFocused = _useState2[0],
5010        setCaptionFocused = _useState2[1];
5011  
5012    var isWideAligned = Object(external_this_lodash_["includes"])(['wide', 'full'], align);
5013  
5014    var _useState3 = Object(external_this_wp_element_["useState"])({}),
5015        _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
5016        _useState4$ = _useState4[0],
5017        naturalWidth = _useState4$.naturalWidth,
5018        naturalHeight = _useState4$.naturalHeight,
5019        setNaturalSize = _useState4[1];
5020  
5021    var _useState5 = Object(external_this_wp_element_["useState"])(false),
5022        _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2),
5023        isEditingImage = _useState6[0],
5024        setIsEditingImage = _useState6[1];
5025  
5026    var _useState7 = Object(external_this_wp_element_["useState"])(),
5027        _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2),
5028        externalBlob = _useState8[0],
5029        setExternalBlob = _useState8[1];
5030  
5031    var clientWidth = useClientWidth(containerRef, [align]);
5032    var isResizable = !isWideAligned && isLargeViewport;
5033    var imageSizeOptions = Object(external_this_lodash_["map"])(Object(external_this_lodash_["filter"])(imageSizes, function (_ref2) {
5034      var slug = _ref2.slug;
5035      return Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', slug, 'source_url']);
5036    }), function (_ref3) {
5037      var name = _ref3.name,
5038          slug = _ref3.slug;
5039      return {
5040        value: slug,
5041        label: name
5042      };
5043    });
5044    Object(external_this_wp_element_["useEffect"])(function () {
5045      if (!isSelected) {
5046        setCaptionFocused(false);
5047      }
5048    }, [isSelected]); // If an image is externally hosted, try to fetch the image data. This may
5049    // fail if the image host doesn't allow CORS with the domain. If it works,
5050    // we can enable a button in the toolbar to upload the image.
5051  
5052    Object(external_this_wp_element_["useEffect"])(function () {
5053      if (!edit_isExternalImage(id, url) || !isSelected || externalBlob) {
5054        return;
5055      }
5056  
5057      window.fetch(url).then(function (response) {
5058        return response.blob();
5059      }).then(function (blob) {
5060        return setExternalBlob(blob);
5061      });
5062    }, [id, url, isSelected, externalBlob]);
5063  
5064    function onResizeStart() {
5065      toggleSelection(false);
5066    }
5067  
5068    function _onResizeStop() {
5069      toggleSelection(true);
5070    }
5071  
5072    function onImageError() {
5073      // Check if there's an embed block that handles this URL.
5074      var embedBlock = util_createUpgradedEmbedBlock({
5075        attributes: {
5076          url: url
5077        }
5078      });
5079  
5080      if (undefined !== embedBlock) {
5081        onReplace(embedBlock);
5082      }
5083    }
5084  
5085    function onSetHref(props) {
5086      setAttributes(props);
5087    }
5088  
5089    function onSetTitle(value) {
5090      // This is the HTML title attribute, separate from the media object
5091      // title.
5092      setAttributes({
5093        title: value
5094      });
5095    }
5096  
5097    function onFocusCaption() {
5098      if (!captionFocused) {
5099        setCaptionFocused(true);
5100      }
5101    }
5102  
5103    function onImageClick() {
5104      if (captionFocused) {
5105        setCaptionFocused(false);
5106      }
5107    }
5108  
5109    function updateAlt(newAlt) {
5110      setAttributes({
5111        alt: newAlt
5112      });
5113    }
5114  
5115    function updateImage(newSizeSlug) {
5116      var newUrl = Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', newSizeSlug, 'source_url']);
5117  
5118      if (!newUrl) {
5119        return null;
5120      }
5121  
5122      setAttributes({
5123        url: newUrl,
5124        width: undefined,
5125        height: undefined,
5126        sizeSlug: newSizeSlug
5127      });
5128    }
5129  
5130    function uploadExternal() {
5131      mediaUpload({
5132        filesList: [externalBlob],
5133        onFileChange: function onFileChange(_ref4) {
5134          var _ref5 = Object(slicedToArray["a" /* default */])(_ref4, 1),
5135              img = _ref5[0];
5136  
5137          onSelectImage(img);
5138  
5139          if (Object(external_this_wp_blob_["isBlobURL"])(img.url)) {
5140            return;
5141          }
5142  
5143          setExternalBlob();
5144          createSuccessNotice(Object(external_this_wp_i18n_["__"])('Image uploaded.'), {
5145            type: 'snackbar'
5146          });
5147        },
5148        allowedTypes: ALLOWED_MEDIA_TYPES,
5149        onError: function onError(message) {
5150          createErrorNotice(message, {
5151            type: 'snackbar'
5152          });
5153        }
5154      });
5155    }
5156  
5157    Object(external_this_wp_element_["useEffect"])(function () {
5158      if (!isSelected) {
5159        setIsEditingImage(false);
5160      }
5161    }, [isSelected]);
5162    var canEditImage = id && naturalWidth && naturalHeight;
5163    var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageURLInputUI"], {
5164      url: href || '',
5165      onChangeUrl: onSetHref,
5166      linkDestination: linkDestination,
5167      mediaUrl: image && image.source_url,
5168      mediaLink: image && image.link,
5169      linkTarget: linkTarget,
5170      linkClass: linkClass,
5171      rel: rel
5172    })), canEditImage && !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
5173      onClick: function onClick() {
5174        return setIsEditingImage(true);
5175      },
5176      icon: library_crop,
5177      label: Object(external_this_wp_i18n_["__"])('Crop')
5178    })), externalBlob && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
5179      onClick: uploadExternal,
5180      icon: upload["a" /* default */],
5181      label: Object(external_this_wp_i18n_["__"])('Upload external image')
5182    })), !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
5183      mediaId: id,
5184      mediaURL: url,
5185      allowedTypes: ALLOWED_MEDIA_TYPES,
5186      accept: "image/*",
5187      onSelect: onSelectImage,
5188      onSelectURL: onSelectURL,
5189      onError: onUploadError
5190    })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
5191      title: Object(external_this_wp_i18n_["__"])('Image settings')
5192    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
5193      label: Object(external_this_wp_i18n_["__"])('Alt text (alternative text)'),
5194      value: alt,
5195      onChange: updateAlt,
5196      help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
5197        href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
5198      }, Object(external_this_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_this_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
5199    }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageSizeControl"], {
5200      onChangeImage: updateImage,
5201      onChange: function onChange(value) {
5202        return setAttributes(value);
5203      },
5204      slug: sizeSlug,
5205      width: width,
5206      height: height,
5207      imageSizeOptions: imageSizeOptions,
5208      isResizable: isResizable,
5209      imageWidth: naturalWidth,
5210      imageHeight: naturalHeight
5211    }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
5212      label: Object(external_this_wp_i18n_["__"])('Title attribute'),
5213      value: title || '',
5214      onChange: onSetTitle,
5215      help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
5216        href: "https://www.w3.org/TR/html52/dom.html#the-title-attribute"
5217      }, Object(external_this_wp_i18n_["__"])('(Note: many devices and browsers do not display this text.)')))
5218    })));
5219    var filename = getFilename(url);
5220    var defaultedAlt;
5221  
5222    if (alt) {
5223      defaultedAlt = alt;
5224    } else if (filename) {
5225      defaultedAlt = Object(external_this_wp_i18n_["sprintf"])(
5226      /* translators: %s: file name */
5227      Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute; its file name is %s'), filename);
5228    } else {
5229      defaultedAlt = Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute');
5230    }
5231  
5232    var img = // Disable reason: Image itself is not meant to be interactive, but
5233    // should direct focus to block.
5234  
5235    /* eslint-disable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
5236    Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
5237      src: url,
5238      alt: defaultedAlt,
5239      onClick: onImageClick,
5240      onError: function onError() {
5241        return onImageError();
5242      },
5243      onLoad: function onLoad(event) {
5244        setNaturalSize(Object(external_this_lodash_["pick"])(event.target, ['naturalWidth', 'naturalHeight']));
5245      }
5246    }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
5247    /* eslint-enable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
5248    ;
5249    var imageWidthWithinContainer;
5250    var imageHeightWithinContainer;
5251  
5252    if (clientWidth && naturalWidth && naturalHeight) {
5253      var exceedMaxWidth = naturalWidth > clientWidth;
5254      var ratio = naturalHeight / naturalWidth;
5255      imageWidthWithinContainer = exceedMaxWidth ? clientWidth : naturalWidth;
5256      imageHeightWithinContainer = exceedMaxWidth ? clientWidth * ratio : naturalHeight;
5257    }
5258  
5259    if (canEditImage && isEditingImage) {
5260      img = Object(external_this_wp_element_["createElement"])(ImageEditor, {
5261        id: id,
5262        url: url,
5263        setAttributes: setAttributes,
5264        naturalWidth: naturalWidth,
5265        naturalHeight: naturalHeight,
5266        width: width,
5267        height: height,
5268        clientWidth: clientWidth,
5269        setIsEditingImage: setIsEditingImage
5270      });
5271    } else if (!isResizable || !imageWidthWithinContainer) {
5272      img = Object(external_this_wp_element_["createElement"])("div", {
5273        style: {
5274          width: width,
5275          height: height
5276        }
5277      }, img);
5278    } else {
5279      var currentWidth = width || imageWidthWithinContainer;
5280      var currentHeight = height || imageHeightWithinContainer;
5281  
5282      var _ratio = naturalWidth / naturalHeight;
5283  
5284      var minWidth = naturalWidth < naturalHeight ? MIN_SIZE : MIN_SIZE * _ratio;
5285      var minHeight = naturalHeight < naturalWidth ? MIN_SIZE : MIN_SIZE / _ratio; // With the current implementation of ResizableBox, an image needs an
5286      // explicit pixel value for the max-width. In absence of being able to
5287      // set the content-width, this max-width is currently dictated by the
5288      // vanilla editor style. The following variable adds a buffer to this
5289      // vanilla style, so 3rd party themes have some wiggleroom. This does,
5290      // in most cases, allow you to scale the image beyond the width of the
5291      // main column, though not infinitely.
5292      // @todo It would be good to revisit this once a content-width variable
5293      // becomes available.
5294  
5295      var maxWidthBuffer = maxWidth * 2.5;
5296      var showRightHandle = false;
5297      var showLeftHandle = false;
5298      /* eslint-disable no-lonely-if */
5299      // See https://github.com/WordPress/gutenberg/issues/7584.
5300  
5301      if (align === 'center') {
5302        // When the image is centered, show both handles.
5303        showRightHandle = true;
5304        showLeftHandle = true;
5305      } else if (isRTL) {
5306        // In RTL mode the image is on the right by default.
5307        // Show the right handle and hide the left handle only when it is
5308        // aligned left. Otherwise always show the left handle.
5309        if (align === 'left') {
5310          showRightHandle = true;
5311        } else {
5312          showLeftHandle = true;
5313        }
5314      } else {
5315        // Show the left handle and hide the right handle only when the
5316        // image is aligned right. Otherwise always show the right handle.
5317        if (align === 'right') {
5318          showLeftHandle = true;
5319        } else {
5320          showRightHandle = true;
5321        }
5322      }
5323      /* eslint-enable no-lonely-if */
5324  
5325  
5326      img = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], {
5327        size: {
5328          width: width,
5329          height: height
5330        },
5331        showHandle: isSelected,
5332        minWidth: minWidth,
5333        maxWidth: maxWidthBuffer,
5334        minHeight: minHeight,
5335        maxHeight: maxWidthBuffer / _ratio,
5336        lockAspectRatio: true,
5337        enable: {
5338          top: false,
5339          right: showRightHandle,
5340          bottom: true,
5341          left: showLeftHandle
5342        },
5343        onResizeStart: onResizeStart,
5344        onResizeStop: function onResizeStop(event, direction, elt, delta) {
5345          _onResizeStop();
5346  
5347          setAttributes({
5348            width: parseInt(currentWidth + delta.width, 10),
5349            height: parseInt(currentHeight + delta.height, 10)
5350          });
5351        }
5352      }, img);
5353    }
5354  
5355    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, img, (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
5356      tagName: "figcaption",
5357      placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
5358      value: caption,
5359      unstableOnFocus: onFocusCaption,
5360      onChange: function onChange(value) {
5361        return setAttributes({
5362          caption: value
5363        });
5364      },
5365      isSelected: captionFocused,
5366      inlineToolbar: true,
5367      __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
5368        return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
5369      }
5370    }));
5371  }
5372  
5373  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/edit.js
5374  
5375  
5376  
5377  
5378  function image_edit_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; }
5379  
5380  function image_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { image_edit_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 { image_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5381  
5382  /**
5383   * External dependencies
5384   */
5385  
5386  
5387  /**
5388   * WordPress dependencies
5389   */
5390  
5391  
5392  
5393  
5394  
5395  
5396  
5397  
5398  /**
5399   * Internal dependencies
5400   */
5401  
5402  
5403  /**
5404   * Module constants
5405   */
5406  
5407  
5408  var edit_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
5409    var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
5410    imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url;
5411    return imageProps;
5412  };
5413  /**
5414   * Is the URL a temporary blob URL? A blob URL is one that is used temporarily
5415   * while the image is being uploaded and will not have an id yet allocated.
5416   *
5417   * @param {number=} id The id of the image.
5418   * @param {string=} url The url of the image.
5419   *
5420   * @return {boolean} Is the URL a Blob URL
5421   */
5422  
5423  var edit_isTemporaryImage = function isTemporaryImage(id, url) {
5424    return !id && Object(external_this_wp_blob_["isBlobURL"])(url);
5425  };
5426  /**
5427   * Is the url for the image hosted externally. An externally hosted image has no
5428   * id and is not a blob url.
5429   *
5430   * @param {number=} id  The id of the image.
5431   * @param {string=} url The url of the image.
5432   *
5433   * @return {boolean} Is the url an externally hosted url?
5434   */
5435  
5436  
5437  var edit_isExternalImage = function isExternalImage(id, url) {
5438    return url && !id && !Object(external_this_wp_blob_["isBlobURL"])(url);
5439  };
5440  function ImageEdit(_ref) {
5441    var attributes = _ref.attributes,
5442        setAttributes = _ref.setAttributes,
5443        isSelected = _ref.isSelected,
5444        className = _ref.className,
5445        noticeUI = _ref.noticeUI,
5446        insertBlocksAfter = _ref.insertBlocksAfter,
5447        noticeOperations = _ref.noticeOperations,
5448        onReplace = _ref.onReplace;
5449    var _attributes$url = attributes.url,
5450        url = _attributes$url === void 0 ? '' : _attributes$url,
5451        alt = attributes.alt,
5452        caption = attributes.caption,
5453        align = attributes.align,
5454        id = attributes.id,
5455        linkDestination = attributes.linkDestination,
5456        width = attributes.width,
5457        height = attributes.height,
5458        sizeSlug = attributes.sizeSlug;
5459    var ref = Object(external_this_wp_element_["useRef"])();
5460    var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) {
5461      var _select = select('core/block-editor'),
5462          getSettings = _select.getSettings;
5463  
5464      return getSettings().mediaUpload;
5465    });
5466  
5467    function onUploadError(message) {
5468      noticeOperations.removeAllNotices();
5469      noticeOperations.createErrorNotice(message);
5470    }
5471  
5472    function onSelectImage(media) {
5473      if (!media || !media.url) {
5474        setAttributes({
5475          url: undefined,
5476          alt: undefined,
5477          id: undefined,
5478          title: undefined,
5479          caption: undefined
5480        });
5481        return;
5482      }
5483  
5484      var mediaAttributes = edit_pickRelevantMediaFiles(media); // If the current image is temporary but an alt text was meanwhile
5485      // written by the user, make sure the text is not overwritten.
5486  
5487      if (edit_isTemporaryImage(id, url)) {
5488        if (alt) {
5489          mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['alt']);
5490        }
5491      } // If a caption text was meanwhile written by the user,
5492      // make sure the text is not overwritten by empty captions.
5493  
5494  
5495      if (caption && !Object(external_this_lodash_["get"])(mediaAttributes, ['caption'])) {
5496        mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['caption']);
5497      }
5498  
5499      var additionalAttributes; // Reset the dimension attributes if changing to a different image.
5500  
5501      if (!media.id || media.id !== id) {
5502        additionalAttributes = {
5503          width: undefined,
5504          height: undefined,
5505          sizeSlug: DEFAULT_SIZE_SLUG
5506        };
5507      } else {
5508        // Keep the same url when selecting the same file, so "Image Size"
5509        // option is not changed.
5510        additionalAttributes = {
5511          url: url
5512        };
5513      } // Check if the image is linked to it's media.
5514  
5515  
5516      if (linkDestination === LINK_DESTINATION_MEDIA) {
5517        // Update the media link.
5518        mediaAttributes.href = media.url;
5519      } // Check if the image is linked to the attachment page.
5520  
5521  
5522      if (linkDestination === LINK_DESTINATION_ATTACHMENT) {
5523        // Update the media link.
5524        mediaAttributes.href = media.link;
5525      }
5526  
5527      setAttributes(image_edit_objectSpread({}, mediaAttributes, {}, additionalAttributes));
5528    }
5529  
5530    function onSelectURL(newURL) {
5531      if (newURL !== url) {
5532        setAttributes({
5533          url: newURL,
5534          id: undefined,
5535          sizeSlug: DEFAULT_SIZE_SLUG
5536        });
5537      }
5538    }
5539  
5540    function updateAlignment(nextAlign) {
5541      var extraUpdatedAttributes = ['wide', 'full'].includes(nextAlign) ? {
5542        width: undefined,
5543        height: undefined
5544      } : {};
5545      setAttributes(image_edit_objectSpread({}, extraUpdatedAttributes, {
5546        align: nextAlign
5547      }));
5548    }
5549  
5550    var isTemp = edit_isTemporaryImage(id, url); // Upload a temporary image on mount.
5551  
5552    Object(external_this_wp_element_["useEffect"])(function () {
5553      if (!isTemp) {
5554        return;
5555      }
5556  
5557      var file = Object(external_this_wp_blob_["getBlobByURL"])(url);
5558  
5559      if (file) {
5560        mediaUpload({
5561          filesList: [file],
5562          onFileChange: function onFileChange(_ref2) {
5563            var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1),
5564                img = _ref3[0];
5565  
5566            onSelectImage(img);
5567          },
5568          allowedTypes: ALLOWED_MEDIA_TYPES,
5569          onError: function onError(message) {
5570            noticeOperations.createErrorNotice(message);
5571          }
5572        });
5573      }
5574    }, []); // If an image is temporary, revoke the Blob url when it is uploaded (and is
5575    // no longer temporary).
5576  
5577    Object(external_this_wp_element_["useEffect"])(function () {
5578      if (!isTemp) {
5579        return;
5580      }
5581  
5582      return function () {
5583        Object(external_this_wp_blob_["revokeBlobURL"])(url);
5584      };
5585    }, [isTemp]);
5586    var isExternal = edit_isExternalImage(id, url);
5587    var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
5588      value: align,
5589      onChange: updateAlignment
5590    }));
5591    var src = isExternal ? url : undefined;
5592    var mediaPreview = !!url && Object(external_this_wp_element_["createElement"])("img", {
5593      alt: Object(external_this_wp_i18n_["__"])('Edit image'),
5594      title: Object(external_this_wp_i18n_["__"])('Edit image'),
5595      className: 'edit-image-preview',
5596      src: url
5597    });
5598    var mediaPlaceholder = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
5599      icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
5600        icon: library_image
5601      }),
5602      onSelect: onSelectImage,
5603      onSelectURL: onSelectURL,
5604      notices: noticeUI,
5605      onError: onUploadError,
5606      accept: "image/*",
5607      allowedTypes: ALLOWED_MEDIA_TYPES,
5608      value: {
5609        id: id,
5610        src: src
5611      },
5612      mediaPreview: mediaPreview,
5613      disableMediaButtons: url
5614    });
5615    var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({
5616      'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url),
5617      'is-resized': !!width || !!height,
5618      'is-focused': isSelected
5619    }, "size-".concat(sizeSlug), sizeSlug)); // Focussing the image caption after inserting an image relies on the
5620    // component remounting. This needs to be fixed.
5621  
5622    var key = !!url;
5623    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].figure, {
5624      ref: ref,
5625      className: classes,
5626      key: key
5627    }, url && Object(external_this_wp_element_["createElement"])(Image, {
5628      attributes: attributes,
5629      setAttributes: setAttributes,
5630      isSelected: isSelected,
5631      insertBlocksAfter: insertBlocksAfter,
5632      onReplace: onReplace,
5633      onSelectImage: onSelectImage,
5634      onSelectURL: onSelectURL,
5635      onUploadError: onUploadError,
5636      containerRef: ref
5637    }), mediaPlaceholder));
5638  }
5639  /* harmony default export */ var image_edit = (Object(external_this_wp_components_["withNotices"])(ImageEdit));
5640  
5641  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/save.js
5642  
5643  
5644  
5645  /**
5646   * External dependencies
5647   */
5648  
5649  
5650  /**
5651   * WordPress dependencies
5652   */
5653  
5654  
5655  function image_save_save(_ref) {
5656    var _classnames;
5657  
5658    var attributes = _ref.attributes;
5659    var url = attributes.url,
5660        alt = attributes.alt,
5661        caption = attributes.caption,
5662        align = attributes.align,
5663        href = attributes.href,
5664        rel = attributes.rel,
5665        linkClass = attributes.linkClass,
5666        width = attributes.width,
5667        height = attributes.height,
5668        id = attributes.id,
5669        linkTarget = attributes.linkTarget,
5670        sizeSlug = attributes.sizeSlug,
5671        title = attributes.title;
5672    var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel;
5673    var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "size-".concat(sizeSlug), sizeSlug), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames));
5674    var image = Object(external_this_wp_element_["createElement"])("img", {
5675      src: url,
5676      alt: alt,
5677      className: id ? "wp-image-".concat(id) : null,
5678      width: width,
5679      height: height,
5680      title: title
5681    });
5682    var figure = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, href ? Object(external_this_wp_element_["createElement"])("a", {
5683      className: linkClass,
5684      href: href,
5685      target: linkTarget,
5686      rel: newRel
5687    }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
5688      tagName: "figcaption",
5689      value: caption
5690    }));
5691  
5692    if ('left' === align || 'right' === align || 'center' === align) {
5693      return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])("figure", {
5694        className: classes
5695      }, figure));
5696    }
5697  
5698    return Object(external_this_wp_element_["createElement"])("figure", {
5699      className: classes
5700    }, figure);
5701  }
5702  
5703  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/transforms.js
5704  
5705  
5706  function transforms_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; }
5707  
5708  function transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { transforms_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 { transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5709  
5710  /**
5711   * WordPress dependencies
5712   */
5713  
5714  
5715  function stripFirstImage(attributes, _ref) {
5716    var shortcode = _ref.shortcode;
5717  
5718    var _document$implementat = document.implementation.createHTMLDocument(''),
5719        body = _document$implementat.body;
5720  
5721    body.innerHTML = shortcode.content;
5722    var nodeToRemove = body.querySelector('img'); // if an image has parents, find the topmost node to remove
5723  
5724    while (nodeToRemove && nodeToRemove.parentNode && nodeToRemove.parentNode !== body) {
5725      nodeToRemove = nodeToRemove.parentNode;
5726    }
5727  
5728    if (nodeToRemove) {
5729      nodeToRemove.parentNode.removeChild(nodeToRemove);
5730    }
5731  
5732    return body.innerHTML.trim();
5733  }
5734  
5735  function getFirstAnchorAttributeFormHTML(html, attributeName) {
5736    var _document$implementat2 = document.implementation.createHTMLDocument(''),
5737        body = _document$implementat2.body;
5738  
5739    body.innerHTML = html;
5740    var firstElementChild = body.firstElementChild;
5741  
5742    if (firstElementChild && firstElementChild.nodeName === 'A') {
5743      return firstElementChild.getAttribute(attributeName) || undefined;
5744    }
5745  }
5746  
5747  var imageSchema = {
5748    img: {
5749      attributes: ['src', 'alt', 'title'],
5750      classes: ['alignleft', 'aligncenter', 'alignright', 'alignnone', /^wp-image-\d+$/]
5751    }
5752  };
5753  
5754  var schema = function schema(_ref2) {
5755    var phrasingContentSchema = _ref2.phrasingContentSchema;
5756    return {
5757      figure: {
5758        require: ['img'],
5759        children: transforms_objectSpread({}, imageSchema, {
5760          a: {
5761            attributes: ['href', 'rel', 'target'],
5762            children: imageSchema
5763          },
5764          figcaption: {
5765            children: phrasingContentSchema
5766          }
5767        })
5768      }
5769    };
5770  };
5771  
5772  var image_transforms_transforms = {
5773    from: [{
5774      type: 'raw',
5775      isMatch: function isMatch(node) {
5776        return node.nodeName === 'FIGURE' && !!node.querySelector('img');
5777      },
5778      schema: schema,
5779      transform: function transform(node) {
5780        // Search both figure and image classes. Alignment could be
5781        // set on either. ID is set on the image.
5782        var className = node.className + ' ' + node.querySelector('img').className;
5783        var alignMatches = /(?:^|\s)align(left|center|right)(?:$|\s)/.exec(className);
5784        var anchor = node.id === '' ? undefined : node.id;
5785        var align = alignMatches ? alignMatches[1] : undefined;
5786        var idMatches = /(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(className);
5787        var id = idMatches ? Number(idMatches[1]) : undefined;
5788        var anchorElement = node.querySelector('a');
5789        var linkDestination = anchorElement && anchorElement.href ? 'custom' : undefined;
5790        var href = anchorElement && anchorElement.href ? anchorElement.href : undefined;
5791        var rel = anchorElement && anchorElement.rel ? anchorElement.rel : undefined;
5792        var linkClass = anchorElement && anchorElement.className ? anchorElement.className : undefined;
5793        var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])('core/image', node.outerHTML, {
5794          align: align,
5795          id: id,
5796          linkDestination: linkDestination,
5797          href: href,
5798          rel: rel,
5799          linkClass: linkClass,
5800          anchor: anchor
5801        });
5802        return Object(external_this_wp_blocks_["createBlock"])('core/image', attributes);
5803      }
5804    }, {
5805      type: 'files',
5806      isMatch: function isMatch(files) {
5807        return files.length === 1 && files[0].type.indexOf('image/') === 0;
5808      },
5809      transform: function transform(files) {
5810        var file = files[0]; // We don't need to upload the media directly here
5811        // It's already done as part of the `componentDidMount`
5812        // int the image block
5813  
5814        return Object(external_this_wp_blocks_["createBlock"])('core/image', {
5815          url: Object(external_this_wp_blob_["createBlobURL"])(file)
5816        });
5817      }
5818    }, {
5819      type: 'shortcode',
5820      tag: 'caption',
5821      attributes: {
5822        url: {
5823          type: 'string',
5824          source: 'attribute',
5825          attribute: 'src',
5826          selector: 'img'
5827        },
5828        alt: {
5829          type: 'string',
5830          source: 'attribute',
5831          attribute: 'alt',
5832          selector: 'img'
5833        },
5834        caption: {
5835          shortcode: stripFirstImage
5836        },
5837        href: {
5838          shortcode: function shortcode(attributes, _ref3) {
5839            var _shortcode = _ref3.shortcode;
5840            return getFirstAnchorAttributeFormHTML(_shortcode.content, 'href');
5841          }
5842        },
5843        rel: {
5844          shortcode: function shortcode(attributes, _ref4) {
5845            var _shortcode2 = _ref4.shortcode;
5846            return getFirstAnchorAttributeFormHTML(_shortcode2.content, 'rel');
5847          }
5848        },
5849        linkClass: {
5850          shortcode: function shortcode(attributes, _ref5) {
5851            var _shortcode3 = _ref5.shortcode;
5852            return getFirstAnchorAttributeFormHTML(_shortcode3.content, 'class');
5853          }
5854        },
5855        id: {
5856          type: 'number',
5857          shortcode: function shortcode(_ref6) {
5858            var id = _ref6.named.id;
5859  
5860            if (!id) {
5861              return;
5862            }
5863  
5864            return parseInt(id.replace('attachment_', ''), 10);
5865          }
5866        },
5867        align: {
5868          type: 'string',
5869          shortcode: function shortcode(_ref7) {
5870            var _ref7$named$align = _ref7.named.align,
5871                align = _ref7$named$align === void 0 ? 'alignnone' : _ref7$named$align;
5872            return align.replace('align', '');
5873          }
5874        }
5875      }
5876    }]
5877  };
5878  /* harmony default export */ var image_transforms = (image_transforms_transforms);
5879  
5880  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/index.js
5881  /**
5882   * WordPress dependencies
5883   */
5884  
5885  
5886  /**
5887   * Internal dependencies
5888   */
5889  
5890  
5891  
5892  var image_metadata = {
5893    name: "core/image",
5894    category: "media",
5895    attributes: {
5896      align: {
5897        type: "string"
5898      },
5899      url: {
5900        type: "string",
5901        source: "attribute",
5902        selector: "img",
5903        attribute: "src"
5904      },
5905      alt: {
5906        type: "string",
5907        source: "attribute",
5908        selector: "img",
5909        attribute: "alt",
5910        "default": ""
5911      },
5912      caption: {
5913        type: "string",
5914        source: "html",
5915        selector: "figcaption"
5916      },
5917      title: {
5918        type: "string",
5919        source: "attribute",
5920        selector: "img",
5921        attribute: "title"
5922      },
5923      href: {
5924        type: "string",
5925        source: "attribute",
5926        selector: "figure > a",
5927        attribute: "href"
5928      },
5929      rel: {
5930        type: "string",
5931        source: "attribute",
5932        selector: "figure > a",
5933        attribute: "rel"
5934      },
5935      linkClass: {
5936        type: "string",
5937        source: "attribute",
5938        selector: "figure > a",
5939        attribute: "class"
5940      },
5941      id: {
5942        type: "number"
5943      },
5944      width: {
5945        type: "number"
5946      },
5947      height: {
5948        type: "number"
5949      },
5950      sizeSlug: {
5951        type: "string"
5952      },
5953      linkDestination: {
5954        type: "string",
5955        "default": "none"
5956      },
5957      linkTarget: {
5958        type: "string",
5959        source: "attribute",
5960        selector: "figure > a",
5961        attribute: "target"
5962      }
5963    },
5964    supports: {
5965      anchor: true,
5966      lightBlockWrapper: true
5967    }
5968  };
5969  
5970  
5971  var image_name = image_metadata.name;
5972  
5973  var image_settings = {
5974    title: Object(external_this_wp_i18n_["__"])('Image'),
5975    description: Object(external_this_wp_i18n_["__"])('Insert an image to make a visual statement.'),
5976    icon: library_image,
5977    keywords: ['img', // "img" is not translated as it is intended to reflect the HTML <img> tag.
5978    Object(external_this_wp_i18n_["__"])('photo')],
5979    example: {
5980      attributes: {
5981        sizeSlug: 'large',
5982        url: 'https://s.w.org/images/core/5.3/MtBlanc1.jpg',
5983        // translators: Caption accompanying an image of the Mont Blanc, which serves as an example for the Image block.
5984        caption: Object(external_this_wp_i18n_["__"])('Mont Blanc appears—still, snowy, and serene.')
5985      }
5986    },
5987    styles: [{
5988      name: 'default',
5989      label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
5990      isDefault: true
5991    }, {
5992      name: 'rounded',
5993      label: Object(external_this_wp_i18n_["_x"])('Rounded', 'block style')
5994    }],
5995    __experimentalLabel: function __experimentalLabel(attributes, _ref) {
5996      var context = _ref.context;
5997  
5998      if (context === 'accessibility') {
5999        var caption = attributes.caption,
6000            alt = attributes.alt,
6001            url = attributes.url;
6002  
6003        if (!url) {
6004          return Object(external_this_wp_i18n_["__"])('Empty');
6005        }
6006  
6007        if (!alt) {
6008          return caption || '';
6009        } // This is intended to be read by a screen reader.
6010        // A period simply means a pause, no need to translate it.
6011  
6012  
6013        return alt + (caption ? '. ' + caption : '');
6014      }
6015    },
6016    getEditWrapperProps: function getEditWrapperProps(attributes) {
6017      return {
6018        'data-align': attributes.align
6019      };
6020    },
6021    transforms: image_transforms,
6022    edit: image_edit,
6023    save: image_save_save,
6024    deprecated: image_deprecated
6025  };
6026  
6027  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/heading.js
6028  
6029  
6030  /**
6031   * WordPress dependencies
6032   */
6033  
6034  var heading = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
6035    xmlns: "http://www.w3.org/2000/svg",
6036    viewBox: "0 0 24 24"
6037  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
6038    d: "M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"
6039  }));
6040  /* harmony default export */ var library_heading = (heading);
6041  
6042  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/deprecated.js
6043  
6044  
6045  
6046  function deprecated_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; }
6047  
6048  function deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { deprecated_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 { deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6049  
6050  /**
6051   * External dependencies
6052   */
6053  
6054  
6055  /**
6056   * WordPress dependencies
6057   */
6058  
6059  
6060  var blockSupports = {
6061    className: false,
6062    anchor: true
6063  };
6064  var heading_deprecated_blockAttributes = {
6065    align: {
6066      type: 'string'
6067    },
6068    content: {
6069      type: 'string',
6070      source: 'html',
6071      selector: 'h1,h2,h3,h4,h5,h6',
6072      default: ''
6073    },
6074    level: {
6075      type: 'number',
6076      default: 2
6077    },
6078    placeholder: {
6079      type: 'string'
6080    }
6081  };
6082  
6083  var deprecated_migrateCustomColors = function migrateCustomColors(attributes) {
6084    if (!attributes.customTextColor) {
6085      return attributes;
6086    }
6087  
6088    var style = {
6089      color: {
6090        text: attributes.customTextColor
6091      }
6092    };
6093    return deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor']), {
6094      style: style
6095    });
6096  };
6097  
6098  var heading_deprecated_deprecated = [{
6099    supports: blockSupports,
6100    attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
6101      customTextColor: {
6102        type: 'string'
6103      },
6104      textColor: {
6105        type: 'string'
6106      }
6107    }),
6108    migrate: deprecated_migrateCustomColors,
6109    save: function save(_ref) {
6110      var _classnames;
6111  
6112      var attributes = _ref.attributes;
6113      var align = attributes.align,
6114          content = attributes.content,
6115          customTextColor = attributes.customTextColor,
6116          level = attributes.level,
6117          textColor = attributes.textColor;
6118      var tagName = 'h' + level;
6119      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
6120      var className = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor || customTextColor), Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), _classnames));
6121      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6122        className: className ? className : undefined,
6123        tagName: tagName,
6124        style: {
6125          color: textClass ? undefined : customTextColor
6126        },
6127        value: content
6128      });
6129    }
6130  }, {
6131    attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
6132      customTextColor: {
6133        type: 'string'
6134      },
6135      textColor: {
6136        type: 'string'
6137      }
6138    }),
6139    migrate: deprecated_migrateCustomColors,
6140    save: function save(_ref2) {
6141      var _classnames2;
6142  
6143      var attributes = _ref2.attributes;
6144      var align = attributes.align,
6145          content = attributes.content,
6146          customTextColor = attributes.customTextColor,
6147          level = attributes.level,
6148          textColor = attributes.textColor;
6149      var tagName = 'h' + level;
6150      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
6151      var className = classnames_default()((_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames2, "has-text-align-".concat(align), align), _classnames2));
6152      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6153        className: className ? className : undefined,
6154        tagName: tagName,
6155        style: {
6156          color: textClass ? undefined : customTextColor
6157        },
6158        value: content
6159      });
6160    },
6161    supports: blockSupports
6162  }, {
6163    supports: blockSupports,
6164    attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
6165      customTextColor: {
6166        type: 'string'
6167      },
6168      textColor: {
6169        type: 'string'
6170      }
6171    }),
6172    migrate: deprecated_migrateCustomColors,
6173    save: function save(_ref3) {
6174      var attributes = _ref3.attributes;
6175      var align = attributes.align,
6176          level = attributes.level,
6177          content = attributes.content,
6178          textColor = attributes.textColor,
6179          customTextColor = attributes.customTextColor;
6180      var tagName = 'h' + level;
6181      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
6182      var className = classnames_default()(Object(defineProperty["a" /* default */])({}, textClass, textClass));
6183      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6184        className: className ? className : undefined,
6185        tagName: tagName,
6186        style: {
6187          textAlign: align,
6188          color: textClass ? undefined : customTextColor
6189        },
6190        value: content
6191      });
6192    }
6193  }];
6194  /* harmony default export */ var heading_deprecated = (heading_deprecated_deprecated);
6195  
6196  // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
6197  var external_this_wp_keycodes_ = __webpack_require__(21);
6198  
6199  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js
6200  
6201  
6202  /**
6203   * WordPress dependencies
6204   */
6205  
6206  /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
6207  
6208  /**
6209   * HeadingLevelIcon props.
6210   *
6211   * @typedef WPHeadingLevelIconProps
6212   *
6213   * @property {number}   level     The heading level to show an icon for.
6214   * @property {?boolean} isPressed Whether or not the icon should appear pressed; default: false.
6215   */
6216  
6217  /**
6218   * Heading level icon.
6219   *
6220   * @param {WPHeadingLevelIconProps} props Component props.
6221   *
6222   * @return {?WPComponent} The icon.
6223   */
6224  
6225  function HeadingLevelIcon(_ref) {
6226    var level = _ref.level,
6227        _ref$isPressed = _ref.isPressed,
6228        isPressed = _ref$isPressed === void 0 ? false : _ref$isPressed;
6229    var levelToPath = {
6230      1: 'M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z',
6231      2: 'M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z',
6232      3: 'M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z',
6233      4: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z',
6234      5: 'M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z',
6235      6: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z'
6236    };
6237  
6238    if (!levelToPath.hasOwnProperty(level)) {
6239      return null;
6240    }
6241  
6242    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
6243      width: "24",
6244      height: "24",
6245      viewBox: "0 0 20 20",
6246      xmlns: "http://www.w3.org/2000/svg",
6247      isPressed: isPressed
6248    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
6249      d: levelToPath[level]
6250    }));
6251  }
6252  
6253  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-dropdown.js
6254  
6255  
6256  /**
6257   * WordPress dependencies
6258   */
6259  
6260  
6261  
6262  /**
6263   * Internal dependencies
6264   */
6265  
6266  
6267  var HEADING_LEVELS = [1, 2, 3, 4, 5, 6];
6268  var heading_level_dropdown_POPOVER_PROPS = {
6269    className: 'block-library-heading-level-dropdown',
6270    isAlternate: true
6271  };
6272  /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
6273  
6274  /**
6275   * HeadingLevelDropdown props.
6276   *
6277   * @typedef WPHeadingLevelDropdownProps
6278   *
6279   * @property {number}                 selectedLevel The chosen heading level.
6280   * @property {(newValue:number)=>any} onChange      Callback to run when
6281   *                                                  toolbar value is changed.
6282   */
6283  
6284  /**
6285   * Dropdown for selecting a heading level (1 through 6).
6286   *
6287   * @param {WPHeadingLevelDropdownProps} props Component props.
6288   *
6289   * @return {WPComponent} The toolbar.
6290   */
6291  
6292  function HeadingLevelDropdown(_ref) {
6293    var selectedLevel = _ref.selectedLevel,
6294        onChange = _ref.onChange;
6295    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
6296      popoverProps: heading_level_dropdown_POPOVER_PROPS,
6297      renderToggle: function renderToggle(_ref2) {
6298        var onToggle = _ref2.onToggle,
6299            isOpen = _ref2.isOpen;
6300  
6301        var openOnArrowDown = function openOnArrowDown(event) {
6302          if (!isOpen && event.keyCode === external_this_wp_keycodes_["DOWN"]) {
6303            event.preventDefault();
6304            event.stopPropagation();
6305            onToggle();
6306          }
6307        };
6308  
6309        return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
6310          "aria-expanded": isOpen,
6311          "aria-haspopup": "true",
6312          icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, {
6313            level: selectedLevel
6314          }),
6315          label: Object(external_this_wp_i18n_["__"])('Change heading level'),
6316          onClick: onToggle,
6317          onKeyDown: openOnArrowDown,
6318          showTooltip: true
6319        });
6320      },
6321      renderContent: function renderContent() {
6322        return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
6323          className: "block-library-heading-level-toolbar",
6324          __experimentalAccessibilityLabel: Object(external_this_wp_i18n_["__"])('Change heading level')
6325        }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
6326          isCollapsed: false,
6327          controls: HEADING_LEVELS.map(function (targetLevel) {
6328            var isActive = targetLevel === selectedLevel;
6329            return {
6330              icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, {
6331                level: targetLevel,
6332                isPressed: isActive
6333              }),
6334              title: Object(external_this_wp_i18n_["sprintf"])( // translators: %s: heading level e.g: "1", "2", "3"
6335              Object(external_this_wp_i18n_["__"])('Heading %d'), targetLevel),
6336              isActive: isActive,
6337              onClick: function onClick() {
6338                onChange(targetLevel);
6339              }
6340            };
6341          })
6342        }));
6343      }
6344    });
6345  }
6346  
6347  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/edit.js
6348  
6349  
6350  
6351  function heading_edit_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; }
6352  
6353  function heading_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { heading_edit_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 { heading_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6354  
6355  /**
6356   * External dependencies
6357   */
6358  
6359  /**
6360   * WordPress dependencies
6361   */
6362  
6363  
6364  
6365  
6366  
6367  /**
6368   * Internal dependencies
6369   */
6370  
6371  
6372  
6373  function HeadingEdit(_ref) {
6374    var attributes = _ref.attributes,
6375        setAttributes = _ref.setAttributes,
6376        mergeBlocks = _ref.mergeBlocks,
6377        onReplace = _ref.onReplace,
6378        mergedStyle = _ref.mergedStyle;
6379    var align = attributes.align,
6380        content = attributes.content,
6381        level = attributes.level,
6382        placeholder = attributes.placeholder;
6383    var tagName = 'h' + level;
6384    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(HeadingLevelDropdown, {
6385      selectedLevel: level,
6386      onChange: function onChange(newLevel) {
6387        return setAttributes({
6388          level: newLevel
6389        });
6390      }
6391    })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
6392      value: align,
6393      onChange: function onChange(nextAlign) {
6394        setAttributes({
6395          align: nextAlign
6396        });
6397      }
6398    })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
6399      identifier: "content",
6400      tagName: external_this_wp_blockEditor_["__experimentalBlock"][tagName],
6401      value: content,
6402      onChange: function onChange(value) {
6403        return setAttributes({
6404          content: value
6405        });
6406      },
6407      onMerge: mergeBlocks,
6408      onSplit: function onSplit(value) {
6409        if (!value) {
6410          return Object(external_this_wp_blocks_["createBlock"])('core/paragraph');
6411        }
6412  
6413        return Object(external_this_wp_blocks_["createBlock"])('core/heading', heading_edit_objectSpread({}, attributes, {
6414          content: value
6415        }));
6416      },
6417      onReplace: onReplace,
6418      onRemove: function onRemove() {
6419        return onReplace([]);
6420      },
6421      className: classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align)),
6422      placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write heading…'),
6423      textAlign: align,
6424      style: mergedStyle
6425    }));
6426  }
6427  
6428  /* harmony default export */ var heading_edit = (HeadingEdit);
6429  
6430  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/save.js
6431  
6432  
6433  
6434  /**
6435   * External dependencies
6436   */
6437  
6438  /**
6439   * WordPress dependencies
6440   */
6441  
6442  
6443  function heading_save_save(_ref) {
6444    var attributes = _ref.attributes;
6445    var align = attributes.align,
6446        content = attributes.content,
6447        level = attributes.level;
6448    var tagName = 'h' + level;
6449    var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align));
6450    return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6451      className: className ? className : undefined,
6452      tagName: tagName,
6453      value: content
6454    });
6455  }
6456  
6457  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/shared.js
6458  /**
6459   * Given a node name string for a heading node, returns its numeric level.
6460   *
6461   * @param {string} nodeName Heading node name.
6462   *
6463   * @return {number} Heading level.
6464   */
6465  function getLevelFromHeadingNodeName(nodeName) {
6466    return Number(nodeName.substr(1));
6467  }
6468  
6469  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/transforms.js
6470  
6471  
6472  /**
6473   * WordPress dependencies
6474   */
6475  
6476  /**
6477   * Internal dependencies
6478   */
6479  
6480  
6481  var transforms_name$category$attrib = {
6482    name: "core/heading",
6483    category: "text",
6484    attributes: {
6485      align: {
6486        type: "string"
6487      },
6488      content: {
6489        type: "string",
6490        source: "html",
6491        selector: "h1,h2,h3,h4,h5,h6",
6492        "default": ""
6493      },
6494      level: {
6495        type: "number",
6496        "default": 2
6497      },
6498      placeholder: {
6499        type: "string"
6500      }
6501    },
6502    supports: {
6503      anchor: true,
6504      className: false,
6505      lightBlockWrapper: true,
6506      __experimentalColor: {
6507        linkColor: true
6508      },
6509      __experimentalFontSize: true,
6510      __experimentalLineHeight: true,
6511      __experimentalSelector: {
6512        "core/heading/h1": "h1",
6513        "core/heading/h2": "h2",
6514        "core/heading/h3": "h3",
6515        "core/heading/h4": "h4",
6516        "core/heading/h5": "h5",
6517        "core/heading/h6": "h6"
6518      },
6519      __unstablePasteTextInline: true
6520    }
6521  },
6522      heading_transforms_name = transforms_name$category$attrib.name;
6523  var heading_transforms_transforms = {
6524    from: [{
6525      type: 'block',
6526      blocks: ['core/paragraph'],
6527      transform: function transform(_ref) {
6528        var content = _ref.content,
6529            anchor = _ref.anchor;
6530        return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, {
6531          content: content,
6532          anchor: anchor
6533        });
6534      }
6535    }, {
6536      type: 'raw',
6537      selector: 'h1,h2,h3,h4,h5,h6',
6538      schema: function schema(_ref2) {
6539        var phrasingContentSchema = _ref2.phrasingContentSchema,
6540            isPaste = _ref2.isPaste;
6541        var schema = {
6542          children: phrasingContentSchema,
6543          attributes: isPaste ? [] : ['style', 'id']
6544        };
6545        return {
6546          h1: schema,
6547          h2: schema,
6548          h3: schema,
6549          h4: schema,
6550          h5: schema,
6551          h6: schema
6552        };
6553      },
6554      transform: function transform(node) {
6555        var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(heading_transforms_name, node.outerHTML);
6556  
6557        var _ref3 = node.style || {},
6558            textAlign = _ref3.textAlign;
6559  
6560        attributes.level = getLevelFromHeadingNodeName(node.nodeName);
6561  
6562        if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') {
6563          attributes.align = textAlign;
6564        }
6565  
6566        return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, attributes);
6567      }
6568    }].concat(Object(toConsumableArray["a" /* default */])([2, 3, 4, 5, 6].map(function (level) {
6569      return {
6570        type: 'prefix',
6571        prefix: Array(level + 1).join('#'),
6572        transform: function transform(content) {
6573          return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, {
6574            level: level,
6575            content: content
6576          });
6577        }
6578      };
6579    }))),
6580    to: [{
6581      type: 'block',
6582      blocks: ['core/paragraph'],
6583      transform: function transform(_ref4) {
6584        var content = _ref4.content,
6585            anchor = _ref4.anchor;
6586        return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
6587          content: content,
6588          anchor: anchor
6589        });
6590      }
6591    }]
6592  };
6593  /* harmony default export */ var heading_transforms = (heading_transforms_transforms);
6594  
6595  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js
6596  /**
6597   * External dependencies
6598   */
6599  
6600  /**
6601   * WordPress dependencies
6602   */
6603  
6604  
6605  
6606  /**
6607   * Internal dependencies
6608   */
6609  
6610  
6611  
6612  var heading_metadata = {
6613    name: "core/heading",
6614    category: "text",
6615    attributes: {
6616      align: {
6617        type: "string"
6618      },
6619      content: {
6620        type: "string",
6621        source: "html",
6622        selector: "h1,h2,h3,h4,h5,h6",
6623        "default": ""
6624      },
6625      level: {
6626        type: "number",
6627        "default": 2
6628      },
6629      placeholder: {
6630        type: "string"
6631      }
6632    },
6633    supports: {
6634      anchor: true,
6635      className: false,
6636      lightBlockWrapper: true,
6637      __experimentalColor: {
6638        linkColor: true
6639      },
6640      __experimentalFontSize: true,
6641      __experimentalLineHeight: true,
6642      __experimentalSelector: {
6643        "core/heading/h1": "h1",
6644        "core/heading/h2": "h2",
6645        "core/heading/h3": "h3",
6646        "core/heading/h4": "h4",
6647        "core/heading/h5": "h5",
6648        "core/heading/h6": "h6"
6649      },
6650      __unstablePasteTextInline: true
6651    }
6652  };
6653  
6654  
6655  var heading_name = heading_metadata.name;
6656  
6657  var heading_settings = {
6658    title: Object(external_this_wp_i18n_["__"])('Heading'),
6659    description: Object(external_this_wp_i18n_["__"])('Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.'),
6660    icon: library_heading,
6661    keywords: [Object(external_this_wp_i18n_["__"])('title'), Object(external_this_wp_i18n_["__"])('subtitle')],
6662    example: {
6663      attributes: {
6664        content: Object(external_this_wp_i18n_["__"])('Code is Poetry'),
6665        level: 2
6666      }
6667    },
6668    __experimentalLabel: function __experimentalLabel(attributes, _ref) {
6669      var context = _ref.context;
6670  
6671      if (context === 'accessibility') {
6672        var content = attributes.content,
6673            level = attributes.level;
6674        return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["sprintf"])(
6675        /* translators: accessibility text. %s: heading level. */
6676        Object(external_this_wp_i18n_["__"])('Level %s. Empty.'), level) : Object(external_this_wp_i18n_["sprintf"])(
6677        /* translators: accessibility text. 1: heading level. 2: heading content. */
6678        Object(external_this_wp_i18n_["__"])('Level %1$s. %2$s'), level, content);
6679      }
6680    },
6681    transforms: heading_transforms,
6682    deprecated: heading_deprecated,
6683    merge: function merge(attributes, attributesToMerge) {
6684      return {
6685        content: (attributes.content || '') + (attributesToMerge.content || '')
6686      };
6687    },
6688    edit: heading_edit,
6689    save: heading_save_save
6690  };
6691  
6692  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/quote.js
6693  
6694  
6695  /**
6696   * WordPress dependencies
6697   */
6698  
6699  var quote = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
6700    viewBox: "0 0 24 24",
6701    xmlns: "http://www.w3.org/2000/svg"
6702  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
6703    d: "M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"
6704  }));
6705  /* harmony default export */ var library_quote = (quote);
6706  
6707  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/deprecated.js
6708  
6709  
6710  
6711  function quote_deprecated_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; }
6712  
6713  function quote_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_deprecated_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 { quote_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6714  
6715  /**
6716   * External dependencies
6717   */
6718  
6719  /**
6720   * WordPress dependencies
6721   */
6722  
6723  
6724  var quote_deprecated_blockAttributes = {
6725    value: {
6726      type: 'string',
6727      source: 'html',
6728      selector: 'blockquote',
6729      multiline: 'p',
6730      default: ''
6731    },
6732    citation: {
6733      type: 'string',
6734      source: 'html',
6735      selector: 'cite',
6736      default: ''
6737    },
6738    align: {
6739      type: 'string'
6740    }
6741  };
6742  var quote_deprecated_deprecated = [{
6743    attributes: quote_deprecated_blockAttributes,
6744    save: function save(_ref) {
6745      var attributes = _ref.attributes;
6746      var align = attributes.align,
6747          value = attributes.value,
6748          citation = attributes.citation;
6749      return Object(external_this_wp_element_["createElement"])("blockquote", {
6750        style: {
6751          textAlign: align ? align : null
6752        }
6753      }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6754        multiline: true,
6755        value: value
6756      }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6757        tagName: "cite",
6758        value: citation
6759      }));
6760    }
6761  }, {
6762    attributes: quote_deprecated_objectSpread({}, quote_deprecated_blockAttributes, {
6763      style: {
6764        type: 'number',
6765        default: 1
6766      }
6767    }),
6768    migrate: function migrate(attributes) {
6769      if (attributes.style === 2) {
6770        return quote_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['style']), {
6771          className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large'
6772        });
6773      }
6774  
6775      return attributes;
6776    },
6777    save: function save(_ref2) {
6778      var attributes = _ref2.attributes;
6779      var align = attributes.align,
6780          value = attributes.value,
6781          citation = attributes.citation,
6782          style = attributes.style;
6783      return Object(external_this_wp_element_["createElement"])("blockquote", {
6784        className: style === 2 ? 'is-large' : '',
6785        style: {
6786          textAlign: align ? align : null
6787        }
6788      }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6789        multiline: true,
6790        value: value
6791      }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6792        tagName: "cite",
6793        value: citation
6794      }));
6795    }
6796  }, {
6797    attributes: quote_deprecated_objectSpread({}, quote_deprecated_blockAttributes, {
6798      citation: {
6799        type: 'string',
6800        source: 'html',
6801        selector: 'footer',
6802        default: ''
6803      },
6804      style: {
6805        type: 'number',
6806        default: 1
6807      }
6808    }),
6809    save: function save(_ref3) {
6810      var attributes = _ref3.attributes;
6811      var align = attributes.align,
6812          value = attributes.value,
6813          citation = attributes.citation,
6814          style = attributes.style;
6815      return Object(external_this_wp_element_["createElement"])("blockquote", {
6816        className: "blocks-quote-style-".concat(style),
6817        style: {
6818          textAlign: align ? align : null
6819        }
6820      }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6821        multiline: true,
6822        value: value
6823      }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6824        tagName: "footer",
6825        value: citation
6826      }));
6827    }
6828  }];
6829  /* harmony default export */ var quote_deprecated = (quote_deprecated_deprecated);
6830  
6831  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/edit.js
6832  
6833  
6834  
6835  function quote_edit_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; }
6836  
6837  function quote_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_edit_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 { quote_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6838  
6839  /**
6840   * External dependencies
6841   */
6842  
6843  /**
6844   * WordPress dependencies
6845   */
6846  
6847  
6848  
6849  
6850  
6851  function QuoteEdit(_ref) {
6852    var attributes = _ref.attributes,
6853        setAttributes = _ref.setAttributes,
6854        isSelected = _ref.isSelected,
6855        mergeBlocks = _ref.mergeBlocks,
6856        onReplace = _ref.onReplace,
6857        className = _ref.className,
6858        insertBlocksAfter = _ref.insertBlocksAfter;
6859    var align = attributes.align,
6860        value = attributes.value,
6861        citation = attributes.citation;
6862    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
6863      value: align,
6864      onChange: function onChange(nextAlign) {
6865        setAttributes({
6866          align: nextAlign
6867        });
6868      }
6869    })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BlockQuotation"], {
6870      className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align))
6871    }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
6872      identifier: "value",
6873      multiline: true,
6874      value: value,
6875      onChange: function onChange(nextValue) {
6876        return setAttributes({
6877          value: nextValue
6878        });
6879      },
6880      onMerge: mergeBlocks,
6881      onRemove: function onRemove(forward) {
6882        var hasEmptyCitation = !citation || citation.length === 0;
6883  
6884        if (!forward && hasEmptyCitation) {
6885          onReplace([]);
6886        }
6887      },
6888      placeholder: // translators: placeholder text used for the quote
6889      Object(external_this_wp_i18n_["__"])('Write quote…'),
6890      onReplace: onReplace,
6891      onSplit: function onSplit(piece) {
6892        return Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_edit_objectSpread({}, attributes, {
6893          value: piece
6894        }));
6895      },
6896      __unstableOnSplitMiddle: function __unstableOnSplitMiddle() {
6897        return Object(external_this_wp_blocks_["createBlock"])('core/paragraph');
6898      },
6899      textAlign: align
6900    }), (!external_this_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
6901      identifier: "citation",
6902      value: citation,
6903      onChange: function onChange(nextCitation) {
6904        return setAttributes({
6905          citation: nextCitation
6906        });
6907      },
6908      __unstableMobileNoFocusOnMount: true,
6909      placeholder: // translators: placeholder text used for the citation
6910      Object(external_this_wp_i18n_["__"])('Write citation…'),
6911      className: "wp-block-quote__citation",
6912      textAlign: align,
6913      __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
6914        return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
6915      }
6916    })));
6917  }
6918  
6919  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/save.js
6920  
6921  
6922  
6923  /**
6924   * External dependencies
6925   */
6926  
6927  /**
6928   * WordPress dependencies
6929   */
6930  
6931  
6932  function quote_save_save(_ref) {
6933    var attributes = _ref.attributes;
6934    var align = attributes.align,
6935        value = attributes.value,
6936        citation = attributes.citation;
6937    var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align));
6938    return Object(external_this_wp_element_["createElement"])("blockquote", {
6939      className: className
6940    }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6941      multiline: true,
6942      value: value
6943    }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
6944      tagName: "cite",
6945      value: citation
6946    }));
6947  }
6948  
6949  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
6950  var objectWithoutProperties = __webpack_require__(14);
6951  
6952  // EXTERNAL MODULE: external {"this":["wp","richText"]}
6953  var external_this_wp_richText_ = __webpack_require__(24);
6954  
6955  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/transforms.js
6956  
6957  
6958  
6959  
6960  function quote_transforms_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; }
6961  
6962  function quote_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_transforms_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 { quote_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6963  
6964  /**
6965   * WordPress dependencies
6966   */
6967  
6968  
6969  var quote_transforms_transforms = {
6970    from: [{
6971      type: 'block',
6972      isMultiBlock: true,
6973      blocks: ['core/paragraph'],
6974      transform: function transform(attributes) {
6975        return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
6976          value: Object(external_this_wp_richText_["toHTMLString"])({
6977            value: Object(external_this_wp_richText_["join"])(attributes.map(function (_ref) {
6978              var content = _ref.content;
6979              return Object(external_this_wp_richText_["create"])({
6980                html: content
6981              });
6982            }), "\u2028"),
6983            multilineTag: 'p'
6984          }),
6985          anchor: attributes.anchor
6986        });
6987      }
6988    }, {
6989      type: 'block',
6990      blocks: ['core/heading'],
6991      transform: function transform(_ref2) {
6992        var content = _ref2.content,
6993            anchor = _ref2.anchor;
6994        return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
6995          value: "<p>".concat(content, "</p>"),
6996          anchor: anchor
6997        });
6998      }
6999    }, {
7000      type: 'block',
7001      blocks: ['core/pullquote'],
7002      transform: function transform(_ref3) {
7003        var value = _ref3.value,
7004            citation = _ref3.citation,
7005            anchor = _ref3.anchor;
7006        return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
7007          value: value,
7008          citation: citation,
7009          anchor: anchor
7010        });
7011      }
7012    }, {
7013      type: 'prefix',
7014      prefix: '>',
7015      transform: function transform(content) {
7016        return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
7017          value: "<p>".concat(content, "</p>")
7018        });
7019      }
7020    }, {
7021      type: 'raw',
7022      isMatch: function isMatch(node) {
7023        var isParagraphOrSingleCite = function () {
7024          var hasCitation = false;
7025          return function (child) {
7026            // Child is a paragraph.
7027            if (child.nodeName === 'P') {
7028              return true;
7029            } // Child is a cite and no other cite child exists before it.
7030  
7031  
7032            if (!hasCitation && child.nodeName === 'CITE') {
7033              hasCitation = true;
7034              return true;
7035            }
7036          };
7037        }();
7038  
7039        return node.nodeName === 'BLOCKQUOTE' && // The quote block can only handle multiline paragraph
7040        // content with an optional cite child.
7041        Array.from(node.childNodes).every(isParagraphOrSingleCite);
7042      },
7043      schema: function schema(_ref4) {
7044        var phrasingContentSchema = _ref4.phrasingContentSchema;
7045        return {
7046          blockquote: {
7047            children: {
7048              p: {
7049                children: phrasingContentSchema
7050              },
7051              cite: {
7052                children: phrasingContentSchema
7053              }
7054            }
7055          }
7056        };
7057      }
7058    }],
7059    to: [{
7060      type: 'block',
7061      blocks: ['core/paragraph'],
7062      transform: function transform(_ref5) {
7063        var value = _ref5.value,
7064            citation = _ref5.citation;
7065        var paragraphs = [];
7066  
7067        if (value && value !== '<p></p>') {
7068          paragraphs.push.apply(paragraphs, Object(toConsumableArray["a" /* default */])(Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
7069            html: value,
7070            multilineTag: 'p'
7071          }), "\u2028").map(function (piece) {
7072            return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
7073              content: Object(external_this_wp_richText_["toHTMLString"])({
7074                value: piece
7075              })
7076            });
7077          })));
7078        }
7079  
7080        if (citation && citation !== '<p></p>') {
7081          paragraphs.push(Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
7082            content: citation
7083          }));
7084        }
7085  
7086        if (paragraphs.length === 0) {
7087          return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
7088            content: ''
7089          });
7090        }
7091  
7092        return paragraphs;
7093      }
7094    }, {
7095      type: 'block',
7096      blocks: ['core/heading'],
7097      transform: function transform(_ref6) {
7098        var value = _ref6.value,
7099            citation = _ref6.citation,
7100            attrs = Object(objectWithoutProperties["a" /* default */])(_ref6, ["value", "citation"]);
7101  
7102        // If there is no quote content, use the citation as the
7103        // content of the resulting heading. A nonexistent citation
7104        // will result in an empty heading.
7105        if (value === '<p></p>') {
7106          return Object(external_this_wp_blocks_["createBlock"])('core/heading', {
7107            content: citation
7108          });
7109        }
7110  
7111        var pieces = Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
7112          html: value,
7113          multilineTag: 'p'
7114        }), "\u2028");
7115        var headingBlock = Object(external_this_wp_blocks_["createBlock"])('core/heading', {
7116          content: Object(external_this_wp_richText_["toHTMLString"])({
7117            value: pieces[0]
7118          })
7119        });
7120  
7121        if (!citation && pieces.length === 1) {
7122          return headingBlock;
7123        }
7124  
7125        var quotePieces = pieces.slice(1);
7126        var quoteBlock = Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_transforms_objectSpread({}, attrs, {
7127          citation: citation,
7128          value: Object(external_this_wp_richText_["toHTMLString"])({
7129            value: quotePieces.length ? Object(external_this_wp_richText_["join"])(pieces.slice(1), "\u2028") : Object(external_this_wp_richText_["create"])(),
7130            multilineTag: 'p'
7131          })
7132        }));
7133        return [headingBlock, quoteBlock];
7134      }
7135    }, {
7136      type: 'block',
7137      blocks: ['core/pullquote'],
7138      transform: function transform(_ref7) {
7139        var value = _ref7.value,
7140            citation = _ref7.citation,
7141            anchor = _ref7.anchor;
7142        return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', {
7143          value: value,
7144          citation: citation,
7145          anchor: anchor
7146        });
7147      }
7148    }]
7149  };
7150  /* harmony default export */ var quote_transforms = (quote_transforms_transforms);
7151  
7152  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/index.js
7153  
7154  
7155  function quote_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; }
7156  
7157  function quote_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_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 { quote_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
7158  
7159  /**
7160   * WordPress dependencies
7161   */
7162  
7163  
7164  /**
7165   * Internal dependencies
7166   */
7167  
7168  
7169  
7170  var quote_metadata = {
7171    name: "core/quote",
7172    category: "text",
7173    attributes: {
7174      value: {
7175        type: "string",
7176        source: "html",
7177        selector: "blockquote",
7178        multiline: "p",
7179        "default": ""
7180      },
7181      citation: {
7182        type: "string",
7183        source: "html",
7184        selector: "cite",
7185        "default": ""
7186      },
7187      align: {
7188        type: "string"
7189      }
7190    },
7191    supports: {
7192      anchor: true
7193    }
7194  };
7195  
7196  
7197  var quote_name = quote_metadata.name;
7198  
7199  var quote_settings = {
7200    title: Object(external_this_wp_i18n_["__"])('Quote'),
7201    description: Object(external_this_wp_i18n_["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),
7202    icon: library_quote,
7203    keywords: [Object(external_this_wp_i18n_["__"])('blockquote'), Object(external_this_wp_i18n_["__"])('cite')],
7204    example: {
7205      attributes: {
7206        value: '<p>' + Object(external_this_wp_i18n_["__"])('In quoting others, we cite ourselves.') + '</p>',
7207        citation: 'Julio Cortázar',
7208        className: 'is-style-large'
7209      }
7210    },
7211    styles: [{
7212      name: 'default',
7213      label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
7214      isDefault: true
7215    }, {
7216      name: 'large',
7217      label: Object(external_this_wp_i18n_["_x"])('Large', 'block style')
7218    }],
7219    transforms: quote_transforms,
7220    edit: QuoteEdit,
7221    save: quote_save_save,
7222    merge: function merge(attributes, _ref) {
7223      var value = _ref.value,
7224          citation = _ref.citation;
7225  
7226      // Quote citations cannot be merged. Pick the second one unless it's
7227      // empty.
7228      if (!citation) {
7229        citation = attributes.citation;
7230      }
7231  
7232      if (!value || value === '<p></p>') {
7233        return quote_objectSpread({}, attributes, {
7234          citation: citation
7235        });
7236      }
7237  
7238      return quote_objectSpread({}, attributes, {
7239        value: attributes.value + value,
7240        citation: citation
7241      });
7242    },
7243    deprecated: quote_deprecated
7244  };
7245  
7246  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/gallery.js
7247  
7248  
7249  /**
7250   * WordPress dependencies
7251   */
7252  
7253  var gallery = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
7254    viewBox: "0 0 24 24",
7255    xmlns: "http://www.w3.org/2000/svg"
7256  }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
7257    d: "M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"
7258  }));
7259  /* harmony default export */ var library_gallery = (gallery);
7260  
7261  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js
7262  /**
7263   * External dependencies
7264   */
7265  
7266  function defaultColumnsNumber(attributes) {
7267    return Math.min(3, attributes.images.length);
7268  }
7269  var shared_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
7270    var sizeSlug = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large';
7271    var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
7272    imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', sizeSlug, 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url;
7273    var fullUrl = Object(external_this_lodash_["get"])(image, ['sizes', 'full', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'full', 'source_url']);
7274  
7275    if (fullUrl) {
7276      imageProps.fullUrl = fullUrl;
7277    }
7278  
7279    return imageProps;
7280  };
7281  
7282  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/deprecated.js
7283  
7284  
7285  
7286  function gallery_deprecated_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; }
7287  
7288  function gallery_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { gallery_deprecated_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 { gallery_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
7289  
7290  /**
7291   * External dependencies
7292   */
7293  
7294  
7295  /**
7296   * WordPress dependencies
7297   */
7298  
7299  
7300  /**
7301   * Internal dependencies
7302   */
7303  
7304  
7305  var gallery_deprecated_deprecated = [{
7306    attributes: {
7307      images: {
7308        type: 'array',
7309        default: [],
7310        source: 'query',
7311        selector: '.blocks-gallery-item',
7312        query: {
7313          url: {
7314            source: 'attribute',
7315            selector: 'img',
7316            attribute: 'src'
7317          },
7318          fullUrl: {
7319            source: 'attribute',
7320            selector: 'img',
7321            attribute: 'data-full-url'
7322          },
7323          link: {
7324            source: 'attribute',
7325            selector: 'img',
7326            attribute: 'data-link'
7327          },
7328          alt: {
7329            source: 'attribute',
7330            selector: 'img',
7331            attribute: 'alt',
7332            default: ''
7333          },
7334          id: {
7335            source: 'attribute',
7336            selector: 'img',
7337            attribute: 'data-id'
7338          },
7339          caption: {
7340            type: 'string',
7341            source: 'html',
7342            selector: '.blocks-gallery-item__caption'
7343          }
7344        }
7345      },
7346      ids: {
7347        type: 'array',
7348        default: []
7349      },
7350      columns: {
7351        type: 'number'
7352      },
7353      caption: {
7354        type: 'string',
7355        source: 'html',
7356        selector: '.blocks-gallery-caption'
7357      },
7358      imageCrop: {
7359        type: 'boolean',
7360        default: true
7361      },
7362      linkTo: {
7363        type: 'string',
7364        default: 'none'
7365      }
7366    },
7367    supports: {
7368      align: true
7369    },
7370    isEligible: function isEligible(_ref) {
7371      var ids = _ref.ids;
7372      return ids && ids.some(function (id) {
7373        return typeof id === 'string';
7374      });
7375    },
7376    migrate: function migrate(attributes) {
7377      return gallery_deprecated_objectSpread({}, attributes, {
7378        ids: Object(external_this_lodash_["map"])(attributes.ids, function (id) {
7379          var parsedId = parseInt(id, 10);
7380          return Number.isInteger(parsedId) ? parsedId : null;
7381        })
7382      });
7383    },
7384    save: function save(_ref2) {
7385      var attributes = _ref2.attributes;
7386      var images = attributes.images,
7387          _attributes$columns = attributes.columns,
7388          columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
7389          imageCrop = attributes.imageCrop,
7390          caption = attributes.caption,
7391          linkTo = attributes.linkTo;
7392      return Object(external_this_wp_element_["createElement"])("figure", {
7393        className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
7394      }, Object(external_this_wp_element_["createElement"])("ul", {
7395        className: "blocks-gallery-grid"
7396      }, images.map(function (image) {
7397        var href;
7398  
7399        switch (linkTo) {
7400          case 'media':
7401            href = image.fullUrl || image.url;
7402            break;
7403  
7404          case 'attachment':
7405            href = image.link;
7406            break;
7407        }
7408  
7409        var img = Object(external_this_wp_element_["createElement"])("img", {
7410          src: image.url,
7411          alt: image.alt,
7412          "data-id": image.id,
7413          "data-full-url": image.fullUrl,
7414          "data-link": image.link,
7415          className: image.id ? "wp-image-".concat(image.id) : null
7416        });
7417        return Object(external_this_wp_element_["createElement"])("li", {
7418          key: image.id || image.url,
7419          className: "blocks-gallery-item"
7420        }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
7421          href: href
7422        }, img) : img, !external_this_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
7423          tagName: "figcaption",
7424          className: "blocks-gallery-item__caption",
7425          value: image.caption
7426        })));
7427      })), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
7428        tagName: "figcaption",
7429        className: "blocks-gallery-caption",
7430        value: caption
7431      }));
7432    }
7433  }, {
7434    attributes: {
7435      images: {
7436        type: 'array',
7437        default: [],
7438        source: 'query',
7439        selector: 'ul.wp-block-gallery .blocks-gallery-item',
7440        query: {
7441          url: {
7442            source: 'attribute',
7443            selector: 'img',
7444            attribute: 'src'
7445          },
7446          fullUrl: {
7447            source: 'attribute',
7448            selector: 'img',
7449            attribute: 'data-full-url'
7450          },
7451          alt: {
7452            source: 'attribute',
7453            selector: 'img',
7454            attribute: 'alt',
7455            default: ''
7456          },
7457          id: {
7458            source: 'attribute',
7459            selector: 'img',
7460            attribute: 'data-id'
7461          },
7462          link: {
7463            source: 'attribute',
7464            selector: 'img',
7465            attribute: 'data-link'
7466          },
7467          caption: {
7468            type: 'array',
7469            source: 'children',
7470            selector: 'figcaption'
7471          }
7472        }
7473      },
7474      ids: {
7475        type: 'array',
7476        default: []
7477      },
7478      columns: {
7479        type: 'number'
7480      },
7481      imageCrop: {
7482        type: 'boolean',
7483        default: true
7484      },
7485      linkTo: {
7486        type: 'string',
7487        default: 'none'
7488      }
7489    },
7490    supports: {
7491      align: true
7492    },
7493    save: function save(_ref3) {
7494      var attributes = _ref3.attributes;
7495      var images = attributes.images,
7496          _attributes$columns2 = attributes.columns,
7497          columns = _attributes$columns2 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns2,
7498          imageCrop = attributes.imageCrop,
7499          linkTo = attributes.linkTo;
7500      return Object(external_this_wp_element_["createElement"])("ul", {
7501        className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
7502      }, images.map(function (image) {
7503        var href;
7504  
7505        switch (linkTo) {
7506          case 'media':
7507            href = image.fullUrl || image.url;
7508            break;
7509  
7510          case 'attachment':
7511            href = image.link;
7512            break;
7513        }
7514  
7515        var img = Object(external_this_wp_element_["createElement"])("img", {
7516          src: image.url,
7517          alt: image.alt,
7518          "data-id": image.id,
7519          "data-full-url": image.fullUrl,
7520          "data-link": image.link,
7521          className: image.id ? "wp-image-".concat(image.id) : null
7522        });
7523        return Object(external_this_wp_element_["createElement"])("li", {
7524          key: image.id || image.url,
7525          className: "blocks-gallery-item"
7526        }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
7527          href: href
7528        }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
7529          tagName: "figcaption",
7530          value: image.caption
7531        })));
7532      }));
7533    }
7534  }, {
7535    attributes: {
7536      images: {
7537        type: 'array',
7538        default: [],
7539        source: 'query',
7540        selector: 'ul.wp-block-gallery .blocks-gallery-item',
7541        query: {
7542          url: {
7543            source: 'attribute',
7544            selector: 'img',
7545            attribute: 'src'
7546          },
7547          alt: {
7548            source: 'attribute',
7549            selector: 'img',
7550            attribute: 'alt',
7551            default: ''
7552          },
7553          id: {
7554            source: 'attribute',
7555            selector: 'img',
7556            attribute: 'data-id'
7557          },
7558          link: {
7559            source: 'attribute',
7560            selector: 'img',
7561            attribute: 'data-link'
7562          },
7563          caption: {
7564            type: 'array',
7565            source: 'children',
7566            selector: 'figcaption'
7567          }
7568        }
7569      },
7570      columns: {
7571        type: 'number'
7572      },
7573      imageCrop: {
7574        type: 'boolean',
7575        default: true
7576      },
7577      linkTo: {
7578        type: 'string',
7579        default: 'none'
7580      }
7581    },
7582    isEligible: function isEligible(_ref4) {
7583      var images = _ref4.images,
7584          ids = _ref4.ids;
7585      return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_this_lodash_["some"])(images, function (id, index) {
7586        if (!id && ids[index] !== null) {
7587          return true;
7588        }
7589  
7590        return parseInt(id, 10) !== ids[index];
7591      }));
7592    },
7593    migrate: function migrate(attributes) {
7594      return gallery_deprecated_objectSpread({}, attributes, {
7595        ids: Object(external_this_lodash_["map"])(attributes.images, function (_ref5) {
7596          var id = _ref5.id;
7597  
7598          if (!id) {
7599            return null;
7600          }
7601  
7602          return parseInt(id, 10);
7603        })
7604      });
7605    },
7606    supports: {
7607      align: true
7608    },
7609    save: function save(_ref6) {
7610      var attributes = _ref6.attributes;
7611      var images = attributes.images,
7612          _attributes$columns3 = attributes.columns,
7613          columns = _attributes$columns3 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns3,
7614          imageCrop = attributes.imageCrop,
7615          linkTo = attributes.linkTo;
7616      return Object(external_this_wp_element_["createElement"])("ul", {
7617        className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
7618      }, images.map(function (image) {
7619        var href;
7620  
7621        switch (linkTo) {
7622          case 'media':
7623            href = image.url;
7624            break;
7625  
7626          case 'attachment':
7627            href = image.link;
7628            break;
7629        }
7630  
7631        var img = Object(external_this_wp_element_["createElement"])("img", {
7632          src: image.url,
7633          alt: image.alt,
7634          "data-id": image.id,
7635          "data-link": image.link,
7636          className: image.id ? "wp-image-".concat(image.id) : null
7637        });
7638        return Object(external_this_wp_element_["createElement"])("li", {
7639          key: image.id || image.url,
7640          className: "blocks-gallery-item"
7641        }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
7642          href: href
7643        }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
7644          tagName: "figcaption",
7645          value: image.caption
7646        })));
7647      }));
7648    }
7649  }, {
7650    attributes: {
7651      images: {
7652        type: 'array',
7653        default: [],
7654        source: 'query',
7655        selector: 'div.wp-block-gallery figure.blocks-gallery-image img',
7656        query: {
7657          url: {
7658            source: 'attribute',
7659            attribute: 'src'
7660          },
7661          alt: {
7662            source: 'attribute',
7663            attribute: 'alt',
7664            default: ''
7665          },
7666          id: {
7667            source: 'attribute',
7668            attribute: 'data-id'
7669          }
7670        }
7671      },
7672      columns: {
7673        type: 'number'
7674      },
7675      imageCrop: {
7676        type: 'boolean',
7677        default: true
7678      },
7679      linkTo: {
7680        type: 'string',
7681        default: 'none'
7682      },
7683      align: {
7684        type: 'string',
7685        default: 'none'
7686      }
7687    },
7688    supports: {
7689      align: true
7690    },
7691    save: function save(_ref7) {
7692      var attributes = _ref7.attributes;
7693      var images = attributes.images,
7694          _attributes$columns4 = attributes.columns,
7695          columns = _attributes$columns4 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns4,
7696          align = attributes.align,
7697          imageCrop = attributes.imageCrop,
7698          linkTo = attributes.linkTo;
7699      var className = classnames_default()("columns-".concat(columns), {
7700        alignnone: align === 'none',
7701        'is-cropped': imageCrop
7702      });
7703      return Object(external_this_wp_element_["createElement"])("div", {
7704        className: className
7705      }, images.map(function (image) {
7706        var href;
7707  
7708        switch (linkTo) {
7709          case 'media':
7710            href = image.url;
7711            break;
7712  
7713          case 'attachment':
7714            href = image.link;
7715            break;
7716        }
7717  
7718        var img = Object(external_this_wp_element_["createElement"])("img", {
7719          src: image.url,
7720          alt: image.alt,
7721          "data-id": image.id
7722        });
7723        return Object(external_this_wp_element_["createElement"])("figure", {
7724          key: image.id || image.url,
7725          className: "blocks-gallery-image"
7726        }, href ? Object(external_this_wp_element_["createElement"])("a", {
7727          href: href
7728        }, img) : img);
7729      }));
7730    }
7731  }];
7732  /* harmony default export */ var gallery_deprecated = (gallery_deprecated_deprecated);
7733  
7734  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
7735  var classCallCheck = __webpack_require__(19);
7736  
7737  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
7738  var createClass = __webpack_require__(18);
7739  
7740  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
7741  var assertThisInitialized = __webpack_require__(12);
7742  
7743  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
7744  var possibleConstructorReturn = __webpack_require__(22);
7745  
7746  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
7747  var getPrototypeOf = __webpack_require__(15);
7748  
7749  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
7750  var inherits = __webpack_require__(20);
7751  
7752  // EXTERNAL MODULE: external {"this":["wp","viewport"]}
7753  var external_this_wp_viewport_ = __webpack_require__(72);
7754  
7755  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js
7756  
7757  
7758  /**
7759   * WordPress dependencies
7760   */
7761  
7762  
7763  var sharedIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
7764    icon: library_gallery
7765  });
7766  
7767  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
7768  var chevron_left = __webpack_require__(289);
7769  
7770  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
7771  var chevron_right = __webpack_require__(288);
7772  
7773  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
7774  var library_edit = __webpack_require__(296);
7775  
7776  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
7777  var close_small = __webpack_require__(171);
7778  
7779  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery-image.js
7780  
7781  
7782  
7783  
7784  
7785  
7786  
7787  
7788  function _createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (_isNativeReflectConstruct()) { 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); }; }
7789  
7790  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; } }
7791  
7792  /**
7793   * External dependencies
7794   */
7795  
7796  
7797  /**
7798   * WordPress dependencies
7799   */
7800  
7801  
7802  
7803  
7804  
7805  
7806  
7807  
7808  
7809  
7810  /**
7811   * Internal dependencies
7812   */
7813  
7814  
7815  
7816  var gallery_image_isTemporaryImage = function isTemporaryImage(id, url) {
7817    return !id && Object(external_this_wp_blob_["isBlobURL"])(url);
7818  };
7819  
7820  var gallery_image_GalleryImage = /*#__PURE__*/function (_Component) {
7821    Object(inherits["a" /* default */])(GalleryImage, _Component);
7822  
7823    var _super = _createSuper(GalleryImage);
7824  
7825    function GalleryImage() {
7826      var _this;
7827  
7828      Object(classCallCheck["a" /* default */])(this, GalleryImage);
7829  
7830      _this = _super.apply(this, arguments);
7831      _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
7832      _this.onSelectCaption = _this.onSelectCaption.bind(Object(assertThisInitialized["a" /* default */])(_this));
7833      _this.onRemoveImage = _this.onRemoveImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
7834      _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(_this));
7835      _this.onEdit = _this.onEdit.bind(Object(assertThisInitialized["a" /* default */])(_this));
7836      _this.onSelectImageFromLibrary = _this.onSelectImageFromLibrary.bind(Object(assertThisInitialized["a" /* default */])(_this));
7837      _this.onSelectCustomURL = _this.onSelectCustomURL.bind(Object(assertThisInitialized["a" /* default */])(_this));
7838      _this.state = {
7839        captionSelected: false,
7840        isEditing: false
7841      };
7842      return _this;
7843    }
7844  
7845    Object(createClass["a" /* default */])(GalleryImage, [{
7846      key: "bindContainer",
7847      value: function bindContainer(ref) {
7848        this.container = ref;
7849      }
7850    }, {
7851      key: "onSelectCaption",
7852      value: function onSelectCaption() {
7853        if (!this.state.captionSelected) {
7854          this.setState({
7855            captionSelected: true
7856          });
7857        }
7858  
7859        if (!this.props.isSelected) {
7860          this.props.onSelect();
7861        }
7862      }
7863    }, {
7864      key: "onSelectImage",
7865      value: function onSelectImage() {
7866        if (!this.props.isSelected) {
7867          this.props.onSelect();
7868        }
7869  
7870        if (this.state.captionSelected) {
7871          this.setState({
7872            captionSelected: false
7873          });
7874        }
7875      }
7876    }, {
7877      key: "onRemoveImage",
7878      value: function onRemoveImage(event) {
7879        if (this.container === document.activeElement && this.props.isSelected && [external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["DELETE"]].indexOf(event.keyCode) !== -1) {
7880          event.stopPropagation();
7881          event.preventDefault();
7882          this.props.onRemove();
7883        }
7884      }
7885    }, {
7886      key: "onEdit",
7887      value: function onEdit() {
7888        this.setState({
7889          isEditing: true
7890        });
7891      }
7892    }, {
7893      key: "componentDidUpdate",
7894      value: function componentDidUpdate(prevProps) {
7895        var _this$props = this.props,
7896            isSelected = _this$props.isSelected,
7897            image = _this$props.image,
7898            url = _this$props.url,
7899            __unstableMarkNextChangeAsNotPersistent = _this$props.__unstableMarkNextChangeAsNotPersistent;
7900  
7901        if (image && !url) {
7902          __unstableMarkNextChangeAsNotPersistent();
7903  
7904          this.props.setAttributes({
7905            url: image.source_url,
7906            alt: image.alt_text
7907          });
7908        } // unselect the caption so when the user selects other image and comeback
7909        // the caption is not immediately selected
7910  
7911  
7912        if (this.state.captionSelected && !isSelected && prevProps.isSelected) {
7913          this.setState({
7914            captionSelected: false
7915          });
7916        }
7917      }
7918    }, {
7919      key: "deselectOnBlur",
7920      value: function deselectOnBlur() {
7921        this.props.onDeselect();
7922      }
7923    }, {
7924      key: "onSelectImageFromLibrary",
7925      value: function onSelectImageFromLibrary(media) {
7926        var _this$props2 = this.props,
7927            setAttributes = _this$props2.setAttributes,
7928            id = _this$props2.id,
7929            url = _this$props2.url,
7930            alt = _this$props2.alt,
7931            caption = _this$props2.caption,
7932            sizeSlug = _this$props2.sizeSlug;
7933  
7934        if (!media || !media.url) {
7935          return;
7936        }
7937  
7938        var mediaAttributes = shared_pickRelevantMediaFiles(media, sizeSlug); // If the current image is temporary but an alt text was meanwhile
7939        // written by the user, make sure the text is not overwritten.
7940  
7941        if (gallery_image_isTemporaryImage(id, url)) {
7942          if (alt) {
7943            mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['alt']);
7944          }
7945        } // If a caption text was meanwhile written by the user,
7946        // make sure the text is not overwritten by empty captions.
7947  
7948  
7949        if (caption && !Object(external_this_lodash_["get"])(mediaAttributes, ['caption'])) {
7950          mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['caption']);
7951        }
7952  
7953        setAttributes(mediaAttributes);
7954        this.setState({
7955          isEditing: false
7956        });
7957      }
7958    }, {
7959      key: "onSelectCustomURL",
7960      value: function onSelectCustomURL(newURL) {
7961        var _this$props3 = this.props,
7962            setAttributes = _this$props3.setAttributes,
7963            url = _this$props3.url;
7964  
7965        if (newURL !== url) {
7966          setAttributes({
7967            url: newURL,
7968            id: undefined
7969          });
7970          this.setState({
7971            isEditing: false
7972          });
7973        }
7974      }
7975    }, {
7976      key: "render",
7977      value: function render() {
7978        var _this$props4 = this.props,
7979            url = _this$props4.url,
7980            alt = _this$props4.alt,
7981            id = _this$props4.id,
7982            linkTo = _this$props4.linkTo,
7983            link = _this$props4.link,
7984            isFirstItem = _this$props4.isFirstItem,
7985            isLastItem = _this$props4.isLastItem,
7986            isSelected = _this$props4.isSelected,
7987            caption = _this$props4.caption,
7988            onRemove = _this$props4.onRemove,
7989            onMoveForward = _this$props4.onMoveForward,
7990            onMoveBackward = _this$props4.onMoveBackward,
7991            setAttributes = _this$props4.setAttributes,
7992            ariaLabel = _this$props4['aria-label'];
7993        var isEditing = this.state.isEditing;
7994        var href;
7995  
7996        switch (linkTo) {
7997          case 'media':
7998            href = url;
7999            break;
8000  
8001          case 'attachment':
8002            href = link;
8003            break;
8004        }
8005  
8006        var img = // Disable reason: Image itself is not meant to be interactive, but should
8007        // direct image selection and unfocus caption fields.
8008  
8009        /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
8010        Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
8011          src: url,
8012          alt: alt,
8013          "data-id": id,
8014          onClick: this.onSelectImage,
8015          onFocus: this.onSelectImage,
8016          onKeyDown: this.onRemoveImage,
8017          tabIndex: "0",
8018          "aria-label": ariaLabel,
8019          ref: this.bindContainer
8020        }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
8021        /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
8022        ;
8023        var className = classnames_default()({
8024          'is-selected': isSelected,
8025          'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url)
8026        });
8027        return Object(external_this_wp_element_["createElement"])("figure", {
8028          className: className
8029        }, !isEditing && (href ? Object(external_this_wp_element_["createElement"])("a", {
8030          href: href
8031        }, img) : img), isEditing && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
8032          labels: {
8033            title: Object(external_this_wp_i18n_["__"])('Edit gallery image')
8034          },
8035          icon: library_image,
8036          onSelect: this.onSelectImageFromLibrary,
8037          onSelectURL: this.onSelectCustomURL,
8038          accept: "image/*",
8039          allowedTypes: ['image'],
8040          value: {
8041            id: id,
8042            src: url
8043          }
8044        }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], {
8045          className: "block-library-gallery-ite