[ 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 = "K51g");
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ "+WrK":
  91  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  92  
  93  "use strict";
  94  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
  95  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
  96  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
  97  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
  98  
  99  
 100  /**
 101   * WordPress dependencies
 102   */
 103  
 104  const symbol = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 105    xmlns: "http://www.w3.org/2000/svg",
 106    viewBox: "0 0 24 24"
 107  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 108    d: "M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"
 109  }));
 110  /* harmony default export */ __webpack_exports__["a"] = (symbol);
 111  
 112  
 113  /***/ }),
 114  
 115  /***/ "//kF":
 116  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 117  
 118  "use strict";
 119  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 120  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 121  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 122  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 123  
 124  
 125  /**
 126   * WordPress dependencies
 127   */
 128  
 129  const footer = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 130    xmlns: "http://www.w3.org/2000/svg",
 131    viewBox: "0 0 24 24"
 132  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 133    fillRule: "evenodd",
 134    d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
 135  }));
 136  /* harmony default export */ __webpack_exports__["a"] = (footer);
 137  
 138  
 139  /***/ }),
 140  
 141  /***/ "1CF3":
 142  /***/ (function(module, exports) {
 143  
 144  (function() { module.exports = window["wp"]["dom"]; }());
 145  
 146  /***/ }),
 147  
 148  /***/ "1Yn1":
 149  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 150  
 151  "use strict";
 152  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 153  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 154  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 155  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 156  
 157  
 158  /**
 159   * WordPress dependencies
 160   */
 161  
 162  const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 163    viewBox: "0 0 24 24",
 164    xmlns: "http://www.w3.org/2000/svg"
 165  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 166    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"
 167  }));
 168  /* harmony default export */ __webpack_exports__["a"] = (code);
 169  
 170  
 171  /***/ }),
 172  
 173  /***/ "1ZqX":
 174  /***/ (function(module, exports) {
 175  
 176  (function() { module.exports = window["wp"]["data"]; }());
 177  
 178  /***/ }),
 179  
 180  /***/ "1iEr":
 181  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 182  
 183  "use strict";
 184  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 185  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 186  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 187  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 188  
 189  
 190  /**
 191   * WordPress dependencies
 192   */
 193  
 194  const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 195    xmlns: "http://www.w3.org/2000/svg",
 196    viewBox: "0 0 24 24"
 197  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 198    d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
 199  }));
 200  /* harmony default export */ __webpack_exports__["a"] = (chevronRight);
 201  
 202  
 203  /***/ }),
 204  
 205  /***/ "2gm7":
 206  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 207  
 208  "use strict";
 209  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 210  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 211  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 212  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 213  
 214  
 215  /**
 216   * WordPress dependencies
 217   */
 218  
 219  const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 220    xmlns: "http://www.w3.org/2000/svg",
 221    viewBox: "0 0 24 24"
 222  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 223    d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
 224  }));
 225  /* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
 226  
 227  
 228  /***/ }),
 229  
 230  /***/ "4eJC":
 231  /***/ (function(module, exports, __webpack_require__) {
 232  
 233  /**
 234   * Memize options object.
 235   *
 236   * @typedef MemizeOptions
 237   *
 238   * @property {number} [maxSize] Maximum size of the cache.
 239   */
 240  
 241  /**
 242   * Internal cache entry.
 243   *
 244   * @typedef MemizeCacheNode
 245   *
 246   * @property {?MemizeCacheNode|undefined} [prev] Previous node.
 247   * @property {?MemizeCacheNode|undefined} [next] Next node.
 248   * @property {Array<*>}                   args   Function arguments for cache
 249   *                                               entry.
 250   * @property {*}                          val    Function result.
 251   */
 252  
 253  /**
 254   * Properties of the enhanced function for controlling cache.
 255   *
 256   * @typedef MemizeMemoizedFunction
 257   *
 258   * @property {()=>void} clear Clear the cache.
 259   */
 260  
 261  /**
 262   * Accepts a function to be memoized, and returns a new memoized function, with
 263   * optional options.
 264   *
 265   * @template {Function} F
 266   *
 267   * @param {F}             fn        Function to memoize.
 268   * @param {MemizeOptions} [options] Options object.
 269   *
 270   * @return {F & MemizeMemoizedFunction} Memoized function.
 271   */
 272  function memize( fn, options ) {
 273      var size = 0;
 274  
 275      /** @type {?MemizeCacheNode|undefined} */
 276      var head;
 277  
 278      /** @type {?MemizeCacheNode|undefined} */
 279      var tail;
 280  
 281      options = options || {};
 282  
 283  	function memoized( /* ...args */ ) {
 284          var node = head,
 285              len = arguments.length,
 286              args, i;
 287  
 288          searchCache: while ( node ) {
 289              // Perform a shallow equality test to confirm that whether the node
 290              // under test is a candidate for the arguments passed. Two arrays
 291              // are shallowly equal if their length matches and each entry is
 292              // strictly equal between the two sets. Avoid abstracting to a
 293              // function which could incur an arguments leaking deoptimization.
 294  
 295              // Check whether node arguments match arguments length
 296              if ( node.args.length !== arguments.length ) {
 297                  node = node.next;
 298                  continue;
 299              }
 300  
 301              // Check whether node arguments match arguments values
 302              for ( i = 0; i < len; i++ ) {
 303                  if ( node.args[ i ] !== arguments[ i ] ) {
 304                      node = node.next;
 305                      continue searchCache;
 306                  }
 307              }
 308  
 309              // At this point we can assume we've found a match
 310  
 311              // Surface matched node to head if not already
 312              if ( node !== head ) {
 313                  // As tail, shift to previous. Must only shift if not also
 314                  // head, since if both head and tail, there is no previous.
 315                  if ( node === tail ) {
 316                      tail = node.prev;
 317                  }
 318  
 319                  // Adjust siblings to point to each other. If node was tail,
 320                  // this also handles new tail's empty `next` assignment.
 321                  /** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
 322                  if ( node.next ) {
 323                      node.next.prev = node.prev;
 324                  }
 325  
 326                  node.next = head;
 327                  node.prev = null;
 328                  /** @type {MemizeCacheNode} */ ( head ).prev = node;
 329                  head = node;
 330              }
 331  
 332              // Return immediately
 333              return node.val;
 334          }
 335  
 336          // No cached value found. Continue to insertion phase:
 337  
 338          // Create a copy of arguments (avoid leaking deoptimization)
 339          args = new Array( len );
 340          for ( i = 0; i < len; i++ ) {
 341              args[ i ] = arguments[ i ];
 342          }
 343  
 344          node = {
 345              args: args,
 346  
 347              // Generate the result from original function
 348              val: fn.apply( null, args ),
 349          };
 350  
 351          // Don't need to check whether node is already head, since it would
 352          // have been returned above already if it was
 353  
 354          // Shift existing head down list
 355          if ( head ) {
 356              head.prev = node;
 357              node.next = head;
 358          } else {
 359              // If no head, follows that there's no tail (at initial or reset)
 360              tail = node;
 361          }
 362  
 363          // Trim tail if we're reached max size and are pending cache insertion
 364          if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
 365              tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
 366              /** @type {MemizeCacheNode} */ ( tail ).next = null;
 367          } else {
 368              size++;
 369          }
 370  
 371          head = node;
 372  
 373          return node.val;
 374      }
 375  
 376      memoized.clear = function() {
 377          head = null;
 378          tail = null;
 379          size = 0;
 380      };
 381  
 382      if ( false ) {}
 383  
 384      // Ignore reason: There's not a clear solution to create an intersection of
 385      // the function with additional properties, where the goal is to retain the
 386      // function signature of the incoming argument and add control properties
 387      // on the return value.
 388  
 389      // @ts-ignore
 390      return memoized;
 391  }
 392  
 393  module.exports = memize;
 394  
 395  
 396  /***/ }),
 397  
 398  /***/ "A/WM":
 399  /***/ (function(module, exports, __webpack_require__) {
 400  
 401  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
 402    Copyright (c) 2018 Jed Watson.
 403    Licensed under the MIT License (MIT), see
 404    http://jedwatson.github.io/classnames
 405  */
 406  /* global define */
 407  
 408  (function () {
 409      'use strict';
 410  
 411      var classNames = (function () {
 412          // don't inherit from Object so we can skip hasOwnProperty check later
 413          // http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
 414  		function StorageObject() {}
 415          StorageObject.prototype = Object.create(null);
 416  
 417  		function _parseArray (resultSet, array) {
 418              var length = array.length;
 419  
 420              for (var i = 0; i < length; ++i) {
 421                  _parse(resultSet, array[i]);
 422              }
 423          }
 424  
 425          var hasOwn = {}.hasOwnProperty;
 426  
 427  		function _parseNumber (resultSet, num) {
 428              resultSet[num] = true;
 429          }
 430  
 431  		function _parseObject (resultSet, object) {
 432              if (object.toString === Object.prototype.toString) {
 433                  for (var k in object) {
 434                      if (hasOwn.call(object, k)) {
 435                          // set value to false instead of deleting it to avoid changing object structure
 436                          // https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions
 437                          resultSet[k] = !!object[k];
 438                      }
 439                  }
 440              } else {
 441                  resultSet[object.toString()] = true;
 442              }
 443          }
 444  
 445          var SPACE = /\s+/;
 446  		function _parseString (resultSet, str) {
 447              var array = str.split(SPACE);
 448              var length = array.length;
 449  
 450              for (var i = 0; i < length; ++i) {
 451                  resultSet[array[i]] = true;
 452              }
 453          }
 454  
 455  		function _parse (resultSet, arg) {
 456              if (!arg) return;
 457              var argType = typeof arg;
 458  
 459              // 'foo bar'
 460              if (argType === 'string') {
 461                  _parseString(resultSet, arg);
 462  
 463              // ['foo', 'bar', ...]
 464              } else if (Array.isArray(arg)) {
 465                  _parseArray(resultSet, arg);
 466  
 467              // { 'foo': true, ... }
 468              } else if (argType === 'object') {
 469                  _parseObject(resultSet, arg);
 470  
 471              // '130'
 472              } else if (argType === 'number') {
 473                  _parseNumber(resultSet, arg);
 474              }
 475          }
 476  
 477  		function _classNames () {
 478              // don't leak arguments
 479              // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments
 480              var len = arguments.length;
 481              var args = Array(len);
 482              for (var i = 0; i < len; i++) {
 483                  args[i] = arguments[i];
 484              }
 485  
 486              var classSet = new StorageObject();
 487              _parseArray(classSet, args);
 488  
 489              var list = [];
 490  
 491              for (var k in classSet) {
 492                  if (classSet[k]) {
 493                      list.push(k)
 494                  }
 495              }
 496  
 497              return list.join(' ');
 498          }
 499  
 500          return _classNames;
 501      })();
 502  
 503      if ( true && module.exports) {
 504          classNames.default = classNames;
 505          module.exports = classNames;
 506      } else if (true) {
 507          // register as 'classnames', consistent with npm package name
 508          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
 509              return classNames;
 510          }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
 511                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
 512      } else {}
 513  }());
 514  
 515  
 516  /***/ }),
 517  
 518  /***/ "B9Az":
 519  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 520  
 521  "use strict";
 522  
 523  // EXTERNAL MODULE: external ["wp","element"]
 524  var external_wp_element_ = __webpack_require__("GRId");
 525  
 526  // EXTERNAL MODULE: external ["wp","primitives"]
 527  var external_wp_primitives_ = __webpack_require__("Tqx9");
 528  
 529  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
 530  
 531  
 532  /**
 533   * WordPress dependencies
 534   */
 535  
 536  const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
 537    xmlns: "http://www.w3.org/2000/svg",
 538    viewBox: "0 0 24 24"
 539  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
 540    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"
 541  }));
 542  /* harmony default export */ var library_pencil = (pencil);
 543  
 544  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
 545  /**
 546   * Internal dependencies
 547   */
 548  
 549  /* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);
 550  
 551  
 552  /***/ }),
 553  
 554  /***/ "Bpkj":
 555  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 556  
 557  "use strict";
 558  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 559  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 560  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 561  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 562  
 563  
 564  /**
 565   * WordPress dependencies
 566   */
 567  
 568  const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 569    xmlns: "http://www.w3.org/2000/svg",
 570    viewBox: "0 0 24 24"
 571  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 572    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"
 573  }));
 574  /* harmony default export */ __webpack_exports__["a"] = (link);
 575  
 576  
 577  /***/ }),
 578  
 579  /***/ "Civd":
 580  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 581  
 582  "use strict";
 583  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 584  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 585  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
 586  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 587  
 588  
 589  /**
 590   * WordPress dependencies
 591   */
 592  
 593  const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 594    xmlns: "http://www.w3.org/2000/svg",
 595    viewBox: "0 0 24 24"
 596  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 597    d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
 598  }));
 599  /* harmony default export */ __webpack_exports__["a"] = (layout);
 600  
 601  
 602  /***/ }),
 603  
 604  /***/ "FEKF":
 605  /***/ (function(module, exports, __webpack_require__) {
 606  
 607  /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
 608  (function (global, factory) {
 609       true ? module.exports = factory() :
 610      undefined;
 611  }(this, (function () { 'use strict';
 612  
 613  function _classCallCheck(instance, Constructor) {
 614    if (!(instance instanceof Constructor)) {
 615      throw new TypeError("Cannot call a class as a function");
 616    }
 617  }
 618  
 619  function _defineProperties(target, props) {
 620    for (var i = 0; i < props.length; i++) {
 621      var descriptor = props[i];
 622      descriptor.enumerable = descriptor.enumerable || false;
 623      descriptor.configurable = true;
 624      if ("value" in descriptor) descriptor.writable = true;
 625      Object.defineProperty(target, descriptor.key, descriptor);
 626    }
 627  }
 628  
 629  function _createClass(Constructor, protoProps, staticProps) {
 630    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 631    if (staticProps) _defineProperties(Constructor, staticProps);
 632    return Constructor;
 633  }
 634  
 635  function _slicedToArray(arr, i) {
 636    return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
 637  }
 638  
 639  function _arrayWithHoles(arr) {
 640    if (Array.isArray(arr)) return arr;
 641  }
 642  
 643  function _iterableToArrayLimit(arr, i) {
 644    var _arr = [];
 645    var _n = true;
 646    var _d = false;
 647    var _e = undefined;
 648  
 649    try {
 650      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 651        _arr.push(_s.value);
 652  
 653        if (i && _arr.length === i) break;
 654      }
 655    } catch (err) {
 656      _d = true;
 657      _e = err;
 658    } finally {
 659      try {
 660        if (!_n && _i["return"] != null) _i["return"]();
 661      } finally {
 662        if (_d) throw _e;
 663      }
 664    }
 665  
 666    return _arr;
 667  }
 668  
 669  function _nonIterableRest() {
 670    throw new TypeError("Invalid attempt to destructure non-iterable instance");
 671  }
 672  
 673  var FastAverageColor =
 674  /*#__PURE__*/
 675  function () {
 676    function FastAverageColor() {
 677      _classCallCheck(this, FastAverageColor);
 678    }
 679  
 680    _createClass(FastAverageColor, [{
 681      key: "getColorAsync",
 682  
 683      /**
 684       * Get asynchronously the average color from not loaded image.
 685       *
 686       * @param {HTMLImageElement} resource
 687       * @param {Function} callback
 688       * @param {Object|null} [options]
 689       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 690       * @param {*}      [options.data]
 691       * @param {string} [options.mode="speed"] "precision" or "speed"
 692       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 693       * @param {number} [options.step=1]
 694       * @param {number} [options.left=0]
 695       * @param {number} [options.top=0]
 696       * @param {number} [options.width=width of resource]
 697       * @param {number} [options.height=height of resource]
 698       */
 699      value: function getColorAsync(resource, callback, options) {
 700        if (resource.complete) {
 701          callback.call(resource, this.getColor(resource, options), options && options.data);
 702        } else {
 703          this._bindImageEvents(resource, callback, options);
 704        }
 705      }
 706      /**
 707       * Get the average color from images, videos and canvas.
 708       *
 709       * @param {HTMLImageElement|HTMLVideoElement|HTMLCanvasElement} resource
 710       * @param {Object|null} [options]
 711       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 712       * @param {*}      [options.data]
 713       * @param {string} [options.mode="speed"] "precision" or "speed"
 714       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 715       * @param {number} [options.step=1]
 716       * @param {number} [options.left=0]
 717       * @param {number} [options.top=0]
 718       * @param {number} [options.width=width of resource]
 719       * @param {number} [options.height=height of resource]
 720       *
 721       * @returns {Object}
 722       */
 723  
 724    }, {
 725      key: "getColor",
 726      value: function getColor(resource, options) {
 727        options = options || {};
 728  
 729        var defaultColor = this._getDefaultColor(options),
 730            originalSize = this._getOriginalSize(resource),
 731            size = this._prepareSizeAndPosition(originalSize, options);
 732  
 733        var error = null,
 734            value = defaultColor;
 735  
 736        if (!size.srcWidth || !size.srcHeight || !size.destWidth || !size.destHeight) {
 737          return this._prepareResult(defaultColor, new Error('FastAverageColor: Incorrect sizes.'));
 738        }
 739  
 740        if (!this._ctx) {
 741          this._canvas = this._makeCanvas();
 742          this._ctx = this._canvas.getContext && this._canvas.getContext('2d');
 743  
 744          if (!this._ctx) {
 745            return this._prepareResult(defaultColor, new Error('FastAverageColor: Canvas Context 2D is not supported in this browser.'));
 746          }
 747        }
 748  
 749        this._canvas.width = size.destWidth;
 750        this._canvas.height = size.destHeight;
 751  
 752        try {
 753          this._ctx.clearRect(0, 0, size.destWidth, size.destHeight);
 754  
 755          this._ctx.drawImage(resource, size.srcLeft, size.srcTop, size.srcWidth, size.srcHeight, 0, 0, size.destWidth, size.destHeight);
 756  
 757          var bitmapData = this._ctx.getImageData(0, 0, size.destWidth, size.destHeight).data;
 758  
 759          value = this.getColorFromArray4(bitmapData, options);
 760        } catch (e) {
 761          // Security error, CORS
 762          // https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image
 763          error = e;
 764        }
 765  
 766        return this._prepareResult(value, error);
 767      }
 768      /**
 769       * Get the average color from a array when 1 pixel is 4 bytes.
 770       *
 771       * @param {Array|Uint8Array} arr
 772       * @param {Object} [options]
 773       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
 774       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
 775       * @param {number} [options.step=1]
 776       *
 777       * @returns {Array} [red (0-255), green (0-255), blue (0-255), alpha (0-255)]
 778       */
 779  
 780    }, {
 781      key: "getColorFromArray4",
 782      value: function getColorFromArray4(arr, options) {
 783        options = options || {};
 784        var bytesPerPixel = 4,
 785            arrLength = arr.length;
 786  
 787        if (arrLength < bytesPerPixel) {
 788          return this._getDefaultColor(options);
 789        }
 790  
 791        var len = arrLength - arrLength % bytesPerPixel,
 792            preparedStep = (options.step || 1) * bytesPerPixel,
 793            algorithm = '_' + (options.algorithm || 'sqrt') + 'Algorithm';
 794  
 795        if (typeof this[algorithm] !== 'function') {
 796          throw new Error("FastAverageColor: ".concat(options.algorithm, " is unknown algorithm."));
 797        }
 798  
 799        return this[algorithm](arr, len, preparedStep);
 800      }
 801      /**
 802       * Destroy the instance.
 803       */
 804  
 805    }, {
 806      key: "destroy",
 807      value: function destroy() {
 808        delete this._canvas;
 809        delete this._ctx;
 810      }
 811    }, {
 812      key: "_getDefaultColor",
 813      value: function _getDefaultColor(options) {
 814        return this._getOption(options, 'defaultColor', [255, 255, 255, 255]);
 815      }
 816    }, {
 817      key: "_getOption",
 818      value: function _getOption(options, name, defaultValue) {
 819        return typeof options[name] === 'undefined' ? defaultValue : options[name];
 820      }
 821    }, {
 822      key: "_prepareSizeAndPosition",
 823      value: function _prepareSizeAndPosition(originalSize, options) {
 824        var srcLeft = this._getOption(options, 'left', 0),
 825            srcTop = this._getOption(options, 'top', 0),
 826            srcWidth = this._getOption(options, 'width', originalSize.width),
 827            srcHeight = this._getOption(options, 'height', originalSize.height),
 828            destWidth = srcWidth,
 829            destHeight = srcHeight;
 830  
 831        if (options.mode === 'precision') {
 832          return {
 833            srcLeft: srcLeft,
 834            srcTop: srcTop,
 835            srcWidth: srcWidth,
 836            srcHeight: srcHeight,
 837            destWidth: destWidth,
 838            destHeight: destHeight
 839          };
 840        }
 841  
 842        var maxSize = 100,
 843            minSize = 10;
 844        var factor;
 845  
 846        if (srcWidth > srcHeight) {
 847          factor = srcWidth / srcHeight;
 848          destWidth = maxSize;
 849          destHeight = Math.round(destWidth / factor);
 850        } else {
 851          factor = srcHeight / srcWidth;
 852          destHeight = maxSize;
 853          destWidth = Math.round(destHeight / factor);
 854        }
 855  
 856        if (destWidth > srcWidth || destHeight > srcHeight || destWidth < minSize || destHeight < minSize) {
 857          destWidth = srcWidth;
 858          destHeight = srcHeight;
 859        }
 860  
 861        return {
 862          srcLeft: srcLeft,
 863          srcTop: srcTop,
 864          srcWidth: srcWidth,
 865          srcHeight: srcHeight,
 866          destWidth: destWidth,
 867          destHeight: destHeight
 868        };
 869      }
 870    }, {
 871      key: "_simpleAlgorithm",
 872      value: function _simpleAlgorithm(arr, len, preparedStep) {
 873        var redTotal = 0,
 874            greenTotal = 0,
 875            blueTotal = 0,
 876            alphaTotal = 0,
 877            count = 0;
 878  
 879        for (var i = 0; i < len; i += preparedStep) {
 880          var alpha = arr[i + 3],
 881              red = arr[i] * alpha,
 882              green = arr[i + 1] * alpha,
 883              blue = arr[i + 2] * alpha;
 884          redTotal += red;
 885          greenTotal += green;
 886          blueTotal += blue;
 887          alphaTotal += alpha;
 888          count++;
 889        }
 890  
 891        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
 892      }
 893    }, {
 894      key: "_sqrtAlgorithm",
 895      value: function _sqrtAlgorithm(arr, len, preparedStep) {
 896        var redTotal = 0,
 897            greenTotal = 0,
 898            blueTotal = 0,
 899            alphaTotal = 0,
 900            count = 0;
 901  
 902        for (var i = 0; i < len; i += preparedStep) {
 903          var red = arr[i],
 904              green = arr[i + 1],
 905              blue = arr[i + 2],
 906              alpha = arr[i + 3];
 907          redTotal += red * red * alpha;
 908          greenTotal += green * green * alpha;
 909          blueTotal += blue * blue * alpha;
 910          alphaTotal += alpha;
 911          count++;
 912        }
 913  
 914        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];
 915      }
 916    }, {
 917      key: "_dominantAlgorithm",
 918      value: function _dominantAlgorithm(arr, len, preparedStep) {
 919        var colorHash = {},
 920            divider = 24;
 921  
 922        for (var i = 0; i < len; i += preparedStep) {
 923          var red = arr[i],
 924              green = arr[i + 1],
 925              blue = arr[i + 2],
 926              alpha = arr[i + 3],
 927              key = Math.round(red / divider) + ',' + Math.round(green / divider) + ',' + Math.round(blue / divider);
 928  
 929          if (colorHash[key]) {
 930            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];
 931          } else {
 932            colorHash[key] = [red * alpha, green * alpha, blue * alpha, alpha, 1];
 933          }
 934        }
 935  
 936        var buffer = Object.keys(colorHash).map(function (key) {
 937          return colorHash[key];
 938        }).sort(function (a, b) {
 939          var countA = a[4],
 940              countB = b[4];
 941          return countA > countB ? -1 : countA === countB ? 0 : 1;
 942        });
 943  
 944        var _buffer$ = _slicedToArray(buffer[0], 5),
 945            redTotal = _buffer$[0],
 946            greenTotal = _buffer$[1],
 947            blueTotal = _buffer$[2],
 948            alphaTotal = _buffer$[3],
 949            count = _buffer$[4];
 950  
 951        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
 952      }
 953    }, {
 954      key: "_bindImageEvents",
 955      value: function _bindImageEvents(resource, callback, options) {
 956        var _this = this;
 957  
 958        options = options || {};
 959  
 960        var data = options && options.data,
 961            defaultColor = this._getDefaultColor(options),
 962            onload = function onload() {
 963          unbindEvents();
 964          callback.call(resource, _this.getColor(resource, options), data);
 965        },
 966            onerror = function onerror() {
 967          unbindEvents();
 968          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image error')), data);
 969        },
 970            onabort = function onabort() {
 971          unbindEvents();
 972          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image abort')), data);
 973        },
 974            unbindEvents = function unbindEvents() {
 975          resource.removeEventListener('load', onload);
 976          resource.removeEventListener('error', onerror);
 977          resource.removeEventListener('abort', onabort);
 978        };
 979  
 980        resource.addEventListener('load', onload);
 981        resource.addEventListener('error', onerror);
 982        resource.addEventListener('abort', onabort);
 983      }
 984    }, {
 985      key: "_prepareResult",
 986      value: function _prepareResult(value, error) {
 987        var rgb = value.slice(0, 3),
 988            rgba = [].concat(rgb, value[3] / 255),
 989            isDark = this._isDark(value);
 990  
 991        return {
 992          error: error,
 993          value: value,
 994          rgb: 'rgb(' + rgb.join(',') + ')',
 995          rgba: 'rgba(' + rgba.join(',') + ')',
 996          hex: this._arrayToHex(rgb),
 997          hexa: this._arrayToHex(value),
 998          isDark: isDark,
 999          isLight: !isDark
1000        };
1001      }
1002    }, {
1003      key: "_getOriginalSize",
1004      value: function _getOriginalSize(resource) {
1005        if (resource instanceof HTMLImageElement) {
1006          return {
1007            width: resource.naturalWidth,
1008            height: resource.naturalHeight
1009          };
1010        }
1011  
1012        if (resource instanceof HTMLVideoElement) {
1013          return {
1014            width: resource.videoWidth,
1015            height: resource.videoHeight
1016          };
1017        }
1018  
1019        return {
1020          width: resource.width,
1021          height: resource.height
1022        };
1023      }
1024    }, {
1025      key: "_toHex",
1026      value: function _toHex(num) {
1027        var str = num.toString(16);
1028        return str.length === 1 ? '0' + str : str;
1029      }
1030    }, {
1031      key: "_arrayToHex",
1032      value: function _arrayToHex(arr) {
1033        return '#' + arr.map(this._toHex).join('');
1034      }
1035    }, {
1036      key: "_isDark",
1037      value: function _isDark(color) {
1038        // http://www.w3.org/TR/AERT#color-contrast
1039        var result = (color[0] * 299 + color[1] * 587 + color[2] * 114) / 1000;
1040        return result < 128;
1041      }
1042    }, {
1043      key: "_makeCanvas",
1044      value: function _makeCanvas() {
1045        return typeof window === 'undefined' ? new OffscreenCanvas(1, 1) : document.createElement('canvas');
1046      }
1047    }]);
1048  
1049    return FastAverageColor;
1050  }();
1051  
1052  return FastAverageColor;
1053  
1054  })));
1055  
1056  
1057  /***/ }),
1058  
1059  /***/ "FqII":
1060  /***/ (function(module, exports) {
1061  
1062  (function() { module.exports = window["wp"]["date"]; }());
1063  
1064  /***/ }),
1065  
1066  /***/ "G8mJ":
1067  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1068  
1069  "use strict";
1070  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
1071  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1072  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
1073  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1074  
1075  
1076  /**
1077   * WordPress dependencies
1078   */
1079  
1080  const header = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1081    xmlns: "http://www.w3.org/2000/svg",
1082    viewBox: "0 0 24 24"
1083  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1084    d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
1085  }));
1086  /* harmony default export */ __webpack_exports__["a"] = (header);
1087  
1088  
1089  /***/ }),
1090  
1091  /***/ "GRId":
1092  /***/ (function(module, exports) {
1093  
1094  (function() { module.exports = window["wp"]["element"]; }());
1095  
1096  /***/ }),
1097  
1098  /***/ "HSyU":
1099  /***/ (function(module, exports) {
1100  
1101  (function() { module.exports = window["wp"]["blocks"]; }());
1102  
1103  /***/ }),
1104  
1105  /***/ "JREk":
1106  /***/ (function(module, exports) {
1107  
1108  (function() { module.exports = window["wp"]["serverSideRender"]; }());
1109  
1110  /***/ }),
1111  
1112  /***/ "K51g":
1113  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1114  
1115  "use strict";
1116  // ESM COMPAT FLAG
1117  __webpack_require__.r(__webpack_exports__);
1118  
1119  // EXPORTS
1120  __webpack_require__.d(__webpack_exports__, "__experimentalGetCoreBlocks", function() { return /* binding */ __experimentalGetCoreBlocks; });
1121  __webpack_require__.d(__webpack_exports__, "registerCoreBlocks", function() { return /* binding */ registerCoreBlocks; });
1122  __webpack_require__.d(__webpack_exports__, "__experimentalRegisterExperimentalCoreBlocks", function() { return /* binding */ __experimentalRegisterExperimentalCoreBlocks; });
1123  
1124  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/archives/index.js
1125  var archives_namespaceObject = {};
1126  __webpack_require__.r(archives_namespaceObject);
1127  __webpack_require__.d(archives_namespaceObject, "metadata", function() { return archives_metadata; });
1128  __webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; });
1129  __webpack_require__.d(archives_namespaceObject, "settings", function() { return archives_settings; });
1130  
1131  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/audio/index.js
1132  var build_module_audio_namespaceObject = {};
1133  __webpack_require__.r(build_module_audio_namespaceObject);
1134  __webpack_require__.d(build_module_audio_namespaceObject, "metadata", function() { return audio_metadata; });
1135  __webpack_require__.d(build_module_audio_namespaceObject, "name", function() { return audio_name; });
1136  __webpack_require__.d(build_module_audio_namespaceObject, "settings", function() { return audio_settings; });
1137  
1138  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/button/index.js
1139  var button_namespaceObject = {};
1140  __webpack_require__.r(button_namespaceObject);
1141  __webpack_require__.d(button_namespaceObject, "metadata", function() { return button_metadata; });
1142  __webpack_require__.d(button_namespaceObject, "name", function() { return button_name; });
1143  __webpack_require__.d(button_namespaceObject, "settings", function() { return button_settings; });
1144  
1145  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
1146  var build_module_buttons_namespaceObject = {};
1147  __webpack_require__.r(build_module_buttons_namespaceObject);
1148  __webpack_require__.d(build_module_buttons_namespaceObject, "metadata", function() { return buttons_metadata; });
1149  __webpack_require__.d(build_module_buttons_namespaceObject, "name", function() { return buttons_name; });
1150  __webpack_require__.d(build_module_buttons_namespaceObject, "settings", function() { return buttons_settings; });
1151  
1152  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
1153  var build_module_calendar_namespaceObject = {};
1154  __webpack_require__.r(build_module_calendar_namespaceObject);
1155  __webpack_require__.d(build_module_calendar_namespaceObject, "metadata", function() { return calendar_metadata; });
1156  __webpack_require__.d(build_module_calendar_namespaceObject, "name", function() { return calendar_name; });
1157  __webpack_require__.d(build_module_calendar_namespaceObject, "settings", function() { return calendar_settings; });
1158  
1159  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/categories/index.js
1160  var categories_namespaceObject = {};
1161  __webpack_require__.r(categories_namespaceObject);
1162  __webpack_require__.d(categories_namespaceObject, "metadata", function() { return categories_metadata; });
1163  __webpack_require__.d(categories_namespaceObject, "name", function() { return categories_name; });
1164  __webpack_require__.d(categories_namespaceObject, "settings", function() { return categories_settings; });
1165  
1166  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/freeform/index.js
1167  var freeform_namespaceObject = {};
1168  __webpack_require__.r(freeform_namespaceObject);
1169  __webpack_require__.d(freeform_namespaceObject, "metadata", function() { return freeform_metadata; });
1170  __webpack_require__.d(freeform_namespaceObject, "name", function() { return freeform_name; });
1171  __webpack_require__.d(freeform_namespaceObject, "settings", function() { return freeform_settings; });
1172  
1173  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/code/index.js
1174  var code_namespaceObject = {};
1175  __webpack_require__.r(code_namespaceObject);
1176  __webpack_require__.d(code_namespaceObject, "metadata", function() { return code_metadata; });
1177  __webpack_require__.d(code_namespaceObject, "name", function() { return code_name; });
1178  __webpack_require__.d(code_namespaceObject, "settings", function() { return code_settings; });
1179  
1180  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/column/index.js
1181  var build_module_column_namespaceObject = {};
1182  __webpack_require__.r(build_module_column_namespaceObject);
1183  __webpack_require__.d(build_module_column_namespaceObject, "metadata", function() { return column_metadata; });
1184  __webpack_require__.d(build_module_column_namespaceObject, "name", function() { return column_name; });
1185  __webpack_require__.d(build_module_column_namespaceObject, "settings", function() { return column_settings; });
1186  
1187  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/columns/index.js
1188  var build_module_columns_namespaceObject = {};
1189  __webpack_require__.r(build_module_columns_namespaceObject);
1190  __webpack_require__.d(build_module_columns_namespaceObject, "metadata", function() { return columns_metadata; });
1191  __webpack_require__.d(build_module_columns_namespaceObject, "name", function() { return columns_name; });
1192  __webpack_require__.d(build_module_columns_namespaceObject, "settings", function() { return columns_settings; });
1193  
1194  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/cover/index.js
1195  var build_module_cover_namespaceObject = {};
1196  __webpack_require__.r(build_module_cover_namespaceObject);
1197  __webpack_require__.d(build_module_cover_namespaceObject, "metadata", function() { return cover_metadata; });
1198  __webpack_require__.d(build_module_cover_namespaceObject, "name", function() { return cover_name; });
1199  __webpack_require__.d(build_module_cover_namespaceObject, "settings", function() { return cover_settings; });
1200  
1201  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/embed/index.js
1202  var embed_namespaceObject = {};
1203  __webpack_require__.r(embed_namespaceObject);
1204  __webpack_require__.d(embed_namespaceObject, "metadata", function() { return embed_metadata; });
1205  __webpack_require__.d(embed_namespaceObject, "name", function() { return embed_name; });
1206  __webpack_require__.d(embed_namespaceObject, "settings", function() { return embed_settings; });
1207  
1208  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/file/index.js
1209  var build_module_file_namespaceObject = {};
1210  __webpack_require__.r(build_module_file_namespaceObject);
1211  __webpack_require__.d(build_module_file_namespaceObject, "metadata", function() { return file_metadata; });
1212  __webpack_require__.d(build_module_file_namespaceObject, "name", function() { return file_name; });
1213  __webpack_require__.d(build_module_file_namespaceObject, "settings", function() { return file_settings; });
1214  
1215  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
1216  var build_module_gallery_namespaceObject = {};
1217  __webpack_require__.r(build_module_gallery_namespaceObject);
1218  __webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; });
1219  __webpack_require__.d(build_module_gallery_namespaceObject, "name", function() { return gallery_name; });
1220  __webpack_require__.d(build_module_gallery_namespaceObject, "settings", function() { return gallery_settings; });
1221  
1222  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/group/index.js
1223  var group_namespaceObject = {};
1224  __webpack_require__.r(group_namespaceObject);
1225  __webpack_require__.d(group_namespaceObject, "metadata", function() { return group_metadata; });
1226  __webpack_require__.d(group_namespaceObject, "name", function() { return group_name; });
1227  __webpack_require__.d(group_namespaceObject, "settings", function() { return group_settings; });
1228  
1229  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/heading/index.js
1230  var build_module_heading_namespaceObject = {};
1231  __webpack_require__.r(build_module_heading_namespaceObject);
1232  __webpack_require__.d(build_module_heading_namespaceObject, "metadata", function() { return heading_metadata; });
1233  __webpack_require__.d(build_module_heading_namespaceObject, "name", function() { return heading_name; });
1234  __webpack_require__.d(build_module_heading_namespaceObject, "settings", function() { return heading_settings; });
1235  
1236  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/html/index.js
1237  var build_module_html_namespaceObject = {};
1238  __webpack_require__.r(build_module_html_namespaceObject);
1239  __webpack_require__.d(build_module_html_namespaceObject, "metadata", function() { return html_metadata; });
1240  __webpack_require__.d(build_module_html_namespaceObject, "name", function() { return html_name; });
1241  __webpack_require__.d(build_module_html_namespaceObject, "settings", function() { return html_settings; });
1242  
1243  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/image/index.js
1244  var build_module_image_namespaceObject = {};
1245  __webpack_require__.r(build_module_image_namespaceObject);
1246  __webpack_require__.d(build_module_image_namespaceObject, "metadata", function() { return image_metadata; });
1247  __webpack_require__.d(build_module_image_namespaceObject, "name", function() { return image_name; });
1248  __webpack_require__.d(build_module_image_namespaceObject, "settings", function() { return image_settings; });
1249  
1250  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
1251  var latest_comments_namespaceObject = {};
1252  __webpack_require__.r(latest_comments_namespaceObject);
1253  __webpack_require__.d(latest_comments_namespaceObject, "metadata", function() { return latest_comments_metadata; });
1254  __webpack_require__.d(latest_comments_namespaceObject, "name", function() { return latest_comments_name; });
1255  __webpack_require__.d(latest_comments_namespaceObject, "settings", function() { return latest_comments_settings; });
1256  
1257  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
1258  var latest_posts_namespaceObject = {};
1259  __webpack_require__.r(latest_posts_namespaceObject);
1260  __webpack_require__.d(latest_posts_namespaceObject, "metadata", function() { return latest_posts_metadata; });
1261  __webpack_require__.d(latest_posts_namespaceObject, "name", function() { return latest_posts_name; });
1262  __webpack_require__.d(latest_posts_namespaceObject, "settings", function() { return latest_posts_settings; });
1263  
1264  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/list/index.js
1265  var build_module_list_namespaceObject = {};
1266  __webpack_require__.r(build_module_list_namespaceObject);
1267  __webpack_require__.d(build_module_list_namespaceObject, "metadata", function() { return list_metadata; });
1268  __webpack_require__.d(build_module_list_namespaceObject, "name", function() { return list_name; });
1269  __webpack_require__.d(build_module_list_namespaceObject, "settings", function() { return list_settings; });
1270  
1271  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/loginout/index.js
1272  var loginout_namespaceObject = {};
1273  __webpack_require__.r(loginout_namespaceObject);
1274  __webpack_require__.d(loginout_namespaceObject, "metadata", function() { return loginout_metadata; });
1275  __webpack_require__.d(loginout_namespaceObject, "name", function() { return loginout_name; });
1276  __webpack_require__.d(loginout_namespaceObject, "settings", function() { return loginout_settings; });
1277  
1278  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
1279  var media_text_namespaceObject = {};
1280  __webpack_require__.r(media_text_namespaceObject);
1281  __webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; });
1282  __webpack_require__.d(media_text_namespaceObject, "name", function() { return media_text_name; });
1283  __webpack_require__.d(media_text_namespaceObject, "settings", function() { return media_text_settings; });
1284  
1285  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/missing/index.js
1286  var missing_namespaceObject = {};
1287  __webpack_require__.r(missing_namespaceObject);
1288  __webpack_require__.d(missing_namespaceObject, "metadata", function() { return missing_metadata; });
1289  __webpack_require__.d(missing_namespaceObject, "name", function() { return missing_name; });
1290  __webpack_require__.d(missing_namespaceObject, "settings", function() { return missing_settings; });
1291  
1292  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/more/index.js
1293  var build_module_more_namespaceObject = {};
1294  __webpack_require__.r(build_module_more_namespaceObject);
1295  __webpack_require__.d(build_module_more_namespaceObject, "metadata", function() { return more_metadata; });
1296  __webpack_require__.d(build_module_more_namespaceObject, "name", function() { return more_name; });
1297  __webpack_require__.d(build_module_more_namespaceObject, "settings", function() { return more_settings; });
1298  
1299  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation/index.js
1300  var build_module_navigation_namespaceObject = {};
1301  __webpack_require__.r(build_module_navigation_namespaceObject);
1302  __webpack_require__.d(build_module_navigation_namespaceObject, "metadata", function() { return navigation_metadata; });
1303  __webpack_require__.d(build_module_navigation_namespaceObject, "name", function() { return navigation_name; });
1304  __webpack_require__.d(build_module_navigation_namespaceObject, "settings", function() { return navigation_settings; });
1305  
1306  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js
1307  var navigation_link_namespaceObject = {};
1308  __webpack_require__.r(navigation_link_namespaceObject);
1309  __webpack_require__.d(navigation_link_namespaceObject, "metadata", function() { return navigation_link_metadata; });
1310  __webpack_require__.d(navigation_link_namespaceObject, "name", function() { return navigation_link_name; });
1311  __webpack_require__.d(navigation_link_namespaceObject, "settings", function() { return navigation_link_settings; });
1312  
1313  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/index.js
1314  var navigation_submenu_namespaceObject = {};
1315  __webpack_require__.r(navigation_submenu_namespaceObject);
1316  __webpack_require__.d(navigation_submenu_namespaceObject, "metadata", function() { return navigation_submenu_metadata; });
1317  __webpack_require__.d(navigation_submenu_namespaceObject, "name", function() { return navigation_submenu_name; });
1318  __webpack_require__.d(navigation_submenu_namespaceObject, "settings", function() { return navigation_submenu_settings; });
1319  
1320  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
1321  var nextpage_namespaceObject = {};
1322  __webpack_require__.r(nextpage_namespaceObject);
1323  __webpack_require__.d(nextpage_namespaceObject, "metadata", function() { return nextpage_metadata; });
1324  __webpack_require__.d(nextpage_namespaceObject, "name", function() { return nextpage_name; });
1325  __webpack_require__.d(nextpage_namespaceObject, "settings", function() { return nextpage_settings; });
1326  
1327  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pattern/index.js
1328  var pattern_namespaceObject = {};
1329  __webpack_require__.r(pattern_namespaceObject);
1330  __webpack_require__.d(pattern_namespaceObject, "metadata", function() { return pattern_metadata; });
1331  __webpack_require__.d(pattern_namespaceObject, "name", function() { return pattern_name; });
1332  __webpack_require__.d(pattern_namespaceObject, "settings", function() { return pattern_settings; });
1333  
1334  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/page-list/index.js
1335  var page_list_namespaceObject = {};
1336  __webpack_require__.r(page_list_namespaceObject);
1337  __webpack_require__.d(page_list_namespaceObject, "metadata", function() { return page_list_metadata; });
1338  __webpack_require__.d(page_list_namespaceObject, "name", function() { return page_list_name; });
1339  __webpack_require__.d(page_list_namespaceObject, "settings", function() { return page_list_settings; });
1340  
1341  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
1342  var build_module_paragraph_namespaceObject = {};
1343  __webpack_require__.r(build_module_paragraph_namespaceObject);
1344  __webpack_require__.d(build_module_paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; });
1345  __webpack_require__.d(build_module_paragraph_namespaceObject, "name", function() { return paragraph_name; });
1346  __webpack_require__.d(build_module_paragraph_namespaceObject, "settings", function() { return paragraph_settings; });
1347  
1348  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-author/index.js
1349  var build_module_post_author_namespaceObject = {};
1350  __webpack_require__.r(build_module_post_author_namespaceObject);
1351  __webpack_require__.d(build_module_post_author_namespaceObject, "metadata", function() { return post_author_metadata; });
1352  __webpack_require__.d(build_module_post_author_namespaceObject, "name", function() { return post_author_name; });
1353  __webpack_require__.d(build_module_post_author_namespaceObject, "settings", function() { return post_author_settings; });
1354  
1355  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-comments/index.js
1356  var build_module_post_comments_namespaceObject = {};
1357  __webpack_require__.r(build_module_post_comments_namespaceObject);
1358  __webpack_require__.d(build_module_post_comments_namespaceObject, "metadata", function() { return post_comments_metadata; });
1359  __webpack_require__.d(build_module_post_comments_namespaceObject, "name", function() { return post_comments_name; });
1360  __webpack_require__.d(build_module_post_comments_namespaceObject, "settings", function() { return post_comments_settings; });
1361  
1362  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-content/index.js
1363  var build_module_post_content_namespaceObject = {};
1364  __webpack_require__.r(build_module_post_content_namespaceObject);
1365  __webpack_require__.d(build_module_post_content_namespaceObject, "metadata", function() { return post_content_metadata; });
1366  __webpack_require__.d(build_module_post_content_namespaceObject, "name", function() { return post_content_name; });
1367  __webpack_require__.d(build_module_post_content_namespaceObject, "settings", function() { return post_content_settings; });
1368  
1369  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-date/index.js
1370  var build_module_post_date_namespaceObject = {};
1371  __webpack_require__.r(build_module_post_date_namespaceObject);
1372  __webpack_require__.d(build_module_post_date_namespaceObject, "metadata", function() { return post_date_metadata; });
1373  __webpack_require__.d(build_module_post_date_namespaceObject, "name", function() { return post_date_name; });
1374  __webpack_require__.d(build_module_post_date_namespaceObject, "settings", function() { return post_date_settings; });
1375  
1376  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-excerpt/index.js
1377  var build_module_post_excerpt_namespaceObject = {};
1378  __webpack_require__.r(build_module_post_excerpt_namespaceObject);
1379  __webpack_require__.d(build_module_post_excerpt_namespaceObject, "metadata", function() { return post_excerpt_metadata; });
1380  __webpack_require__.d(build_module_post_excerpt_namespaceObject, "name", function() { return post_excerpt_name; });
1381  __webpack_require__.d(build_module_post_excerpt_namespaceObject, "settings", function() { return post_excerpt_settings; });
1382  
1383  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-featured-image/index.js
1384  var build_module_post_featured_image_namespaceObject = {};
1385  __webpack_require__.r(build_module_post_featured_image_namespaceObject);
1386  __webpack_require__.d(build_module_post_featured_image_namespaceObject, "metadata", function() { return post_featured_image_metadata; });
1387  __webpack_require__.d(build_module_post_featured_image_namespaceObject, "name", function() { return post_featured_image_name; });
1388  __webpack_require__.d(build_module_post_featured_image_namespaceObject, "settings", function() { return post_featured_image_settings; });
1389  
1390  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/index.js
1391  var post_navigation_link_namespaceObject = {};
1392  __webpack_require__.r(post_navigation_link_namespaceObject);
1393  __webpack_require__.d(post_navigation_link_namespaceObject, "metadata", function() { return post_navigation_link_metadata; });
1394  __webpack_require__.d(post_navigation_link_namespaceObject, "name", function() { return post_navigation_link_name; });
1395  __webpack_require__.d(post_navigation_link_namespaceObject, "settings", function() { return post_navigation_link_settings; });
1396  
1397  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-template/index.js
1398  var post_template_namespaceObject = {};
1399  __webpack_require__.r(post_template_namespaceObject);
1400  __webpack_require__.d(post_template_namespaceObject, "metadata", function() { return post_template_metadata; });
1401  __webpack_require__.d(post_template_namespaceObject, "name", function() { return post_template_name; });
1402  __webpack_require__.d(post_template_namespaceObject, "settings", function() { return post_template_settings; });
1403  
1404  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-terms/index.js
1405  var post_terms_namespaceObject = {};
1406  __webpack_require__.r(post_terms_namespaceObject);
1407  __webpack_require__.d(post_terms_namespaceObject, "metadata", function() { return post_terms_metadata; });
1408  __webpack_require__.d(post_terms_namespaceObject, "name", function() { return post_terms_name; });
1409  __webpack_require__.d(post_terms_namespaceObject, "settings", function() { return post_terms_settings; });
1410  
1411  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-title/index.js
1412  var build_module_post_title_namespaceObject = {};
1413  __webpack_require__.r(build_module_post_title_namespaceObject);
1414  __webpack_require__.d(build_module_post_title_namespaceObject, "metadata", function() { return post_title_metadata; });
1415  __webpack_require__.d(build_module_post_title_namespaceObject, "name", function() { return post_title_name; });
1416  __webpack_require__.d(build_module_post_title_namespaceObject, "settings", function() { return post_title_settings; });
1417  
1418  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
1419  var build_module_preformatted_namespaceObject = {};
1420  __webpack_require__.r(build_module_preformatted_namespaceObject);
1421  __webpack_require__.d(build_module_preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; });
1422  __webpack_require__.d(build_module_preformatted_namespaceObject, "name", function() { return preformatted_name; });
1423  __webpack_require__.d(build_module_preformatted_namespaceObject, "settings", function() { return preformatted_settings; });
1424  
1425  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
1426  var build_module_pullquote_namespaceObject = {};
1427  __webpack_require__.r(build_module_pullquote_namespaceObject);
1428  __webpack_require__.d(build_module_pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; });
1429  __webpack_require__.d(build_module_pullquote_namespaceObject, "name", function() { return pullquote_name; });
1430  __webpack_require__.d(build_module_pullquote_namespaceObject, "settings", function() { return pullquote_settings; });
1431  
1432  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query/index.js
1433  var query_namespaceObject = {};
1434  __webpack_require__.r(query_namespaceObject);
1435  __webpack_require__.d(query_namespaceObject, "metadata", function() { return query_metadata; });
1436  __webpack_require__.d(query_namespaceObject, "name", function() { return query_name; });
1437  __webpack_require__.d(query_namespaceObject, "settings", function() { return query_settings; });
1438  
1439  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination/index.js
1440  var build_module_query_pagination_namespaceObject = {};
1441  __webpack_require__.r(build_module_query_pagination_namespaceObject);
1442  __webpack_require__.d(build_module_query_pagination_namespaceObject, "metadata", function() { return query_pagination_metadata; });
1443  __webpack_require__.d(build_module_query_pagination_namespaceObject, "name", function() { return query_pagination_name; });
1444  __webpack_require__.d(build_module_query_pagination_namespaceObject, "settings", function() { return query_pagination_settings; });
1445  
1446  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/index.js
1447  var build_module_query_pagination_next_namespaceObject = {};
1448  __webpack_require__.r(build_module_query_pagination_next_namespaceObject);
1449  __webpack_require__.d(build_module_query_pagination_next_namespaceObject, "metadata", function() { return query_pagination_next_metadata; });
1450  __webpack_require__.d(build_module_query_pagination_next_namespaceObject, "name", function() { return query_pagination_next_name; });
1451  __webpack_require__.d(build_module_query_pagination_next_namespaceObject, "settings", function() { return query_pagination_next_settings; });
1452  
1453  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/index.js
1454  var build_module_query_pagination_numbers_namespaceObject = {};
1455  __webpack_require__.r(build_module_query_pagination_numbers_namespaceObject);
1456  __webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "metadata", function() { return query_pagination_numbers_metadata; });
1457  __webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "name", function() { return query_pagination_numbers_name; });
1458  __webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "settings", function() { return query_pagination_numbers_settings; });
1459  
1460  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/index.js
1461  var build_module_query_pagination_previous_namespaceObject = {};
1462  __webpack_require__.r(build_module_query_pagination_previous_namespaceObject);
1463  __webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "metadata", function() { return query_pagination_previous_metadata; });
1464  __webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "name", function() { return query_pagination_previous_name; });
1465  __webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "settings", function() { return query_pagination_previous_settings; });
1466  
1467  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-title/index.js
1468  var query_title_namespaceObject = {};
1469  __webpack_require__.r(query_title_namespaceObject);
1470  __webpack_require__.d(query_title_namespaceObject, "metadata", function() { return query_title_metadata; });
1471  __webpack_require__.d(query_title_namespaceObject, "name", function() { return query_title_name; });
1472  __webpack_require__.d(query_title_namespaceObject, "settings", function() { return query_title_settings; });
1473  
1474  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/quote/index.js
1475  var build_module_quote_namespaceObject = {};
1476  __webpack_require__.r(build_module_quote_namespaceObject);
1477  __webpack_require__.d(build_module_quote_namespaceObject, "metadata", function() { return quote_metadata; });
1478  __webpack_require__.d(build_module_quote_namespaceObject, "name", function() { return quote_name; });
1479  __webpack_require__.d(build_module_quote_namespaceObject, "settings", function() { return quote_settings; });
1480  
1481  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/block/index.js
1482  var block_namespaceObject = {};
1483  __webpack_require__.r(block_namespaceObject);
1484  __webpack_require__.d(block_namespaceObject, "metadata", function() { return block_metadata; });
1485  __webpack_require__.d(block_namespaceObject, "name", function() { return block_name; });
1486  __webpack_require__.d(block_namespaceObject, "settings", function() { return block_settings; });
1487  
1488  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/rss/index.js
1489  var build_module_rss_namespaceObject = {};
1490  __webpack_require__.r(build_module_rss_namespaceObject);
1491  __webpack_require__.d(build_module_rss_namespaceObject, "metadata", function() { return rss_metadata; });
1492  __webpack_require__.d(build_module_rss_namespaceObject, "name", function() { return rss_name; });
1493  __webpack_require__.d(build_module_rss_namespaceObject, "settings", function() { return rss_settings; });
1494  
1495  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/search/index.js
1496  var search_namespaceObject = {};
1497  __webpack_require__.r(search_namespaceObject);
1498  __webpack_require__.d(search_namespaceObject, "metadata", function() { return search_metadata; });
1499  __webpack_require__.d(search_namespaceObject, "name", function() { return search_name; });
1500  __webpack_require__.d(search_namespaceObject, "settings", function() { return search_settings; });
1501  
1502  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/separator/index.js
1503  var build_module_separator_namespaceObject = {};
1504  __webpack_require__.r(build_module_separator_namespaceObject);
1505  __webpack_require__.d(build_module_separator_namespaceObject, "metadata", function() { return separator_metadata; });
1506  __webpack_require__.d(build_module_separator_namespaceObject, "name", function() { return separator_name; });
1507  __webpack_require__.d(build_module_separator_namespaceObject, "settings", function() { return build_module_separator_settings; });
1508  
1509  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
1510  var build_module_shortcode_namespaceObject = {};
1511  __webpack_require__.r(build_module_shortcode_namespaceObject);
1512  __webpack_require__.d(build_module_shortcode_namespaceObject, "metadata", function() { return shortcode_metadata; });
1513  __webpack_require__.d(build_module_shortcode_namespaceObject, "name", function() { return shortcode_name; });
1514  __webpack_require__.d(build_module_shortcode_namespaceObject, "settings", function() { return shortcode_settings; });
1515  
1516  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-logo/index.js
1517  var build_module_site_logo_namespaceObject = {};
1518  __webpack_require__.r(build_module_site_logo_namespaceObject);
1519  __webpack_require__.d(build_module_site_logo_namespaceObject, "metadata", function() { return site_logo_metadata; });
1520  __webpack_require__.d(build_module_site_logo_namespaceObject, "name", function() { return site_logo_name; });
1521  __webpack_require__.d(build_module_site_logo_namespaceObject, "settings", function() { return site_logo_settings; });
1522  
1523  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-tagline/index.js
1524  var site_tagline_namespaceObject = {};
1525  __webpack_require__.r(site_tagline_namespaceObject);
1526  __webpack_require__.d(site_tagline_namespaceObject, "metadata", function() { return site_tagline_metadata; });
1527  __webpack_require__.d(site_tagline_namespaceObject, "name", function() { return site_tagline_name; });
1528  __webpack_require__.d(site_tagline_namespaceObject, "settings", function() { return site_tagline_settings; });
1529  
1530  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-title/index.js
1531  var site_title_namespaceObject = {};
1532  __webpack_require__.r(site_title_namespaceObject);
1533  __webpack_require__.d(site_title_namespaceObject, "metadata", function() { return site_title_metadata; });
1534  __webpack_require__.d(site_title_namespaceObject, "name", function() { return site_title_name; });
1535  __webpack_require__.d(site_title_namespaceObject, "settings", function() { return site_title_settings; });
1536  
1537  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
1538  var social_link_namespaceObject = {};
1539  __webpack_require__.r(social_link_namespaceObject);
1540  __webpack_require__.d(social_link_namespaceObject, "metadata", function() { return social_link_metadata; });
1541  __webpack_require__.d(social_link_namespaceObject, "name", function() { return social_link_name; });
1542  __webpack_require__.d(social_link_namespaceObject, "settings", function() { return social_link_settings; });
1543  
1544  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
1545  var social_links_namespaceObject = {};
1546  __webpack_require__.r(social_links_namespaceObject);
1547  __webpack_require__.d(social_links_namespaceObject, "metadata", function() { return social_links_metadata; });
1548  __webpack_require__.d(social_links_namespaceObject, "name", function() { return social_links_name; });
1549  __webpack_require__.d(social_links_namespaceObject, "settings", function() { return social_links_settings; });
1550  
1551  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
1552  var spacer_namespaceObject = {};
1553  __webpack_require__.r(spacer_namespaceObject);
1554  __webpack_require__.d(spacer_namespaceObject, "metadata", function() { return spacer_metadata; });
1555  __webpack_require__.d(spacer_namespaceObject, "name", function() { return spacer_name; });
1556  __webpack_require__.d(spacer_namespaceObject, "settings", function() { return spacer_settings; });
1557  
1558  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/table/index.js
1559  var build_module_table_namespaceObject = {};
1560  __webpack_require__.r(build_module_table_namespaceObject);
1561  __webpack_require__.d(build_module_table_namespaceObject, "metadata", function() { return table_metadata; });
1562  __webpack_require__.d(build_module_table_namespaceObject, "name", function() { return table_name; });
1563  __webpack_require__.d(build_module_table_namespaceObject, "settings", function() { return table_settings; });
1564  
1565  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
1566  var tag_cloud_namespaceObject = {};
1567  __webpack_require__.r(tag_cloud_namespaceObject);
1568  __webpack_require__.d(tag_cloud_namespaceObject, "metadata", function() { return tag_cloud_metadata; });
1569  __webpack_require__.d(tag_cloud_namespaceObject, "name", function() { return tag_cloud_name; });
1570  __webpack_require__.d(tag_cloud_namespaceObject, "settings", function() { return tag_cloud_settings; });
1571  
1572  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/template-part/index.js
1573  var template_part_namespaceObject = {};
1574  __webpack_require__.r(template_part_namespaceObject);
1575  __webpack_require__.d(template_part_namespaceObject, "metadata", function() { return template_part_metadata; });
1576  __webpack_require__.d(template_part_namespaceObject, "name", function() { return template_part_name; });
1577  __webpack_require__.d(template_part_namespaceObject, "settings", function() { return template_part_settings; });
1578  
1579  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/term-description/index.js
1580  var build_module_term_description_namespaceObject = {};
1581  __webpack_require__.r(build_module_term_description_namespaceObject);
1582  __webpack_require__.d(build_module_term_description_namespaceObject, "metadata", function() { return term_description_metadata; });
1583  __webpack_require__.d(build_module_term_description_namespaceObject, "name", function() { return term_description_name; });
1584  __webpack_require__.d(build_module_term_description_namespaceObject, "settings", function() { return term_description_settings; });
1585  
1586  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
1587  var text_columns_namespaceObject = {};
1588  __webpack_require__.r(text_columns_namespaceObject);
1589  __webpack_require__.d(text_columns_namespaceObject, "metadata", function() { return text_columns_metadata; });
1590  __webpack_require__.d(text_columns_namespaceObject, "name", function() { return text_columns_name; });
1591  __webpack_require__.d(text_columns_namespaceObject, "settings", function() { return text_columns_settings; });
1592  
1593  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/verse/index.js
1594  var build_module_verse_namespaceObject = {};
1595  __webpack_require__.r(build_module_verse_namespaceObject);
1596  __webpack_require__.d(build_module_verse_namespaceObject, "metadata", function() { return verse_metadata; });
1597  __webpack_require__.d(build_module_verse_namespaceObject, "name", function() { return verse_name; });
1598  __webpack_require__.d(build_module_verse_namespaceObject, "settings", function() { return verse_settings; });
1599  
1600  // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/video/index.js
1601  var build_module_video_namespaceObject = {};
1602  __webpack_require__.r(build_module_video_namespaceObject);
1603  __webpack_require__.d(build_module_video_namespaceObject, "metadata", function() { return video_metadata; });
1604  __webpack_require__.d(build_module_video_namespaceObject, "name", function() { return video_name; });
1605  __webpack_require__.d(build_module_video_namespaceObject, "settings", function() { return video_settings; });
1606  
1607  // EXTERNAL MODULE: external ["wp","blocks"]
1608  var external_wp_blocks_ = __webpack_require__("HSyU");
1609  
1610  // EXTERNAL MODULE: external ["wp","element"]
1611  var external_wp_element_ = __webpack_require__("GRId");
1612  
1613  // EXTERNAL MODULE: external ["wp","primitives"]
1614  var external_wp_primitives_ = __webpack_require__("Tqx9");
1615  
1616  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive.js
1617  
1618  
1619  /**
1620   * WordPress dependencies
1621   */
1622  
1623  const archive = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
1624    viewBox: "0 0 24 24",
1625    xmlns: "http://www.w3.org/2000/svg"
1626  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
1627    d: "M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"
1628  }));
1629  /* harmony default export */ var library_archive = (archive);
1630  
1631  // EXTERNAL MODULE: external ["wp","components"]
1632  var external_wp_components_ = __webpack_require__("tI+e");
1633  
1634  // EXTERNAL MODULE: external ["wp","i18n"]
1635  var external_wp_i18n_ = __webpack_require__("l3Sj");
1636  
1637  // EXTERNAL MODULE: external ["wp","blockEditor"]
1638  var external_wp_blockEditor_ = __webpack_require__("axFQ");
1639  
1640  // EXTERNAL MODULE: external ["wp","serverSideRender"]
1641  var external_wp_serverSideRender_ = __webpack_require__("JREk");
1642  var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_);
1643  
1644  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js
1645  
1646  
1647  /**
1648   * WordPress dependencies
1649   */
1650  
1651  
1652  
1653  
1654  function ArchivesEdit(_ref) {
1655    let {
1656      attributes,
1657      setAttributes
1658    } = _ref;
1659    const {
1660      showPostCounts,
1661      displayAsDropdown
1662    } = attributes;
1663    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
1664      title: Object(external_wp_i18n_["__"])('Archives settings')
1665    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
1666      label: Object(external_wp_i18n_["__"])('Display as dropdown'),
1667      checked: displayAsDropdown,
1668      onChange: () => setAttributes({
1669        displayAsDropdown: !displayAsDropdown
1670      })
1671    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
1672      label: Object(external_wp_i18n_["__"])('Show post counts'),
1673      checked: showPostCounts,
1674      onChange: () => setAttributes({
1675        showPostCounts: !showPostCounts
1676      })
1677    }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
1678      block: "core/archives",
1679      attributes: attributes
1680    }))));
1681  }
1682  
1683  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js
1684  /**
1685   * WordPress dependencies
1686   */
1687  
1688  /**
1689   * Internal dependencies
1690   */
1691  
1692  const archives_metadata = {
1693    apiVersion: 2,
1694    name: "core/archives",
1695    title: "Archives",
1696    category: "widgets",
1697    description: "Display a monthly archive of your posts.",
1698    textdomain: "default",
1699    attributes: {
1700      displayAsDropdown: {
1701        type: "boolean",
1702        "default": false
1703      },
1704      showPostCounts: {
1705        type: "boolean",
1706        "default": false
1707      }
1708    },
1709    supports: {
1710      align: true,
1711      html: false
1712    },
1713    editorStyle: "wp-block-archives-editor"
1714  };
1715  
1716  const {
1717    name: archives_name
1718  } = archives_metadata;
1719  
1720  const archives_settings = {
1721    icon: library_archive,
1722    example: {},
1723    edit: ArchivesEdit
1724  };
1725  
1726  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/audio.js
1727  
1728  
1729  /**
1730   * WordPress dependencies
1731   */
1732  
1733  const audio = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
1734    viewBox: "0 0 24 24",
1735    xmlns: "http://www.w3.org/2000/svg"
1736  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
1737    d: "M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"
1738  }));
1739  /* harmony default export */ var library_audio = (audio);
1740  
1741  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js
1742  
1743  
1744  /**
1745   * WordPress dependencies
1746   */
1747  
1748  /* harmony default export */ var deprecated = ([{
1749    attributes: {
1750      src: {
1751        type: 'string',
1752        source: 'attribute',
1753        selector: 'audio',
1754        attribute: 'src'
1755      },
1756      caption: {
1757        type: 'string',
1758        source: 'html',
1759        selector: 'figcaption'
1760      },
1761      id: {
1762        type: 'number'
1763      },
1764      autoplay: {
1765        type: 'boolean',
1766        source: 'attribute',
1767        selector: 'audio',
1768        attribute: 'autoplay'
1769      },
1770      loop: {
1771        type: 'boolean',
1772        source: 'attribute',
1773        selector: 'audio',
1774        attribute: 'loop'
1775      },
1776      preload: {
1777        type: 'string',
1778        source: 'attribute',
1779        selector: 'audio',
1780        attribute: 'preload'
1781      }
1782    },
1783    supports: {
1784      align: true
1785    },
1786  
1787    save(_ref) {
1788      let {
1789        attributes
1790      } = _ref;
1791      const {
1792        autoplay,
1793        caption,
1794        loop,
1795        preload,
1796        src
1797      } = attributes;
1798      return Object(external_wp_element_["createElement"])("figure", null, Object(external_wp_element_["createElement"])("audio", {
1799        controls: "controls",
1800        src: src,
1801        autoPlay: autoplay,
1802        loop: loop,
1803        preload: preload
1804      }), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
1805        tagName: "figcaption",
1806        value: caption
1807      }));
1808    }
1809  
1810  }]);
1811  
1812  // EXTERNAL MODULE: external ["wp","blob"]
1813  var external_wp_blob_ = __webpack_require__("xTGt");
1814  
1815  // EXTERNAL MODULE: external ["wp","data"]
1816  var external_wp_data_ = __webpack_require__("1ZqX");
1817  
1818  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
1819  const ASPECT_RATIOS = [// Common video resolutions.
1820  {
1821    ratio: '2.33',
1822    className: 'wp-embed-aspect-21-9'
1823  }, {
1824    ratio: '2.00',
1825    className: 'wp-embed-aspect-18-9'
1826  }, {
1827    ratio: '1.78',
1828    className: 'wp-embed-aspect-16-9'
1829  }, {
1830    ratio: '1.33',
1831    className: 'wp-embed-aspect-4-3'
1832  }, // Vertical video and instagram square video support.
1833  {
1834    ratio: '1.00',
1835    className: 'wp-embed-aspect-1-1'
1836  }, {
1837    ratio: '0.56',
1838    className: 'wp-embed-aspect-9-16'
1839  }, {
1840    ratio: '0.50',
1841    className: 'wp-embed-aspect-1-2'
1842  }];
1843  const WP_EMBED_TYPE = 'wp-embed';
1844  
1845  // EXTERNAL MODULE: external "lodash"
1846  var external_lodash_ = __webpack_require__("YLtl");
1847  
1848  // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
1849  var dedupe = __webpack_require__("A/WM");
1850  var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
1851  
1852  // EXTERNAL MODULE: ./node_modules/memize/index.js
1853  var memize = __webpack_require__("4eJC");
1854  var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
1855  
1856  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
1857  
1858  
1859  /**
1860   * Internal dependencies
1861   */
1862  
1863  /**
1864   * External dependencies
1865   */
1866  
1867  
1868  
1869  
1870  /**
1871   * WordPress dependencies
1872   */
1873  
1874  
1875  
1876  /**
1877   * Internal dependencies
1878   */
1879  
1880  const util_metadata = {
1881    apiVersion: 2,
1882    name: "core/embed",
1883    title: "Embed",
1884    category: "embed",
1885    description: "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
1886    textdomain: "default",
1887    attributes: {
1888      url: {
1889        type: "string"
1890      },
1891      caption: {
1892        type: "string",
1893        source: "html",
1894        selector: "figcaption"
1895      },
1896      type: {
1897        type: "string"
1898      },
1899      providerNameSlug: {
1900        type: "string"
1901      },
1902      allowResponsive: {
1903        type: "boolean",
1904        "default": true
1905      },
1906      responsive: {
1907        type: "boolean",
1908        "default": false
1909      },
1910      previewable: {
1911        type: "boolean",
1912        "default": true
1913      }
1914    },
1915    supports: {
1916      align: true
1917    },
1918    editorStyle: "wp-block-embed-editor",
1919    style: "wp-block-embed"
1920  };
1921  const {
1922    name: DEFAULT_EMBED_BLOCK
1923  } = util_metadata;
1924  /** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */
1925  
1926  /**
1927   * Returns the embed block's information by matching the provided service provider
1928   *
1929   * @param {string} provider The embed block's provider
1930   * @return {WPBlockVariation} The embed block's information
1931   */
1932  
1933  const getEmbedInfoByProvider = provider => {
1934    var _getBlockVariations;
1935  
1936    return (_getBlockVariations = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations === void 0 ? void 0 : _getBlockVariations.find(_ref => {
1937      let {
1938        name
1939      } = _ref;
1940      return name === provider;
1941    });
1942  };
1943  /**
1944   * Returns true if any of the regular expressions match the URL.
1945   *
1946   * @param {string} url      The URL to test.
1947   * @param {Array}  patterns The list of regular expressions to test agains.
1948   * @return {boolean} True if any of the regular expressions match the URL.
1949   */
1950  
1951  const matchesPatterns = function (url) {
1952    let patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
1953    return patterns.some(pattern => url.match(pattern));
1954  };
1955  /**
1956   * Finds the block variation that should be used for the URL,
1957   * based on the provided URL and the variation's patterns.
1958   *
1959   * @param {string} url The URL to test.
1960   * @return {WPBlockVariation} The block variation that should be used for this URL
1961   */
1962  
1963  const findMoreSuitableBlock = url => {
1964    var _getBlockVariations2;
1965  
1966    return (_getBlockVariations2 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations2 === void 0 ? void 0 : _getBlockVariations2.find(_ref2 => {
1967      let {
1968        patterns
1969      } = _ref2;
1970      return matchesPatterns(url, patterns);
1971    });
1972  };
1973  const isFromWordPress = html => html && html.includes('class="wp-embedded-content"');
1974  const getPhotoHtml = photo => {
1975    // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
1976    // actually the full size photo. If thumbnails not found, use full image.
1977    const imageUrl = photo.thumbnail_url || photo.url;
1978    const photoPreview = Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])("img", {
1979      src: imageUrl,
1980      alt: photo.title,
1981      width: "100%"
1982    }));
1983    return Object(external_wp_element_["renderToString"])(photoPreview);
1984  };
1985  /**
1986   * Creates a more suitable embed block based on the passed in props
1987   * and attributes generated from an embed block's preview.
1988   *
1989   * We require `attributesFromPreview` to be generated from the latest attributes
1990   * and preview, and because of the way the react lifecycle operates, we can't
1991   * guarantee that the attributes contained in the block's props are the latest
1992   * versions, so we require that these are generated separately.
1993   * See `getAttributesFromPreview` in the generated embed edit component.
1994   *
1995   * @param {Object} props                   The block's props.
1996   * @param {Object} [attributesFromPreview] Attributes generated from the block's most up to date preview.
1997   * @return {Object|undefined} A more suitable embed block if one exists.
1998   */
1999  
2000  const createUpgradedEmbedBlock = function (props) {
2001    var _getBlockVariations3;
2002  
2003    let attributesFromPreview = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2004    const {
2005      preview,
2006      attributes = {}
2007    } = props;
2008    const {
2009      url,
2010      providerNameSlug,
2011      type,
2012      ...restAttributes
2013    } = attributes;
2014    if (!url || !Object(external_wp_blocks_["getBlockType"])(DEFAULT_EMBED_BLOCK)) return;
2015    const matchedBlock = findMoreSuitableBlock(url); // WordPress blocks can work on multiple sites, and so don't have patterns,
2016    // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.
2017  
2018    const isCurrentBlockWP = providerNameSlug === 'wordpress' || type === WP_EMBED_TYPE; // if current block is not WordPress and a more suitable block found
2019    // that is different from the current one, create the new matched block
2020  
2021    const shouldCreateNewBlock = !isCurrentBlockWP && matchedBlock && (matchedBlock.attributes.providerNameSlug !== providerNameSlug || !providerNameSlug);
2022  
2023    if (shouldCreateNewBlock) {
2024      return Object(external_wp_blocks_["createBlock"])(DEFAULT_EMBED_BLOCK, {
2025        url,
2026        ...restAttributes,
2027        ...matchedBlock.attributes
2028      });
2029    }
2030  
2031    const wpVariation = (_getBlockVariations3 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations3 === void 0 ? void 0 : _getBlockVariations3.find(_ref3 => {
2032      let {
2033        name
2034      } = _ref3;
2035      return name === 'wordpress';
2036    }); // We can't match the URL for WordPress embeds, we have to check the HTML instead.
2037  
2038    if (!wpVariation || !preview || !isFromWordPress(preview.html) || isCurrentBlockWP) {
2039      return;
2040    } // This is not the WordPress embed block so transform it into one.
2041  
2042  
2043    return Object(external_wp_blocks_["createBlock"])(DEFAULT_EMBED_BLOCK, {
2044      url,
2045      ...wpVariation.attributes,
2046      // By now we have the preview, but when the new block first renders, it
2047      // won't have had all the attributes set, and so won't get the correct
2048      // type and it won't render correctly. So, we pass through the current attributes
2049      // here so that the initial render works when we switch to the WordPress
2050      // block. This only affects the WordPress block because it can't be
2051      // rendered in the usual Sandbox (it has a sandbox of its own) and it
2052      // relies on the preview to set the correct render type.
2053      ...attributesFromPreview
2054    });
2055  };
2056  /**
2057   * Removes all previously set aspect ratio related classes and return the rest
2058   * existing class names.
2059   *
2060   * @param {string} existingClassNames Any existing class names.
2061   * @return {string} The class names without any aspect ratio related class.
2062   */
2063  
2064  const removeAspectRatioClasses = existingClassNames => {
2065    if (!existingClassNames) {
2066      // Avoids extraneous work and also, by returning the same value as
2067      // received, ensures the post is not dirtied by a change of the block
2068      // attribute from `undefined` to an emtpy string.
2069      return existingClassNames;
2070    }
2071  
2072    const aspectRatioClassNames = ASPECT_RATIOS.reduce((accumulator, _ref4) => {
2073      let {
2074        className
2075      } = _ref4;
2076      accumulator[className] = false;
2077      return accumulator;
2078    }, {
2079      'wp-has-aspect-ratio': false
2080    });
2081    return dedupe_default()(existingClassNames, aspectRatioClassNames);
2082  };
2083  /**
2084   * Returns class names with any relevant responsive aspect ratio names.
2085   *
2086   * @param {string}  html               The preview HTML that possibly contains an iframe with width and height set.
2087   * @param {string}  existingClassNames Any existing class names.
2088   * @param {boolean} allowResponsive    If the responsive class names should be added, or removed.
2089   * @return {string} Deduped class names.
2090   */
2091  
2092  function getClassNames(html, existingClassNames) {
2093    let allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
2094  
2095    if (!allowResponsive) {
2096      return removeAspectRatioClasses(existingClassNames);
2097    }
2098  
2099    const previewDocument = document.implementation.createHTMLDocument('');
2100    previewDocument.body.innerHTML = html;
2101    const iframe = previewDocument.body.querySelector('iframe'); // If we have a fixed aspect iframe, and it's a responsive embed block.
2102  
2103    if (iframe && iframe.height && iframe.width) {
2104      const aspectRatio = (iframe.width / iframe.height).toFixed(2); // Given the actual aspect ratio, find the widest ratio to support it.
2105  
2106      for (let ratioIndex = 0; ratioIndex < ASPECT_RATIOS.length; ratioIndex++) {
2107        const potentialRatio = ASPECT_RATIOS[ratioIndex];
2108  
2109        if (aspectRatio >= potentialRatio.ratio) {
2110          // Evaluate the difference between actual aspect ratio and closest match.
2111          // If the difference is too big, do not scale the embed according to aspect ratio.
2112          const ratioDiff = aspectRatio - potentialRatio.ratio;
2113  
2114          if (ratioDiff > 0.1) {
2115            // No close aspect ratio match found.
2116            return removeAspectRatioClasses(existingClassNames);
2117          } // Close aspect ratio match found.
2118  
2119  
2120          return dedupe_default()(removeAspectRatioClasses(existingClassNames), potentialRatio.className, 'wp-has-aspect-ratio');
2121        }
2122      }
2123    }
2124  
2125    return existingClassNames;
2126  }
2127  /**
2128   * Fallback behaviour for unembeddable URLs.
2129   * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
2130   *
2131   * @param {string}   url       The URL that could not be embedded.
2132   * @param {Function} onReplace Function to call with the created fallback block.
2133   */
2134  
2135  function util_fallback(url, onReplace) {
2136    const link = Object(external_wp_element_["createElement"])("a", {
2137      href: url
2138    }, url);
2139    onReplace(Object(external_wp_blocks_["createBlock"])('core/paragraph', {
2140      content: Object(external_wp_element_["renderToString"])(link)
2141    }));
2142  }
2143  /***
2144   * Gets block attributes based on the preview and responsive state.
2145   *
2146   * @param {Object} preview The preview data.
2147   * @param {string} title The block's title, e.g. Twitter.
2148   * @param {Object} currentClassNames The block's current class names.
2149   * @param {boolean} isResponsive Boolean indicating if the block supports responsive content.
2150   * @param {boolean} allowResponsive Apply responsive classes to fixed size content.
2151   * @return {Object} Attributes and values.
2152   */
2153  
2154  const getAttributesFromPreview = memize_default()(function (preview, title, currentClassNames, isResponsive) {
2155    let allowResponsive = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
2156  
2157    if (!preview) {
2158      return {};
2159    }
2160  
2161    const attributes = {}; // Some plugins only return HTML with no type info, so default this to 'rich'.
2162  
2163    let {
2164      type = 'rich'
2165    } = preview; // If we got a provider name from the API, use it for the slug, otherwise we use the title,
2166    // because not all embed code gives us a provider name.
2167  
2168    const {
2169      html,
2170      provider_name: providerName
2171    } = preview;
2172    const providerNameSlug = Object(external_lodash_["kebabCase"])((providerName || title).toLowerCase());
2173  
2174    if (isFromWordPress(html)) {
2175      type = WP_EMBED_TYPE;
2176    }
2177  
2178    if (html || 'photo' === type) {
2179      attributes.type = type;
2180      attributes.providerNameSlug = providerNameSlug;
2181    }
2182  
2183    attributes.className = getClassNames(html, currentClassNames, isResponsive && allowResponsive);
2184    return attributes;
2185  });
2186  
2187  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js
2188  
2189  
2190  /**
2191   * WordPress dependencies
2192   */
2193  
2194  
2195  
2196  
2197  
2198  
2199  
2200  
2201  /**
2202   * Internal dependencies
2203   */
2204  
2205  
2206  const ALLOWED_MEDIA_TYPES = ['audio'];
2207  
2208  function AudioEdit(_ref) {
2209    let {
2210      attributes,
2211      noticeOperations,
2212      setAttributes,
2213      onReplace,
2214      isSelected,
2215      noticeUI,
2216      insertBlocksAfter
2217    } = _ref;
2218    const {
2219      id,
2220      autoplay,
2221      caption,
2222      loop,
2223      preload,
2224      src
2225    } = attributes;
2226    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
2227    const mediaUpload = Object(external_wp_data_["useSelect"])(select => {
2228      const {
2229        getSettings
2230      } = select(external_wp_blockEditor_["store"]);
2231      return getSettings().mediaUpload;
2232    }, []);
2233    Object(external_wp_element_["useEffect"])(() => {
2234      if (!id && Object(external_wp_blob_["isBlobURL"])(src)) {
2235        const file = Object(external_wp_blob_["getBlobByURL"])(src);
2236  
2237        if (file) {
2238          mediaUpload({
2239            filesList: [file],
2240            onFileChange: _ref2 => {
2241              let [{
2242                id: mediaId,
2243                url
2244              }] = _ref2;
2245              setAttributes({
2246                id: mediaId,
2247                src: url
2248              });
2249            },
2250            onError: e => {
2251              setAttributes({
2252                src: undefined,
2253                id: undefined
2254              });
2255              noticeOperations.createErrorNotice(e);
2256            },
2257            allowedTypes: ALLOWED_MEDIA_TYPES
2258          });
2259        }
2260      }
2261    }, []);
2262  
2263    function toggleAttribute(attribute) {
2264      return newValue => {
2265        setAttributes({
2266          [attribute]: newValue
2267        });
2268      };
2269    }
2270  
2271    function onSelectURL(newSrc) {
2272      // Set the block's src from the edit component's state, and switch off
2273      // the editing UI.
2274      if (newSrc !== src) {
2275        // Check if there's an embed block that handles this URL.
2276        const embedBlock = createUpgradedEmbedBlock({
2277          attributes: {
2278            url: newSrc
2279          }
2280        });
2281  
2282        if (undefined !== embedBlock) {
2283          onReplace(embedBlock);
2284          return;
2285        }
2286  
2287        setAttributes({
2288          src: newSrc,
2289          id: undefined
2290        });
2291      }
2292    }
2293  
2294    function onUploadError(message) {
2295      noticeOperations.removeAllNotices();
2296      noticeOperations.createErrorNotice(message);
2297    }
2298  
2299    function getAutoplayHelp(checked) {
2300      return checked ? Object(external_wp_i18n_["__"])('Autoplay may cause usability issues for some users.') : null;
2301    } // const { setAttributes, isSelected, noticeUI } = this.props;
2302  
2303  
2304    function onSelectAudio(media) {
2305      if (!media || !media.url) {
2306        // in this case there was an error and we should continue in the editing state
2307        // previous attributes should be removed because they may be temporary blob urls
2308        setAttributes({
2309          src: undefined,
2310          id: undefined
2311        });
2312        return;
2313      } // sets the block's attribute and updates the edit component from the
2314      // selected media, then switches off the editing UI
2315  
2316  
2317      setAttributes({
2318        src: media.url,
2319        id: media.id
2320      });
2321    }
2322  
2323    if (!src) {
2324      return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
2325        icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
2326          icon: library_audio
2327        }),
2328        onSelect: onSelectAudio,
2329        onSelectURL: onSelectURL,
2330        accept: "audio/*",
2331        allowedTypes: ALLOWED_MEDIA_TYPES,
2332        value: attributes,
2333        notices: noticeUI,
2334        onError: onUploadError
2335      }));
2336    }
2337  
2338    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
2339      group: "other"
2340    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
2341      mediaId: id,
2342      mediaURL: src,
2343      allowedTypes: ALLOWED_MEDIA_TYPES,
2344      accept: "audio/*",
2345      onSelect: onSelectAudio,
2346      onSelectURL: onSelectURL,
2347      onError: onUploadError
2348    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
2349      title: Object(external_wp_i18n_["__"])('Audio settings')
2350    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
2351      label: Object(external_wp_i18n_["__"])('Autoplay'),
2352      onChange: toggleAttribute('autoplay'),
2353      checked: autoplay,
2354      help: getAutoplayHelp
2355    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
2356      label: Object(external_wp_i18n_["__"])('Loop'),
2357      onChange: toggleAttribute('loop'),
2358      checked: loop
2359    }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
2360      label: Object(external_wp_i18n_["_x"])('Preload', 'noun; Audio block parameter'),
2361      value: preload || '' // `undefined` is required for the preload attribute to be unset.
2362      ,
2363      onChange: value => setAttributes({
2364        preload: value || undefined
2365      }),
2366      options: [{
2367        value: '',
2368        label: Object(external_wp_i18n_["__"])('Browser default')
2369      }, {
2370        value: 'auto',
2371        label: Object(external_wp_i18n_["__"])('Auto')
2372      }, {
2373        value: 'metadata',
2374        label: Object(external_wp_i18n_["__"])('Metadata')
2375      }, {
2376        value: 'none',
2377        label: Object(external_wp_i18n_["_x"])('None', '"Preload" value')
2378      }]
2379    }))), Object(external_wp_element_["createElement"])("figure", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], {
2380      isDisabled: !isSelected
2381    }, Object(external_wp_element_["createElement"])("audio", {
2382      controls: "controls",
2383      src: src
2384    })), (!external_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
2385      tagName: "figcaption",
2386      "aria-label": Object(external_wp_i18n_["__"])('Audio caption text'),
2387      placeholder: Object(external_wp_i18n_["__"])('Add caption'),
2388      value: caption,
2389      onChange: value => setAttributes({
2390        caption: value
2391      }),
2392      inlineToolbar: true,
2393      __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
2394    })));
2395  }
2396  
2397  /* harmony default export */ var edit = (Object(external_wp_components_["withNotices"])(AudioEdit));
2398  
2399  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/save.js
2400  
2401  
2402  /**
2403   * WordPress dependencies
2404   */
2405  
2406  function save(_ref) {
2407    let {
2408      attributes
2409    } = _ref;
2410    const {
2411      autoplay,
2412      caption,
2413      loop,
2414      preload,
2415      src
2416    } = attributes;
2417    return src && Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("audio", {
2418      controls: "controls",
2419      src: src,
2420      autoPlay: autoplay,
2421      loop: loop,
2422      preload: preload
2423    }), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
2424      tagName: "figcaption",
2425      value: caption
2426    }));
2427  }
2428  
2429  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/transforms.js
2430  /**
2431   * WordPress dependencies
2432   */
2433  
2434  
2435  const transforms_transforms = {
2436    from: [{
2437      type: 'files',
2438  
2439      isMatch(files) {
2440        return files.length === 1 && files[0].type.indexOf('audio/') === 0;
2441      },
2442  
2443      transform(files) {
2444        const file = files[0]; // We don't need to upload the media directly here
2445        // It's already done as part of the `componentDidMount`
2446        // in the audio block
2447  
2448        const block = Object(external_wp_blocks_["createBlock"])('core/audio', {
2449          src: Object(external_wp_blob_["createBlobURL"])(file)
2450        });
2451        return block;
2452      }
2453  
2454    }, {
2455      type: 'shortcode',
2456      tag: 'audio',
2457      attributes: {
2458        src: {
2459          type: 'string',
2460          shortcode: _ref => {
2461            let {
2462              named: {
2463                src,
2464                mp3,
2465                m4a,
2466                ogg,
2467                wav,
2468                wma
2469              }
2470            } = _ref;
2471            return src || mp3 || m4a || ogg || wav || wma;
2472          }
2473        },
2474        loop: {
2475          type: 'string',
2476          shortcode: _ref2 => {
2477            let {
2478              named: {
2479                loop
2480              }
2481            } = _ref2;
2482            return loop;
2483          }
2484        },
2485        autoplay: {
2486          type: 'string',
2487          shortcode: _ref3 => {
2488            let {
2489              named: {
2490                autoplay
2491              }
2492            } = _ref3;
2493            return autoplay;
2494          }
2495        },
2496        preload: {
2497          type: 'string',
2498          shortcode: _ref4 => {
2499            let {
2500              named: {
2501                preload
2502              }
2503            } = _ref4;
2504            return preload;
2505          }
2506        }
2507      }
2508    }]
2509  };
2510  /* harmony default export */ var audio_transforms = (transforms_transforms);
2511  
2512  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
2513  /**
2514   * WordPress dependencies
2515   */
2516  
2517  /**
2518   * Internal dependencies
2519   */
2520  
2521  
2522  
2523  const audio_metadata = {
2524    apiVersion: 2,
2525    name: "core/audio",
2526    title: "Audio",
2527    category: "media",
2528    description: "Embed a simple audio player.",
2529    keywords: ["music", "sound", "podcast", "recording"],
2530    textdomain: "default",
2531    attributes: {
2532      src: {
2533        type: "string",
2534        source: "attribute",
2535        selector: "audio",
2536        attribute: "src"
2537      },
2538      caption: {
2539        type: "string",
2540        source: "html",
2541        selector: "figcaption"
2542      },
2543      id: {
2544        type: "number"
2545      },
2546      autoplay: {
2547        type: "boolean",
2548        source: "attribute",
2549        selector: "audio",
2550        attribute: "autoplay"
2551      },
2552      loop: {
2553        type: "boolean",
2554        source: "attribute",
2555        selector: "audio",
2556        attribute: "loop"
2557      },
2558      preload: {
2559        type: "string",
2560        source: "attribute",
2561        selector: "audio",
2562        attribute: "preload"
2563      }
2564    },
2565    supports: {
2566      anchor: true,
2567      align: true
2568    },
2569    editorStyle: "wp-block-audio-editor",
2570    style: "wp-block-audio"
2571  };
2572  
2573  
2574  const {
2575    name: audio_name
2576  } = audio_metadata;
2577  
2578  const audio_settings = {
2579    icon: library_audio,
2580    example: {
2581      attributes: {
2582        src: 'https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg'
2583      }
2584    },
2585    transforms: audio_transforms,
2586    deprecated: deprecated,
2587    edit: edit,
2588    save: save
2589  };
2590  
2591  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
2592  var library_button = __webpack_require__("oMoS");
2593  
2594  // EXTERNAL MODULE: ./node_modules/classnames/index.js
2595  var classnames = __webpack_require__("TSYQ");
2596  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
2597  
2598  // EXTERNAL MODULE: external ["wp","compose"]
2599  var external_wp_compose_ = __webpack_require__("K9lf");
2600  
2601  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/clean-empty-object.js
2602  /**
2603   * External dependencies
2604   */
2605  
2606  /**
2607   * Removed empty nodes from nested objects.
2608   *
2609   * @param {Object} object
2610   * @return {Object} Object cleaned from empty nodes.
2611   */
2612  
2613  const cleanEmptyObject = object => {
2614    if (!Object(external_lodash_["isObject"])(object) || Array.isArray(object)) {
2615      return object;
2616    }
2617  
2618    const cleanedNestedObjects = Object(external_lodash_["pickBy"])(Object(external_lodash_["mapValues"])(object, cleanEmptyObject), external_lodash_["identity"]);
2619    return Object(external_lodash_["isEmpty"])(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
2620  };
2621  
2622  /* harmony default export */ var clean_empty_object = (cleanEmptyObject);
2623  
2624  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/migrate-font-family.js
2625  /**
2626   * External dependencies
2627   */
2628  
2629  /**
2630   * Internal dependencies
2631   */
2632  
2633  
2634  /**
2635   * Migrates the current style.typography.fontFamily attribute,
2636   * whose value was "var:preset|font-family|helvetica-arial",
2637   * to the style.fontFamily attribute, whose value will be "helvetica-arial".
2638   *
2639   * @param {Object} attributes The current attributes
2640   * @return {Object} The updated attributes.
2641   */
2642  
2643  /* harmony default export */ var migrate_font_family = (function (attributes) {
2644    var _attributes$style, _attributes$style$typ;
2645  
2646    if (!(attributes !== null && attributes !== void 0 && (_attributes$style = attributes.style) !== null && _attributes$style !== void 0 && (_attributes$style$typ = _attributes$style.typography) !== null && _attributes$style$typ !== void 0 && _attributes$style$typ.fontFamily)) {
2647      return attributes;
2648    } // Clone first so when we delete the fontFamily
2649    // below we're not modifying the original
2650    // attributes. Because the deprecation may be discarded
2651    // we don't want to alter the original attributes.
2652  
2653  
2654    const atts = Object(external_lodash_["cloneDeep"])(attributes);
2655    const fontFamily = atts.style.typography.fontFamily.split('|').pop();
2656    delete atts.style.typography.fontFamily;
2657    atts.style = clean_empty_object(atts.style);
2658    return { ...atts,
2659      fontFamily
2660    };
2661  });
2662  
2663  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js
2664  
2665  
2666  /**
2667   * External dependencies
2668   */
2669  
2670  
2671  /**
2672   * WordPress dependencies
2673   */
2674  
2675  
2676  
2677  /**
2678   * Internal dependencies
2679   */
2680  
2681  
2682  
2683  const migrateBorderRadius = attributes => {
2684    var _newAttributes$style, _newAttributes$style$, _newAttributes$style2;
2685  
2686    const {
2687      borderRadius,
2688      ...newAttributes
2689    } = attributes; // We have to check old property `borderRadius` and if
2690    // `styles.border.radius` is a `number`
2691  
2692    const oldBorderRadius = [borderRadius, (_newAttributes$style = newAttributes.style) === null || _newAttributes$style === void 0 ? void 0 : (_newAttributes$style$ = _newAttributes$style.border) === null || _newAttributes$style$ === void 0 ? void 0 : _newAttributes$style$.radius].find(possibleBorderRadius => {
2693      return typeof possibleBorderRadius === 'number' && possibleBorderRadius !== 0;
2694    });
2695  
2696    if (!oldBorderRadius) {
2697      return newAttributes;
2698    }
2699  
2700    return { ...newAttributes,
2701      style: { ...newAttributes.style,
2702        border: { ...((_newAttributes$style2 = newAttributes.style) === null || _newAttributes$style2 === void 0 ? void 0 : _newAttributes$style2.border),
2703          radius: `$oldBorderRadius}px`
2704        }
2705      }
2706    };
2707  };
2708  
2709  const migrateCustomColorsAndGradients = attributes => {
2710    if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customGradient) {
2711      return attributes;
2712    }
2713  
2714    const style = {
2715      color: {}
2716    };
2717  
2718    if (attributes.customTextColor) {
2719      style.color.text = attributes.customTextColor;
2720    }
2721  
2722    if (attributes.customBackgroundColor) {
2723      style.color.background = attributes.customBackgroundColor;
2724    }
2725  
2726    if (attributes.customGradient) {
2727      style.color.gradient = attributes.customGradient;
2728    }
2729  
2730    return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customGradient']),
2731      style
2732    };
2733  };
2734  
2735  const oldColorsMigration = attributes => {
2736    return migrateCustomColorsAndGradients(Object(external_lodash_["omit"])({ ...attributes,
2737      customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
2738      customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined
2739    }, ['color', 'textColor']));
2740  };
2741  
2742  const deprecated_blockAttributes = {
2743    url: {
2744      type: 'string',
2745      source: 'attribute',
2746      selector: 'a',
2747      attribute: 'href'
2748    },
2749    title: {
2750      type: 'string',
2751      source: 'attribute',
2752      selector: 'a',
2753      attribute: 'title'
2754    },
2755    text: {
2756      type: 'string',
2757      source: 'html',
2758      selector: 'a'
2759    }
2760  };
2761  const v10 = {
2762    attributes: {
2763      url: {
2764        type: 'string',
2765        source: 'attribute',
2766        selector: 'a',
2767        attribute: 'href'
2768      },
2769      title: {
2770        type: 'string',
2771        source: 'attribute',
2772        selector: 'a',
2773        attribute: 'title'
2774      },
2775      text: {
2776        type: 'string',
2777        source: 'html',
2778        selector: 'a'
2779      },
2780      linkTarget: {
2781        type: 'string',
2782        source: 'attribute',
2783        selector: 'a',
2784        attribute: 'target'
2785      },
2786      rel: {
2787        type: 'string',
2788        source: 'attribute',
2789        selector: 'a',
2790        attribute: 'rel'
2791      },
2792      placeholder: {
2793        type: 'string'
2794      },
2795      backgroundColor: {
2796        type: 'string'
2797      },
2798      textColor: {
2799        type: 'string'
2800      },
2801      gradient: {
2802        type: 'string'
2803      },
2804      width: {
2805        type: 'number'
2806      }
2807    },
2808    supports: {
2809      anchor: true,
2810      align: true,
2811      alignWide: false,
2812      color: {
2813        __experimentalSkipSerialization: true,
2814        gradients: true
2815      },
2816      typography: {
2817        fontSize: true,
2818        __experimentalFontFamily: true
2819      },
2820      reusable: false,
2821      spacing: {
2822        __experimentalSkipSerialization: true,
2823        padding: ['horizontal', 'vertical'],
2824        __experimentalDefaultControls: {
2825          padding: true
2826        }
2827      },
2828      __experimentalBorder: {
2829        radius: true,
2830        __experimentalSkipSerialization: true
2831      },
2832      __experimentalSelector: '.wp-block-button__link'
2833    },
2834  
2835    save(_ref) {
2836      var _style$border, _style$typography;
2837  
2838      let {
2839        attributes,
2840        className
2841      } = _ref;
2842      const {
2843        fontSize,
2844        linkTarget,
2845        rel,
2846        style,
2847        text,
2848        title,
2849        url,
2850        width
2851      } = attributes;
2852  
2853      if (!text) {
2854        return null;
2855      }
2856  
2857      const borderProps = Object(external_wp_blockEditor_["__experimentalGetBorderClassesAndStyles"])(attributes);
2858      const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
2859      const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
2860      const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, borderProps.className, {
2861        // For backwards compatibility add style that isn't provided via
2862        // block support.
2863        'no-border-radius': (style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius) === 0
2864      });
2865      const buttonStyle = { ...borderProps.style,
2866        ...colorProps.style,
2867        ...spacingProps.style
2868      }; // The use of a `title` attribute here is soft-deprecated, but still applied
2869      // if it had already been assigned, for the sake of backward-compatibility.
2870      // A title will no longer be assigned for new or updated button block links.
2871  
2872      const wrapperClasses = classnames_default()(className, {
2873        [`has-custom-width wp-block-button__width-$width}`]: width,
2874        [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize)
2875      });
2876      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
2877        className: wrapperClasses
2878      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
2879        tagName: "a",
2880        className: buttonClasses,
2881        href: url,
2882        title: title,
2883        style: buttonStyle,
2884        value: text,
2885        target: linkTarget,
2886        rel: rel
2887      }));
2888    },
2889  
2890    migrate: migrate_font_family,
2891  
2892    isEligible(_ref2) {
2893      var _style$typography2;
2894  
2895      let {
2896        style
2897      } = _ref2;
2898      return style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontFamily;
2899    }
2900  
2901  };
2902  const deprecated_deprecated = [v10, {
2903    supports: {
2904      anchor: true,
2905      align: true,
2906      alignWide: false,
2907      color: {
2908        __experimentalSkipSerialization: true,
2909        gradients: true
2910      },
2911      typography: {
2912        fontSize: true,
2913        __experimentalFontFamily: true
2914      },
2915      reusable: false,
2916      __experimentalSelector: '.wp-block-button__link'
2917    },
2918    attributes: { ...deprecated_blockAttributes,
2919      linkTarget: {
2920        type: 'string',
2921        source: 'attribute',
2922        selector: 'a',
2923        attribute: 'target'
2924      },
2925      rel: {
2926        type: 'string',
2927        source: 'attribute',
2928        selector: 'a',
2929        attribute: 'rel'
2930      },
2931      placeholder: {
2932        type: 'string'
2933      },
2934      backgroundColor: {
2935        type: 'string'
2936      },
2937      textColor: {
2938        type: 'string'
2939      },
2940      gradient: {
2941        type: 'string'
2942      },
2943      width: {
2944        type: 'number'
2945      }
2946    },
2947  
2948    isEligible(_ref3) {
2949      var _style$border2;
2950  
2951      let {
2952        style
2953      } = _ref3;
2954      return typeof (style === null || style === void 0 ? void 0 : (_style$border2 = style.border) === null || _style$border2 === void 0 ? void 0 : _style$border2.radius) === 'number';
2955    },
2956  
2957    save(_ref4) {
2958      var _style$border3, _style$border4, _style$typography3;
2959  
2960      let {
2961        attributes,
2962        className
2963      } = _ref4;
2964      const {
2965        fontSize,
2966        linkTarget,
2967        rel,
2968        style,
2969        text,
2970        title,
2971        url,
2972        width
2973      } = attributes;
2974  
2975      if (!text) {
2976        return null;
2977      }
2978  
2979      const borderRadius = style === null || style === void 0 ? void 0 : (_style$border3 = style.border) === null || _style$border3 === void 0 ? void 0 : _style$border3.radius;
2980      const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
2981      const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
2982        'no-border-radius': (style === null || style === void 0 ? void 0 : (_style$border4 = style.border) === null || _style$border4 === void 0 ? void 0 : _style$border4.radius) === 0
2983      });
2984      const buttonStyle = {
2985        borderRadius: borderRadius ? borderRadius : undefined,
2986        ...colorProps.style
2987      }; // The use of a `title` attribute here is soft-deprecated, but still applied
2988      // if it had already been assigned, for the sake of backward-compatibility.
2989      // A title will no longer be assigned for new or updated button block links.
2990  
2991      const wrapperClasses = classnames_default()(className, {
2992        [`has-custom-width wp-block-button__width-$width}`]: width,
2993        [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography3 = style.typography) === null || _style$typography3 === void 0 ? void 0 : _style$typography3.fontSize)
2994      });
2995      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
2996        className: wrapperClasses
2997      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
2998        tagName: "a",
2999        className: buttonClasses,
3000        href: url,
3001        title: title,
3002        style: buttonStyle,
3003        value: text,
3004        target: linkTarget,
3005        rel: rel
3006      }));
3007    },
3008  
3009    migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
3010  }, {
3011    supports: {
3012      anchor: true,
3013      align: true,
3014      alignWide: false,
3015      color: {
3016        __experimentalSkipSerialization: true
3017      },
3018      reusable: false,
3019      __experimentalSelector: '.wp-block-button__link'
3020    },
3021    attributes: { ...deprecated_blockAttributes,
3022      linkTarget: {
3023        type: 'string',
3024        source: 'attribute',
3025        selector: 'a',
3026        attribute: 'target'
3027      },
3028      rel: {
3029        type: 'string',
3030        source: 'attribute',
3031        selector: 'a',
3032        attribute: 'rel'
3033      },
3034      placeholder: {
3035        type: 'string'
3036      },
3037      borderRadius: {
3038        type: 'number'
3039      },
3040      backgroundColor: {
3041        type: 'string'
3042      },
3043      textColor: {
3044        type: 'string'
3045      },
3046      gradient: {
3047        type: 'string'
3048      },
3049      style: {
3050        type: 'object'
3051      },
3052      width: {
3053        type: 'number'
3054      }
3055    },
3056  
3057    save(_ref5) {
3058      let {
3059        attributes,
3060        className
3061      } = _ref5;
3062      const {
3063        borderRadius,
3064        linkTarget,
3065        rel,
3066        text,
3067        title,
3068        url,
3069        width
3070      } = attributes;
3071      const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
3072      const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
3073        'no-border-radius': borderRadius === 0
3074      });
3075      const buttonStyle = {
3076        borderRadius: borderRadius ? borderRadius + 'px' : undefined,
3077        ...colorProps.style
3078      }; // The use of a `title` attribute here is soft-deprecated, but still applied
3079      // if it had already been assigned, for the sake of backward-compatibility.
3080      // A title will no longer be assigned for new or updated button block links.
3081  
3082      const wrapperClasses = classnames_default()(className, {
3083        [`has-custom-width wp-block-button__width-$width}`]: width
3084      });
3085      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
3086        className: wrapperClasses
3087      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3088        tagName: "a",
3089        className: buttonClasses,
3090        href: url,
3091        title: title,
3092        style: buttonStyle,
3093        value: text,
3094        target: linkTarget,
3095        rel: rel
3096      }));
3097    },
3098  
3099    migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
3100  }, {
3101    supports: {
3102      anchor: true,
3103      align: true,
3104      alignWide: false,
3105      color: {
3106        __experimentalSkipSerialization: true
3107      },
3108      reusable: false,
3109      __experimentalSelector: '.wp-block-button__link'
3110    },
3111    attributes: { ...deprecated_blockAttributes,
3112      linkTarget: {
3113        type: 'string',
3114        source: 'attribute',
3115        selector: 'a',
3116        attribute: 'target'
3117      },
3118      rel: {
3119        type: 'string',
3120        source: 'attribute',
3121        selector: 'a',
3122        attribute: 'rel'
3123      },
3124      placeholder: {
3125        type: 'string'
3126      },
3127      borderRadius: {
3128        type: 'number'
3129      },
3130      backgroundColor: {
3131        type: 'string'
3132      },
3133      textColor: {
3134        type: 'string'
3135      },
3136      gradient: {
3137        type: 'string'
3138      },
3139      style: {
3140        type: 'object'
3141      },
3142      width: {
3143        type: 'number'
3144      }
3145    },
3146  
3147    save(_ref6) {
3148      let {
3149        attributes,
3150        className
3151      } = _ref6;
3152      const {
3153        borderRadius,
3154        linkTarget,
3155        rel,
3156        text,
3157        title,
3158        url,
3159        width
3160      } = attributes;
3161      const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
3162      const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
3163        'no-border-radius': borderRadius === 0
3164      });
3165      const buttonStyle = {
3166        borderRadius: borderRadius ? borderRadius + 'px' : undefined,
3167        ...colorProps.style
3168      }; // The use of a `title` attribute here is soft-deprecated, but still applied
3169      // if it had already been assigned, for the sake of backward-compatibility.
3170      // A title will no longer be assigned for new or updated button block links.
3171  
3172      const wrapperClasses = classnames_default()(className, {
3173        [`has-custom-width wp-block-button__width-$width}`]: width
3174      });
3175      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
3176        className: wrapperClasses
3177      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3178        tagName: "a",
3179        className: buttonClasses,
3180        href: url,
3181        title: title,
3182        style: buttonStyle,
3183        value: text,
3184        target: linkTarget,
3185        rel: rel
3186      }));
3187    },
3188  
3189    migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
3190  }, {
3191    supports: {
3192      align: true,
3193      alignWide: false,
3194      color: {
3195        gradients: true
3196      }
3197    },
3198    attributes: { ...deprecated_blockAttributes,
3199      linkTarget: {
3200        type: 'string',
3201        source: 'attribute',
3202        selector: 'a',
3203        attribute: 'target'
3204      },
3205      rel: {
3206        type: 'string',
3207        source: 'attribute',
3208        selector: 'a',
3209        attribute: 'rel'
3210      },
3211      placeholder: {
3212        type: 'string'
3213      },
3214      borderRadius: {
3215        type: 'number'
3216      },
3217      backgroundColor: {
3218        type: 'string'
3219      },
3220      textColor: {
3221        type: 'string'
3222      },
3223      gradient: {
3224        type: 'string'
3225      },
3226      style: {
3227        type: 'object'
3228      }
3229    },
3230  
3231    save(_ref7) {
3232      let {
3233        attributes
3234      } = _ref7;
3235      const {
3236        borderRadius,
3237        linkTarget,
3238        rel,
3239        text,
3240        title,
3241        url
3242      } = attributes;
3243      const buttonClasses = classnames_default()('wp-block-button__link', {
3244        'no-border-radius': borderRadius === 0
3245      });
3246      const buttonStyle = {
3247        borderRadius: borderRadius ? borderRadius + 'px' : undefined
3248      };
3249      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3250        tagName: "a",
3251        className: buttonClasses,
3252        href: url,
3253        title: title,
3254        style: buttonStyle,
3255        value: text,
3256        target: linkTarget,
3257        rel: rel
3258      });
3259    },
3260  
3261    migrate: migrateBorderRadius
3262  }, {
3263    supports: {
3264      align: true,
3265      alignWide: false
3266    },
3267    attributes: { ...deprecated_blockAttributes,
3268      linkTarget: {
3269        type: 'string',
3270        source: 'attribute',
3271        selector: 'a',
3272        attribute: 'target'
3273      },
3274      rel: {
3275        type: 'string',
3276        source: 'attribute',
3277        selector: 'a',
3278        attribute: 'rel'
3279      },
3280      placeholder: {
3281        type: 'string'
3282      },
3283      borderRadius: {
3284        type: 'number'
3285      },
3286      backgroundColor: {
3287        type: 'string'
3288      },
3289      textColor: {
3290        type: 'string'
3291      },
3292      customBackgroundColor: {
3293        type: 'string'
3294      },
3295      customTextColor: {
3296        type: 'string'
3297      },
3298      customGradient: {
3299        type: 'string'
3300      },
3301      gradient: {
3302        type: 'string'
3303      }
3304    },
3305    isEligible: attributes => !!attributes.customTextColor || !!attributes.customBackgroundColor || !!attributes.customGradient,
3306    migrate: Object(external_wp_compose_["compose"])(migrateBorderRadius, migrateCustomColorsAndGradients),
3307  
3308    save(_ref8) {
3309      let {
3310        attributes
3311      } = _ref8;
3312      const {
3313        backgroundColor,
3314        borderRadius,
3315        customBackgroundColor,
3316        customTextColor,
3317        customGradient,
3318        linkTarget,
3319        gradient,
3320        rel,
3321        text,
3322        textColor,
3323        title,
3324        url
3325      } = attributes;
3326      const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
3327      const backgroundClass = !customGradient && Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
3328  
3329      const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
3330  
3331      const buttonClasses = classnames_default()('wp-block-button__link', {
3332        'has-text-color': textColor || customTextColor,
3333        [textClass]: textClass,
3334        'has-background': backgroundColor || customBackgroundColor || customGradient || gradient,
3335        [backgroundClass]: backgroundClass,
3336        'no-border-radius': borderRadius === 0,
3337        [gradientClass]: gradientClass
3338      });
3339      const buttonStyle = {
3340        background: customGradient ? customGradient : undefined,
3341        backgroundColor: backgroundClass || customGradient || gradient ? undefined : customBackgroundColor,
3342        color: textClass ? undefined : customTextColor,
3343        borderRadius: borderRadius ? borderRadius + 'px' : undefined
3344      }; // The use of a `title` attribute here is soft-deprecated, but still applied
3345      // if it had already been assigned, for the sake of backward-compatibility.
3346      // A title will no longer be assigned for new or updated button block links.
3347  
3348      return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3349        tagName: "a",
3350        className: buttonClasses,
3351        href: url,
3352        title: title,
3353        style: buttonStyle,
3354        value: text,
3355        target: linkTarget,
3356        rel: rel
3357      }));
3358    }
3359  
3360  }, {
3361    attributes: { ...deprecated_blockAttributes,
3362      align: {
3363        type: 'string',
3364        default: 'none'
3365      },
3366      backgroundColor: {
3367        type: 'string'
3368      },
3369      textColor: {
3370        type: 'string'
3371      },
3372      customBackgroundColor: {
3373        type: 'string'
3374      },
3375      customTextColor: {
3376        type: 'string'
3377      },
3378      linkTarget: {
3379        type: 'string',
3380        source: 'attribute',
3381        selector: 'a',
3382        attribute: 'target'
3383      },
3384      rel: {
3385        type: 'string',
3386        source: 'attribute',
3387        selector: 'a',
3388        attribute: 'rel'
3389      },
3390      placeholder: {
3391        type: 'string'
3392      }
3393    },
3394  
3395    isEligible(attribute) {
3396      return attribute.className && attribute.className.includes('is-style-squared');
3397    },
3398  
3399    migrate(attributes) {
3400      let newClassName = attributes.className;
3401  
3402      if (newClassName) {
3403        newClassName = newClassName.replace(/is-style-squared[\s]?/, '').trim();
3404      }
3405  
3406      return migrateBorderRadius(migrateCustomColorsAndGradients({ ...attributes,
3407        className: newClassName ? newClassName : undefined,
3408        borderRadius: 0
3409      }));
3410    },
3411  
3412    save(_ref9) {
3413      let {
3414        attributes
3415      } = _ref9;
3416      const {
3417        backgroundColor,
3418        customBackgroundColor,
3419        customTextColor,
3420        linkTarget,
3421        rel,
3422        text,
3423        textColor,
3424        title,
3425        url
3426      } = attributes;
3427      const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
3428      const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
3429      const buttonClasses = classnames_default()('wp-block-button__link', {
3430        'has-text-color': textColor || customTextColor,
3431        [textClass]: textClass,
3432        'has-background': backgroundColor || customBackgroundColor,
3433        [backgroundClass]: backgroundClass
3434      });
3435      const buttonStyle = {
3436        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
3437        color: textClass ? undefined : customTextColor
3438      };
3439      return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3440        tagName: "a",
3441        className: buttonClasses,
3442        href: url,
3443        title: title,
3444        style: buttonStyle,
3445        value: text,
3446        target: linkTarget,
3447        rel: rel
3448      }));
3449    }
3450  
3451  }, {
3452    attributes: { ...deprecated_blockAttributes,
3453      align: {
3454        type: 'string',
3455        default: 'none'
3456      },
3457      backgroundColor: {
3458        type: 'string'
3459      },
3460      textColor: {
3461        type: 'string'
3462      },
3463      customBackgroundColor: {
3464        type: 'string'
3465      },
3466      customTextColor: {
3467        type: 'string'
3468      }
3469    },
3470    migrate: oldColorsMigration,
3471  
3472    save(_ref10) {
3473      let {
3474        attributes
3475      } = _ref10;
3476      const {
3477        url,
3478        text,
3479        title,
3480        backgroundColor,
3481        textColor,
3482        customBackgroundColor,
3483        customTextColor
3484      } = attributes;
3485      const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
3486      const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
3487      const buttonClasses = classnames_default()('wp-block-button__link', {
3488        'has-text-color': textColor || customTextColor,
3489        [textClass]: textClass,
3490        'has-background': backgroundColor || customBackgroundColor,
3491        [backgroundClass]: backgroundClass
3492      });
3493      const buttonStyle = {
3494        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
3495        color: textClass ? undefined : customTextColor
3496      };
3497      return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3498        tagName: "a",
3499        className: buttonClasses,
3500        href: url,
3501        title: title,
3502        style: buttonStyle,
3503        value: text
3504      }));
3505    }
3506  
3507  }, {
3508    attributes: { ...deprecated_blockAttributes,
3509      color: {
3510        type: 'string'
3511      },
3512      textColor: {
3513        type: 'string'
3514      },
3515      align: {
3516        type: 'string',
3517        default: 'none'
3518      }
3519    },
3520  
3521    save(_ref11) {
3522      let {
3523        attributes
3524      } = _ref11;
3525      const {
3526        url,
3527        text,
3528        title,
3529        align,
3530        color,
3531        textColor
3532      } = attributes;
3533      const buttonStyle = {
3534        backgroundColor: color,
3535        color: textColor
3536      };
3537      const linkClass = 'wp-block-button__link';
3538      return Object(external_wp_element_["createElement"])("div", {
3539        className: `align$align}`
3540      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3541        tagName: "a",
3542        className: linkClass,
3543        href: url,
3544        title: title,
3545        style: buttonStyle,
3546        value: text
3547      }));
3548    },
3549  
3550    migrate: oldColorsMigration
3551  }, {
3552    attributes: { ...deprecated_blockAttributes,
3553      color: {
3554        type: 'string'
3555      },
3556      textColor: {
3557        type: 'string'
3558      },
3559      align: {
3560        type: 'string',
3561        default: 'none'
3562      }
3563    },
3564  
3565    save(_ref12) {
3566      let {
3567        attributes
3568      } = _ref12;
3569      const {
3570        url,
3571        text,
3572        title,
3573        align,
3574        color,
3575        textColor
3576      } = attributes;
3577      return Object(external_wp_element_["createElement"])("div", {
3578        className: `align$align}`,
3579        style: {
3580          backgroundColor: color
3581        }
3582      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3583        tagName: "a",
3584        href: url,
3585        title: title,
3586        style: {
3587          color: textColor
3588        },
3589        value: text
3590      }));
3591    },
3592  
3593    migrate: oldColorsMigration
3594  }];
3595  /* harmony default export */ var button_deprecated = (deprecated_deprecated);
3596  
3597  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
3598  var esm_extends = __webpack_require__("wx14");
3599  
3600  // EXTERNAL MODULE: external ["wp","keycodes"]
3601  var external_wp_keycodes_ = __webpack_require__("RxS6");
3602  
3603  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
3604  var library_link = __webpack_require__("Bpkj");
3605  
3606  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
3607  var link_off = __webpack_require__("Mp0b");
3608  
3609  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/edit.js
3610  
3611  
3612  
3613  /**
3614   * External dependencies
3615   */
3616  
3617  /**
3618   * WordPress dependencies
3619   */
3620  
3621  
3622  
3623  
3624  
3625  
3626  
3627  
3628  const NEW_TAB_REL = 'noreferrer noopener';
3629  
3630  function WidthPanel(_ref) {
3631    let {
3632      selectedWidth,
3633      setAttributes
3634    } = _ref;
3635  
3636    function handleChange(newWidth) {
3637      // Check if we are toggling the width off
3638      const width = selectedWidth === newWidth ? undefined : newWidth; // Update attributes
3639  
3640      setAttributes({
3641        width
3642      });
3643    }
3644  
3645    return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
3646      title: Object(external_wp_i18n_["__"])('Width settings')
3647    }, Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
3648      "aria-label": Object(external_wp_i18n_["__"])('Button width')
3649    }, [25, 50, 75, 100].map(widthValue => {
3650      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
3651        key: widthValue,
3652        isSmall: true,
3653        variant: widthValue === selectedWidth ? 'primary' : undefined,
3654        onClick: () => handleChange(widthValue)
3655      }, widthValue, "%");
3656    })));
3657  }
3658  
3659  function ButtonEdit(props) {
3660    var _style$border;
3661  
3662    const {
3663      attributes,
3664      setAttributes,
3665      className,
3666      isSelected,
3667      onReplace,
3668      mergeBlocks
3669    } = props;
3670    const {
3671      linkTarget,
3672      placeholder,
3673      rel,
3674      style,
3675      text,
3676      url,
3677      width
3678    } = attributes;
3679    const onSetLinkRel = Object(external_wp_element_["useCallback"])(value => {
3680      setAttributes({
3681        rel: value
3682      });
3683    }, [setAttributes]);
3684  
3685    function onToggleOpenInNewTab(value) {
3686      const newLinkTarget = value ? '_blank' : undefined;
3687      let updatedRel = rel;
3688  
3689      if (newLinkTarget && !rel) {
3690        updatedRel = NEW_TAB_REL;
3691      } else if (!newLinkTarget && rel === NEW_TAB_REL) {
3692        updatedRel = undefined;
3693      }
3694  
3695      setAttributes({
3696        linkTarget: newLinkTarget,
3697        rel: updatedRel
3698      });
3699    }
3700  
3701    function setButtonText(newText) {
3702      // Remove anchor tags from button text content.
3703      setAttributes({
3704        text: newText.replace(/<\/?a[^>]*>/g, '')
3705      });
3706    }
3707  
3708    function onKeyDown(event) {
3709      if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'k')) {
3710        startEditing(event);
3711      } else if (external_wp_keycodes_["isKeyboardEvent"].primaryShift(event, 'k')) {
3712        var _richTextRef$current;
3713  
3714        unlink();
3715        (_richTextRef$current = richTextRef.current) === null || _richTextRef$current === void 0 ? void 0 : _richTextRef$current.focus();
3716      }
3717    }
3718  
3719    const borderProps = Object(external_wp_blockEditor_["__experimentalUseBorderProps"])(attributes);
3720    const colorProps = Object(external_wp_blockEditor_["__experimentalUseColorProps"])(attributes);
3721    const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
3722    const ref = Object(external_wp_element_["useRef"])();
3723    const richTextRef = Object(external_wp_element_["useRef"])();
3724    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
3725      ref,
3726      onKeyDown
3727    });
3728    const [isEditingURL, setIsEditingURL] = Object(external_wp_element_["useState"])(false);
3729    const isURLSet = !!url;
3730    const opensInNewTab = linkTarget === '_blank';
3731  
3732    function startEditing(event) {
3733      event.preventDefault();
3734      setIsEditingURL(true);
3735    }
3736  
3737    function unlink() {
3738      setAttributes({
3739        url: undefined,
3740        linkTarget: undefined,
3741        rel: undefined
3742      });
3743      setIsEditingURL(false);
3744    }
3745  
3746    Object(external_wp_element_["useEffect"])(() => {
3747      if (!isSelected) {
3748        setIsEditingURL(false);
3749      }
3750    }, [isSelected]);
3751    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
3752      className: classnames_default()(blockProps.className, {
3753        [`has-custom-width wp-block-button__width-$width}`]: width,
3754        [`has-custom-font-size`]: blockProps.style.fontSize
3755      })
3756    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
3757      ref: richTextRef,
3758      "aria-label": Object(external_wp_i18n_["__"])('Button text'),
3759      placeholder: placeholder || Object(external_wp_i18n_["__"])('Add text…'),
3760      value: text,
3761      onChange: value => setButtonText(value),
3762      withoutInteractiveFormatting: true,
3763      className: classnames_default()(className, 'wp-block-button__link', colorProps.className, borderProps.className, {
3764        // For backwards compatibility add style that isn't
3765        // provided via block support.
3766        'no-border-radius': (style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius) === 0
3767      }),
3768      style: { ...borderProps.style,
3769        ...colorProps.style,
3770        ...spacingProps.style
3771      },
3772      onSplit: value => Object(external_wp_blocks_["createBlock"])('core/button', { ...attributes,
3773        text: value
3774      }),
3775      onReplace: onReplace,
3776      onMerge: mergeBlocks,
3777      identifier: "text"
3778    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
3779      group: "block"
3780    }, !isURLSet && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
3781      name: "link",
3782      icon: library_link["a" /* default */],
3783      title: Object(external_wp_i18n_["__"])('Link'),
3784      shortcut: external_wp_keycodes_["displayShortcut"].primary('k'),
3785      onClick: startEditing
3786    }), isURLSet && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
3787      name: "link",
3788      icon: link_off["a" /* default */],
3789      title: Object(external_wp_i18n_["__"])('Unlink'),
3790      shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('k'),
3791      onClick: unlink,
3792      isActive: true
3793    })), isSelected && (isEditingURL || isURLSet) && Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
3794      position: "bottom center",
3795      onClose: () => {
3796        var _richTextRef$current2;
3797  
3798        setIsEditingURL(false);
3799        (_richTextRef$current2 = richTextRef.current) === null || _richTextRef$current2 === void 0 ? void 0 : _richTextRef$current2.focus();
3800      },
3801      anchorRef: ref === null || ref === void 0 ? void 0 : ref.current,
3802      focusOnMount: isEditingURL ? 'firstElement' : false
3803    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
3804      className: "wp-block-navigation-link__inline-link-input",
3805      value: {
3806        url,
3807        opensInNewTab
3808      },
3809      onChange: _ref2 => {
3810        let {
3811          url: newURL = '',
3812          opensInNewTab: newOpensInNewTab
3813        } = _ref2;
3814        setAttributes({
3815          url: newURL
3816        });
3817  
3818        if (opensInNewTab !== newOpensInNewTab) {
3819          onToggleOpenInNewTab(newOpensInNewTab);
3820        }
3821      },
3822      onRemove: () => {
3823        var _richTextRef$current3;
3824  
3825        unlink();
3826        (_richTextRef$current3 = richTextRef.current) === null || _richTextRef$current3 === void 0 ? void 0 : _richTextRef$current3.focus();
3827      },
3828      forceIsEditingLink: isEditingURL
3829    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(WidthPanel, {
3830      selectedWidth: width,
3831      setAttributes: setAttributes
3832    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
3833      __experimentalGroup: "advanced"
3834    }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
3835      label: Object(external_wp_i18n_["__"])('Link rel'),
3836      value: rel || '',
3837      onChange: onSetLinkRel
3838    })));
3839  }
3840  
3841  /* harmony default export */ var button_edit = (ButtonEdit);
3842  
3843  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/save.js
3844  
3845  
3846  /**
3847   * External dependencies
3848   */
3849  
3850  /**
3851   * WordPress dependencies
3852   */
3853  
3854  
3855  function save_save(_ref) {
3856    var _style$border, _style$typography;
3857  
3858    let {
3859      attributes,
3860      className
3861    } = _ref;
3862    const {
3863      fontSize,
3864      linkTarget,
3865      rel,
3866      style,
3867      text,
3868      title,
3869      url,
3870      width
3871    } = attributes;
3872  
3873    if (!text) {
3874      return null;
3875    }
3876  
3877    const borderProps = Object(external_wp_blockEditor_["__experimentalGetBorderClassesAndStyles"])(attributes);
3878    const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
3879    const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
3880    const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, borderProps.className, {
3881      // For backwards compatibility add style that isn't provided via
3882      // block support.
3883      'no-border-radius': (style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius) === 0
3884    });
3885    const buttonStyle = { ...borderProps.style,
3886      ...colorProps.style,
3887      ...spacingProps.style
3888    }; // The use of a `title` attribute here is soft-deprecated, but still applied
3889    // if it had already been assigned, for the sake of backward-compatibility.
3890    // A title will no longer be assigned for new or updated button block links.
3891  
3892    const wrapperClasses = classnames_default()(className, {
3893      [`has-custom-width wp-block-button__width-$width}`]: width,
3894      [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize)
3895    });
3896    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
3897      className: wrapperClasses
3898    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
3899      tagName: "a",
3900      className: buttonClasses,
3901      href: url,
3902      title: title,
3903      style: buttonStyle,
3904      value: text,
3905      target: linkTarget,
3906      rel: rel
3907    }));
3908  }
3909  
3910  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/index.js
3911  /**
3912   * WordPress dependencies
3913   */
3914  
3915  
3916  /**
3917   * Internal dependencies
3918   */
3919  
3920  
3921  
3922  const button_metadata = {
3923    apiVersion: 2,
3924    name: "core/button",
3925    title: "Button",
3926    category: "design",
3927    parent: ["core/buttons"],
3928    description: "Prompt visitors to take action with a button-style link.",
3929    keywords: ["link"],
3930    textdomain: "default",
3931    attributes: {
3932      url: {
3933        type: "string",
3934        source: "attribute",
3935        selector: "a",
3936        attribute: "href"
3937      },
3938      title: {
3939        type: "string",
3940        source: "attribute",
3941        selector: "a",
3942        attribute: "title"
3943      },
3944      text: {
3945        type: "string",
3946        source: "html",
3947        selector: "a"
3948      },
3949      linkTarget: {
3950        type: "string",
3951        source: "attribute",
3952        selector: "a",
3953        attribute: "target"
3954      },
3955      rel: {
3956        type: "string",
3957        source: "attribute",
3958        selector: "a",
3959        attribute: "rel"
3960      },
3961      placeholder: {
3962        type: "string"
3963      },
3964      backgroundColor: {
3965        type: "string"
3966      },
3967      textColor: {
3968        type: "string"
3969      },
3970      gradient: {
3971        type: "string"
3972      },
3973      width: {
3974        type: "number"
3975      }
3976    },
3977    supports: {
3978      anchor: true,
3979      align: true,
3980      alignWide: false,
3981      color: {
3982        __experimentalSkipSerialization: true,
3983        gradients: true
3984      },
3985      typography: {
3986        fontSize: true,
3987        __experimentalFontFamily: true,
3988        __experimentalDefaultControls: {
3989          fontSize: true
3990        }
3991      },
3992      reusable: false,
3993      spacing: {
3994        __experimentalSkipSerialization: true,
3995        padding: ["horizontal", "vertical"],
3996        __experimentalDefaultControls: {
3997          padding: true
3998        }
3999      },
4000      __experimentalBorder: {
4001        radius: true,
4002        __experimentalSkipSerialization: true
4003      },
4004      __experimentalSelector: ".wp-block-button__link"
4005    },
4006    styles: [{
4007      name: "fill",
4008      label: "Fill",
4009      isDefault: true
4010    }, {
4011      name: "outline",
4012      label: "Outline"
4013    }],
4014    editorStyle: "wp-block-button-editor",
4015    style: "wp-block-button"
4016  };
4017  
4018  const {
4019    name: button_name
4020  } = button_metadata;
4021  
4022  const button_settings = {
4023    icon: library_button["a" /* default */],
4024    example: {
4025      attributes: {
4026        className: 'is-style-fill',
4027        text: Object(external_wp_i18n_["__"])('Call to Action')
4028      }
4029    },
4030    edit: button_edit,
4031    save: save_save,
4032    deprecated: button_deprecated,
4033    merge: (a, _ref) => {
4034      let {
4035        text = ''
4036      } = _ref;
4037      return { ...a,
4038        text: (a.text || '') + text
4039      };
4040    }
4041  };
4042  
4043  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/buttons.js
4044  
4045  
4046  /**
4047   * WordPress dependencies
4048   */
4049  
4050  const buttons_buttons = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
4051    viewBox: "0 0 24 24",
4052    xmlns: "http://www.w3.org/2000/svg"
4053  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
4054    d: "M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"
4055  }));
4056  /* harmony default export */ var library_buttons = (buttons_buttons);
4057  
4058  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/deprecated.js
4059  
4060  
4061  /**
4062   * External dependencies
4063   */
4064  
4065  /**
4066   * WordPress dependencies
4067   */
4068  
4069  
4070  /**
4071   * @param {Object} attributes Block's attributes.
4072   */
4073  
4074  const migrateWithLayout = attributes => {
4075    if (!!attributes.layout) {
4076      return attributes;
4077    }
4078  
4079    const {
4080      contentJustification,
4081      orientation,
4082      ...updatedAttributes
4083    } = attributes;
4084  
4085    if (contentJustification || orientation) {
4086      Object.assign(updatedAttributes, {
4087        layout: {
4088          type: 'flex',
4089          ...(contentJustification && {
4090            justifyContent: contentJustification
4091          }),
4092          ...(orientation && {
4093            orientation
4094          })
4095        }
4096      });
4097    }
4098  
4099    return updatedAttributes;
4100  };
4101  
4102  const buttons_deprecated_deprecated = [{
4103    attributes: {
4104      contentJustification: {
4105        type: 'string'
4106      },
4107      orientation: {
4108        type: 'string',
4109        default: 'horizontal'
4110      }
4111    },
4112    supports: {
4113      anchor: true,
4114      align: ['wide', 'full'],
4115      __experimentalExposeControlsToChildren: true,
4116      spacing: {
4117        blockGap: true,
4118        margin: ['top', 'bottom'],
4119        __experimentalDefaultControls: {
4120          blockGap: true
4121        }
4122      }
4123    },
4124    isEligible: _ref => {
4125      let {
4126        contentJustification,
4127        orientation
4128      } = _ref;
4129      return !!contentJustification || !!orientation;
4130    },
4131    migrate: migrateWithLayout,
4132  
4133    save(_ref2) {
4134      let {
4135        attributes: {
4136          contentJustification,
4137          orientation
4138        }
4139      } = _ref2;
4140      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
4141        className: classnames_default()({
4142          [`is-content-justification-$contentJustification}`]: contentJustification,
4143          'is-vertical': orientation === 'vertical'
4144        })
4145      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
4146    }
4147  
4148  }, {
4149    supports: {
4150      align: ['center', 'left', 'right'],
4151      anchor: true
4152    },
4153  
4154    save() {
4155      return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
4156    },
4157  
4158    isEligible(_ref3) {
4159      let {
4160        align
4161      } = _ref3;
4162      return align && ['center', 'left', 'right'].includes(align);
4163    },
4164  
4165    migrate(attributes) {
4166      return migrateWithLayout({ ...attributes,
4167        align: undefined,
4168        // Floating Buttons blocks shouldn't have been supported in the
4169        // first place. Most users using them probably expected them to
4170        // act like content justification controls, so these blocks are
4171        // migrated to use content justification.
4172        // As for center-aligned Buttons blocks, the content justification
4173        // equivalent will create an identical end result in most cases.
4174        contentJustification: attributes.align
4175      });
4176    }
4177  
4178  }];
4179  /* harmony default export */ var buttons_deprecated = (buttons_deprecated_deprecated);
4180  
4181  // EXTERNAL MODULE: external ["wp","richText"]
4182  var external_wp_richText_ = __webpack_require__("qRz9");
4183  
4184  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/transforms.js
4185  /**
4186   * WordPress dependencies
4187   */
4188  
4189  
4190  /**
4191   * Internal dependencies
4192   */
4193  
4194  const {
4195    name: transforms_name
4196  } = {
4197    apiVersion: 2,
4198    name: "core/buttons",
4199    title: "Buttons",
4200    category: "design",
4201    description: "Prompt visitors to take action with a group of button-style links.",
4202    keywords: ["link"],
4203    textdomain: "default",
4204    supports: {
4205      anchor: true,
4206      align: ["wide", "full"],
4207      __experimentalExposeControlsToChildren: true,
4208      spacing: {
4209        blockGap: true,
4210        margin: ["top", "bottom"],
4211        __experimentalDefaultControls: {
4212          blockGap: true
4213        }
4214      },
4215      __experimentalLayout: {
4216        allowSwitching: false,
4217        allowInheriting: false,
4218        "default": {
4219          type: "flex"
4220        }
4221      }
4222    },
4223    editorStyle: "wp-block-buttons-editor",
4224    style: "wp-block-buttons"
4225  };
4226  const buttons_transforms_transforms = {
4227    from: [{
4228      type: 'block',
4229      isMultiBlock: true,
4230      blocks: ['core/button'],
4231      transform: buttons => // Creates the buttons block
4232      Object(external_wp_blocks_["createBlock"])(transforms_name, {}, // Loop the selected buttons
4233      buttons.map(attributes => // Create singular button in the buttons block
4234      Object(external_wp_blocks_["createBlock"])('core/button', attributes)))
4235    }, {
4236      type: 'block',
4237      isMultiBlock: true,
4238      blocks: ['core/paragraph'],
4239      transform: buttons => // Creates the buttons block
4240      Object(external_wp_blocks_["createBlock"])(transforms_name, {}, // Loop the selected buttons
4241      buttons.map(attributes => {
4242        const element = Object(external_wp_richText_["__unstableCreateElement"])(document, attributes.content); // Remove any HTML tags
4243  
4244        const text = element.innerText || ''; // Get first url
4245  
4246        const link = element.querySelector('a');
4247        const url = link === null || link === void 0 ? void 0 : link.getAttribute('href'); // Create singular button in the buttons block
4248  
4249        return Object(external_wp_blocks_["createBlock"])('core/button', {
4250          text,
4251          url
4252        });
4253      })),
4254      isMatch: paragraphs => {
4255        return paragraphs.every(attributes => {
4256          const element = Object(external_wp_richText_["__unstableCreateElement"])(document, attributes.content);
4257          const text = element.innerText || '';
4258          const links = element.querySelectorAll('a');
4259          return text.length <= 30 && links.length <= 1;
4260        });
4261      }
4262    }]
4263  };
4264  /* harmony default export */ var buttons_transforms = (buttons_transforms_transforms);
4265  
4266  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/edit.js
4267  
4268  
4269  /**
4270   * WordPress dependencies
4271   */
4272  
4273  
4274  /**
4275   * Internal dependencies
4276   */
4277  
4278  
4279  const ALLOWED_BLOCKS = [button_name];
4280  
4281  function ButtonsEdit(_ref) {
4282    let {
4283      attributes: {
4284        layout = {}
4285      }
4286    } = _ref;
4287    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
4288    const preferredStyle = Object(external_wp_data_["useSelect"])(select => {
4289      var _preferredStyleVariat;
4290  
4291      const preferredStyleVariations = select(external_wp_blockEditor_["store"]).getSettings().__experimentalPreferredStyleVariations;
4292  
4293      return preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : (_preferredStyleVariat = preferredStyleVariations.value) === null || _preferredStyleVariat === void 0 ? void 0 : _preferredStyleVariat[button_name];
4294    }, []);
4295    const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
4296      allowedBlocks: ALLOWED_BLOCKS,
4297      template: [[button_name, {
4298        className: preferredStyle && `is-style-$preferredStyle}`
4299      }]],
4300      __experimentalLayout: layout,
4301      templateInsertUpdatesSelection: true
4302    });
4303    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", innerBlocksProps));
4304  }
4305  
4306  /* harmony default export */ var buttons_edit = (ButtonsEdit);
4307  
4308  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/save.js
4309  
4310  
4311  /**
4312   * WordPress dependencies
4313   */
4314  
4315  function buttons_save_save() {
4316    const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(external_wp_blockEditor_["useBlockProps"].save());
4317    return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
4318  }
4319  
4320  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
4321  /**
4322   * WordPress dependencies
4323   */
4324  
4325  
4326  /**
4327   * Internal dependencies
4328   */
4329  
4330  
4331  
4332  
4333  const buttons_metadata = {
4334    apiVersion: 2,
4335    name: "core/buttons",
4336    title: "Buttons",
4337    category: "design",
4338    description: "Prompt visitors to take action with a group of button-style links.",
4339    keywords: ["link"],
4340    textdomain: "default",
4341    supports: {
4342      anchor: true,
4343      align: ["wide", "full"],
4344      __experimentalExposeControlsToChildren: true,
4345      spacing: {
4346        blockGap: true,
4347        margin: ["top", "bottom"],
4348        __experimentalDefaultControls: {
4349          blockGap: true
4350        }
4351      },
4352      __experimentalLayout: {
4353        allowSwitching: false,
4354        allowInheriting: false,
4355        "default": {
4356          type: "flex"
4357        }
4358      }
4359    },
4360    editorStyle: "wp-block-buttons-editor",
4361    style: "wp-block-buttons"
4362  };
4363  
4364  const {
4365    name: buttons_name
4366  } = buttons_metadata;
4367  
4368  const buttons_settings = {
4369    icon: library_buttons,
4370    example: {
4371      innerBlocks: [{
4372        name: 'core/button',
4373        attributes: {
4374          text: Object(external_wp_i18n_["__"])('Find out more')
4375        }
4376      }, {
4377        name: 'core/button',
4378        attributes: {
4379          text: Object(external_wp_i18n_["__"])('Contact us')
4380        }
4381      }]
4382    },
4383    deprecated: buttons_deprecated,
4384    transforms: buttons_transforms,
4385    edit: buttons_edit,
4386    save: buttons_save_save
4387  };
4388  
4389  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/calendar.js
4390  
4391  
4392  /**
4393   * WordPress dependencies
4394   */
4395  
4396  const calendar = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
4397    viewBox: "0 0 24 24",
4398    xmlns: "http://www.w3.org/2000/svg"
4399  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
4400    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-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"
4401  }));
4402  /* harmony default export */ var library_calendar = (calendar);
4403  
4404  // EXTERNAL MODULE: external "moment"
4405  var external_moment_ = __webpack_require__("wy2R");
4406  var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
4407  
4408  // EXTERNAL MODULE: external ["wp","coreData"]
4409  var external_wp_coreData_ = __webpack_require__("jZUy");
4410  
4411  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js
4412  
4413  
4414  /**
4415   * External dependencies
4416   */
4417  
4418  
4419  /**
4420   * WordPress dependencies
4421   */
4422  
4423  
4424  
4425  
4426  
4427  
4428  
4429  
4430  const getYearMonth = memize_default()(date => {
4431    if (!date) {
4432      return {};
4433    }
4434  
4435    const momentDate = external_moment_default()(date);
4436    return {
4437      year: momentDate.year(),
4438      month: momentDate.month() + 1
4439    };
4440  });
4441  function CalendarEdit(_ref) {
4442    let {
4443      attributes
4444    } = _ref;
4445    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
4446    const {
4447      date,
4448      hasPosts,
4449      hasPostsResolved
4450    } = Object(external_wp_data_["useSelect"])(select => {
4451      const {
4452        getEntityRecords,
4453        hasFinishedResolution
4454      } = select(external_wp_coreData_["store"]);
4455      const singlePublishedPostQuery = {
4456        status: 'publish',
4457        per_page: 1
4458      };
4459      const posts = getEntityRecords('postType', 'post', singlePublishedPostQuery);
4460      const postsResolved = hasFinishedResolution('getEntityRecords', ['postType', 'post', singlePublishedPostQuery]);
4461  
4462      let _date; // FIXME: @wordpress/block-library should not depend on @wordpress/editor.
4463      // Blocks can be loaded into a *non-post* block editor.
4464      // eslint-disable-next-line @wordpress/data-no-store-string-literals
4465  
4466  
4467      const editorSelectors = select('core/editor');
4468  
4469      if (editorSelectors) {
4470        const postType = editorSelectors.getEditedPostAttribute('type'); // Dates are used to overwrite year and month used on the calendar.
4471        // This overwrite should only happen for 'post' post types.
4472        // For other post types the calendar always displays the current month.
4473  
4474        if (postType === 'post') {
4475          _date = editorSelectors.getEditedPostAttribute('date');
4476        }
4477      }
4478  
4479      return {
4480        date: _date,
4481        hasPostsResolved: postsResolved,
4482        hasPosts: postsResolved && (posts === null || posts === void 0 ? void 0 : posts.length) === 1
4483      };
4484    }, []);
4485  
4486    if (!hasPosts) {
4487      return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
4488        icon: library_calendar,
4489        label: Object(external_wp_i18n_["__"])('Calendar')
4490      }, !hasPostsResolved ? Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null) : Object(external_wp_i18n_["__"])('No published posts found.')));
4491    }
4492  
4493    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
4494      block: "core/calendar",
4495      attributes: { ...attributes,
4496        ...getYearMonth(date)
4497      }
4498    })));
4499  }
4500  
4501  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
4502  /**
4503   * WordPress dependencies
4504   */
4505  
4506  /**
4507   * Internal dependencies
4508   */
4509  
4510  const calendar_metadata = {
4511    apiVersion: 2,
4512    name: "core/calendar",
4513    title: "Calendar",
4514    category: "widgets",
4515    description: "A calendar of your site\u2019s posts.",
4516    keywords: ["posts", "archive"],
4517    textdomain: "default",
4518    attributes: {
4519      month: {
4520        type: "integer"
4521      },
4522      year: {
4523        type: "integer"
4524      }
4525    },
4526    supports: {
4527      align: true
4528    },
4529    style: "wp-block-calendar"
4530  };
4531  
4532  const {
4533    name: calendar_name
4534  } = calendar_metadata;
4535  
4536  const calendar_settings = {
4537    icon: library_calendar,
4538    example: {},
4539    edit: CalendarEdit
4540  };
4541  
4542  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/category.js
4543  
4544  
4545  /**
4546   * WordPress dependencies
4547   */
4548  
4549  const category_category = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
4550    viewBox: "0 0 24 24",
4551    xmlns: "http://www.w3.org/2000/svg"
4552  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
4553    d: "M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",
4554    fillRule: "evenodd",
4555    clipRule: "evenodd"
4556  }));
4557  /* harmony default export */ var library_category = (category_category);
4558  
4559  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pin.js
4560  
4561  
4562  /**
4563   * WordPress dependencies
4564   */
4565  
4566  const pin = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
4567    xmlns: "http://www.w3.org/2000/svg",
4568    viewBox: "-2 -2 24 24"
4569  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
4570    d: "M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"
4571  }));
4572  /* harmony default export */ var library_pin = (pin);
4573  
4574  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js
4575  
4576  
4577  /**
4578   * External dependencies
4579   */
4580  
4581  /**
4582   * WordPress dependencies
4583   */
4584  
4585  
4586  
4587  
4588  
4589  
4590  
4591  
4592  function CategoriesEdit(_ref) {
4593    let {
4594      attributes: {
4595        displayAsDropdown,
4596        showHierarchy,
4597        showPostCounts,
4598        showOnlyTopLevel
4599      },
4600      setAttributes
4601    } = _ref;
4602    const selectId = Object(external_wp_compose_["useInstanceId"])(CategoriesEdit, 'blocks-category-select');
4603    const {
4604      categories,
4605      isRequesting
4606    } = Object(external_wp_data_["useSelect"])(select => {
4607      const {
4608        getEntityRecords,
4609        isResolving
4610      } = select(external_wp_coreData_["store"]);
4611      const query = {
4612        per_page: -1,
4613        hide_empty: true,
4614        context: 'view'
4615      };
4616  
4617      if (showOnlyTopLevel) {
4618        query.parent = 0;
4619      }
4620  
4621      return {
4622        categories: getEntityRecords('taxonomy', 'category', query),
4623        isRequesting: isResolving('getEntityRecords', ['taxonomy', 'category', query])
4624      };
4625    }, [showOnlyTopLevel]);
4626  
4627    const getCategoriesList = parentId => {
4628      if (!(categories !== null && categories !== void 0 && categories.length)) {
4629        return [];
4630      }
4631  
4632      if (parentId === null) {
4633        return categories;
4634      }
4635  
4636      return categories.filter(_ref2 => {
4637        let {
4638          parent
4639        } = _ref2;
4640        return parent === parentId;
4641      });
4642    };
4643  
4644    const getCategoryListClassName = level => {
4645      return `wp-block-categories__list wp-block-categories__list-level-$level}`;
4646    };
4647  
4648    const toggleAttribute = attributeName => newValue => setAttributes({
4649      [attributeName]: newValue
4650    });
4651  
4652    const renderCategoryName = name => !name ? Object(external_wp_i18n_["__"])('(Untitled)') : Object(external_lodash_["unescape"])(name).trim();
4653  
4654    const renderCategoryList = () => {
4655      const parentId = showHierarchy ? 0 : null;
4656      const categoriesList = getCategoriesList(parentId);
4657      return Object(external_wp_element_["createElement"])("ul", {
4658        className: getCategoryListClassName(0)
4659      }, categoriesList.map(category => renderCategoryListItem(category, 0)));
4660    };
4661  
4662    const renderCategoryListItem = (category, level) => {
4663      const childCategories = getCategoriesList(category.id);
4664      const {
4665        id,
4666        link,
4667        count,
4668        name
4669      } = category;
4670      return Object(external_wp_element_["createElement"])("li", {
4671        key: id
4672      }, Object(external_wp_element_["createElement"])("a", {
4673        href: link,
4674        target: "_blank",
4675        rel: "noreferrer noopener"
4676      }, renderCategoryName(name)), showPostCounts && Object(external_wp_element_["createElement"])("span", {
4677        className: "wp-block-categories__post-count"
4678      }, ` ($count})`), showHierarchy && !!childCategories.length && Object(external_wp_element_["createElement"])("ul", {
4679        className: getCategoryListClassName(level + 1)
4680      }, childCategories.map(childCategory => renderCategoryListItem(childCategory, level + 1))));
4681    };
4682  
4683    const renderCategoryDropdown = () => {
4684      const parentId = showHierarchy ? 0 : null;
4685      const categoriesList = getCategoriesList(parentId);
4686      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
4687        as: "label",
4688        htmlFor: selectId
4689      }, Object(external_wp_i18n_["__"])('Categories')), Object(external_wp_element_["createElement"])("select", {
4690        id: selectId,
4691        className: "wp-block-categories__dropdown"
4692      }, categoriesList.map(category => renderCategoryDropdownItem(category, 0))));
4693    };
4694  
4695    const renderCategoryDropdownItem = (category, level) => {
4696      const {
4697        id,
4698        count,
4699        name
4700      } = category;
4701      const childCategories = getCategoriesList(id);
4702      return [Object(external_wp_element_["createElement"])("option", {
4703        key: id
4704      }, Object(external_lodash_["times"])(level * 3, () => '\xa0'), renderCategoryName(name), showPostCounts && ` ($count})`), showHierarchy && !!childCategories.length && childCategories.map(childCategory => renderCategoryDropdownItem(childCategory, level + 1))];
4705    };
4706  
4707    return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
4708      title: Object(external_wp_i18n_["__"])('Categories settings')
4709    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
4710      label: Object(external_wp_i18n_["__"])('Display as dropdown'),
4711      checked: displayAsDropdown,
4712      onChange: toggleAttribute('displayAsDropdown')
4713    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
4714      label: Object(external_wp_i18n_["__"])('Show post counts'),
4715      checked: showPostCounts,
4716      onChange: toggleAttribute('showPostCounts')
4717    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
4718      label: Object(external_wp_i18n_["__"])('Show only top level categories'),
4719      checked: showOnlyTopLevel,
4720      onChange: toggleAttribute('showOnlyTopLevel')
4721    }), !showOnlyTopLevel && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
4722      label: Object(external_wp_i18n_["__"])('Show hierarchy'),
4723      checked: showHierarchy,
4724      onChange: toggleAttribute('showHierarchy')
4725    }))), isRequesting && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
4726      icon: library_pin,
4727      label: Object(external_wp_i18n_["__"])('Categories')
4728    }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) === 0 && Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Your site does not have any posts, so there is nothing to display here at the moment.')), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) > 0 && (displayAsDropdown ? renderCategoryDropdown() : renderCategoryList()));
4729  }
4730  
4731  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js
4732  /**
4733   * WordPress dependencies
4734   */
4735  
4736  /**
4737   * Internal dependencies
4738   */
4739  
4740  const categories_metadata = {
4741    apiVersion: 2,
4742    name: "core/categories",
4743    title: "Categories",
4744    category: "widgets",
4745    description: "Display a list of all categories.",
4746    textdomain: "default",
4747    attributes: {
4748      displayAsDropdown: {
4749        type: "boolean",
4750        "default": false
4751      },
4752      showHierarchy: {
4753        type: "boolean",
4754        "default": false
4755      },
4756      showPostCounts: {
4757        type: "boolean",
4758        "default": false
4759      },
4760      showOnlyTopLevel: {
4761        type: "boolean",
4762        "default": false
4763      }
4764    },
4765    supports: {
4766      align: true,
4767      html: false
4768    },
4769    editorStyle: "wp-block-categories-editor",
4770    style: "wp-block-categories"
4771  };
4772  
4773  const {
4774    name: categories_name
4775  } = categories_metadata;
4776  
4777  const categories_settings = {
4778    icon: library_category,
4779    example: {},
4780    edit: CategoriesEdit
4781  };
4782  
4783  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/classic.js
4784  
4785  
4786  /**
4787   * WordPress dependencies
4788   */
4789  
4790  const classic = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
4791    viewBox: "0 0 24 24",
4792    xmlns: "http://www.w3.org/2000/svg"
4793  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
4794    d: "M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"
4795  }));
4796  /* harmony default export */ var library_classic = (classic);
4797  
4798  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/convert-to-blocks-button.js
4799  
4800  
4801  /**
4802   * WordPress dependencies
4803   */
4804  
4805  
4806  
4807  
4808  
4809  
4810  const ConvertToBlocksButton = _ref => {
4811    let {
4812      clientId
4813    } = _ref;
4814    const {
4815      replaceBlocks
4816    } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
4817    const block = Object(external_wp_data_["useSelect"])(select => {
4818      return select(external_wp_blockEditor_["store"]).getBlock(clientId);
4819    }, [clientId]);
4820    return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
4821      onClick: () => replaceBlocks(block.clientId, Object(external_wp_blocks_["rawHandler"])({
4822        HTML: Object(external_wp_blocks_["serialize"])(block)
4823      }))
4824    }, Object(external_wp_i18n_["__"])('Convert to blocks'));
4825  };
4826  
4827  /* harmony default export */ var convert_to_blocks_button = (ConvertToBlocksButton);
4828  
4829  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/edit.js
4830  
4831  
4832  /**
4833   * External dependencies
4834   */
4835  
4836  /**
4837   * WordPress dependencies
4838   */
4839  
4840  
4841  
4842  
4843  
4844  
4845  
4846  /**
4847   * Internal dependencies
4848   */
4849  
4850  
4851  const {
4852    wp: edit_wp
4853  } = window;
4854  
4855  function isTmceEmpty(editor) {
4856    // When tinyMce is empty the content seems to be:
4857    // <p><br data-mce-bogus="1"></p>
4858    // avoid expensive checks for large documents
4859    const body = editor.getBody();
4860  
4861    if (body.childNodes.length > 1) {
4862      return false;
4863    } else if (body.childNodes.length === 0) {
4864      return true;
4865    }
4866  
4867    if (body.childNodes[0].childNodes.length > 1) {
4868      return false;
4869    }
4870  
4871    return /^\n?$/.test(body.innerText || body.textContent);
4872  }
4873  
4874  function ClassicEdit(_ref) {
4875    let {
4876      clientId,
4877      attributes: {
4878        content
4879      },
4880      setAttributes,
4881      onReplace
4882    } = _ref;
4883    const {
4884      getMultiSelectedBlockClientIds
4885    } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
4886    const didMount = Object(external_wp_element_["useRef"])(false);
4887    Object(external_wp_element_["useEffect"])(() => {
4888      if (!didMount.current) {
4889        return;
4890      }
4891  
4892      const editor = window.tinymce.get(`editor-$clientId}`);
4893      const currentContent = editor === null || editor === void 0 ? void 0 : editor.getContent();
4894  
4895      if (currentContent !== content) {
4896        editor.setContent(content || '');
4897      }
4898    }, [content]);
4899    Object(external_wp_element_["useEffect"])(() => {
4900      const {
4901        baseURL,
4902        suffix
4903      } = window.wpEditorL10n.tinymce;
4904      didMount.current = true;
4905      window.tinymce.EditorManager.overrideDefaults({
4906        base_url: baseURL,
4907        suffix
4908      });
4909  
4910      function onSetup(editor) {
4911        let bookmark;
4912  
4913        if (content) {
4914          editor.on('loadContent', () => editor.setContent(content));
4915        }
4916  
4917        editor.on('blur', () => {
4918          var _getMultiSelectedBloc;
4919  
4920          bookmark = editor.selection.getBookmark(2, true); // There is an issue with Chrome and the editor.focus call in core at https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/lib/link.js#L451.
4921          // This causes a scroll to the top of editor content on return from some content updating dialogs so tracking
4922          // scroll position until this is fixed in core.
4923  
4924          const scrollContainer = document.querySelector('.interface-interface-skeleton__content');
4925          const scrollPosition = scrollContainer.scrollTop; // Only update attributes if we aren't multi-selecting blocks.
4926          // Updating during multi-selection can overwrite attributes of other blocks.
4927  
4928          if (!((_getMultiSelectedBloc = getMultiSelectedBlockClientIds()) !== null && _getMultiSelectedBloc !== void 0 && _getMultiSelectedBloc.length)) {
4929            setAttributes({
4930              content: editor.getContent()
4931            });
4932          }
4933  
4934          editor.once('focus', () => {
4935            if (bookmark) {
4936              editor.selection.moveToBookmark(bookmark);
4937  
4938              if (scrollContainer.scrollTop !== scrollPosition) {
4939                scrollContainer.scrollTop = scrollPosition;
4940              }
4941            }
4942          });
4943          return false;
4944        });
4945        editor.on('mousedown touchstart', () => {
4946          bookmark = null;
4947        });
4948        const debouncedOnChange = Object(external_lodash_["debounce"])(() => {
4949          const value = editor.getContent();
4950  
4951          if (value !== editor._lastChange) {
4952            editor._lastChange = value;
4953            setAttributes({
4954              content: value
4955            });
4956          }
4957        }, 250);
4958        editor.on('Paste Change input Undo Redo', debouncedOnChange); // We need to cancel the debounce call because when we remove
4959        // the editor (onUnmount) this callback is executed in
4960        // another tick. This results in setting the content to empty.
4961  
4962        editor.on('remove', debouncedOnChange.cancel);
4963        editor.on('keydown', event => {
4964          if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'z')) {
4965            // Prevent the gutenberg undo kicking in so TinyMCE undo stack works as expected
4966            event.stopPropagation();
4967          }
4968  
4969          if ((event.keyCode === external_wp_keycodes_["BACKSPACE"] || event.keyCode === external_wp_keycodes_["DELETE"]) && isTmceEmpty(editor)) {
4970            // delete the block
4971            onReplace([]);
4972            event.preventDefault();
4973            event.stopImmediatePropagation();
4974          }
4975  
4976          const {
4977            altKey
4978          } = event;
4979          /*
4980           * Prevent Mousetrap from kicking in: TinyMCE already uses its own
4981           * `alt+f10` shortcut to focus its toolbar.
4982           */
4983  
4984          if (altKey && event.keyCode === external_wp_keycodes_["F10"]) {
4985            event.stopPropagation();
4986          }
4987        });
4988        editor.on('init', () => {
4989          const rootNode = editor.getBody(); // Create the toolbar by refocussing the editor.
4990  
4991          if (rootNode.ownerDocument.activeElement === rootNode) {
4992            rootNode.blur();
4993            editor.focus();
4994          }
4995        });
4996      }
4997  
4998      function initialize() {
4999        const {
5000          settings
5001        } = window.wpEditorL10n.tinymce;
5002        edit_wp.oldEditor.initialize(`editor-$clientId}`, {
5003          tinymce: { ...settings,
5004            inline: true,
5005            content_css: false,
5006            fixed_toolbar_container: `#toolbar-$clientId}`,
5007            setup: onSetup
5008          }
5009        });
5010      }
5011  
5012      function onReadyStateChange() {
5013        if (document.readyState === 'complete') {
5014          initialize();
5015        }
5016      }
5017  
5018      if (document.readyState === 'complete') {
5019        initialize();
5020      } else {
5021        document.addEventListener('readystatechange', onReadyStateChange);
5022      }
5023  
5024      return () => {
5025        document.removeEventListener('readystatechange', onReadyStateChange);
5026        edit_wp.oldEditor.remove(`editor-$clientId}`);
5027      };
5028    }, []);
5029  
5030    function focus() {
5031      const editor = window.tinymce.get(`editor-$clientId}`);
5032  
5033      if (editor) {
5034        editor.focus();
5035      }
5036    }
5037  
5038    function onToolbarKeyDown(event) {
5039      // Prevent WritingFlow from kicking in and allow arrows navigation on the toolbar.
5040      event.stopPropagation(); // Prevent Mousetrap from moving focus to the top toolbar when pressing `alt+f10` on this block toolbar.
5041  
5042      event.nativeEvent.stopImmediatePropagation();
5043    } // Disable reasons:
5044    //
5045    // jsx-a11y/no-static-element-interactions
5046    //  - the toolbar itself is non-interactive, but must capture events
5047    //    from the KeyboardShortcuts component to stop their propagation.
5048  
5049    /* eslint-disable jsx-a11y/no-static-element-interactions */
5050  
5051  
5052    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(convert_to_blocks_button, {
5053      clientId: clientId
5054    }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])("div", {
5055      key: "toolbar",
5056      id: `toolbar-$clientId}`,
5057      className: "block-library-classic__toolbar",
5058      onClick: focus,
5059      "data-placeholder": Object(external_wp_i18n_["__"])('Classic'),
5060      onKeyDown: onToolbarKeyDown
5061    }), Object(external_wp_element_["createElement"])("div", {
5062      key: "editor",
5063      id: `editor-$clientId}`,
5064      className: "wp-block-freeform block-library-rich-text__tinymce"
5065    })));
5066    /* eslint-enable jsx-a11y/no-static-element-interactions */
5067  }
5068  
5069  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/save.js
5070  
5071  
5072  /**
5073   * WordPress dependencies
5074   */
5075  
5076  function freeform_save_save(_ref) {
5077    let {
5078      attributes
5079    } = _ref;
5080    const {
5081      content
5082    } = attributes;
5083    return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, content);
5084  }
5085  
5086  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/index.js
5087  /**
5088   * WordPress dependencies
5089   */
5090  
5091  /**
5092   * Internal dependencies
5093   */
5094  
5095  
5096  const freeform_metadata = {
5097    apiVersion: 2,
5098    name: "core/freeform",
5099    title: "Classic",
5100    category: "text",
5101    description: "Use the classic WordPress editor.",
5102    textdomain: "default",
5103    attributes: {
5104      content: {
5105        type: "string",
5106        source: "html"
5107      }
5108    },
5109    supports: {
5110      className: false,
5111      customClassName: false,
5112      reusable: false
5113    },
5114    editorStyle: "wp-block-freeform-editor"
5115  };
5116  
5117  const {
5118    name: freeform_name
5119  } = freeform_metadata;
5120  
5121  const freeform_settings = {
5122    icon: library_classic,
5123    edit: ClassicEdit,
5124    save: freeform_save_save
5125  };
5126  
5127  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
5128  var code = __webpack_require__("1Yn1");
5129  
5130  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js
5131  
5132  
5133  /**
5134   * WordPress dependencies
5135   */
5136  
5137  
5138  function CodeEdit(_ref) {
5139    let {
5140      attributes,
5141      setAttributes,
5142      onRemove
5143    } = _ref;
5144    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
5145    return Object(external_wp_element_["createElement"])("pre", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
5146      tagName: "code",
5147      value: attributes.content,
5148      onChange: content => setAttributes({
5149        content
5150      }),
5151      onRemove: onRemove,
5152      placeholder: Object(external_wp_i18n_["__"])('Write code…'),
5153      "aria-label": Object(external_wp_i18n_["__"])('Code'),
5154      preserveWhiteSpace: true,
5155      __unstablePastePlainText: true
5156    }));
5157  }
5158  
5159  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js
5160  /**
5161   * External dependencies
5162   */
5163  
5164  /**
5165   * Escapes ampersands, shortcodes, and links.
5166   *
5167   * @param {string} content The content of a code block.
5168   * @return {string} The given content with some characters escaped.
5169   */
5170  
5171  function utils_escape(content) {
5172    return Object(external_lodash_["flow"])(escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || '');
5173  }
5174  /**
5175   * Returns the given content with all opening shortcode characters converted
5176   * into their HTML entity counterpart (i.e. [ => &#91;). For instance, a
5177   * shortcode like [embed] becomes &#91;embed]
5178   *
5179   * This function replicates the escaping of HTML tags, where a tag like
5180   * <strong> becomes &lt;strong>.
5181   *
5182   * @param {string} content The content of a code block.
5183   * @return {string} The given content with its opening shortcode characters
5184   *                  converted into their HTML entity counterpart
5185   *                  (i.e. [ => &#91;)
5186   */
5187  
5188  function escapeOpeningSquareBrackets(content) {
5189    return content.replace(/\[/g, '&#91;');
5190  }
5191  /**
5192   * Converts the first two forward slashes of any isolated URL into their HTML
5193   * counterparts (i.e. // => &#47;&#47;). For instance, https://youtube.com/watch?x
5194   * becomes https:&#47;&#47;youtube.com/watch?x.
5195   *
5196   * An isolated URL is a URL that sits in its own line, surrounded only by spacing
5197   * characters.
5198   *
5199   * See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403
5200   *
5201   * @param {string} content The content of a code block.
5202   * @return {string} The given content with its ampersands converted into
5203   *                  their HTML entity counterpart (i.e. & => &amp;)
5204   */
5205  
5206  
5207  function escapeProtocolInIsolatedUrls(content) {
5208    return content.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m, '$1&#47;&#47;$2');
5209  }
5210  
5211  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/save.js
5212  
5213  
5214  /**
5215   * WordPress dependencies
5216   */
5217  
5218  /**
5219   * Internal dependencies
5220   */
5221  
5222  
5223  function code_save_save(_ref) {
5224    let {
5225      attributes
5226    } = _ref;
5227    return Object(external_wp_element_["createElement"])("pre", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
5228      tagName: "code",
5229      value: utils_escape(attributes.content)
5230    }));
5231  }
5232  
5233  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/transforms.js
5234  /**
5235   * WordPress dependencies
5236   */
5237  
5238  const code_transforms_transforms = {
5239    from: [{
5240      type: 'enter',
5241      regExp: /^```$/,
5242      transform: () => Object(external_wp_blocks_["createBlock"])('core/code')
5243    }, {
5244      type: 'block',
5245      blocks: ['core/html'],
5246      transform: _ref => {
5247        let {
5248          content
5249        } = _ref;
5250        return Object(external_wp_blocks_["createBlock"])('core/code', {
5251          content
5252        });
5253      }
5254    }, {
5255      type: 'raw',
5256      isMatch: node => node.nodeName === 'PRE' && node.children.length === 1 && node.firstChild.nodeName === 'CODE',
5257      schema: {
5258        pre: {
5259          children: {
5260            code: {
5261              children: {
5262                '#text': {}
5263              }
5264            }
5265          }
5266        }
5267      }
5268    }]
5269  };
5270  /* harmony default export */ var code_transforms = (code_transforms_transforms);
5271  
5272  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/index.js
5273  /**
5274   * WordPress dependencies
5275   */
5276  
5277  
5278  /**
5279   * Internal dependencies
5280   */
5281  
5282  
5283  const code_metadata = {
5284    apiVersion: 2,
5285    name: "core/code",
5286    title: "Code",
5287    category: "text",
5288    description: "Display code snippets that respect your spacing and tabs.",
5289    textdomain: "default",
5290    attributes: {
5291      content: {
5292        type: "string",
5293        source: "html",
5294        selector: "code"
5295      }
5296    },
5297    supports: {
5298      anchor: true,
5299      __experimentalSelector: ".wp-block-code > code",
5300      typography: {
5301        fontSize: true,
5302        lineHeight: true,
5303        __experimentalFontStyle: true,
5304        __experimentalFontWeight: true,
5305        __experimentalLetterSpacing: true,
5306        __experimentalTextTransform: true,
5307        __experimentalDefaultControls: {
5308          fontSize: true
5309        }
5310      },
5311      spacing: {
5312        margin: ["top", "bottom"],
5313        padding: true
5314      },
5315      __experimentalBorder: {
5316        radius: true,
5317        color: true,
5318        width: true,
5319        style: true
5320      },
5321      color: {
5322        text: true,
5323        background: true,
5324        gradients: true
5325      }
5326    },
5327    style: "wp-block-code"
5328  };
5329  
5330  
5331  const {
5332    name: code_name
5333  } = code_metadata;
5334  
5335  const code_settings = {
5336    icon: code["a" /* default */],
5337    example: {
5338      attributes: {
5339        /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
5340        // translators: Preserve \n markers for line breaks
5341        content: Object(external_wp_i18n_["__"])('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')
5342        /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */
5343  
5344      }
5345    },
5346    transforms: code_transforms,
5347    edit: CodeEdit,
5348    save: code_save_save
5349  };
5350  
5351  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/column.js
5352  
5353  
5354  /**
5355   * WordPress dependencies
5356   */
5357  
5358  const column = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
5359    xmlns: "http://www.w3.org/2000/svg",
5360    viewBox: "0 0 24 24"
5361  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
5362    d: "M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"
5363  }));
5364  /* harmony default export */ var library_column = (column);
5365  
5366  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/deprecated.js
5367  
5368  
5369  /**
5370   * External dependencies
5371   */
5372  
5373  /**
5374   * WordPress dependencies
5375   */
5376  
5377  
5378  const column_deprecated_deprecated = [{
5379    attributes: {
5380      verticalAlignment: {
5381        type: 'string'
5382      },
5383      width: {
5384        type: 'number',
5385        min: 0,
5386        max: 100
5387      }
5388    },
5389  
5390    isEligible(_ref) {
5391      let {
5392        width
5393      } = _ref;
5394      return isFinite(width);
5395    },
5396  
5397    migrate(attributes) {
5398      return { ...attributes,
5399        width: `$attributes.width}%`
5400      };
5401    },
5402  
5403    save(_ref2) {
5404      let {
5405        attributes
5406      } = _ref2;
5407      const {
5408        verticalAlignment,
5409        width
5410      } = attributes;
5411      const wrapperClasses = classnames_default()({
5412        [`is-vertically-aligned-$verticalAlignment}`]: verticalAlignment
5413      });
5414      const style = {
5415        flexBasis: width + '%'
5416      };
5417      return Object(external_wp_element_["createElement"])("div", {
5418        className: wrapperClasses,
5419        style: style
5420      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
5421    }
5422  
5423  }];
5424  /* harmony default export */ var column_deprecated = (column_deprecated_deprecated);
5425  
5426  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/edit.js
5427  
5428  
5429  /**
5430   * External dependencies
5431   */
5432  
5433  /**
5434   * WordPress dependencies
5435   */
5436  
5437  
5438  
5439  
5440  
5441  
5442  function ColumnEdit(_ref) {
5443    let {
5444      attributes: {
5445        verticalAlignment,
5446        width,
5447        templateLock = false,
5448        allowedBlocks
5449      },
5450      setAttributes,
5451      clientId
5452    } = _ref;
5453    const classes = classnames_default()('block-core-columns', {
5454      [`is-vertically-aligned-$verticalAlignment}`]: verticalAlignment
5455    });
5456    const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
5457      availableUnits: Object(external_wp_blockEditor_["useSetting"])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
5458    });
5459    const {
5460      columnsIds,
5461      hasChildBlocks,
5462      rootClientId
5463    } = Object(external_wp_data_["useSelect"])(select => {
5464      const {
5465        getBlockOrder,
5466        getBlockRootClientId
5467      } = select(external_wp_blockEditor_["store"]);
5468      const rootId = getBlockRootClientId(clientId);
5469      return {
5470        hasChildBlocks: getBlockOrder(clientId).length > 0,
5471        rootClientId: rootId,
5472        columnsIds: getBlockOrder(rootId)
5473      };
5474    }, [clientId]);
5475    const {
5476      updateBlockAttributes
5477    } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
5478  
5479    const updateAlignment = value => {
5480      // Update own alignment.
5481      setAttributes({
5482        verticalAlignment: value
5483      }); // Reset parent Columns block.
5484  
5485      updateBlockAttributes(rootClientId, {
5486        verticalAlignment: null
5487      });
5488    };
5489  
5490    const widthWithUnit = Number.isFinite(width) ? width + '%' : width;
5491    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
5492      className: classes,
5493      style: widthWithUnit ? {
5494        flexBasis: widthWithUnit
5495      } : undefined
5496    });
5497    const columnsCount = columnsIds.length;
5498    const currentColumnPosition = columnsIds.indexOf(clientId) + 1;
5499    const label = Object(external_wp_i18n_["sprintf"])(
5500    /* translators: 1: Block label (i.e. "Block: Column"), 2: Position of the selected block, 3: Total number of sibling blocks of the same type */
5501    Object(external_wp_i18n_["__"])('%1$s (%2$d of %3$d)'), blockProps['aria-label'], currentColumnPosition, columnsCount);
5502    const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({ ...blockProps,
5503      'aria-label': label
5504    }, {
5505      templateLock,
5506      allowedBlocks,
5507      renderAppender: hasChildBlocks ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender
5508    });
5509    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockVerticalAlignmentToolbar"], {
5510      onChange: updateAlignment,
5511      value: verticalAlignment
5512    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
5513      title: Object(external_wp_i18n_["__"])('Column settings')
5514    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
5515      label: Object(external_wp_i18n_["__"])('Width'),
5516      labelPosition: "edge",
5517      __unstableInputWidth: "80px",
5518      value: width || '',
5519      onChange: nextWidth => {
5520        nextWidth = 0 > parseFloat(nextWidth) ? '0' : nextWidth;
5521        setAttributes({
5522          width: nextWidth
5523        });
5524      },
5525      units: units
5526    }))), Object(external_wp_element_["createElement"])("div", innerBlocksProps));
5527  }
5528  
5529  /* harmony default export */ var column_edit = (ColumnEdit);
5530  
5531  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/save.js
5532  
5533  
5534  /**
5535   * External dependencies
5536   */
5537  
5538  /**
5539   * WordPress dependencies
5540   */
5541  
5542  
5543  function column_save_save(_ref) {
5544    let {
5545      attributes
5546    } = _ref;
5547    const {
5548      verticalAlignment,
5549      width
5550    } = attributes;
5551    const wrapperClasses = classnames_default()({
5552      [`is-vertically-aligned-$verticalAlignment}`]: verticalAlignment
5553    });
5554    let style;
5555  
5556    if (width && /\d/.test(width)) {
5557      // Numbers are handled for backward compatibility as they can be still provided with templates.
5558      let flexBasis = Number.isFinite(width) ? width + '%' : width; // In some cases we need to round the width to a shorter float.
5559  
5560      if (!Number.isFinite(width) && width !== null && width !== void 0 && width.endsWith('%')) {
5561        const multiplier = 1000000000000; // Shrink the number back to a reasonable float.
5562  
5563        flexBasis = Math.round(Number.parseFloat(width) * multiplier) / multiplier + '%';
5564      }
5565  
5566      style = {
5567        flexBasis
5568      };
5569    }
5570  
5571    const blockProps = external_wp_blockEditor_["useBlockProps"].save({
5572      className: wrapperClasses,
5573      style
5574    });
5575    const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
5576    return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
5577  }
5578  
5579  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/index.js
5580  /**
5581   * WordPress dependencies
5582   */
5583  
5584  /**
5585   * Internal dependencies
5586   */
5587  
5588  
5589  
5590  const column_metadata = {
5591    apiVersion: 2,
5592    name: "core/column",
5593    title: "Column",
5594    category: "text",
5595    parent: ["core/columns"],
5596    description: "A single column within a columns block.",
5597    textdomain: "default",
5598    attributes: {
5599      verticalAlignment: {
5600        type: "string"
5601      },
5602      width: {
5603        type: "string"
5604      },
5605      allowedBlocks: {
5606        type: "array"
5607      },
5608      templateLock: {
5609        type: ["string", "boolean"],
5610        "enum": ["all", "insert", false]
5611      }
5612    },
5613    supports: {
5614      anchor: true,
5615      reusable: false,
5616      html: false,
5617      color: {
5618        gradients: true,
5619        link: true
5620      },
5621      spacing: {
5622        padding: true,
5623        __experimentalDefaultControls: {
5624          padding: true
5625        }
5626      }
5627    }
5628  };
5629  
5630  const {
5631    name: column_name
5632  } = column_metadata;
5633  
5634  const column_settings = {
5635    icon: library_column,
5636    edit: column_edit,
5637    save: column_save_save,
5638    deprecated: column_deprecated
5639  };
5640  
5641  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/columns.js
5642  
5643  
5644  /**
5645   * WordPress dependencies
5646   */
5647  
5648  const columns_columns = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
5649    viewBox: "0 0 24 24",
5650    xmlns: "http://www.w3.org/2000/svg"
5651  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
5652    d: "M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"
5653  }));
5654  /* harmony default export */ var library_columns = (columns_columns);
5655  
5656  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/deprecated.js
5657  
5658  
5659  /**
5660   * External dependencies
5661   */
5662  
5663  
5664  /**
5665   * WordPress dependencies
5666   */
5667  
5668  
5669  
5670  /**
5671   * Given an HTML string for a deprecated columns inner block, returns the
5672   * column index to which the migrated inner block should be assigned. Returns
5673   * undefined if the inner block was not assigned to a column.
5674   *
5675   * @param {string} originalContent Deprecated Columns inner block HTML.
5676   *
5677   * @return {?number} Column to which inner block is to be assigned.
5678   */
5679  
5680  function getDeprecatedLayoutColumn(originalContent) {
5681    let {
5682      doc
5683    } = getDeprecatedLayoutColumn;
5684  
5685    if (!doc) {
5686      doc = document.implementation.createHTMLDocument('');
5687      getDeprecatedLayoutColumn.doc = doc;
5688    }
5689  
5690    let columnMatch;
5691    doc.body.innerHTML = originalContent;
5692  
5693    for (const classListItem of doc.body.firstChild.classList) {
5694      if (columnMatch = classListItem.match(/^layout-column-(\d+)$/)) {
5695        return Number(columnMatch[1]) - 1;
5696      }
5697    }
5698  }
5699  
5700  const migrateCustomColors = attributes => {
5701    if (!attributes.customTextColor && !attributes.customBackgroundColor) {
5702      return attributes;
5703    }
5704  
5705    const style = {
5706      color: {}
5707    };
5708  
5709    if (attributes.customTextColor) {
5710      style.color.text = attributes.customTextColor;
5711    }
5712  
5713    if (attributes.customBackgroundColor) {
5714      style.color.background = attributes.customBackgroundColor;
5715    }
5716  
5717    return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor']),
5718      style,
5719      isStackedOnMobile: true
5720    };
5721  };
5722  
5723  /* harmony default export */ var columns_deprecated = ([{
5724    attributes: {
5725      verticalAlignment: {
5726        type: 'string'
5727      },
5728      backgroundColor: {
5729        type: 'string'
5730      },
5731      customBackgroundColor: {
5732        type: 'string'
5733      },
5734      customTextColor: {
5735        type: 'string'
5736      },
5737      textColor: {
5738        type: 'string'
5739      }
5740    },
5741    migrate: migrateCustomColors,
5742  
5743    save(_ref) {
5744      let {
5745        attributes
5746      } = _ref;
5747      const {
5748        verticalAlignment,
5749        backgroundColor,
5750        customBackgroundColor,
5751        textColor,
5752        customTextColor
5753      } = attributes;
5754      const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
5755      const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
5756      const className = classnames_default()({
5757        'has-background': backgroundColor || customBackgroundColor,
5758        'has-text-color': textColor || customTextColor,
5759        [backgroundClass]: backgroundClass,
5760        [textClass]: textClass,
5761        [`are-vertically-aligned-$verticalAlignment}`]: verticalAlignment
5762      });
5763      const style = {
5764        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
5765        color: textClass ? undefined : customTextColor
5766      };
5767      return Object(external_wp_element_["createElement"])("div", {
5768        className: className ? className : undefined,
5769        style: style
5770      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
5771    }
5772  
5773  }, {
5774    attributes: {
5775      columns: {
5776        type: 'number',
5777        default: 2
5778      }
5779    },
5780  
5781    isEligible(attributes, innerBlocks) {
5782      // Since isEligible is called on every valid instance of the
5783      // Columns block and a deprecation is the unlikely case due to
5784      // its subsequent migration, optimize for the `false` condition
5785      // by performing a naive, inaccurate pass at inner blocks.
5786      const isFastPassEligible = innerBlocks.some(innerBlock => /layout-column-\d+/.test(innerBlock.originalContent));
5787  
5788      if (!isFastPassEligible) {
5789        return false;
5790      } // Only if the fast pass is considered eligible is the more
5791      // accurate, durable, slower condition performed.
5792  
5793  
5794      return innerBlocks.some(innerBlock => getDeprecatedLayoutColumn(innerBlock.originalContent) !== undefined);
5795    },
5796  
5797    migrate(attributes, innerBlocks) {
5798      const columns = innerBlocks.reduce((accumulator, innerBlock) => {
5799        const {
5800          originalContent
5801        } = innerBlock;
5802        let columnIndex = getDeprecatedLayoutColumn(originalContent);
5803  
5804        if (columnIndex === undefined) {
5805          columnIndex = 0;
5806        }
5807  
5808        if (!accumulator[columnIndex]) {
5809          accumulator[columnIndex] = [];
5810        }
5811  
5812        accumulator[columnIndex].push(innerBlock);
5813        return accumulator;
5814      }, []);
5815      const migratedInnerBlocks = columns.map(columnBlocks => Object(external_wp_blocks_["createBlock"])('core/column', {}, columnBlocks));
5816      return [{ ...Object(external_lodash_["omit"])(attributes, ['columns']),
5817        isStackedOnMobile: true
5818      }, migratedInnerBlocks];
5819    },
5820  
5821    save(_ref2) {
5822      let {
5823        attributes
5824      } = _ref2;
5825      const {
5826        columns
5827      } = attributes;
5828      return Object(external_wp_element_["createElement"])("div", {
5829        className: `has-$columns}-columns`
5830      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
5831    }
5832  
5833  }, {
5834    attributes: {
5835      columns: {
5836        type: 'number',
5837        default: 2
5838      }
5839    },
5840  
5841    migrate(attributes, innerBlocks) {
5842      attributes = { ...Object(external_lodash_["omit"])(attributes, ['columns']),
5843        isStackedOnMobile: true
5844      };
5845      return [attributes, innerBlocks];
5846    },
5847  
5848    save(_ref3) {
5849      let {
5850        attributes
5851      } = _ref3;
5852      const {
5853        verticalAlignment,
5854        columns
5855      } = attributes;
5856      const wrapperClasses = classnames_default()(`has-$columns}-columns`, {
5857        [`are-vertically-aligned-$verticalAlignment}`]: verticalAlignment
5858      });
5859      return Object(external_wp_element_["createElement"])("div", {
5860        className: wrapperClasses
5861      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
5862    }
5863  
5864  }]);
5865  
5866  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/utils.js
5867  /**
5868   * External dependencies
5869   */
5870  
5871  /**
5872   * Returns a column width attribute value rounded to standard precision.
5873   * Returns `undefined` if the value is not a valid finite number.
5874   *
5875   * @param {?number} value Raw value.
5876   *
5877   * @return {number} Value rounded to standard precision.
5878   */
5879  
5880  const toWidthPrecision = value => {
5881    const unitlessValue = parseFloat(value);
5882    return Number.isFinite(unitlessValue) ? parseFloat(unitlessValue.toFixed(2)) : undefined;
5883  };
5884  /**
5885   * Returns an effective width for a given block. An effective width is equal to
5886   * its attribute value if set, or a computed value assuming equal distribution.
5887   *
5888   * @param {WPBlock} block           Block object.
5889   * @param {number}  totalBlockCount Total number of blocks in Columns.
5890   *
5891   * @return {number} Effective column width.
5892   */
5893  
5894  function getEffectiveColumnWidth(block, totalBlockCount) {
5895    const {
5896      width = 100 / totalBlockCount
5897    } = block.attributes;
5898    return toWidthPrecision(width);
5899  }
5900  /**
5901   * Returns the total width occupied by the given set of column blocks.
5902   *
5903   * @param {WPBlock[]} blocks          Block objects.
5904   * @param {?number}   totalBlockCount Total number of blocks in Columns.
5905   *                                    Defaults to number of blocks passed.
5906   *
5907   * @return {number} Total width occupied by blocks.
5908   */
5909  
5910  function getTotalColumnsWidth(blocks) {
5911    let totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length;
5912    return Object(external_lodash_["sumBy"])(blocks, block => getEffectiveColumnWidth(block, totalBlockCount));
5913  }
5914  /**
5915   * Returns an object of `clientId` → `width` of effective column widths.
5916   *
5917   * @param {WPBlock[]} blocks          Block objects.
5918   * @param {?number}   totalBlockCount Total number of blocks in Columns.
5919   *                                    Defaults to number of blocks passed.
5920   *
5921   * @return {Object<string,number>} Column widths.
5922   */
5923  
5924  function getColumnWidths(blocks) {
5925    let totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length;
5926    return blocks.reduce((accumulator, block) => {
5927      const width = getEffectiveColumnWidth(block, totalBlockCount);
5928      return Object.assign(accumulator, {
5929        [block.clientId]: width
5930      });
5931    }, {});
5932  }
5933  /**
5934   * Returns an object of `clientId` → `width` of column widths as redistributed
5935   * proportional to their current widths, constrained or expanded to fit within
5936   * the given available width.
5937   *
5938   * @param {WPBlock[]} blocks          Block objects.
5939   * @param {number}    availableWidth  Maximum width to fit within.
5940   * @param {?number}   totalBlockCount Total number of blocks in Columns.
5941   *                                    Defaults to number of blocks passed.
5942   *
5943   * @return {Object<string,number>} Redistributed column widths.
5944   */
5945  
5946  function getRedistributedColumnWidths(blocks, availableWidth) {
5947    let totalBlockCount = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : blocks.length;
5948    const totalWidth = getTotalColumnsWidth(blocks, totalBlockCount);
5949    return Object(external_lodash_["mapValues"])(getColumnWidths(blocks, totalBlockCount), width => {
5950      const newWidth = availableWidth * width / totalWidth;
5951      return toWidthPrecision(newWidth);
5952    });
5953  }
5954  /**
5955   * Returns true if column blocks within the provided set are assigned with
5956   * explicit widths, or false otherwise.
5957   *
5958   * @param {WPBlock[]} blocks Block objects.
5959   *
5960   * @return {boolean} Whether columns have explicit widths.
5961   */
5962  
5963  function hasExplicitPercentColumnWidths(blocks) {
5964    return blocks.every(block => {
5965      var _blockWidth$endsWith;
5966  
5967      const blockWidth = block.attributes.width;
5968      return Number.isFinite(blockWidth !== null && blockWidth !== void 0 && (_blockWidth$endsWith = blockWidth.endsWith) !== null && _blockWidth$endsWith !== void 0 && _blockWidth$endsWith.call(blockWidth, '%') ? parseFloat(blockWidth) : blockWidth);
5969    });
5970  }
5971  /**
5972   * Returns a copy of the given set of blocks with new widths assigned from the
5973   * provided object of redistributed column widths.
5974   *
5975   * @param {WPBlock[]}             blocks Block objects.
5976   * @param {Object<string,number>} widths Redistributed column widths.
5977   *
5978   * @return {WPBlock[]} blocks Mapped block objects.
5979   */
5980  
5981  function getMappedColumnWidths(blocks, widths) {
5982    return blocks.map(block => Object(external_lodash_["merge"])({}, block, {
5983      attributes: {
5984        width: `$widths[block.clientId]}%`
5985      }
5986    }));
5987  }
5988  /**
5989   * Returns an array with columns widths values, parsed or no depends on `withParsing` flag.
5990   *
5991   * @param {WPBlock[]} blocks      Block objects.
5992   * @param {?boolean}  withParsing Whether value has to be parsed.
5993   *
5994   * @return {Array<number,string>} Column widths.
5995   */
5996  
5997  function getWidths(blocks) {
5998    let withParsing = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
5999    return blocks.map(innerColumn => {
6000      const innerColumnWidth = innerColumn.attributes.width || 100 / blocks.length;
6001      return withParsing ? parseFloat(innerColumnWidth) : innerColumnWidth;
6002    });
6003  }
6004  /**
6005   * Returns a column width with unit.
6006   *
6007   * @param {string} width Column width.
6008   * @param {string} unit  Column width unit.
6009   *
6010   * @return {string} Column width with unit.
6011   */
6012  
6013  function getWidthWithUnit(width, unit) {
6014    width = 0 > parseFloat(width) ? '0' : width;
6015  
6016    if (isPercentageUnit(unit)) {
6017      width = Math.min(width, 100);
6018    }
6019  
6020    return `$width}$unit}`;
6021  }
6022  /**
6023   * Returns a boolean whether passed unit is percentage
6024   *
6025   * @param {string} unit Column width unit.
6026   *
6027   * @return {boolean}     Whether unit is '%'.
6028   */
6029  
6030  function isPercentageUnit(unit) {
6031    return unit === '%';
6032  }
6033  
6034  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/edit.js
6035  
6036  
6037  /**
6038   * External dependencies
6039   */
6040  
6041  
6042  /**
6043   * WordPress dependencies
6044   */
6045  
6046  
6047  
6048  
6049  
6050  
6051  /**
6052   * Internal dependencies
6053   */
6054  
6055  
6056  /**
6057   * Allowed blocks constant is passed to InnerBlocks precisely as specified here.
6058   * The contents of the array should never change.
6059   * The array should contain the name of each block that is allowed.
6060   * In columns block, the only block we allow is 'core/column'.
6061   *
6062   * @constant
6063   * @type {string[]}
6064   */
6065  
6066  const edit_ALLOWED_BLOCKS = ['core/column'];
6067  
6068  function ColumnsEditContainer(_ref) {
6069    let {
6070      attributes,
6071      setAttributes,
6072      updateAlignment,
6073      updateColumns,
6074      clientId
6075    } = _ref;
6076    const {
6077      isStackedOnMobile,
6078      verticalAlignment
6079    } = attributes;
6080    const {
6081      count
6082    } = Object(external_wp_data_["useSelect"])(select => {
6083      return {
6084        count: select(external_wp_blockEditor_["store"]).getBlockCount(clientId)
6085      };
6086    }, [clientId]);
6087    const classes = classnames_default()({
6088      [`are-vertically-aligned-$verticalAlignment}`]: verticalAlignment,
6089      [`is-not-stacked-on-mobile`]: !isStackedOnMobile
6090    });
6091    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
6092      className: classes
6093    });
6094    const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
6095      allowedBlocks: edit_ALLOWED_BLOCKS,
6096      orientation: 'horizontal',
6097      renderAppender: false
6098    });
6099    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockVerticalAlignmentToolbar"], {
6100      onChange: updateAlignment,
6101      value: verticalAlignment
6102    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
6103      label: Object(external_wp_i18n_["__"])('Columns'),
6104      value: count,
6105      onChange: value => updateColumns(count, value),
6106      min: 1,
6107      max: Math.max(6, count)
6108    }), count > 6 && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
6109      status: "warning",
6110      isDismissible: false
6111    }, Object(external_wp_i18n_["__"])('This column count exceeds the recommended amount and may cause visual breakage.')), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
6112      label: Object(external_wp_i18n_["__"])('Stack on mobile'),
6113      checked: isStackedOnMobile,
6114      onChange: () => setAttributes({
6115        isStackedOnMobile: !isStackedOnMobile
6116      })
6117    }))), Object(external_wp_element_["createElement"])("div", innerBlocksProps));
6118  }
6119  
6120  const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((dispatch, ownProps, registry) => ({
6121    /**
6122     * Update all child Column blocks with a new vertical alignment setting
6123     * based on whatever alignment is passed in. This allows change to parent
6124     * to overide anything set on a individual column basis.
6125     *
6126     * @param {string} verticalAlignment the vertical alignment setting
6127     */
6128    updateAlignment(verticalAlignment) {
6129      const {
6130        clientId,
6131        setAttributes
6132      } = ownProps;
6133      const {
6134        updateBlockAttributes
6135      } = dispatch(external_wp_blockEditor_["store"]);
6136      const {
6137        getBlockOrder
6138      } = registry.select(external_wp_blockEditor_["store"]); // Update own alignment.
6139  
6140      setAttributes({
6141        verticalAlignment
6142      }); // Update all child Column Blocks to match
6143  
6144      const innerBlockClientIds = getBlockOrder(clientId);
6145      innerBlockClientIds.forEach(innerBlockClientId => {
6146        updateBlockAttributes(innerBlockClientId, {
6147          verticalAlignment
6148        });
6149      });
6150    },
6151  
6152    /**
6153     * Updates the column count, including necessary revisions to child Column
6154     * blocks to grant required or redistribute available space.
6155     *
6156     * @param {number} previousColumns Previous column count.
6157     * @param {number} newColumns      New column count.
6158     */
6159    updateColumns(previousColumns, newColumns) {
6160      const {
6161        clientId
6162      } = ownProps;
6163      const {
6164        replaceInnerBlocks
6165      } = dispatch(external_wp_blockEditor_["store"]);
6166      const {
6167        getBlocks
6168      } = registry.select(external_wp_blockEditor_["store"]);
6169      let innerBlocks = getBlocks(clientId);
6170      const hasExplicitWidths = hasExplicitPercentColumnWidths(innerBlocks); // Redistribute available width for existing inner blocks.
6171  
6172      const isAddingColumn = newColumns > previousColumns;
6173  
6174      if (isAddingColumn && hasExplicitWidths) {
6175        // If adding a new column, assign width to the new column equal to
6176        // as if it were `1 / columns` of the total available space.
6177        const newColumnWidth = toWidthPrecision(100 / newColumns); // Redistribute in consideration of pending block insertion as
6178        // constraining the available working width.
6179  
6180        const widths = getRedistributedColumnWidths(innerBlocks, 100 - newColumnWidth);
6181        innerBlocks = [...getMappedColumnWidths(innerBlocks, widths), ...Object(external_lodash_["times"])(newColumns - previousColumns, () => {
6182          return Object(external_wp_blocks_["createBlock"])('core/column', {
6183            width: `$newColumnWidth}%`
6184          });
6185        })];
6186      } else if (isAddingColumn) {
6187        innerBlocks = [...innerBlocks, ...Object(external_lodash_["times"])(newColumns - previousColumns, () => {
6188          return Object(external_wp_blocks_["createBlock"])('core/column');
6189        })];
6190      } else {
6191        // The removed column will be the last of the inner blocks.
6192        innerBlocks = Object(external_lodash_["dropRight"])(innerBlocks, previousColumns - newColumns);
6193  
6194        if (hasExplicitWidths) {
6195          // Redistribute as if block is already removed.
6196          const widths = getRedistributedColumnWidths(innerBlocks, 100);
6197          innerBlocks = getMappedColumnWidths(innerBlocks, widths);
6198        }
6199      }
6200  
6201      replaceInnerBlocks(clientId, innerBlocks);
6202    }
6203  
6204  }))(ColumnsEditContainer);
6205  
6206  function Placeholder(_ref2) {
6207    let {
6208      clientId,
6209      name,
6210      setAttributes
6211    } = _ref2;
6212    const {
6213      blockType,
6214      defaultVariation,
6215      variations
6216    } = Object(external_wp_data_["useSelect"])(select => {
6217      const {
6218        getBlockVariations,
6219        getBlockType,
6220        getDefaultBlockVariation
6221      } = select(external_wp_blocks_["store"]);
6222      return {
6223        blockType: getBlockType(name),
6224        defaultVariation: getDefaultBlockVariation(name, 'block'),
6225        variations: getBlockVariations(name, 'block')
6226      };
6227    }, [name]);
6228    const {
6229      replaceInnerBlocks
6230    } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
6231    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
6232    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockVariationPicker"], {
6233      icon: Object(external_lodash_["get"])(blockType, ['icon', 'src']),
6234      label: Object(external_lodash_["get"])(blockType, ['title']),
6235      variations: variations,
6236      onSelect: function () {
6237        let nextVariation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultVariation;
6238  
6239        if (nextVariation.attributes) {
6240          setAttributes(nextVariation.attributes);
6241        }
6242  
6243        if (nextVariation.innerBlocks) {
6244          replaceInnerBlocks(clientId, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(nextVariation.innerBlocks), true);
6245        }
6246      },
6247      allowSkip: true
6248    }));
6249  }
6250  
6251  const ColumnsEdit = props => {
6252    const {
6253      clientId
6254    } = props;
6255    const hasInnerBlocks = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlocks(clientId).length > 0, [clientId]);
6256    const Component = hasInnerBlocks ? ColumnsEditContainerWrapper : Placeholder;
6257    return Object(external_wp_element_["createElement"])(Component, props);
6258  };
6259  
6260  /* harmony default export */ var columns_edit = (ColumnsEdit);
6261  
6262  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js
6263  
6264  
6265  /**
6266   * External dependencies
6267   */
6268  
6269  /**
6270   * WordPress dependencies
6271   */
6272  
6273  
6274  function columns_save_save(_ref) {
6275    let {
6276      attributes
6277    } = _ref;
6278    const {
6279      isStackedOnMobile,
6280      verticalAlignment
6281    } = attributes;
6282    const className = classnames_default()({
6283      [`are-vertically-aligned-$verticalAlignment}`]: verticalAlignment,
6284      [`is-not-stacked-on-mobile`]: !isStackedOnMobile
6285    });
6286    const blockProps = external_wp_blockEditor_["useBlockProps"].save({
6287      className
6288    });
6289    const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
6290    return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
6291  }
6292  
6293  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/variations.js
6294  
6295  
6296  /**
6297   * WordPress dependencies
6298   */
6299  
6300  
6301  /** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */
6302  
6303  /**
6304   * Template option choices for predefined columns layouts.
6305   *
6306   * @type {WPBlockVariation[]}
6307   */
6308  
6309  const variations_variations = [{
6310    name: 'one-column-full',
6311    title: Object(external_wp_i18n_["__"])('100'),
6312    description: Object(external_wp_i18n_["__"])('One column'),
6313    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6314      width: "48",
6315      height: "48",
6316      viewBox: "0 0 48 48",
6317      xmlns: "http://www.w3.org/2000/svg"
6318    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6319      fillRule: "evenodd",
6320      clipRule: "evenodd",
6321      d: "m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"
6322    })),
6323    innerBlocks: [['core/column']],
6324    scope: ['block']
6325  }, {
6326    name: 'two-columns-equal',
6327    title: Object(external_wp_i18n_["__"])('50 / 50'),
6328    description: Object(external_wp_i18n_["__"])('Two columns; equal split'),
6329    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6330      width: "48",
6331      height: "48",
6332      viewBox: "0 0 48 48",
6333      xmlns: "http://www.w3.org/2000/svg"
6334    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6335      fillRule: "evenodd",
6336      clipRule: "evenodd",
6337      d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"
6338    })),
6339    isDefault: true,
6340    innerBlocks: [['core/column'], ['core/column']],
6341    scope: ['block']
6342  }, {
6343    name: 'two-columns-one-third-two-thirds',
6344    title: Object(external_wp_i18n_["__"])('30 / 70'),
6345    description: Object(external_wp_i18n_["__"])('Two columns; one-third, two-thirds split'),
6346    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6347      width: "48",
6348      height: "48",
6349      viewBox: "0 0 48 48",
6350      xmlns: "http://www.w3.org/2000/svg"
6351    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6352      fillRule: "evenodd",
6353      clipRule: "evenodd",
6354      d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"
6355    })),
6356    innerBlocks: [['core/column', {
6357      width: '33.33%'
6358    }], ['core/column', {
6359      width: '66.66%'
6360    }]],
6361    scope: ['block']
6362  }, {
6363    name: 'two-columns-two-thirds-one-third',
6364    title: Object(external_wp_i18n_["__"])('70 / 30'),
6365    description: Object(external_wp_i18n_["__"])('Two columns; two-thirds, one-third split'),
6366    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6367      width: "48",
6368      height: "48",
6369      viewBox: "0 0 48 48",
6370      xmlns: "http://www.w3.org/2000/svg"
6371    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6372      fillRule: "evenodd",
6373      clipRule: "evenodd",
6374      d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"
6375    })),
6376    innerBlocks: [['core/column', {
6377      width: '66.66%'
6378    }], ['core/column', {
6379      width: '33.33%'
6380    }]],
6381    scope: ['block']
6382  }, {
6383    name: 'three-columns-equal',
6384    title: Object(external_wp_i18n_["__"])('33 / 33 / 33'),
6385    description: Object(external_wp_i18n_["__"])('Three columns; equal split'),
6386    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6387      width: "48",
6388      height: "48",
6389      viewBox: "0 0 48 48",
6390      xmlns: "http://www.w3.org/2000/svg"
6391    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6392      fillRule: "evenodd",
6393      d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"
6394    })),
6395    innerBlocks: [['core/column'], ['core/column'], ['core/column']],
6396    scope: ['block']
6397  }, {
6398    name: 'three-columns-wider-center',
6399    title: Object(external_wp_i18n_["__"])('25 / 50 / 25'),
6400    description: Object(external_wp_i18n_["__"])('Three columns; wide center column'),
6401    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
6402      width: "48",
6403      height: "48",
6404      viewBox: "0 0 48 48",
6405      xmlns: "http://www.w3.org/2000/svg"
6406    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
6407      fillRule: "evenodd",
6408      d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"
6409    })),
6410    innerBlocks: [['core/column', {
6411      width: '25%'
6412    }], ['core/column', {
6413      width: '50%'
6414    }], ['core/column', {
6415      width: '25%'
6416    }]],
6417    scope: ['block']
6418  }];
6419  /* harmony default export */ var columns_variations = (variations_variations);
6420  
6421  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/transforms.js
6422  /**
6423   * WordPress dependencies
6424   */
6425  
6426  const MAXIMUM_SELECTED_BLOCKS = 6;
6427  const columns_transforms_transforms = {
6428    from: [{
6429      type: 'block',
6430      isMultiBlock: true,
6431      blocks: ['*'],
6432      __experimentalConvert: blocks => {
6433        const columnWidth = +(100 / blocks.length).toFixed(2);
6434        const innerBlocksTemplate = blocks.map(_ref => {
6435          let {
6436            name,
6437            attributes,
6438            innerBlocks
6439          } = _ref;
6440          return ['core/column', {
6441            width: `$columnWidth}%`
6442          }, [[name, { ...attributes
6443          }, innerBlocks]]];
6444        });
6445        return Object(external_wp_blocks_["createBlock"])('core/columns', {}, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocksTemplate));
6446      },
6447      isMatch: _ref2 => {
6448        let {
6449          length: selectedBlocksLength
6450        } = _ref2;
6451        return selectedBlocksLength && selectedBlocksLength <= MAXIMUM_SELECTED_BLOCKS;
6452      }
6453    }, {
6454      type: 'block',
6455      blocks: ['core/media-text'],
6456      priority: 1,
6457      transform: (attributes, innerBlocks) => {
6458        const {
6459          align,
6460          backgroundColor,
6461          textColor,
6462          style,
6463          mediaAlt: alt,
6464          mediaId: id,
6465          mediaPosition,
6466          mediaSizeSlug: sizeSlug,
6467          mediaType,
6468          mediaUrl: url,
6469          mediaWidth,
6470          verticalAlignment
6471        } = attributes;
6472        let media;
6473  
6474        if (mediaType === 'image' || !mediaType) {
6475          const imageAttrs = {
6476            id,
6477            alt,
6478            url,
6479            sizeSlug
6480          };
6481          const linkAttrs = {
6482            href: attributes.href,
6483            linkClass: attributes.linkClass,
6484            linkDestination: attributes.linkDestination,
6485            linkTarget: attributes.linkTarget,
6486            rel: attributes.rel
6487          };
6488          media = ['core/image', { ...imageAttrs,
6489            ...linkAttrs
6490          }];
6491        } else {
6492          media = ['core/video', {
6493            id,
6494            src: url
6495          }];
6496        }
6497  
6498        const innerBlocksTemplate = [['core/column', {
6499          width: `$mediaWidth}%`
6500        }, [media]], ['core/column', {
6501          width: `$100 - mediaWidth}%`
6502        }, innerBlocks]];
6503  
6504        if (mediaPosition === 'right') {
6505          innerBlocksTemplate.reverse();
6506        }
6507  
6508        return Object(external_wp_blocks_["createBlock"])('core/columns', {
6509          align,
6510          backgroundColor,
6511          textColor,
6512          style,
6513          verticalAlignment
6514        }, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocksTemplate));
6515      }
6516    }]
6517  };
6518  /* harmony default export */ var columns_transforms = (columns_transforms_transforms);
6519  
6520  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/index.js
6521  /**
6522   * WordPress dependencies
6523   */
6524  
6525  
6526  /**
6527   * Internal dependencies
6528   */
6529  
6530  
6531  
6532  const columns_metadata = {
6533    apiVersion: 2,
6534    name: "core/columns",
6535    title: "Columns",
6536    category: "design",
6537    description: "Display content in multiple columns, with blocks added to each column.",
6538    textdomain: "default",
6539    attributes: {
6540      verticalAlignment: {
6541        type: "string"
6542      },
6543      isStackedOnMobile: {
6544        type: "boolean",
6545        "default": true
6546      }
6547    },
6548    supports: {
6549      anchor: true,
6550      align: ["wide", "full"],
6551      html: false,
6552      color: {
6553        gradients: true,
6554        link: true
6555      },
6556      spacing: {
6557        margin: ["top", "bottom"],
6558        padding: true,
6559        __experimentalDefaultControls: {
6560          padding: true
6561        }
6562      }
6563    },
6564    editorStyle: "wp-block-columns-editor",
6565    style: "wp-block-columns"
6566  };
6567  
6568  
6569  
6570  const {
6571    name: columns_name
6572  } = columns_metadata;
6573  
6574  const columns_settings = {
6575    icon: library_columns,
6576    variations: columns_variations,
6577    example: {
6578      viewportWidth: 600,
6579      // Columns collapse "@media (max-width: 599px)".
6580      innerBlocks: [{
6581        name: 'core/column',
6582        innerBlocks: [{
6583          name: 'core/paragraph',
6584          attributes: {
6585            /* translators: example text. */
6586            content: Object(external_wp_i18n_["__"])('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')
6587          }
6588        }, {
6589          name: 'core/image',
6590          attributes: {
6591            url: 'https://s.w.org/images/core/5.3/Windbuchencom.jpg'
6592          }
6593        }, {
6594          name: 'core/paragraph',
6595          attributes: {
6596            /* translators: example text. */
6597            content: Object(external_wp_i18n_["__"])('Suspendisse commodo neque lacus, a dictum orci interdum et.')
6598          }
6599        }]
6600      }, {
6601        name: 'core/column',
6602        innerBlocks: [{
6603          name: 'core/paragraph',
6604          attributes: {
6605            /* translators: example text. */
6606            content: Object(external_wp_i18n_["__"])('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.')
6607          }
6608        }, {
6609          name: 'core/paragraph',
6610          attributes: {
6611            /* translators: example text. */
6612            content: Object(external_wp_i18n_["__"])('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')
6613          }
6614        }]
6615      }]
6616    },
6617    deprecated: columns_deprecated,
6618    edit: columns_edit,
6619    save: columns_save_save,
6620    transforms: columns_transforms
6621  };
6622  
6623  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cover.js
6624  
6625  
6626  /**
6627   * WordPress dependencies
6628   */
6629  
6630  const cover = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
6631    xmlns: "http://www.w3.org/2000/svg",
6632    viewBox: "0 0 24 24"
6633  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
6634    d: "M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"
6635  }));
6636  /* harmony default export */ var library_cover = (cover);
6637  
6638  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/shared.js
6639  /**
6640   * WordPress dependencies
6641   */
6642  
6643  const POSITION_CLASSNAMES = {
6644    'top left': 'is-position-top-left',
6645    'top center': 'is-position-top-center',
6646    'top right': 'is-position-top-right',
6647    'center left': 'is-position-center-left',
6648    'center center': 'is-position-center-center',
6649    center: 'is-position-center-center',
6650    'center right': 'is-position-center-right',
6651    'bottom left': 'is-position-bottom-left',
6652    'bottom center': 'is-position-bottom-center',
6653    'bottom right': 'is-position-bottom-right'
6654  };
6655  const IMAGE_BACKGROUND_TYPE = 'image';
6656  const VIDEO_BACKGROUND_TYPE = 'video';
6657  const COVER_MIN_HEIGHT = 50;
6658  const COVER_MAX_HEIGHT = 1000;
6659  const COVER_DEFAULT_HEIGHT = 300;
6660  function backgroundImageStyles(url) {
6661    return url ? {
6662      backgroundImage: `url($url})`
6663    } : {};
6664  }
6665  const shared_ALLOWED_MEDIA_TYPES = ['image', 'video'];
6666  function dimRatioToClass(ratio) {
6667    return ratio === 50 || !ratio === undefined ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10);
6668  }
6669  function attributesFromMedia(setAttributes, dimRatio) {
6670    return media => {
6671      if (!media || !media.url) {
6672        setAttributes({
6673          url: undefined,
6674          id: undefined
6675        });
6676        return;
6677      }
6678  
6679      if (Object(external_wp_blob_["isBlobURL"])(media.url)) {
6680        media.type = Object(external_wp_blob_["getBlobTypeByURL"])(media.url);
6681      }
6682  
6683      let mediaType; // for media selections originated from a file upload.
6684  
6685      if (media.media_type) {
6686        if (media.media_type === IMAGE_BACKGROUND_TYPE) {
6687          mediaType = IMAGE_BACKGROUND_TYPE;
6688        } else {
6689          // only images and videos are accepted so if the media_type is not an image we can assume it is a video.
6690          // Videos contain the media type of 'file' in the object returned from the rest api.
6691          mediaType = VIDEO_BACKGROUND_TYPE;
6692        }
6693      } else {
6694        // for media selections originated from existing files in the media library.
6695        if (media.type !== IMAGE_BACKGROUND_TYPE && media.type !== VIDEO_BACKGROUND_TYPE) {
6696          return;
6697        }
6698  
6699        mediaType = media.type;
6700      }
6701  
6702      setAttributes({
6703        dimRatio: dimRatio === 100 ? 50 : dimRatio,
6704        url: media.url,
6705        id: media.id,
6706        alt: media === null || media === void 0 ? void 0 : media.alt,
6707        backgroundType: mediaType,
6708        ...(mediaType === VIDEO_BACKGROUND_TYPE ? {
6709          focalPoint: undefined,
6710          hasParallax: undefined
6711        } : {})
6712      });
6713    };
6714  }
6715  /**
6716   * Checks of the contentPosition is the center (default) position.
6717   *
6718   * @param {string} contentPosition The current content position.
6719   * @return {boolean} Whether the contentPosition is center.
6720   */
6721  
6722  function isContentPositionCenter(contentPosition) {
6723    return !contentPosition || contentPosition === 'center center' || contentPosition === 'center';
6724  }
6725  /**
6726   * Retrieves the className for the current contentPosition.
6727   * The default position (center) will not have a className.
6728   *
6729   * @param {string} contentPosition The current content position.
6730   * @return {string} The className assigned to the contentPosition.
6731   */
6732  
6733  function getPositionClassName(contentPosition) {
6734    /*
6735     * Only render a className if the contentPosition is not center (the default).
6736     */
6737    if (isContentPositionCenter(contentPosition)) return '';
6738    return POSITION_CLASSNAMES[contentPosition];
6739  }
6740  
6741  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/deprecated.js
6742  
6743  
6744  /**
6745   * External dependencies
6746   */
6747  
6748  
6749  /**
6750   * WordPress dependencies
6751   */
6752  
6753  
6754  
6755  
6756  /**
6757   * Internal dependencies
6758   */
6759  
6760  
6761  /**
6762   * Original function to determine the background opacity classname
6763   *
6764   * Used in deprecations: v1-7.
6765   *
6766   * @param {number} ratio ratio to use for opacity.
6767   * @return {string}       background opacity class   .
6768   */
6769  
6770  function dimRatioToClassV1(ratio) {
6771    return ratio === 0 || ratio === 50 || !ratio ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10);
6772  }
6773  
6774  function migrateDimRatio(attributes) {
6775    return { ...attributes,
6776      dimRatio: !attributes.url ? 100 : attributes.dimRatio
6777    };
6778  }
6779  
6780  const cover_deprecated_blockAttributes = {
6781    url: {
6782      type: 'string'
6783    },
6784    id: {
6785      type: 'number'
6786    },
6787    hasParallax: {
6788      type: 'boolean',
6789      default: false
6790    },
6791    dimRatio: {
6792      type: 'number',
6793      default: 50
6794    },
6795    overlayColor: {
6796      type: 'string'
6797    },
6798    customOverlayColor: {
6799      type: 'string'
6800    },
6801    backgroundType: {
6802      type: 'string',
6803      default: 'image'
6804    },
6805    focalPoint: {
6806      type: 'object'
6807    }
6808  };
6809  const v7 = {
6810    attributes: { ...cover_deprecated_blockAttributes,
6811      isRepeated: {
6812        type: 'boolean',
6813        default: false
6814      },
6815      minHeight: {
6816        type: 'number'
6817      },
6818      minHeightUnit: {
6819        type: 'string'
6820      },
6821      gradient: {
6822        type: 'string'
6823      },
6824      customGradient: {
6825        type: 'string'
6826      },
6827      contentPosition: {
6828        type: 'string'
6829      },
6830      alt: {
6831        type: 'string',
6832        source: 'attribute',
6833        selector: 'img',
6834        attribute: 'alt',
6835        default: ''
6836      }
6837    },
6838    supports: {
6839      anchor: true,
6840      align: true,
6841      html: false,
6842      spacing: {
6843        padding: true,
6844        __experimentalDefaultControls: {
6845          padding: true
6846        }
6847      },
6848      color: {
6849        __experimentalDuotone: '> .wp-block-cover__image-background, > .wp-block-cover__video-background',
6850        text: false,
6851        background: false
6852      }
6853    },
6854  
6855    save(_ref) {
6856      let {
6857        attributes
6858      } = _ref;
6859      const {
6860        backgroundType,
6861        gradient,
6862        contentPosition,
6863        customGradient,
6864        customOverlayColor,
6865        dimRatio,
6866        focalPoint,
6867        hasParallax,
6868        isRepeated,
6869        overlayColor,
6870        url,
6871        alt,
6872        id,
6873        minHeight: minHeightProp,
6874        minHeightUnit
6875      } = attributes;
6876      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
6877  
6878      const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
6879  
6880      const minHeight = minHeightUnit ? `$minHeightProp}$minHeightUnit}` : minHeightProp;
6881      const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
6882      const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
6883      const isImgElement = !(hasParallax || isRepeated);
6884      const style = { ...(isImageBackground && !isImgElement ? backgroundImageStyles(url) : {}),
6885        backgroundColor: !overlayColorClass ? customOverlayColor : undefined,
6886        background: customGradient && !url ? customGradient : undefined,
6887        minHeight: minHeight || undefined
6888      };
6889      const objectPosition = // prettier-ignore
6890      focalPoint && isImgElement ? `$Math.round(focalPoint.x * 100)}% $Math.round(focalPoint.y * 100)}%` : undefined;
6891      const classes = classnames_default()(dimRatioToClassV1(dimRatio), overlayColorClass, {
6892        'has-background-dim': dimRatio !== 0,
6893        'has-parallax': hasParallax,
6894        'is-repeated': isRepeated,
6895        'has-background-gradient': gradient || customGradient,
6896        [gradientClass]: !url && gradientClass,
6897        'has-custom-content-position': !isContentPositionCenter(contentPosition)
6898      }, getPositionClassName(contentPosition));
6899      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
6900        className: classes,
6901        style
6902      }), url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
6903        "aria-hidden": "true",
6904        className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
6905        style: customGradient ? {
6906          background: customGradient
6907        } : undefined
6908      }), isImageBackground && isImgElement && url && Object(external_wp_element_["createElement"])("img", {
6909        className: classnames_default()('wp-block-cover__image-background', id ? `wp-image-$id}` : null),
6910        alt: alt,
6911        src: url,
6912        style: {
6913          objectPosition
6914        },
6915        "data-object-fit": "cover",
6916        "data-object-position": objectPosition
6917      }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
6918        className: classnames_default()('wp-block-cover__video-background', 'intrinsic-ignore'),
6919        autoPlay: true,
6920        muted: true,
6921        loop: true,
6922        playsInline: true,
6923        src: url,
6924        style: {
6925          objectPosition
6926        },
6927        "data-object-fit": "cover",
6928        "data-object-position": objectPosition
6929      }), Object(external_wp_element_["createElement"])("div", {
6930        className: "wp-block-cover__inner-container"
6931      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
6932    },
6933  
6934    migrate: migrateDimRatio
6935  };
6936  const v6 = {
6937    attributes: { ...cover_deprecated_blockAttributes,
6938      isRepeated: {
6939        type: 'boolean',
6940        default: false
6941      },
6942      minHeight: {
6943        type: 'number'
6944      },
6945      minHeightUnit: {
6946        type: 'string'
6947      },
6948      gradient: {
6949        type: 'string'
6950      },
6951      customGradient: {
6952        type: 'string'
6953      },
6954      contentPosition: {
6955        type: 'string'
6956      }
6957    },
6958    supports: {
6959      align: true
6960    },
6961  
6962    save(_ref2) {
6963      let {
6964        attributes
6965      } = _ref2;
6966      const {
6967        backgroundType,
6968        gradient,
6969        contentPosition,
6970        customGradient,
6971        customOverlayColor,
6972        dimRatio,
6973        focalPoint,
6974        hasParallax,
6975        isRepeated,
6976        overlayColor,
6977        url,
6978        minHeight: minHeightProp,
6979        minHeightUnit
6980      } = attributes;
6981      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
6982  
6983      const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
6984  
6985      const minHeight = minHeightUnit ? `$minHeightProp}$minHeightUnit}` : minHeightProp;
6986      const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
6987      const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
6988      const style = isImageBackground ? backgroundImageStyles(url) : {};
6989      const videoStyle = {};
6990  
6991      if (!overlayColorClass) {
6992        style.backgroundColor = customOverlayColor;
6993      }
6994  
6995      if (customGradient && !url) {
6996        style.background = customGradient;
6997      }
6998  
6999      style.minHeight = minHeight || undefined;
7000      let positionValue;
7001  
7002      if (focalPoint) {
7003        positionValue = `$Math.round(focalPoint.x * 100)}% $Math.round(focalPoint.y * 100)}%`;
7004  
7005        if (isImageBackground && !hasParallax) {
7006          style.backgroundPosition = positionValue;
7007        }
7008  
7009        if (isVideoBackground) {
7010          videoStyle.objectPosition = positionValue;
7011        }
7012      }
7013  
7014      const classes = classnames_default()(dimRatioToClassV1(dimRatio), overlayColorClass, {
7015        'has-background-dim': dimRatio !== 0,
7016        'has-parallax': hasParallax,
7017        'is-repeated': isRepeated,
7018        'has-background-gradient': gradient || customGradient,
7019        [gradientClass]: !url && gradientClass,
7020        'has-custom-content-position': !isContentPositionCenter(contentPosition)
7021      }, getPositionClassName(contentPosition));
7022      return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
7023        className: classes,
7024        style
7025      }), url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
7026        "aria-hidden": "true",
7027        className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
7028        style: customGradient ? {
7029          background: customGradient
7030        } : undefined
7031      }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
7032        className: "wp-block-cover__video-background",
7033        autoPlay: true,
7034        muted: true,
7035        loop: true,
7036        playsInline: true,
7037        src: url,
7038        style: videoStyle
7039      }), Object(external_wp_element_["createElement"])("div", {
7040        className: "wp-block-cover__inner-container"
7041      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
7042    },
7043  
7044    migrate: migrateDimRatio
7045  };
7046  const v5 = {
7047    attributes: { ...cover_deprecated_blockAttributes,
7048      minHeight: {
7049        type: 'number'
7050      },
7051      gradient: {
7052        type: 'string'
7053      },
7054      customGradient: {
7055        type: 'string'
7056      }
7057    },
7058    supports: {
7059      align: true
7060    },
7061  
7062    save(_ref3) {
7063      let {
7064        attributes
7065      } = _ref3;
7066      const {
7067        backgroundType,
7068        gradient,
7069        customGradient,
7070        customOverlayColor,
7071        dimRatio,
7072        focalPoint,
7073        hasParallax,
7074        overlayColor,
7075        url,
7076        minHeight
7077      } = attributes;
7078      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
7079  
7080      const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
7081  
7082      const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
7083  
7084      if (!overlayColorClass) {
7085        style.backgroundColor = customOverlayColor;
7086      }
7087  
7088      if (focalPoint && !hasParallax) {
7089        style.backgroundPosition = `$Math.round(focalPoint.x * 100)}% $Math.round(focalPoint.y * 100)}%`;
7090      }
7091  
7092      if (customGradient && !url) {
7093        style.background = customGradient;
7094      }
7095  
7096      style.minHeight = minHeight || undefined;
7097      const classes = classnames_default()(dimRatioToClassV1(dimRatio), overlayColorClass, {
7098        'has-background-dim': dimRatio !== 0,
7099        'has-parallax': hasParallax,
7100        'has-background-gradient': customGradient,
7101        [gradientClass]: !url && gradientClass
7102      });
7103      return Object(external_wp_element_["createElement"])("div", {
7104        className: classes,
7105        style: style
7106      }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
7107        "aria-hidden": "true",
7108        className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
7109        style: customGradient ? {
7110          background: customGradient
7111        } : undefined
7112      }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
7113        className: "wp-block-cover__video-background",
7114        autoPlay: true,
7115        muted: true,
7116        loop: true,
7117        src: url
7118      }), Object(external_wp_element_["createElement"])("div", {
7119        className: "wp-block-cover__inner-container"
7120      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
7121    },
7122  
7123    migrate: migrateDimRatio
7124  };
7125  const v4 = {
7126    attributes: { ...cover_deprecated_blockAttributes,
7127      minHeight: {
7128        type: 'number'
7129      },
7130      gradient: {
7131        type: 'string'
7132      },
7133      customGradient: {
7134        type: 'string'
7135      }
7136    },
7137    supports: {
7138      align: true
7139    },
7140  
7141    save(_ref4) {
7142      let {
7143        attributes
7144      } = _ref4;
7145      const {
7146        backgroundType,
7147        gradient,
7148        customGradient,
7149        customOverlayColor,
7150        dimRatio,
7151        focalPoint,
7152        hasParallax,
7153        overlayColor,
7154        url,
7155        minHeight
7156      } = attributes;
7157      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
7158  
7159      const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
7160  
7161      const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
7162  
7163      if (!overlayColorClass) {
7164        style.backgroundColor = customOverlayColor;
7165      }
7166  
7167      if (focalPoint && !hasParallax) {
7168        style.backgroundPosition = `$focalPoint.x * 100}% $focalPoint.y * 100}%`;
7169      }
7170  
7171      if (customGradient && !url) {
7172        style.background = customGradient;
7173      }
7174  
7175      style.minHeight = minHeight || undefined;
7176      const classes = classnames_default()(dimRatioToClassV1(dimRatio), overlayColorClass, {
7177        'has-background-dim': dimRatio !== 0,
7178        'has-parallax': hasParallax,
7179        'has-background-gradient': customGradient,
7180        [gradientClass]: !url && gradientClass
7181      });
7182      return Object(external_wp_element_["createElement"])("div", {
7183        className: classes,
7184        style: style
7185      }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
7186        "aria-hidden": "true",
7187        className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
7188        style: customGradient ? {
7189          background: customGradient
7190        } : undefined
7191      }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
7192        className: "wp-block-cover__video-background",
7193        autoPlay: true,
7194        muted: true,
7195        loop: true,
7196        src: url
7197      }), Object(external_wp_element_["createElement"])("div", {
7198        className: "wp-block-cover__inner-container"
7199      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
7200    },
7201  
7202    migrate: migrateDimRatio
7203  };
7204  const v3 = {
7205    attributes: { ...cover_deprecated_blockAttributes,
7206      title: {
7207        type: 'string',
7208        source: 'html',
7209        selector: 'p'
7210      },
7211      contentAlign: {
7212        type: 'string',
7213        default: 'center'
7214      }
7215    },
7216    supports: {
7217      align: true
7218    },
7219  
7220    save(_ref5) {
7221      let {
7222        attributes
7223      } = _ref5;
7224      const {
7225        backgroundType,
7226        contentAlign,
7227        customOverlayColor,
7228        dimRatio,
7229        focalPoint,
7230        hasParallax,
7231        overlayColor,
7232        title,
7233        url
7234      } = attributes;
7235      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
7236      const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
7237  
7238      if (!overlayColorClass) {
7239        style.backgroundColor = customOverlayColor;
7240      }
7241  
7242      if (focalPoint && !hasParallax) {
7243        style.backgroundPosition = `$focalPoint.x * 100}% $focalPoint.y * 100}%`;
7244      }
7245  
7246      const classes = classnames_default()(dimRatioToClassV1(dimRatio), overlayColorClass, {
7247        'has-background-dim': dimRatio !== 0,
7248        'has-parallax': hasParallax,
7249        [`has-$contentAlign}-content`]: contentAlign !== 'center'
7250      });
7251      return Object(external_wp_element_["createElement"])("div", {
7252        className: classes,
7253        style: style
7254      }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
7255        className: "wp-block-cover__video-background",
7256        autoPlay: true,
7257        muted: true,
7258        loop: true,
7259        src: url
7260      }), !external_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
7261        tagName: "p",
7262        className: "wp-block-cover-text",
7263        value: title
7264      }));
7265    },
7266  
7267    migrate(attributes) {
7268      const newAttribs = { ...attributes,
7269        dimRatio: !attributes.url ? 100 : attributes.dimRatio
7270      };
7271      return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
7272        content: attributes.title,
7273        align: attributes.contentAlign,
7274        fontSize: 'large',
7275        placeholder: Object(external_wp_i18n_["__"])('Write title…')
7276      })]];
7277    }
7278  
7279  };
7280  const v2 = {
7281    attributes: { ...cover_deprecated_blockAttributes,
7282      title: {
7283        type: 'string',
7284        source: 'html',
7285        selector: 'p'
7286      },
7287      contentAlign: {
7288        type: 'string',
7289        default: 'center'
7290      },
7291      align: {
7292        type: 'string'
7293      }
7294    },
7295    supports: {
7296      className: false
7297    },
7298  
7299    save(_ref6) {
7300      let {
7301        attributes
7302      } = _ref6;
7303      const {
7304        url,
7305        title,
7306        hasParallax,
7307        dimRatio,
7308        align,
7309        contentAlign,
7310        overlayColor,
7311        customOverlayColor
7312      } = attributes;
7313      const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
7314      const style = backgroundImageStyles(url);
7315  
7316      if (!overlayColorClass) {
7317        style.backgroundColor = customOverlayColor;
7318      }
7319  
7320      const classes = classnames_default()('wp-block-cover-image', dimRatioToClassV1(dimRatio), overlayColorClass, {
7321        'has-background-dim': dimRatio !== 0,
7322        'has-parallax': hasParallax,
7323        [`has-$contentAlign}-content`]: contentAlign !== 'center'
7324      }, align ? `align$align}` : null);
7325      return Object(external_wp_element_["createElement"])("div", {
7326        className: classes,
7327        style: style
7328      }, !external_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
7329        tagName: "p",
7330        className: "wp-block-cover-image-text",
7331        value: title
7332      }));
7333    },
7334  
7335    migrate(attributes) {
7336      const newAttribs = { ...attributes,
7337        dimRatio: !attributes.url ? 100 : attributes.dimRatio
7338      };
7339      return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign', 'align']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
7340        content: attributes.title,
7341        align: attributes.contentAlign,
7342        fontSize: 'large',
7343        placeholder: Object(external_wp_i18n_["__"])('Write title…')
7344      })]];
7345    }
7346  
7347  };
7348  const v1 = {
7349    attributes: { ...cover_deprecated_blockAttributes,
7350      title: {
7351        type: 'string',
7352        source: 'html',
7353        selector: 'h2'
7354      },
7355      align: {
7356        type: 'string'
7357      },
7358      contentAlign: {
7359        type: 'string',
7360        default: 'center'
7361      }
7362    },
7363    supports: {
7364      className: false
7365    },
7366  
7367    save(_ref7) {
7368      let {
7369        attributes
7370      } = _ref7;
7371      const {
7372        url,
7373        title,
7374        hasParallax,
7375        dimRatio,
7376        align
7377      } = attributes;
7378      const style = backgroundImageStyles(url);
7379      const classes = classnames_default()('wp-block-cover-image', dimRatioToClassV1(dimRatio), {
7380        'has-background-dim': dimRatio !== 0,
7381        'has-parallax': hasParallax
7382      }, align ? `align$align}` : null);
7383      return Object(external_wp_element_["createElement"])("section", {
7384        className: classes,
7385        style: style
7386      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
7387        tagName: "h2",
7388        value: title
7389      }));
7390    },
7391  
7392    migrate(attributes) {
7393      const newAttribs = { ...attributes,
7394        dimRatio: !attributes.url ? 100 : attributes.dimRatio
7395      };
7396      return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign', 'align']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
7397        content: attributes.title,
7398        align: attributes.contentAlign,
7399        fontSize: 'large',
7400        placeholder: Object(external_wp_i18n_["__"])('Write title…')
7401      })]];
7402    }
7403  
7404  };
7405  /* harmony default export */ var cover_deprecated = ([v7, v6, v5, v4, v3, v2, v1]);
7406  
7407  // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js
7408  var dist = __webpack_require__("FEKF");
7409  var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
7410  
7411  // EXTERNAL MODULE: ./node_modules/colord/index.mjs
7412  var colord = __webpack_require__("fHnH");
7413  
7414  // EXTERNAL MODULE: ./node_modules/colord/plugins/names.mjs
7415  var names = __webpack_require__("abaT");
7416  
7417  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js
7418  
7419  
7420  
7421  /**
7422   * External dependencies
7423   */
7424  
7425  
7426  
7427  
7428  /**
7429   * WordPress dependencies
7430   */
7431  
7432  
7433  
7434  
7435  
7436  
7437  
7438  
7439  
7440  /**
7441   * Internal dependencies
7442   */
7443  
7444  
7445  Object(colord["b" /* extend */])([names["a" /* default */]]);
7446  const {
7447    __Visualizer: BoxControlVisualizer
7448  } = external_wp_components_["__experimentalBoxControl"];
7449  
7450  function getInnerBlocksTemplate(attributes) {
7451    return [['core/paragraph', {
7452      align: 'center',
7453      placeholder: Object(external_wp_i18n_["__"])('Write title…'),
7454      ...attributes
7455    }]];
7456  }
7457  
7458  function retrieveFastAverageColor() {
7459    if (!retrieveFastAverageColor.fastAverageColor) {
7460      retrieveFastAverageColor.fastAverageColor = new dist_default.a();
7461    }
7462  
7463    return retrieveFastAverageColor.fastAverageColor;
7464  }
7465  
7466  function CoverHeightInput(_ref) {
7467    let {
7468      onChange,
7469      onUnitChange,
7470      unit = 'px',
7471      value = ''
7472    } = _ref;
7473    const [temporaryInput, setTemporaryInput] = Object(external_wp_element_["useState"])(null);
7474    const instanceId = Object(external_wp_compose_["useInstanceId"])(external_wp_blockEditor_["__experimentalUnitControl"]);
7475    const inputId = `block-cover-height-input-$instanceId}`;
7476    const isPx = unit === 'px';
7477    const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
7478      availableUnits: Object(external_wp_blockEditor_["useSetting"])('spacing.units') || ['px', 'em', 'rem', 'vw', 'vh'],
7479      defaultValues: {
7480        px: '430',
7481        em: '20',
7482        rem: '20',
7483        vw: '20',
7484        vh: '50'
7485      }
7486    });
7487  
7488    const handleOnChange = unprocessedValue => {
7489      const inputValue = unprocessedValue !== '' ? parseFloat(unprocessedValue) : undefined;
7490  
7491      if (isNaN(inputValue) && inputValue !== undefined) {
7492        setTemporaryInput(unprocessedValue);
7493        return;
7494      }
7495  
7496      setTemporaryInput(null);
7497      onChange(inputValue);
7498  
7499      if (inputValue === undefined) {
7500        onUnitChange();
7501      }
7502    };
7503  
7504    const handleOnBlur = () => {
7505      if (temporaryInput !== null) {
7506        setTemporaryInput(null);
7507      }
7508    };
7509  
7510    const inputValue = temporaryInput !== null ? temporaryInput : value;
7511    const min = isPx ? COVER_MIN_HEIGHT : 0;
7512    return Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
7513      label: Object(external_wp_i18n_["__"])('Minimum height of cover'),
7514      id: inputId
7515    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalUnitControl"], {
7516      id: inputId,
7517      isResetValueOnUnitChange: true,
7518      min: min,
7519      onBlur: handleOnBlur,
7520      onChange: handleOnChange,
7521      onUnitChange: onUnitChange,
7522      style: {
7523        maxWidth: 80
7524      },
7525      unit: unit,
7526      units: units,
7527      value: inputValue
7528    }));
7529  }
7530  
7531  const RESIZABLE_BOX_ENABLE_OPTION = {
7532    top: false,
7533    right: false,
7534    bottom: true,
7535    left: false,
7536    topRight: false,
7537    bottomRight: false,
7538    bottomLeft: false,
7539    topLeft: false
7540  };
7541  
7542  function ResizableCover(_ref2) {
7543    let {
7544      className,
7545      onResizeStart,
7546      onResize,
7547      onResizeStop,
7548      ...props
7549    } = _ref2;
7550    const [isResizing, setIsResizing] = Object(external_wp_element_["useState"])(false);
7551    return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
7552      className: classnames_default()(className, {
7553        'is-resizing': isResizing
7554      }),
7555      enable: RESIZABLE_BOX_ENABLE_OPTION,
7556      onResizeStart: (_event, _direction, elt) => {
7557        onResizeStart(elt.clientHeight);
7558        onResize(elt.clientHeight);
7559      },
7560      onResize: (_event, _direction, elt) => {
7561        onResize(elt.clientHeight);
7562  
7563        if (!isResizing) {
7564          setIsResizing(true);
7565        }
7566      },
7567      onResizeStop: (_event, _direction, elt) => {
7568        onResizeStop(elt.clientHeight);
7569        setIsResizing(false);
7570      }
7571    }, props));
7572  }
7573  /**
7574   * useCoverIsDark is a hook that returns a boolean variable specifying if the cover
7575   * background is dark or not.
7576   *
7577   * @param {?string} url          Url of the media background.
7578   * @param {?number} dimRatio     Transparency of the overlay color. If an image and
7579   *                               color are set, dimRatio is used to decide what is used
7580   *                               for background darkness checking purposes.
7581   * @param {?string} overlayColor String containing the overlay color value if one exists.
7582   * @param {?Object} elementRef   If a media background is set, elementRef should contain a reference to a
7583   *                               dom element that renders that media.
7584   *
7585   * @return {boolean} True if the cover background is considered "dark" and false otherwise.
7586   */
7587  
7588  
7589  function useCoverIsDark(url) {
7590    let dimRatio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50;
7591    let overlayColor = arguments.length > 2 ? arguments[2] : undefined;
7592    let elementRef = arguments.length > 3 ? arguments[3] : undefined;
7593    const [isDark, setIsDark] = Object(external_wp_element_["useState"])(false);
7594    Object(external_wp_element_["useEffect"])(() => {
7595      // If opacity is lower than 50 the dominant color is the image or video color,
7596      // so use that color for the dark mode computation.
7597      if (url && dimRatio <= 50 && elementRef.current) {
7598        retrieveFastAverageColor().getColorAsync(elementRef.current, color => {
7599          setIsDark(color.isDark);
7600        });
7601      }
7602    }, [url, url && dimRatio <= 50 && elementRef.current, setIsDark]);
7603    Object(external_wp_element_["useEffect"])(() => {
7604      // If opacity is greater than 50 the dominant color is the overlay color,
7605      // so use that color for the dark mode computation.
7606      if (dimRatio > 50 || !url) {
7607        if (!overlayColor) {
7608          // If no overlay color exists the overlay color is black (isDark )
7609          setIsDark(true);
7610          return;
7611        }
7612  
7613        setIsDark(Object(colord["a" /* colord */])(overlayColor).isDark());
7614      }
7615    }, [overlayColor, dimRatio > 50 || !url, setIsDark]);
7616    Object(external_wp_element_["useEffect"])(() => {
7617      if (!url && !overlayColor) {
7618        // Reset isDark
7619        setIsDark(false);
7620      }
7621    }, [!url && !overlayColor, setIsDark]);
7622    return isDark;
7623  }
7624  
7625  function edit_mediaPosition(_ref3) {
7626    let {
7627      x,
7628      y
7629    } = _ref3;
7630    return `$Math.round(x * 100)}% $Math.round(y * 100)}%`;
7631  }
7632  /**
7633   * Is the URL a temporary blob URL? A blob URL is one that is used temporarily while
7634   * the media (image or video) is being uploaded and will not have an id allocated yet.
7635   *
7636   * @param {number} id  The id of the media.
7637   * @param {string} url The url of the media.
7638   *
7639   * @return {boolean} Is the URL a Blob URL.
7640   */
7641  
7642  
7643  const edit_isTemporaryMedia = (id, url) => !id && Object(external_wp_blob_["isBlobURL"])(url);
7644  
7645  function CoverPlaceholder(_ref4) {
7646    let {
7647      disableMediaButtons = false,
7648      children,
7649      noticeUI,
7650      noticeOperations,
7651      onSelectMedia,
7652      style
7653    } = _ref4;
7654    const {
7655      removeAllNotices,
7656      createErrorNotice
7657    } = noticeOperations;
7658    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
7659      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
7660        icon: library_cover
7661      }),
7662      labels: {
7663        title: Object(external_wp_i18n_["__"])('Cover'),
7664        instructions: Object(external_wp_i18n_["__"])('Drag and drop onto this block, upload, or select existing media from your library.')
7665      },
7666      onSelect: onSelectMedia,
7667      accept: "image/*,video/*",
7668      allowedTypes: shared_ALLOWED_MEDIA_TYPES,
7669      notices: noticeUI,
7670      disableMediaButtons: disableMediaButtons,
7671      onError: message => {
7672        removeAllNotices();
7673        createErrorNotice(message);
7674      },
7675      style: style
7676    }, children);
7677  }
7678  
7679  function CoverEdit(_ref5) {
7680    var _useSetting, _styleAttribute$spaci, _styleAttribute$visua;
7681  
7682    let {
7683      attributes,
7684      clientId,
7685      isSelected,
7686      noticeUI,
7687      noticeOperations,
7688      overlayColor,
7689      setAttributes,
7690      setOverlayColor,
7691      toggleSelection,
7692      markNextChangeAsNotPersistent
7693    } = _ref5;
7694    const {
7695      contentPosition,
7696      id,
7697      backgroundType,
7698      dimRatio,
7699      focalPoint,
7700      hasParallax,
7701      isDark,
7702      isRepeated,
7703      minHeight,
7704      minHeightUnit,
7705      style: styleAttribute,
7706      url,
7707      alt,
7708      allowedBlocks,
7709      templateLock
7710    } = attributes;
7711  
7712    const {
7713      gradientClass,
7714      gradientValue,
7715      setGradient
7716    } = Object(external_wp_blockEditor_["__experimentalUseGradient"])();
7717  
7718    const onSelectMedia = attributesFromMedia(setAttributes, dimRatio);
7719    const isUploadingMedia = edit_isTemporaryMedia(id, url);
7720    const [prevMinHeightValue, setPrevMinHeightValue] = Object(external_wp_element_["useState"])(minHeight);
7721    const [prevMinHeightUnit, setPrevMinHeightUnit] = Object(external_wp_element_["useState"])(minHeightUnit);
7722    const isMinFullHeight = minHeightUnit === 'vh' && minHeight === 100;
7723  
7724    const toggleMinFullHeight = () => {
7725      if (isMinFullHeight) {
7726        // If there aren't previous values, take the default ones.
7727        if (prevMinHeightUnit === 'vh' && prevMinHeightValue === 100) {
7728          return setAttributes({
7729            minHeight: undefined,
7730            minHeightUnit: undefined
7731          });
7732        } // Set the previous values of height.
7733  
7734  
7735        return setAttributes({
7736          minHeight: prevMinHeightValue,
7737          minHeightUnit: prevMinHeightUnit
7738        });
7739      }
7740  
7741      setPrevMinHeightValue(minHeight);
7742      setPrevMinHeightUnit(minHeightUnit); // Set full height.
7743  
7744      return setAttributes({
7745        minHeight: 100,
7746        minHeightUnit: 'vh'
7747      });
7748    };
7749  
7750    const toggleParallax = () => {
7751      setAttributes({
7752        hasParallax: !hasParallax,
7753        ...(!hasParallax ? {
7754          focalPoint: undefined
7755        } : {})
7756      });
7757    };
7758  
7759    const toggleIsRepeated = () => {
7760      setAttributes({
7761        isRepeated: !isRepeated
7762      });
7763    };
7764  
7765    const isDarkElement = Object(external_wp_element_["useRef"])();
7766    const isCoverDark = useCoverIsDark(url, dimRatio, overlayColor.color, isDarkElement);
7767    Object(external_wp_element_["useEffect"])(() => {
7768      // This side-effect should not create an undo level.
7769      markNextChangeAsNotPersistent();
7770      setAttributes({
7771        isDark: isCoverDark
7772      });
7773    }, [isCoverDark]);
7774    const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
7775    const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
7776    const [temporaryMinHeight, setTemporaryMinHeight] = Object(external_wp_element_["useState"])(null);
7777    const minHeightWithUnit = minHeightUnit ? `${minHeight}${minHeightUnit}` : minHeight;
7778    const isImgElement = !(hasParallax || isRepeated);
7779    const style = { ...(isImageBackground && !isImgElement ? backgroundImageStyles(url) : undefined),
7780      minHeight: temporaryMinHeight || minHeightWithUnit || undefined
7781    };
7782    const bgStyle = {
7783      backgroundColor: overlayColor.color
7784    };
7785    const mediaStyle = {
7786      objectPosition: focalPoint && isImgElement ? edit_mediaPosition(focalPoint) : undefined
7787    };
7788    const hasBackground = !!(url || overlayColor.color || gradientValue);
7789    const showFocalPointPicker = isVideoBackground || isImageBackground && (!hasParallax || isRepeated);
7790  
7791    const imperativeFocalPointPreview = value => {
7792      const [styleOfRef, property] = isDarkElement.current ? [isDarkElement.current.style, 'objectPosition'] : [ref.current.style, 'backgroundPosition'];
7793      styleOfRef[property] = edit_mediaPosition(value);
7794    };
7795  
7796    const hasInnerBlocks = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlock(clientId).innerBlocks.length > 0, [clientId]);
7797    const controls = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
7798      group: "block"
7799    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockAlignmentMatrixControl"], {
7800      label: Object(external_wp_i18n_["__"])('Change content position'),
7801      value: contentPosition,
7802      onChange: nextPosition => setAttributes({
7803        contentPosition: nextPosition
7804      }),
7805      isDisabled: !hasInnerBlocks
7806    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockFullHeightAligmentControl"], {
7807      isActive: isMinFullHeight,
7808      onToggle: toggleMinFullHeight,
7809      isDisabled: !hasInnerBlocks
7810    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
7811      group: "other"
7812    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
7813      mediaId: id,
7814      mediaURL: url,
7815      allowedTypes: shared_ALLOWED_MEDIA_TYPES,
7816      accept: "image/*,video/*",
7817      onSelect: onSelectMedia,
7818      name: !url ? Object(external_wp_i18n_["__"])('Add Media') : Object(external_wp_i18n_["__"])('Replace')
7819    })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
7820      title: Object(external_wp_i18n_["__"])('Media settings')
7821    }, isImageBackground && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
7822      label: Object(external_wp_i18n_["__"])('Fixed background'),
7823      checked: hasParallax,
7824      onChange: toggleParallax
7825    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
7826      label: Object(external_wp_i18n_["__"])('Repeated background'),
7827      checked: isRepeated,
7828      onChange: toggleIsRepeated
7829    })), showFocalPointPicker && Object(external_wp_element_["createElement"])(external_wp_components_["FocalPointPicker"], {
7830      label: Object(external_wp_i18n_["__"])('Focal point picker'),
7831      url: url,
7832      value: focalPoint,
7833      onDragStart: imperativeFocalPointPreview,
7834      onDrag: imperativeFocalPointPreview,
7835      onChange: newFocalPoint => setAttributes({
7836        focalPoint: newFocalPoint
7837      })
7838    }), url && isImageBackground && isImgElement && Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
7839      label: Object(external_wp_i18n_["__"])('Alt text (alternative text)'),
7840      value: alt,
7841      onChange: newAlt => setAttributes({
7842        alt: newAlt
7843      }),
7844      help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
7845        href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
7846      }, Object(external_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
7847    }), Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
7848      variant: "secondary",
7849      isSmall: true,
7850      className: "block-library-cover__reset-button",
7851      onClick: () => setAttributes({
7852        url: undefined,
7853        id: undefined,
7854        backgroundType: undefined,
7855        focalPoint: undefined,
7856        hasParallax: undefined,
7857        isRepeated: undefined
7858      })
7859    }, Object(external_wp_i18n_["__"])('Clear Media')))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalPanelColorGradientSettings"], {
7860      __experimentalHasMultipleOrigins: true,
7861      __experimentalIsRenderedInSidebar: true,
7862      title: Object(external_wp_i18n_["__"])('Overlay'),
7863      initialOpen: true,
7864      settings: [{
7865        colorValue: overlayColor.color,
7866        gradientValue,
7867        onColorChange: setOverlayColor,
7868        onGradientChange: setGradient,
7869        label: Object(external_wp_i18n_["__"])('Color')
7870      }]
7871    }, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
7872      label: Object(external_wp_i18n_["__"])('Opacity'),
7873      value: dimRatio,
7874      onChange: newDimRation => setAttributes({
7875        dimRatio: newDimRation
7876      }),
7877      min: 0,
7878      max: 100,
7879      step: 10,
7880      required: true
7881    }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
7882      __experimentalGroup: "dimensions"
7883    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
7884      hasValue: () => !!minHeight,
7885      label: Object(external_wp_i18n_["__"])('Minimum height'),
7886      onDeselect: () => setAttributes({
7887        minHeight: undefined,
7888        minHeightUnit: undefined
7889      }),
7890      resetAllFilter: () => ({
7891        minHeight: undefined,
7892        minHeightUnit: undefined
7893      }),
7894      isShownByDefault: true,
7895      panelId: clientId
7896    }, Object(external_wp_element_["createElement"])(CoverHeightInput, {
7897      value: temporaryMinHeight || minHeight,
7898      unit: minHeightUnit,
7899      onChange: newMinHeight => setAttributes({
7900        minHeight: newMinHeight
7901      }),
7902      onUnitChange: nextUnit => setAttributes({
7903        minHeightUnit: nextUnit
7904      })
7905    }))));
7906    const ref = Object(external_wp_element_["useRef"])();
7907    const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
7908      ref
7909    }); // Check for fontSize support before we pass a fontSize attribute to the innerBlocks.
7910  
7911    const hasFontSizes = !!((_useSetting = Object(external_wp_blockEditor_["useSetting"])('typography.fontSizes')) !== null && _useSetting !== void 0 && _useSetting.length);
7912    const innerBlocksTemplate = getInnerBlocksTemplate({
7913      fontSize: hasFontSizes ? 'large' : undefined
7914    });
7915    const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
7916      className: 'wp-block-cover__inner-container'
7917    }, {
7918      template: innerBlocksTemplate,
7919      templateInsertUpdatesSelection: true,
7920      allowedBlocks,
7921      templateLock
7922    });
7923  
7924    if (!hasInnerBlocks && !hasBackground) {
7925      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, controls, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
7926        className: classnames_default()('is-placeholder', blockProps.className)
7927      }), Object(external_wp_element_["createElement"])(CoverPlaceholder, {
7928        noticeUI: noticeUI,
7929        onSelectMedia: onSelectMedia,
7930        noticeOperations: noticeOperations,
7931        style: {
7932          minHeight: temporaryMinHeight || minHeightWithUnit || undefined
7933        }
7934      }, Object(external_wp_element_["createElement"])("div", {
7935        className: "wp-block-cover__placeholder-background-options"
7936      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ColorPalette"], {
7937        disableCustomColors: true,
7938        value: overlayColor.color,
7939        onChange: setOverlayColor,
7940        clearable: false
7941      }))), Object(external_wp_element_["createElement"])(ResizableCover, {
7942        className: "block-library-cover__resize-container",
7943        onResizeStart: () => {
7944          setAttributes({
7945            minHeightUnit: 'px'
7946          });
7947          toggleSelection(false);
7948        },
7949        onResize: setTemporaryMinHeight,
7950        onResizeStop: newMinHeight => {
7951          toggleSelection(true);
7952          setAttributes({
7953            minHeight: newMinHeight
7954          });
7955          setTemporaryMinHeight(null);
7956        },
7957        showHandle: isSelected
7958      })));
7959    }
7960  
7961    const classes = classnames_default()({
7962      'is-dark-theme': isDark,
7963      'is-light': !isDark,
7964      'is-transient': isUploadingMedia,
7965      'has-parallax': hasParallax,
7966      'is-repeated': isRepeated,
7967      'has-custom-content-position': !isContentPositionCenter(contentPosition)
7968    }, getPositionClassName(contentPosition));
7969    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, controls, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
7970      className: classnames_default()(classes, blockProps.className),
7971      style: { ...style,
7972        ...blockProps.style
7973      },
7974      "data-url": url
7975    }), Object(external_wp_element_["createElement"])(BoxControlVisualizer, {
7976      values: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$spaci = styleAttribute.spacing) === null || _styleAttribute$spaci === void 0 ? void 0 : _styleAttribute$spaci.padding,
7977      showValues: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$visua = styleAttribute.visualizers) === null || _styleAttribute$visua === void 0 ? void 0 : _styleAttribute$visua.padding
7978    }), Object(external_wp_element_["createElement"])(ResizableCover, {
7979      className: "block-library-cover__resize-container",
7980      onResizeStart: () => {
7981        setAttributes({
7982          minHeightUnit: 'px'
7983        });
7984        toggleSelection(false);
7985      },
7986      onResize: setTemporaryMinHeight,
7987      onResizeStop: newMinHeight => {
7988        toggleSelection(true);
7989        setAttributes({
7990          minHeight: newMinHeight
7991        });
7992        setTemporaryMinHeight(null);
7993      },
7994      showHandle: isSelected
7995    }), Object(external_wp_element_["createElement"])("span", {
7996      "aria-hidden": "true",
7997      className: classnames_default()(dimRatioToClass(dimRatio), {
7998        [overlayColor.class]: overlayColor.class
7999      }, 'wp-block-cover__gradient-background', gradientClass, {
8000        'has-background-dim': dimRatio !== undefined,
8001        'has-background-gradient': gradientValue,
8002        [gradientClass]: !url && gradientClass
8003      }),
8004      style: {
8005        backgroundImage: gradientValue,
8006        ...bgStyle
8007      }
8008    }), url && isImageBackground && isImgElement && Object(external_wp_element_["createElement"])("img", {
8009      ref: isDarkElement,
8010      className: "wp-block-cover__image-background",
8011      alt: alt,
8012      src: url,
8013      style: mediaStyle
8014    }), url && isVideoBackground && Object(external_wp_element_["createElement"])("video", {
8015      ref: isDarkElement,
8016      className: "wp-block-cover__video-background",
8017      autoPlay: true,
8018      muted: true,
8019      loop: true,
8020      src: url,
8021      style: mediaStyle
8022    }), isUploadingMedia && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_element_["createElement"])(CoverPlaceholder, {
8023      disableMediaButtons: true,
8024      noticeUI: noticeUI,
8025      onSelectMedia: onSelectMedia,
8026      noticeOperations: noticeOperations
8027    }), Object(external_wp_element_["createElement"])("div", innerBlocksProps)));
8028  }
8029  
8030  /* harmony default export */ var cover_edit = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withDispatch"])(dispatch => {
8031    const {
8032      toggleSelection,
8033      __unstableMarkNextChangeAsNotPersistent
8034    } = dispatch(external_wp_blockEditor_["store"]);
8035    return {
8036      toggleSelection,
8037      markNextChangeAsNotPersistent: __unstableMarkNextChangeAsNotPersistent
8038    };
8039  }), Object(external_wp_blockEditor_["withColors"])({
8040    overlayColor: 'background-color'
8041  }), external_wp_components_["withNotices"], external_wp_compose_["withInstanceId"]])(CoverEdit));
8042  
8043  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/save.js
8044  
8045  
8046  /**
8047   * External dependencies
8048   */
8049  
8050  /**
8051   * WordPress dependencies
8052   */
8053  
8054  
8055  /**
8056   * Internal dependencies
8057   */
8058  
8059  
8060  function cover_save_save(_ref) {
8061    let {
8062      attributes
8063    } = _ref;
8064    const {
8065      backgroundType,
8066      gradient,
8067      contentPosition,
8068      customGradient,
8069      customOverlayColor,
8070      dimRatio,
8071      focalPoint,
8072      hasParallax,
8073      isDark,
8074      isRepeated,
8075      overlayColor,
8076      url,
8077      alt,
8078      id,
8079      minHeight: minHeightProp,
8080      minHeightUnit
8081    } = attributes;
8082    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
8083  
8084    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
8085  
8086    const minHeight = minHeightUnit ? `$minHeightProp}$minHeightUnit}` : minHeightProp;
8087    const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
8088    const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
8089    const isImgElement = !(hasParallax || isRepeated);
8090    const style = { ...(isImageBackground && !isImgElement ? backgroundImageStyles(url) : {}),
8091      minHeight: minHeight || undefined
8092    };
8093    const bgStyle = {
8094      backgroundColor: !overlayColorClass ? customOverlayColor : undefined,
8095      background: customGradient ? customGradient : undefined
8096    };
8097    const objectPosition = // prettier-ignore
8098    focalPoint && isImgElement ? `$Math.round(focalPoint.x * 100)}% $Math.round(focalPoint.y * 100)}%` : undefined;
8099    const classes = classnames_default()({
8100      'is-light': !isDark,
8101      'has-parallax': hasParallax,
8102      'is-repeated': isRepeated,
8103      'has-custom-content-position': !isContentPositionCenter(contentPosition)
8104    }, getPositionClassName(contentPosition));
8105    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
8106      className: classes,
8107      style
8108    }), Object(external_wp_element_["createElement"])("span", {
8109      "aria-hidden": "true",
8110      className: classnames_default()(overlayColorClass, dimRatioToClass(dimRatio), 'wp-block-cover__gradient-background', gradientClass, {
8111        'has-background-dim': dimRatio !== undefined,
8112        'has-background-gradient': gradient || customGradient,
8113        [gradientClass]: !url && gradientClass
8114      }),
8115      style: bgStyle
8116    }), isImageBackground && isImgElement && url && Object(external_wp_element_["createElement"])("img", {
8117      className: classnames_default()('wp-block-cover__image-background', id ? `wp-image-$id}` : null),
8118      alt: alt,
8119      src: url,
8120      style: {
8121        objectPosition
8122      },
8123      "data-object-fit": "cover",
8124      "data-object-position": objectPosition
8125    }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
8126      className: classnames_default()('wp-block-cover__video-background', 'intrinsic-ignore'),
8127      autoPlay: true,
8128      muted: true,
8129      loop: true,
8130      playsInline: true,
8131      src: url,
8132      style: {
8133        objectPosition
8134      },
8135      "data-object-fit": "cover",
8136      "data-object-position": objectPosition
8137    }), Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useInnerBlocksProps"].save({
8138      className: 'wp-block-cover__inner-container'
8139    })));
8140  }
8141  
8142  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/transforms.js
8143  /**
8144   * WordPress dependencies
8145   */
8146  
8147  /**
8148   * Internal dependencies
8149   */
8150  
8151  
8152  const cover_transforms_transforms = {
8153    from: [{
8154      type: 'block',
8155      blocks: ['core/image'],
8156      transform: _ref => {
8157        var _style$color;
8158  
8159        let {
8160          caption,
8161          url,
8162          alt,
8163          align,
8164          id,
8165          anchor,
8166          style
8167        } = _ref;
8168        return Object(external_wp_blocks_["createBlock"])('core/cover', {
8169          dimRatio: 50,
8170          url,
8171          alt,
8172          align,
8173          id,
8174          anchor,
8175          style: {
8176            color: {
8177              duotone: style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.duotone
8178            }
8179          }
8180        }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
8181          content: caption,
8182          fontSize: 'large'
8183        })]);
8184      }
8185    }, {
8186      type: 'block',
8187      blocks: ['core/video'],
8188      transform: _ref2 => {
8189        let {
8190          caption,
8191          src,
8192          align,
8193          id,
8194          anchor
8195        } = _ref2;
8196        return Object(external_wp_blocks_["createBlock"])('core/cover', {
8197          dimRatio: 50,
8198          url: src,
8199          align,
8200          id,
8201          backgroundType: VIDEO_BACKGROUND_TYPE,
8202          anchor
8203        }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
8204          content: caption,
8205          fontSize: 'large'
8206        })]);
8207      }
8208    }, {
8209      type: 'block',
8210      blocks: ['core/group'],
8211      isMatch: _ref3 => {
8212        var _style$color2, _style$color3;
8213  
8214        let {
8215          backgroundColor,
8216          gradient,
8217          style
8218        } = _ref3;
8219  
8220        /*
8221         * Make this transformation available only if the Group has background
8222         * or gradient set, because otherwise `Cover` block displays a Placeholder.
8223         *
8224         * This helps avoid arbitrary decisions about the Cover block's background
8225         * and user confusion about the existence of previous content.
8226         */
8227        return backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.background) || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.gradient) || gradient;
8228      },
8229      transform: (_ref4, innerBlocks) => {
8230        var _style$color4, _style$color5;
8231  
8232        let {
8233          align,
8234          anchor,
8235          backgroundColor,
8236          gradient,
8237          style
8238        } = _ref4;
8239        return Object(external_wp_blocks_["createBlock"])('core/cover', {
8240          align,
8241          anchor,
8242          overlayColor: backgroundColor,
8243          customOverlayColor: style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.background,
8244          gradient,
8245          customGradient: style === null || style === void 0 ? void 0 : (_style$color5 = style.color) === null || _style$color5 === void 0 ? void 0 : _style$color5.gradient
8246        }, innerBlocks);
8247      }
8248    }],
8249    to: [{
8250      type: 'block',
8251      blocks: ['core/image'],
8252      isMatch: _ref5 => {
8253        let {
8254          backgroundType,
8255          url,
8256          overlayColor,
8257          customOverlayColor,
8258          gradient,
8259          customGradient
8260        } = _ref5;
8261  
8262        if (url) {
8263          // If a url exists the transform could happen if that URL represents an image background.
8264          return backgroundType === IMAGE_BACKGROUND_TYPE;
8265        } // If a url is not set the transform could happen if the cover has no background color or gradient;
8266  
8267  
8268        return !overlayColor && !customOverlayColor && !gradient && !customGradient;
8269      },
8270      transform: _ref6 => {
8271        var _style$color6;
8272  
8273        let {
8274          title,
8275          url,
8276          alt,
8277          align,
8278          id,
8279          anchor,
8280          style
8281        } = _ref6;
8282        return Object(external_wp_blocks_["createBlock"])('core/image', {
8283          caption: title,
8284          url,
8285          alt,
8286          align,
8287          id,
8288          anchor,
8289          style: {
8290            color: {
8291              duotone: style === null || style === void 0 ? void 0 : (_style$color6 = style.color) === null || _style$color6 === void 0 ? void 0 : _style$color6.duotone
8292            }
8293          }
8294        });
8295      }
8296    }, {
8297      type: 'block',
8298      blocks: ['core/video'],
8299      isMatch: _ref7 => {
8300        let {
8301          backgroundType,
8302          url,
8303          overlayColor,
8304          customOverlayColor,
8305          gradient,
8306          customGradient
8307        } = _ref7;
8308  
8309        if (url) {
8310          // If a url exists the transform could happen if that URL represents a video background.
8311          return backgroundType === VIDEO_BACKGROUND_TYPE;
8312        } // If a url is not set the transform could happen if the cover has no background color or gradient;
8313  
8314  
8315        return !overlayColor && !customOverlayColor && !gradient && !customGradient;
8316      },
8317      transform: _ref8 => {
8318        let {
8319          title,
8320          url,
8321          align,
8322          id,
8323          anchor
8324        } = _ref8;
8325        return Object(external_wp_blocks_["createBlock"])('core/video', {
8326          caption: title,
8327          src: url,
8328          id,
8329          align,
8330          anchor
8331        });
8332      }
8333    }]
8334  };
8335  /* harmony default export */ var cover_transforms = (cover_transforms_transforms);
8336  
8337  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/index.js
8338  /**
8339   * WordPress dependencies
8340   */
8341  
8342  
8343  /**
8344   * Internal dependencies
8345   */
8346  
8347  
8348  
8349  const cover_metadata = {
8350    apiVersion: 2,
8351    name: "core/cover",
8352    title: "Cover",
8353    category: "media",
8354    description: "Add an image or video with a text overlay \u2014 great for headers.",
8355    textdomain: "default",
8356    attributes: {
8357      url: {
8358        type: "string"
8359      },
8360      id: {
8361        type: "number"
8362      },
8363      alt: {
8364        type: "string",
8365        source: "attribute",
8366        selector: "img",
8367        attribute: "alt",
8368        "default": ""
8369      },
8370      hasParallax: {
8371        type: "boolean",
8372        "default": false
8373      },
8374      isRepeated: {
8375        type: "boolean",
8376        "default": false
8377      },
8378      dimRatio: {
8379        type: "number",
8380        "default": 100
8381      },
8382      overlayColor: {
8383        type: "string"
8384      },
8385      customOverlayColor: {
8386        type: "string"
8387      },
8388      backgroundType: {
8389        type: "string",
8390        "default": "image"
8391      },
8392      focalPoint: {
8393        type: "object"
8394      },
8395      minHeight: {
8396        type: "number"
8397      },
8398      minHeightUnit: {
8399        type: "string"
8400      },
8401      gradient: {
8402        type: "string"
8403      },
8404      customGradient: {
8405        type: "string"
8406      },
8407      contentPosition: {
8408        type: "string"
8409      },
8410      isDark: {
8411        type: "boolean",
8412        "default": true
8413      },
8414      allowedBlocks: {
8415        type: "array"
8416      },
8417      templateLock: {
8418        type: ["string", "boolean"],
8419        "enum": ["all", "insert", false]
8420      }
8421    },
8422    supports: {
8423      anchor: true,
8424      align: true,
8425      html: false,
8426      spacing: {
8427        padding: true,
8428        __experimentalDefaultControls: {
8429          padding: true
8430        }
8431      },
8432      color: {
8433        __experimentalDuotone: "> .wp-block-cover__image-background, > .wp-block-cover__video-background",
8434        text: false,
8435        background: false
8436      }
8437    },
8438    editorStyle: "wp-block-cover-editor",
8439    style: "wp-block-cover"
8440  };
8441  
8442  
8443  const {
8444    name: cover_name
8445  } = cover_metadata;
8446  
8447  const cover_settings = {
8448    icon: library_cover,
8449    example: {
8450      attributes: {
8451        customOverlayColor: '#065174',
8452        dimRatio: 40,
8453        url: 'https://s.w.org/images/core/5.3/Windbuchencom.jpg'
8454      },
8455      innerBlocks: [{
8456        name: 'core/paragraph',
8457        attributes: {
8458          customFontSize: 48,
8459          content: Object(external_wp_i18n_["__"])('<strong>Snow Patrol</strong>'),
8460          align: 'center'
8461        }
8462      }]
8463    },
8464    transforms: cover_transforms,
8465    save: cover_save_save,
8466    edit: cover_edit,
8467    deprecated: cover_deprecated
8468  };
8469  
8470  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js + 1 modules
8471  var library_edit = __webpack_require__("B9Az");
8472  
8473  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js
8474  
8475  
8476  /**
8477   * WordPress dependencies
8478   */
8479  
8480  
8481  
8482  
8483  
8484  function getResponsiveHelp(checked) {
8485    return checked ? Object(external_wp_i18n_["__"])('This embed will preserve its aspect ratio when the browser is resized.') : Object(external_wp_i18n_["__"])('This embed may not preserve its aspect ratio when the browser is resized.');
8486  }
8487  
8488  const EmbedControls = _ref => {
8489    let {
8490      blockSupportsResponsive,
8491      showEditButton,
8492      themeSupportsResponsive,
8493      allowResponsive,
8494      toggleResponsive,
8495      switchBackToURLInput
8496    } = _ref;
8497    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
8498      className: "components-toolbar__control",
8499      label: Object(external_wp_i18n_["__"])('Edit URL'),
8500      icon: library_edit["a" /* default */],
8501      onClick: switchBackToURLInput
8502    }))), themeSupportsResponsive && blockSupportsResponsive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
8503      title: Object(external_wp_i18n_["__"])('Media settings'),
8504      className: "blocks-responsive"
8505    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
8506      label: Object(external_wp_i18n_["__"])('Resize for smaller devices'),
8507      checked: allowResponsive,
8508      help: getResponsiveHelp,
8509      onChange: toggleResponsive
8510    }))));
8511  };
8512  
8513  /* harmony default export */ var embed_controls = (EmbedControls);
8514  
8515  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
8516  
8517  
8518  /**
8519   * WordPress dependencies
8520   */
8521  
8522  const embedContentIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8523    viewBox: "0 0 24 24",
8524    xmlns: "http://www.w3.org/2000/svg"
8525  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8526    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"
8527  }));
8528  const embedAudioIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8529    viewBox: "0 0 24 24",
8530    xmlns: "http://www.w3.org/2000/svg"
8531  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8532    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"
8533  }));
8534  const embedPhotoIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8535    viewBox: "0 0 24 24",
8536    xmlns: "http://www.w3.org/2000/svg"
8537  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8538    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"
8539  }));
8540  const embedVideoIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8541    viewBox: "0 0 24 24",
8542    xmlns: "http://www.w3.org/2000/svg"
8543  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8544    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"
8545  }));
8546  const embedTwitterIcon = {
8547    foreground: '#1da1f2',
8548    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8549      xmlns: "http://www.w3.org/2000/svg",
8550      viewBox: "0 0 24 24"
8551    }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8552      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"
8553    })))
8554  };
8555  const embedYouTubeIcon = {
8556    foreground: '#ff0000',
8557    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8558      viewBox: "0 0 24 24"
8559    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8560      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"
8561    }))
8562  };
8563  const embedFacebookIcon = {
8564    foreground: '#3b5998',
8565    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8566      viewBox: "0 0 24 24"
8567    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8568      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"
8569    }))
8570  };
8571  const embedInstagramIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8572    viewBox: "0 0 24 24"
8573  }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8574    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"
8575  })));
8576  const embedWordPressIcon = {
8577    foreground: '#0073AA',
8578    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8579      viewBox: "0 0 24 24"
8580    }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8581      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"
8582    })))
8583  };
8584  const embedSpotifyIcon = {
8585    foreground: '#1db954',
8586    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8587      viewBox: "0 0 24 24"
8588    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8589      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"
8590    }))
8591  };
8592  const embedFlickrIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8593    viewBox: "0 0 24 24"
8594  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8595    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"
8596  }));
8597  const embedVimeoIcon = {
8598    foreground: '#1ab7ea',
8599    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8600      xmlns: "http://www.w3.org/2000/svg",
8601      viewBox: "0 0 24 24"
8602    }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8603      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"
8604    })))
8605  };
8606  const embedRedditIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8607    viewBox: "0 0 24 24"
8608  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8609    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"
8610  }));
8611  const embedTumblrIcon = {
8612    foreground: '#35465c',
8613    src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8614      viewBox: "0 0 24 24"
8615    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8616      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"
8617    }))
8618  };
8619  const embedAmazonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
8620    viewBox: "0 0 24 24"
8621  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
8622</